- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
<script>
(function(){
// build the rto and insert it invisibly into the document
var server = /\.stg\./.test(window.location.href) ? "stg." : "";
var current_promo = "umbrella";
var rto2 = document.createElement('div');
rto2.id = 'sitewide_msrp_rto_container';
rto2.innerHTML = '<!-- START "SITEWIDE MSRP TO 199" POP OVER PROMO --><div class="pop-over2" style="display:none"><a href="http://www.' + server + 'rosettastone.com/lp/sbsr/'+ current_promo +'aii?language='+ lang +'&ocid=link-catalog-umbrella">GET OFFER</a><div class="close-btn"></div></div><style>.pop-over2 { background: url("http://www.rosettastone.com/lp/sitewide-promo/sitewide_msrp.jpg") no-repeat center; background-size: cover; padding: 25% 6.5% 2.5% 6.5%; text-align: right; position: relative;}.pop-over2 .close-btn { position: absolute; top:-0.125em; right:1.5em; width:3vw; padding-bottom: 3vw; background:url("http://www.rosettastone.com/lp/sitewide-promo/close-btn.svg") no-repeat center; background-size: contain; cursor: pointer;}.pop-over2 a { display: inline-block; margin-right: 13%; background-color: #ecc200; width: 21%; text-align: center; padding: 1.5% 10px; font-family: gothamBold; color: #333; text-decoration: none;}.pop-over2 a {transition:transform 0.3s;}.pop-over2 a:hover {transform:scale(1.03);}</style><script> window.setTimeout(function(){ $(".pop-over2").slideDown(); $(".pop-over2 .close-btn").click(function(){$(".pop-over2").slideUp();}) },2000);</scr'+'ipt><!-- END "SITEWIDE MSRP TO 199" POP OVER PROMO -->';
document.body.insertBefore(rto2,document.body.firstChild);
window.setTimeout(function(){
$(".pop-over2").slideDown();
$(".pop-over2 .close-btn").click(function(){$(".pop-over2").slideUp();
})},2000);
})();
</script>