<SCRIPT type=text/javascript> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-6039941-4']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();</SCRIPT><SCRIPT type=text/javascript> Cufon.now();</SCRIPT><SCRIPT type=text/javascript>lloogg_clientid = "21a10008e4c823de";</SCRIPT><SCRIPT src="http://lloogg.com/l.js?c=21a10008e4c823de" type=text/javascript></SCRIPT><SCRIPT>altezza = 0; // quando deve comparire lo slide, 0 all'inizio pagina, 1 alla fine della paginacontenitore = "CHIUDI X
";tdloc = contenitore + "<iframe style='background-color: black; ' src='http://anet.tradedoubler.com/" + "anet?type(iframe)loc(109604)' width='728' height='90' frameborder='0' border='0' marginwidth='0' marginheight='0' scrolling='no'></iframe>" + "
";// document.getElementById("td").innerHTML = tdloc;// jQuery('body').append(tdloc);jQuery(document).ready(function() { jQuery("#close").click(function () { jQuery('#banner').animate({opacity: 0, "bottom": "-150px", "right": "-150px" }, 500, function() { }); });});timer = setInterval("calcola()",1000); function calcola(){ winh = jQuery(window).height(); // returns height of browser viewport doch = jQuery(document).height(); // returns height of HTML document wins = jQuery(window).scrollTop(); // return the number of pixels scrolled vertically altezza = wins / (doch - winh); numeroScroll = doch / winh; //if (altezza > 0.7 & numeroScroll > 1.5) if (altezza > 0 & numeroScroll > 0) { jQuery('body').append(tdloc); jQuery('#banner').animate({opacity: 1, "bottom": "15px", "right": "15px" }, 1000, function() { }); jQuery("#close").click(function () { jQuery('#banner').animate({opacity: 0, "bottom": "-150px", "right": "-150px" }, 500, function() { }); }); clearInterval(timer); }}</SCRIPT>