// JavaScript Document

<!--
//PLF-http://www.jejavascript.net/
var bauto9 = 0;
var dossier9="img/diapo9/";
var numero9 = 1;
function objet9() {
this.length = objet9.arguments.length
for (var i = 0; i < this.length; i++) this[i+1] = objet9.arguments[i]
}
var nom9 = new objet9 ("photo1.jpg", "photo2.jpg", "photo3.jpg","photo4.jpg" );
function suivante9() {
numero9 += 1;
if (numero9 == nom9.length + 1) numero9 = 1;
document.image9.src = dossier9+nom9[numero9];
}
function precedente9() {
numero9 -= 1;
if (numero9 == 0) numero9 = nom9.length;
document.image9.src = dossier9+nom9[numero9];
}
function changer9() {
numero9 += 1;
if (numero9 == nom9.length + 1) numero9 = 1;
document.image9.src = dossier9+nom9[numero9];
roll=setTimeout("changer()", 1500);
}
function initial9() {
window.clearTimeout(roll);
document.image9.src = dossier9+nom9[numero9];
}
function auto9() {
if (bauto9 == 0) {
bauto9 =1; changer();
document.vision9.automat.value=" Lect/Stop ";
}
else {
bauto9 =0; initial9();
document.vision9.automat.value=" Lect/Auto ";
}
}
//-->
