var tjs_delai_lth=30; function gotosite_lth() { f=window.open('http://www.letophentai.com/index.php?part=97','','scrollbars=1'); self.focus(); document.getElementById('tomber').style.display='none'; } function PrintCalque_lth(contenu) { var Z='
'+ '
'+ '
' + contenu+'
'+ '
'; document.write(Z); setTimeout("Start_lth()",tjs_delai_lth); } function Start_lth() { MoveLayer_lth("tomber",GetTop_lth("tomber")); setTimeout("Start_lth()",tjs_delai_lth); } function MoveLayer_lth(nom,top) { if (document.getElementById) { //IE5 & NS6 document.getElementById(nom).style.top=top+"px"; } if ((document.all)&&(!document.getElementById)) { //IE4 document.all[nom].style.top=top+"px"; } if (document.layers) { //NS4.X document.layers[nom].top=top+"px"; } } function GetTop_lth(nom) { // Partie 1 : Récupération de la position du calque et de la page if (document.getElementById) { var t = document.getElementById(nom).style.top; var pos=parseInt(t); if (!document.all) { var wintop=parseInt(window.pageYOffset); var avail=window.innerHeight; } else { var wintop=parseInt(document.documentElement.scrollTop); var avail=document.body.clientHeight; } } else if ((document.all)&&(!document.getElementById)) { //IE4 seul var pos=parseInt(document.all[nom].style.top); var wintop=parseInt(document.body.scrollTop); var avail=document.body.clientHeight; } else if (document.layers) { //NS4.X seul var pos=parseInt(document.layers[nom].top); var wintop=parseInt(window.pageYOffset); var avail=window.innerHeight; } // Partie 2 : Traitement de la position var delta=Math.ceil((pos-wintop)/3); if (delta>20) {delta=20;} if (delta<-20) {delta=-20;} var top=pos-delta; return top; } PrintCalque_lth('
Inscrivez votre site');