// hier de snelheid van de slideshow  (in milliseconden)
		var SlideShowSpeed = 10000;
		
		// duur van de crossfade (in seconden)
		var CrossFadeDuration1 = 5;
		var CrossFadeDuration2 = 5;
        var CrossFadeDuration3 = 5;
		var CrossFadeDuration4 = 5;
		var CrossFadeDuration5 = 5;
		var CrossFadeDuration6 = 5;
		var CrossFadeDuration7 = 5;
		var CrossFadeDuration8 = 5;
		var CrossFadeDuration9 = 5;
		var CrossFadeDuration10 = 5;
		var CrossFadeDuration11 = 5;
		var CrossFadeDuration12 = 5;
		
		var Picture1 = new Array(); // 
		var Picture2 = new Array(); // 
        var Picture3 = new Array(); // 
		var Picture4 = new Array(); // 
		var Picture5 = new Array(); // 
		var Picture6 = new Array(); // 
		var Picture7 = new Array(); // 
		var Picture8 = new Array(); // 
		var Picture9 = new Array(); // 
		var Picture10 = new Array(); // 
		var Picture11 = new Array(); // 
		var Picture12 = new Array(); // 
		
		// hieonder kun je meer images tovoegen
		// ze moeten echter gelijk zijn aan het aantal captions daaronder
		Picture1[1]  = 'http://www.kleiallerlei.nl/img/043.jpg';
		Picture1[2]  = 'http://www.kleiallerlei.nl/img/044.jpg';
		Picture1[3]  = 'http://www.kleiallerlei.nl/img/046.jpg';
	
		
		Picture2[1]  = 'http://www.kleiallerlei.nl/img/044.jpg';
		Picture2[2]  = 'http://www.kleiallerlei.nl/img/046.jpg';
		Picture2[3]  = 'http://www.kleiallerlei.nl/img/043.jpg';

       
        Picture3[1]  = 'http://www.kleiallerlei.nl/img/046.jpg';
		Picture3[2]  = 'http://www.kleiallerlei.nl/img/043.jpg';
		Picture3[3]  = 'http://www.kleiallerlei.nl/img/044.jpg';
	
		
		
	
		
		var tss;
		var iss1, iss2, iss3;
		var jss1 = 1, jss2 = 1, jss3 = 1;
		var pss1 = Picture1.length - 1;
		var pss2 = Picture2.length - 1;
        var pss3 = Picture3.length - 1;
	
		
		
		var preLoad1 = new Array();
		for (iss1 = 1; iss1 < pss1 + 1; iss1++) {
			preLoad1[iss1] = new Image();
			preLoad1[iss1].src = Picture1[iss1];
		}
		var preLoad2 = new Array();
		for (iss2 = 1; iss2 < pss2 + 1; iss2++) {
			preLoad2[iss2] = new Image();
			preLoad2[iss2].src = Picture2[iss2];
		}
        var preLoad3 = new Array();
		for (iss3 = 1; iss3 < pss3 + 1; iss3++) {
			preLoad3[iss3] = new Image();
			preLoad3[iss3].src = Picture3[iss3];
		}
		
		
		function runSlideShow(){
			if (document.all){
				document.images.PictureBox1.style.filter="blendTrans(duration=2)";
				document.images.PictureBox1.style.filter="blendTrans(duration=CrossFadeDuration)";
				document.images.PictureBox1.filters.blendTrans.Apply();
				
				document.images.PictureBox2.style.filter="blendTrans(duration=2)";
				document.images.PictureBox2.style.filter="blendTrans(duration=CrossFadeDuration)";
				document.images.PictureBox2.filters.blendTrans.Apply();
                
                document.images.PictureBox3.style.filter="blendTrans(duration=2)";
				document.images.PictureBox3.style.filter="blendTrans(duration=CrossFadeDuration)";
				document.images.PictureBox3.filters.blendTrans.Apply();
				
				
				
				
			}
			document.images.PictureBox1.src = preLoad1[jss1].src;
			document.images.PictureBox2.src = preLoad2[jss2].src;
            document.images.PictureBox3.src = preLoad3[jss3].src;
	
			
				
			if (document.all)
				document.images.PictureBox1.filters.blendTrans.Play();
			if (document.all)
				document.images.PictureBox2.filters.blendTrans.Play();
			if (document.all)
				document.images.PictureBox3.filters.blendTrans.Play();
			
			jss1 = jss1 + 1;
			jss2 = jss2 + 1;
            jss3 = jss3 + 1;
           
			
			if (jss1 > pss1)
				jss1 = 1;
			if (jss2 > pss2)
				jss2 = 1;
             if (jss3 > pss3)
				jss3 = 1;
			
			
			tss = setTimeout('runSlideShow()', SlideShowSpeed);
		}