// JavaScript Document
//http://javascript.internet.com/miscellaneous/image-slideshow.html
var rotate_delay = 3000; // delay in milliseconds (5000 = 5 secs)
current = 0;
function ap() {
//document.slideform.slidebutton.value = (text == "Stop") ? "Start" : "Stop";
rotate();
}
function rotate() {
current = (current == 6) ? 0 : current+1;
document.images.show.src = "../_elts_dynamiques/visuels_accueil/img"+(current+1)+".jpg";
//document.slideform.slide.selectedIndex = current;
window.setTimeout("rotate()", rotate_delay);
}
