// JavaScript Document

<!--
//PLF-http://www.jejavascript.net/
var bauto6 = 0;
var dossier6="img/diapo6/";
var numero6 = 1;
function objet6() {
this.length = objet6.arguments.length
for (var i = 0; i < this.length; i++) this[i+1] = objet6.arguments[i]
}
var nom6 = new objet6 ("photo1.jpg", "photo2.jpg", "photo3.jpg","photo4.jpg" );
function suivante6() {
numero6 += 1;
if (numero6 == nom6.length + 1) numero6 = 1;
document.image6.src = dossier6+nom6[numero6];
}
function precedente6() {
numero6 -= 1;
if (numero6 == 0) numero6 = nom6.length;
document.image6.src = dossier6+nom6[numero6];
}
function changer6() {
numero6 += 1;
if (numero6 == nom6.length + 1) numero6 = 1;
document.image6.src = dossier6+nom6[numero6];
roll=setTimeout("changer()", 1500);
}
function initial6() {
window.clearTimeout(roll);
document.image6.src = dossier6+nom6[numero6];
}
function auto6() {
if (bauto6 == 0) {
bauto6 =1; changer();
document.vision6.automat.value=" Lect/Stop ";
}
else {
bauto6 =0; initial6();
document.vision6.automat.value=" Lect/Auto ";
}
}
//-->
