if ( document.getElementById ) { pub_offset_x = 0; pub_offset_y = 0; pub_hauteur = 0; pub_surface = 0; pub_x = 1; pub_y = 1; } function make_random() { num_random = Math.round(Math.random() * 4); num_random++; return(num_random); } function start_pub() { if ( document.all ) { lar_ecran = document.body.clientWidth - 265; hau_ecran = document.body.clientHeight - 235; } else { lar_ecran = window.innerWidth - 265; hau_ecran = window.innerHeight - 235; } if ( document.getElementById ) { if ( pub_surface > lar_ecran ) { pub_x = ( -(make_random()) ); } if ( pub_surface < pub_offset_x ) { pub_x = make_random(); } document.getElementById("pub_layer").style.left = ( pub_surface = pub_surface + pub_x ) + "px"; document.getElementById("pub_layer").style.top = ( pub_hauteur += pub_y ) + pub_offset_y + "px"; if ( pub_hauteur > hau_ecran ) { pub_y = ( -(make_random()) ); } if ( pub_hauteur < 0 ) { pub_y = make_random(); } tempo = setTimeout('start_pub()', 50); } } function stop_pub() { clearTimeout(tempo); } function make_offset() { if ( navigator.appName == "Microsoft Internet Explorer" ) { pub_offset_y = document.body.scrollTop; } } document.write('