
var SlideShowSpeed = 4000;// de snelheid van de slideshow  (in milliseconden)
var CrossFadeDuration = 3;// duur van de crossfade (in seconden)
var Picture = new Array(); 
var Caption = new Array(); // hieronder kun je meer images toevoegen ze moeten echter gelijk zijn aan het aantal captions daaronder
Picture[1]  = 'afb/w1.jpg';
Picture[2]  = 'afb/w2.jpg';
Picture[3]  = 'afb/w3.jpg';
Picture[4]  = 'afb/w4.jpg';
Picture[5]  = 'afb/w5.jpg';
Picture[6]  = 'afb/w6.jpg';
Picture[7]  = 'afb/w7.jpg';
Picture[8]  = 'afb/w8.jpg';
Picture[9]  = 'afb/w9.jpg';
Picture[10] = 'afb/w10.jpg';
Picture[11] = 'afb/w11.jpg';
Picture[12] = 'afb/w12.jpg';
Picture[13] = 'afb/w13.jpg';
Picture[14] = 'afb/w14.jpg';
Picture[15] = 'afb/w15.jpg';
Picture[16] = 'afb/w16.jpg';
Picture[17] = 'afb/w17.jpg';
// teksten bij de plaatjes ( aantal moet gelijk zijn aan aantal plaatjes hierboven )
Caption[1]  = "Schapen in de sneeuw";
Caption[2]  = "Witter dan wit";
Caption[3]  = "Boerkoelweg";
Caption[4]  = "Boerkoelweg";
Caption[5]  = "Meeuw in de sneeuw";
Caption[6]  = "Kampsweg";
Caption[7]  = "Westeinde";
Caption[8]  = "Spoorwegovergang";
Caption[9]  = "Pony's aan het Looveen";
Caption[10]  = "Wijsterseweg";
Caption[11]  = "Het Bos van Oosterhof"; 
Caption[12]  = "Opstuivende sneeuw"; 
Caption[13]  = "Het Looveen"; 
Caption[14]  = "Kampsweg";
Caption[15]  = "Sportlaan"
Caption[16]  = "Beilerweg"
Caption[17]  = "Bruntingerweg"
var tss;
var iss;
var jss = 1;
var pss = Picture.length-1;
var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++){
preLoad[iss] = new Image();
preLoad[iss].src = Picture[iss];}
function runSlideShow(){
if (document.all){
document.images.PictureBox.style.filter="blendTrans(duration=2)";
document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox.filters.blendTrans.Apply();}
document.images.PictureBox.src = preLoad[jss].src;
if (document.getElementById) document.getElementById("CaptionBox").innerHTML= Caption[jss];
if (document.all) document.images.PictureBox.filters.blendTrans.Play();
jss = jss + 1;
if (jss > (pss)) jss=1;
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}
