/* auteur: http://www.editeurjavascript.com */ /* Date de création: 03/05/2005 */ if (document.getElementById) { fromPub = 0; iVolePub = new Image; iVolePub.src = "http://www.top-amatrice.com/scripts/images/bannierefa80x80.gif"; iVolePub.url = "http://www.top-amatrice.com/in.php?id=2354"; offsetyPub=0; HauteurPub = 0; place = fromPub; xpub = 4; ypub = 4; } function makevisible(cur,which) { if(document.getElementById) { if (which==0) { if(document.all) cur.filters.alpha.opacity=100 else cur.style.setProperty("-moz-opacity", 1, ""); } else { if(document.all) cur.filters.alpha.opacity=100 else cur.style.setProperty("-moz-opacity", 1, ""); } } } function RandomDep() { numimagePub= Math.round(Math.random()*8); numimagePub ++; return(numimagePub); } function VolimPub() { if(document.all) { EcranlargPub = document.body.clientWidth-iVolePub.width; EcranhautPub = document.body.clientHeight-iVolePub.height; } else { EcranlargPub = screen.width-100; EcranhautPub = screen.height-100; } if (document.getElementById) { if (place > EcranlargPub) xpub = (-(RandomDep())); if (place < fromPub) xpub = RandomDep(); document.getElementById("pubBulle").style.left = (place = place + xpub); document.getElementById("pubBulle").style.top = (HauteurPub += ypub)+offsetyPub; if (HauteurPub>EcranhautPub) ypub = (-(RandomDep())); if (HauteurPub<0) ypub = RandomDep(); tempo36 = setTimeout('VolimPub()', 50); } } function OffSet() { if (navigator.appName=="Microsoft Internet Explorer") offsetyPub = document.body.scrollTop; } window.onload = VolimPub; onscroll = OffSet; if (document.getElementById) { document.write('
'); }