// hier de snelheid van de slideshow  (in milliseconden)
var SlideShowSpeed = 4000;

// duur van de crossfade (in seconden)
var CrossFadeDuration = 4;

var Picture = new Array(); // 
var Caption = new Array(); // 

// hieonder kun je meer images tovoegen
// ze moeten echter gelijk zijn aan het aantal captions daaronder

Picture[1]  = 'http://82.168.185.44/pl/rechts/pic1.jpg';
Picture[2]  = 'http://82.168.185.44/pl/rechts/pic2.jpg';
Picture[3]  = 'http://82.168.185.44/pl/rechts/pic3.jpg';
Picture[4]  = 'http://82.168.185.44/pl/rechts/pic4.jpg';
Picture[5]  = 'http://82.168.185.44/pl/rechts/pic5.jpg';
Picture[6]  = 'http://82.168.185.44/pl/rechts/pic6.jpg';
Picture[7]  = 'http://82.168.185.44/pl/rechts/pic7.jpg';
Picture[8]  = 'http://82.168.185.44/pl/rechts/pic8.jpg';
Picture[9]  = 'http://82.168.185.44/pl/rechts/pic9.jpg';
Picture[10]  = 'http://82.168.185.44/pl/rechts/pic10.jpg';
Picture[11]  = 'http://82.168.185.44/pl/rechts/pic11.jpg';
Picture[12]  = 'http://82.168.185.44/pl/rechts/pic12.jpg';
Picture[13]  = 'http://82.168.185.44/pl/rechts/pic13.jpg';
Picture[14]  = 'http://82.168.185.44/pl/rechts/pic14.jpg';
Picture[15]  = 'http://82.168.185.44/pl/rechts/pic15.jpg';
Picture[16]  = 'http://82.168.185.44/pl/rechts/pic16.jpg';
Picture[17]  = 'http://82.168.185.44/pl/rechts/pic17.jpg';
Picture[18]  = 'http://82.168.185.44/pl/rechts/pic18.jpg';
Picture[19]  = 'http://82.168.185.44/pl/rechts/pic19.jpg';
Picture[20]  = 'http://82.168.185.44/pl/rechts/pic20.jpg';


// teksten bij de plaatjes ( aantal moet gelijk zijn aan aantal plaatjes hierboven )

Caption[1]  = "&nbsp;";
Caption[2]  = "&nbsp;";
Caption[3]  = "&nbsp;";
Caption[4]  = "&nbsp;";
Caption[5]  = "&nbsp;";
Caption[6]  = "&nbsp;";
Caption[7]  = "&nbsp;";
Caption[8]  = "&nbsp;";
Caption[9]  = "&nbsp;";
Caption[10]  = "&nbsp;";
Caption[11]  = "&nbsp;";
Caption[12]  = "&nbsp;";
Caption[13]  = "&nbsp;";
Caption[14]  = "&nbsp;";
Caption[15]  = "&nbsp;";
Caption[16]  = "&nbsp;";
Caption[17]  = "&nbsp;";
Caption[18]  = "&nbsp;";
Caption[19]  = "&nbsp;";
Caption[20]  = "&nbsp;";


// =====================================
// verander hieronder niets meer

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);
}
