// dit kun je wijzigen
	var BeeldbreedteKM5=100;
	var BeeldhoogteKM5=75;
	var Rand=true;
	var Randkleur="silver";
	var SnelheidKM5=18;
	var PauzeKM5=1600; // 1 seconde = 1000
	var Verticaal=0;	
// hier plaats je de afbeeldingen
	AfbeeldingenKM5=new Array(
		"Fotos/2009-04-12 Pasen 2009/IMG_4877.thumb.JPG","#",
		"Fotos/2009-04-12 Pasen 2009/IMG_4880.thumb.JPG","#",
		"Fotos/2009-04-12 Pasen 2009/IMG_4888.thumb.JPG","#",
		"Fotos/2009-04-12 Pasen 2009/IMG_4890.thumb.JPG","#",
		"Fotos/2009-04-12 Pasen 2009/IMG_4901.thumb.JPG","#",
		"Fotos/2009-04-12 Pasen 2009/IMG_4923.thumb.JPG","#",
		"Fotos/2009-04-12 Pasen 2009/IMG_4953.thumb.JPG","#"
		);
// Hieronder niets wijzigen
	var BLIKM5,BMIKM5,BRIKM5,BTIKM5,HOEKKM5=0,AFBCKM5=6,MAXBKM5,RICHTINGKM5=1;
	var B_MSzKM5,HALTKM5=false;AFBVKM5=new Array(AfbeeldingenKM5.length);

	function fotoboekKM5(){
		if(document.getElementById){
			for(i=0;i<AfbeeldingenKM5.length;i+=2){
				AFBVKM5[i]=new Image();AFBVKM5[i].src=AfbeeldingenKM5[i]}
			BoekDiv=document.getElementById("Boek5");
			BLIKM5=document.createElement("img");BoekDiv.appendChild(BLIKM5);	
			BRIKM5=document.createElement("img");BoekDiv.appendChild(BRIKM5);
			BMIKM5=document.createElement("img");BoekDiv.appendChild(BMIKM5);	
			BLIKM5.style.position=BMIKM5.style.position=BRIKM5.style.position="absolute";
			BLIKM5.style.zIndex=BRIKM5.style.zIndex=0;BMIKM5.style.zIndex=1;
			BLIKM5.style.top=(Verticaal?BeeldhoogteKM5+1:0)+"px";
			BLIKM5.style.left=0+"px";
			BMIKM5.style.top=0+"px";
			BMIKM5.style.left=(Verticaal?0:BeeldbreedteKM5+1)+"px";
			BRIKM5.style.top=0+"px";
			BRIKM5.style.left=(Verticaal?0:BeeldbreedteKM5+1)+"px";
			BLIKM5.style.height=BeeldhoogteKM5+"px";
			BMIKM5.style.height=BeeldhoogteKM5+"px";
			BRIKM5.style.height=BeeldhoogteKM5+"px";
			BLIKM5.style.width=BeeldbreedteKM5+"px";
			BMIKM5.style.width=BeeldbreedteKM5+"px";
			BRIKM5.style.width=BeeldbreedteKM5+"px";
			if(Rand){
				BLIKM5.style.borderStyle=BMIKM5.style.borderStyle=BRIKM5.style.borderStyle="solid";
				BLIKM5.style.borderWidth=1+"px";
				BMIKM5.style.borderWidth=1+"px";
				BRIKM5.style.borderWidth=1+"px";
				BLIKM5.style.borderColor=BMIKM5.style.borderColor=BRIKM5.style.borderColor=Randkleur}
			BLIKM5.src=AFBVKM5[0].src;
			BLIKM5.lnk=AfbeeldingenKM5[1];
			BMIKM5.src=AFBVKM5[2].src;
			BMIKM5.lnk=AfbeeldingenKM5[3];
			BRIKM5.src=AFBVKM5[4].src;
			BRIKM5.lnk=AfbeeldingenKM5[5];
			BLIKM5.onclick=BMIKM5.onclick=BRIKM5.onclick=HYPERLINKKM5;
			BLIKM5.onmouseover=BMIKM5.onmouseover=BRIKM5.onmouseover=STOPKM5;
			BLIKM5.onmouseout=BMIKM5.onmouseout=BRIKM5.onmouseout=STARTKM5;
			AFBEELDINGENKM5()}}

	function AFBEELDINGENKM5(){
		if(!HALTKM5){
			if(Verticaal){
				B_MSzKM5=Math.abs(Math.round(Math.cos(HOEKKM5)*BeeldhoogteKM5));
				MidOffset=!RICHTINGKM5?BeeldhoogteKM5+1:BeeldhoogteKM5-B_MSzKM5;
				BMIKM5.style.top=MidOffset+"px";
				BMIKM5.style.height=B_MSzKM5+"px"}
			else{B_MSzKM5=Math.abs(Math.round(Math.cos(HOEKKM5)*BeeldbreedteKM5));
				MidOffset=RICHTINGKM5?BeeldbreedteKM5+1:BeeldbreedteKM5-B_MSzKM5;
				BMIKM5.style.left=MidOffset+"px";
				BMIKM5.style.width=B_MSzKM5+"px"}
			HOEKKM5+=SnelheidKM5/720*Math.PI;
			if(HOEKKM5>=Math.PI/2&&RICHTINGKM5){
				RICHTINGKM5=0;
				if(AFBCKM5==AfbeeldingenKM5.length)AFBCKM5=0;
				BMIKM5.src=AFBVKM5[AFBCKM5].src;
				BMIKM5.lnk=AfbeeldingenKM5[AFBCKM5+1];
				AFBCKM5+=2}
			if(HOEKKM5>=Math.PI){
				RICHTINGKM5=1;
				BTIKM5=BLIKM5;
				BLIKM5=BMIKM5;
				BMIKM5=BTIKM5;
				if(Verticaal)BMIKM5.style.top=0+"px";
				else BMIKM5.style.left=BeeldbreedteKM5+1+"px";			
				BMIKM5.src=BRIKM5.src;
				BMIKM5.lnk=BRIKM5.lnk;

				setTimeout("PAUZERENKM5()",PauzeKM5)}
			else setTimeout("AFBEELDINGENKM5()",50)}
		else setTimeout("AFBEELDINGENKM5()",50)}

	function PAUZERENKM5(){
			if(AFBCKM5==AfbeeldingenKM5.length)AFBCKM5=0;
			BRIKM5.src=AFBVKM5[AFBCKM5].src;
			BRIKM5.lnk=AfbeeldingenKM5[AFBCKM5+1];
			BMIKM5.style.zIndex=2;
			BLIKM5.style.zIndex=1;
			HOEKKM5=0;
			AFBCKM5+=2;
		setTimeout("AFBEELDINGENKM5()",50)}

	function HYPERLINKKM5(){if(this.lnk)window.location.href=this.lnk}
	function STOPKM5(){HALTKM5=true;this.style.cursor=this.lnk?"pointer":"default"}
	function STARTKM5(){HALTKM5=false}
