if(!document.all && document.getElementById) ref_hauteur = window.innerHeight-300; else ref_hauteur = document.body.clientHeight-300; document.write(''); var slide_tempo; slide_x = -485; slide_ismoving = false; slide_first = true; function slide_start() { if(slide_x == -485 && !slide_ismoving) slide_deballe(); else if(!slide_ismoving) slide_remballe(); } function slide_deballe() { slide_ismoving = true; if(slide_x < 0) { slide_x += 5; slide_move(); setTimeout("slide_deballe()", 10); } else { slide_ismoving = false; if(slide_first) slide_tempo = setTimeout("slide_start()", 5000); slide_first = false; } } function slide_remballe() { clearTimeout(slide_tempo); slide_ismoving = true; if(slide_x > -485) { slide_x -= 5; slide_move(); setTimeout("slide_remballe()", 10); } else slide_ismoving = false; } function slide_move() { if(document.getElementById) { document.getElementById("ref_slide_box").style.left=slide_x+'px'; } } function slide_close() { if(document.getElementById) { document.getElementById("ref_slide_box").innerHTML = ''; document.getElementById("ref_slide_box").style.top = -100; document.getElementById("ref_slide_box").style.left = -100; document.getElementById("ref_slide_box").style.width = 1; document.getElementById("ref_slide_box").style.height = 1; } } window.onload = slide_start; document.write('
'); document.write('
'); document.write(''); document.write('
'); document.write('

'); document.write('
');