// JavaScript Document

function fotovergrotingLaden (param) {
document.getElementById("fotovergroting").src = "img/fotoboek/laden.gif";

		if (param==1) 
		{
			setTimeout('fotovergroting(1)', 500);
		}
		
		else if (param==2) 
		{
			setTimeout('fotovergroting(2)', 500);
		}
		
		else if (param==3) 
		{
			setTimeout('fotovergroting(3)', 500);
		}
		
		else if (param==4) 
		{
			setTimeout('fotovergroting(4)', 500);
		}
		
		else if (param==5) 
		{
			setTimeout('fotovergroting(5)', 500);
		}
		
		else if (param==6) 
		{
			setTimeout('fotovergroting(6)', 500);
		}
		
		else if (param==7) 
		{
			setTimeout('fotovergroting(7)', 500);
		}
		
		else if (param==8) 
		{
			setTimeout('fotovergroting(8)', 500);
		}
		
		
		else 
		{
			setTimeout('fotovergroting(9)', 500);
		}
}

function fotovergroting (param) {
	document.getElementById("fotovergroting").src = "img/fotoboek/" + param + ".jpg";
}
















// paginafotos

var SlideShowSpeed = 4000;
var CrossFadeDuration = 6;


var Picture = new Array(); // 

Picture[0]  = 'img/headfotos/1.jpg';
Picture[1]  = 'img/headfotos/1.jpg';
Picture[2]  = 'img/headfotos/2.jpg';
Picture[3]  = 'img/headfotos/3.jpg';
Picture[4]  = 'img/headfotos/4.jpg';
Picture[5]  = 'img/headfotos/5.jpg';
Picture[6]  = 'img/headfotos/6.jpg';
Picture[7]  = 'img/headfotos/7.jpg';
Picture[8]  = 'img/headfotos/8.jpg';
Picture[9]  = 'img/headfotos/9.jpg';
Picture[10]  = 'img/headfotos/10.jpg';
Picture[11]  = 'img/headfotos/11.jpg';




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(param){
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.all) document.images.PictureBox.filters.blendTrans.Play();
jss = jss + 1;
if (jss > (pss)) jss=1;
tss = setTimeout('runSlideShow()', SlideShowSpeed);



}


// EINDE paginafotos
