var price_data = {"bounce":null,"strike_price":"6.95","price_only":null,"currency_subtype":"","aff":null,"tagline":"Save Now!","whole":"3","update_country":null,"currency":"$","subtype":null,"separator":".","decimal":"75","price":"3.75","strike_currency":"$"}; if (price_data.bounce) { window.self.location.href = price_data.bounce; } if (price_data && price_data['error']) { var p_ins = document.getElementById('p_ins'); p_ins.innerHTML = 'Click to see price'; p_ins.className += 'click_price'; } for (key in price_data) { if (!price_data.hasOwnProperty(key)) {continue;} var dest_el = document.getElementById('p_'+key); if (!dest_el) {continue;} dest_el.innerHTML = price_data[key]; } document.getElementById('ps').style.display = 'block'; var sc_el = document.getElementById('p_strike_currency'); if (sc_el && price_data.currency) { sc_el.innerHTML = price_data.currency; } if (price_data.whole.length > 1) { for (x in {'ins':null, 'whole':null, 'term':null, 'special':null}) { var dest_el = document.getElementById('p_'+x); if (!dest_el) {continue;} dest_el.className += ' smallwhole'; } } else { for (x in {'ins':null, 'whole':null, 'term':null, 'special':null}) { var dest_el = document.getElementById('p_'+x); if (!dest_el) {continue;} dest_el.className = dest_el.className.replace(/ smallwhole/, ''); } } if (price_data.update_country) { $('#country_select').val(price_data.update_country); $('html').removeClass('usd gbp eur aud cad').addClass(price_data.update_country.toLowerCase()) } if (typeof(country_select_reload) != 'undefined' && country_select_reload) { //check and see if this page needs a reload with a price change //First check and see if intellichat is around. Turn if off. if(typeof intellichat != "undefined") { intellichat.ChatWindow.CanActivate = false; } window.location.reload(); } if (price_data.whole.length <= 1) {$('#price_box ins span').css('behavior', 'url(/media/shared/general/ie-css3.htc)');} document.write('');