// JavaScript Document
 <!-- DEBUT DU SCRIPT DIAPORAMA1-->


var current = 0;

function next(){ // forward one image
if(document.formname.slide[current+1]){
document.images.show.src = document.formname.slide[current+1].value;
document.formname.slide.selectedIndex = ++current;}
else{first();}}

function previous(){ // back on image
if((current-1) >= 0){
document.images.show.src = document.formname.slide[current-1].value;
document.formname.slide.selectedIndex= --current;}
else{last();}}

function first(){ // jump to first image
current=0;
document.images.show.src = document.formname.slide[0].value;
document.formname.slide.selectedIndex=0;}

function last(){ // this is jump to last image
current=(document.formname.slide.length-1);
document.images.show.src = document.formname.slide[current].value;
document.formname.slide.selectedIndex=current;}

function change(){ // this is for the pulldown menu
current=document.formname.slide.selectedIndex;
document.images.show.src = document.formname.slide[current].value;}
// FIN DU SCRIPT DIAPORAMA 1 -->
<!-- DEBUT DU SCRIPT DIAPORAMA 2-->


var current2 = 0;

function next2(){ // forward one image
if(document.formname2.slide2[current2+1]){
document.images.show2.src = document.formname2.slide2[current2+1].value;
document.formname2.slide2.selectedIndex = ++current2;}
else{first2();}}

function previous2(){ // back on image
if((current2-1) >= 0){
document.images.show2.src = document.formname2.slide2[current2-1].value;
document.formname2.slide2.selectedIndex= --current2;}
else{last2();}}

function first2(){ // jump to first image
current2=0;
document.images.show2.src = document.formname2.slide2[0].value;
document.formname2.slide2.selectedIndex=0;}

function last2(){ // this is jump to last image
current2=(document.formname2.slide2.length-1);
document.images.show2.src = document.formname2.slide2[current2].value;
document.formname2.slide2.selectedIndex=current2;}

function change2(){ // this is for the pulldown menu
current2=document.formname2.slide2.selectedIndex;
document.images.show2.src = document.formname2.slide2[current2].value;}

// FIN DU SCRIPT DIAPORAMA 2 -->

<!-- DEBUT DU SCRIPT DIAPORAMA 3-->


var current3 = 0;

function next3(){ // forward one image
if(document.formname3.slide3[current3+1]){
document.images.show3.src = document.formname3.slide3[current3+1].value;
document.formname3.slide3.selectedIndex = ++current3;}
else{first3();}}

function previous3(){ // back on image
if((current3-1) >= 0){
document.images.show3.src = document.formname3.slide3[current3-1].value;
document.formname3.slide3.selectedIndex= --current3;}
else{last3();}}

function first3(){ // jump to first image
current3=0;
document.images.show3.src = document.formname3.slide3[0].value;
document.formname3.slide3.selectedIndex=0;}

function last3(){ // this is jump to last image
current3=(document.formname3.slide3.length-1);
document.images.show3.src = document.formname3.slide3[current3].value;
document.formname3.slide3.selectedIndex=current3;}

function change3(){ // this is for the pulldown menu
current3=document.formname3.slide3.selectedIndex;
document.images.show3.src = document.formname3.slide3[current3].value;}

// FIN DU SCRIPT DIAPORAMA 3 -->

<!-- DEBUT DU SCRIPT DIAPORAMA 4-->

var current4 = 0;

function next4(){ // forward one image
if(document.formname4.slide4[current4+1]){
document.images.show4.src = document.formname4.slide4[current4+1].value;
document.formname4.slide4.selectedIndex = ++current4;}
else{first4();}}

function previous4(){ // back on image
if((current4-1) >= 0){
document.images.show4.src = document.formname4.slide4[current4-1].value;
document.formname4.slide4.selectedIndex= --current4;}
else{last3();}}

function first4(){ // jump to first image
current4=0;
document.images.show4.src = document.formname4.slide4[0].value;
document.formname4.slide4.selectedIndex=0;}

function last4(){ // this is jump to last image
current4=(document.formname4.slide4.length-1);
document.images.show4.src = document.formname4.slide4[current4].value;
document.formname4.slide4.selectedIndex=current4;}

function change4(){ // this is for the pulldown menu
current4=document.formname4.slide4.selectedIndex;
document.images.show4.src = document.formname4.slide4[current4].value;}

// FIN DU SCRIPT DIAPORAMA 4 -->
