﻿// hier de snelheid van de slideshow  (in milliseconden)
var SlideShowSpeed = 3000;

// duur van de crossfade (in seconden)
var CrossFadeDuration = 1;

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]  = '../images/16.jpg';
Picture[2]  = '../images/17.jpg';
Picture[3]  = '../images/18.jpg';
Picture[4]  = '../images/19.jpg';
Picture[5]  = '../images/20.jpg';
Picture[6]  = '../images/21.jpg';
Picture[7]  = '../images/22.jpg';
Picture[8]  = '../images/23.jpg';
Picture[9]  = '../images/24.jpg';
Picture[10]  = '../images/25.jpg';
Picture[11]  = '../images/26.jpg';
Picture[12]  = '../images/27.jpg';
Picture[13]  = '../images/28.jpg';
Picture[14]  = '../images/29.jpg';
Picture[15] = '../images/30.jpg';
Picture[16] = '../images/31.jpg';
Picture[17] = '../images/32.jpg';
Picture[18] = '../images/33.jpg';
Picture[19] = '../images/34.jpg';
Picture[20] = '../images/35.jpg';
Picture[21] = '../images/36.jpg';


// teksten bij de plaatjes ( aantal moet gelijk zijn aan aantal plaatjes hierboven )
Caption[1]  = "";
Caption[2]  = "";
Caption[3]  = "";
Caption[4]  = "";
Caption[5]  = "";
Caption[6]  = "";
Caption[7]  = "";
Caption[8]  = "";
Caption[9]  = "";
Caption[10]  = "";
Caption[11]  = "";
Caption[12]  = "";
Caption[13]  = "";
Caption[14]  = "";
Caption[15] = "";
Caption[16] = "";
Caption[17] = "";
Caption[18] = "";
Caption[19] = "";
Caption[20] = "";
Caption[21] = "";

// =====================================
// 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;
document.images.PictureBox.alt = Caption[jss];
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);
}
