//<SCRIPT Language="JavaScript">
<!--


// Set the slideshow speed (in milliseconds)
var SlideShowSpeed = 3500;
// Set the duration of crossfade (in seconds)
var CrossFadeDuration = 1;
var Picture = new Array(); // don't change this
var Picture2 = new Array(); // don't change this
var Caption = new Array(); // don't change this
var Caption2 = new Array(); // don't change this
// Specify the image files...
Picture[1]  = 'Images/vloerindex.jpg';
Picture[2]  = 'Images/vloerindex1.jpg';
Picture[3]  = 'Images/vloerindex2.jpg';
Picture[4]  = 'Images/vloerindex3.jpg';

Picture2[1]  = 'Images/tuinindex.jpg';
Picture2[2]  = 'Images/tuinindex1.jpg';
Picture2[3]  = 'Images/tuinindex2.jpg';
Picture2[4]  = 'Images/tuinindex4.jpg';


// Specify the Captions...
Caption[1] = "Klik op de foto voor Van der Putten Vloeren";
Caption[2] = "Klik op de foto voor Van der Putten Vloeren";
Caption[3] = "Klik op de foto voor Van der Putten Vloeren";
Caption[4] = "Klik op de foto voor Van der Putten Vloeren";

Caption2[1] = "Klik op de foto voor Van der Putten Tuinhout";
Caption2[2] = "Klik op de foto voor Van der Putten Tuinhout";
Caption2[3] = "Klik op de foto voor Van der Putten Tuinhout";
Caption2[4] = "Klik op de foto voor Van der Putten Tuinhout";



// =====================================
// Do not edit anything below this line!
// =====================================
var tss;
var iss;
var jss = 1;
var pss = Picture.length-1;

var preLoad = new Array();
var preLoad2 = new Array();

for (iss = 1; iss < pss+1; iss++){
    preLoad[iss] = new Image();
    preLoad[iss].src = Picture[iss];

    preLoad2[iss] = new Image();
    preLoad2[iss].src = Picture2[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();

    if (document.all){
       document.images.PictureBox2.style.filter="blendTrans(duration=2)";
       document.images.PictureBox2.style.filter="blendTrans(duration=CrossFadeDuration)";
       document.images.PictureBox2.filters.blendTrans.Apply();
    }
    document.images.PictureBox2.src = preLoad2[jss].src;
    if (document.getElementById) document.getElementById("CaptionBox2").innerHTML= Caption2[jss];
    if (document.all) document.images.PictureBox2.filters.blendTrans.Play();
    jss = jss + 1;
    if (jss > (pss)) jss=1;


    tss = setTimeout('runSlideShow()', SlideShowSpeed);

}



//-->
//</SCRIPT>
