document.getElementById('zone1').style.width=document.body.clientWidth; document.getElementById('zone2').style.width=document.body.clientWidth; document.getElementById('zone3').style.width=document.body.clientWidth; document.getElementById('zone2').style.left=document.body.clientWidth; document.getElementById('zone3').style.left=2*document.body.clientWidth; //document.getElementById('naviga').style.top=document.body.clientHeight-50; hauteurmilieu=document.body.clientHeight*0.7; document.getElementById('naviga').style.top=hauteurmilieu+10+(document.body.clientHeight-hauteurmilieu)/2; document.getElementById('naviga').style.left=(document.body.clientWidth-806)/2+556; //document.getElementById('containerclip').style.left=(document.body.clientWidth-806)/2; //document.getElementById('containerclip').style.top=(document.body.clientHeight-546)/2; document.getElementById('containerclip').style.height=document.body.clientHeight; document.getElementById('zone1').style.height=document.body.clientHeight; document.getElementById('zone2').style.height=document.body.clientHeight; document.getElementById('zone3').style.height=document.body.clientHeight; var layert,urlt,opacityt,posx,ecran_actuel; ecran_actuel=0; ie5 = (document.all && document.getElementById); ns6 = (!document.all && document.getElementById); largeur=document.body.clientWidth; if(ie5) { largeur=document.body.clientWidth; } else { largeur=document.body.clientWidth+17; } var fin,time_start,posxinit,zoneid; fin=0; function ProgressInterneof() { posx=posx-5; if(posx<-fin) { document.getElementById('zone').style.left=-fin; } else { document.getElementById('zone').style.left=posx; setTimeout("ProgressInterne()",1); } } function ProgressInterneP() { time_local=TimeMilli()-time_start; if(time_local<0) time_local=time_local+1000; posx=largeur*time_local/900; posx=largeur*Math.sqrt(time_local/880)*2; x=1-time_local/600; b=largeur+10; a=x*1.2; posx=b*Math.sqrt(1-x*x/a*a); if( time_local>600) posx=largeur; if(posx>=largeur ) { document.getElementById('zone').style.left=posxinit+largeur; } else { document.getElementById('zone').style.left=posxinit+posx; setTimeout("ProgressInterneP()",1); } } function ProgressInterne() { time_local=TimeMilli()-time_start; if(time_local<0) time_local=time_local+1000; posx=largeur*time_local/900; posx=largeur*Math.sqrt(time_local/880)*2; x=1-time_local/600; b=largeur+10; a=x*1.2; posx=b*Math.sqrt(1-x*x/a*a); // posx=(largeur+20)*Math.sin(3.14159*time_local/880); if( time_local>600) posx=largeur+1; if(posx>largeur) { document.getElementById('zone').style.left=posxinit-largeur; } else { document.getElementById('zone').style.left=posxinit-posx; setTimeout("ProgressInterne()",1); } } function NextL() { //document.body.scroll="no"; ecran_actuel=ecran_actuel+1; if(document.getElementById('zone').style.left!='') { posxinit=parseInt(document.getElementById('zone').style.left); } else { posxinit=0; } time_start=TimeMilli(); ProgressInterne(); } function Prevouis() { if(ecran_actuel==2) Hide_layer('container'); ecran_actuel=ecran_actuel-1; if(document.getElementById('zone').style.left!='') { posxinit=parseInt(document.getElementById('zone').style.left); } else { posxinit=0; } time_start=TimeMilli(); ProgressInterneP(); } posx=100;