// JavaScript Document

<!--
//PLF-http://www.jejavascript.net/
var bauto8 = 0;
var dossier8="img/diapo8/";
var numero8 = 1;
function objet8() {
this.length = objet8.arguments.length
for (var i = 0; i < this.length; i++) this[i+1] = objet8.arguments[i]
}
var nom8 = new objet8 ("photo1.jpg", "photo2.jpg", "photo3.jpg","photo4.jpg" );
function suivante8() {
numero8 += 1;
if (numero8 == nom8.length + 1) numero8 = 1;
document.image8.src = dossier8+nom8[numero8];
}
function precedente8() {
numero8 -= 1;
if (numero8 == 0) numero8 = nom8.length;
document.image8.src = dossier8+nom8[numero8];
}
function changer8() {
numero8 += 1;
if (numero8 == nom8.length + 1) numero8 = 1;
document.image8.src = dossier8+nom8[numero8];
roll=setTimeout("changer()", 1500);
}
function initial8() {
window.clearTimeout(roll);
document.image8.src = dossier8+nom8[numero8];
}
function auto8() {
if (bauto8 == 0) {
bauto8 =1; changer();
document.vision8.automat.value=" Lect/Stop ";
}
else {
bauto8 =0; initial8();
document.vision8.automat.value=" Lect/Auto ";
}
}
//-->
