// dit kun je wijzigen
	var BeeldbreedteKM3=100;
	var BeeldhoogteKM3=75;
	var Rand=true;
	var Randkleur="silver";
	var SnelheidKM3=6;
	var PauzeKM3=2000; // 1 seconde = 1000
	var Verticaal=0;	
// hier plaats je de afbeeldingen
	AfbeeldingenKM3=new Array(
		"Fotos/2009-04-12 Pasen 2009/IMG_4417.thumb.JPG","#",
		"Fotos/2009-04-12 Pasen 2009/IMG_4431.thumb.JPG","#",
		"Fotos/2009-04-12 Pasen 2009/IMG_4435.thumb.JPG","#",
		"Fotos/2009-04-12 Pasen 2009/IMG_4483.thumb.JPG","#",
		"Fotos/2009-04-12 Pasen 2009/IMG_4492.thumb.JPG","#",
		"Fotos/2009-04-12 Pasen 2009/IMG_4498.thumb.JPG","#",
		"Fotos/2009-04-12 Pasen 2009/IMG_4509.thumb.JPG","#",
		"Fotos/2009-04-12 Pasen 2009/IMG_4524.thumb.JPG","#"
		);
// Hieronder niets wijzigen
	var BLIKM3,BMIKM3,BRIKM3,BTIKM3,HOEKKM3=0,AFBCKM3=6,MAXBKM3,RICHTINGKM3=1;
	var B_MSzKM3,HALTKM3=false;AFBVKM3=new Array(AfbeeldingenKM3.length);

	function fotoboekKM3(){
		if(document.getElementById){
			for(i=0;i<AfbeeldingenKM3.length;i+=2){
				AFBVKM3[i]=new Image();AFBVKM3[i].src=AfbeeldingenKM3[i]}
			BoekDiv=document.getElementById("Boek3");
			BLIKM3=document.createElement("img");BoekDiv.appendChild(BLIKM3);	
			BRIKM3=document.createElement("img");BoekDiv.appendChild(BRIKM3);
			BMIKM3=document.createElement("img");BoekDiv.appendChild(BMIKM3);	
			BLIKM3.style.position=BMIKM3.style.position=BRIKM3.style.position="absolute";
			BLIKM3.style.zIndex=BRIKM3.style.zIndex=0;BMIKM3.style.zIndex=1;
			BLIKM3.style.top=(Verticaal?BeeldhoogteKM3+1:0)+"px";
			BLIKM3.style.left=0+"px";
			BMIKM3.style.top=0+"px";
			BMIKM3.style.left=(Verticaal?0:BeeldbreedteKM3+1)+"px";
			BRIKM3.style.top=0+"px";
			BRIKM3.style.left=(Verticaal?0:BeeldbreedteKM3+1)+"px";
			BLIKM3.style.height=BeeldhoogteKM3+"px";
			BMIKM3.style.height=BeeldhoogteKM3+"px";
			BRIKM3.style.height=BeeldhoogteKM3+"px";
			BLIKM3.style.width=BeeldbreedteKM3+"px";
			BMIKM3.style.width=BeeldbreedteKM3+"px";
			BRIKM3.style.width=BeeldbreedteKM3+"px";
			if(Rand){
				BLIKM3.style.borderStyle=BMIKM3.style.borderStyle=BRIKM3.style.borderStyle="solid";
				BLIKM3.style.borderWidth=1+"px";
				BMIKM3.style.borderWidth=1+"px";
				BRIKM3.style.borderWidth=1+"px";
				BLIKM3.style.borderColor=BMIKM3.style.borderColor=BRIKM3.style.borderColor=Randkleur}
			BLIKM3.src=AFBVKM3[0].src;
			BLIKM3.lnk=AfbeeldingenKM3[1];
			BMIKM3.src=AFBVKM3[2].src;
			BMIKM3.lnk=AfbeeldingenKM3[3];
			BRIKM3.src=AFBVKM3[4].src;
			BRIKM3.lnk=AfbeeldingenKM3[5];
			BLIKM3.onclick=BMIKM3.onclick=BRIKM3.onclick=HYPERLINKKM3;
			BLIKM3.onmouseover=BMIKM3.onmouseover=BRIKM3.onmouseover=STOPKM3;
			BLIKM3.onmouseout=BMIKM3.onmouseout=BRIKM3.onmouseout=STARTKM3;
			AFBEELDINGENKM3()}}

	function AFBEELDINGENKM3(){
		if(!HALTKM3){
			if(Verticaal){
				B_MSzKM3=Math.abs(Math.round(Math.cos(HOEKKM3)*BeeldhoogteKM3));
				MidOffset=!RICHTINGKM3?BeeldhoogteKM3+1:BeeldhoogteKM3-B_MSzKM3;
				BMIKM3.style.top=MidOffset+"px";
				BMIKM3.style.height=B_MSzKM3+"px"}
			else{B_MSzKM3=Math.abs(Math.round(Math.cos(HOEKKM3)*BeeldbreedteKM3));
				MidOffset=RICHTINGKM3?BeeldbreedteKM3+1:BeeldbreedteKM3-B_MSzKM3;
				BMIKM3.style.left=MidOffset+"px";
				BMIKM3.style.width=B_MSzKM3+"px"}
			HOEKKM3+=SnelheidKM3/720*Math.PI;
			if(HOEKKM3>=Math.PI/2&&RICHTINGKM3){
				RICHTINGKM3=0;
				if(AFBCKM3==AfbeeldingenKM3.length)AFBCKM3=0;
				BMIKM3.src=AFBVKM3[AFBCKM3].src;
				BMIKM3.lnk=AfbeeldingenKM3[AFBCKM3+1];
				AFBCKM3+=2}
			if(HOEKKM3>=Math.PI){
				RICHTINGKM3=1;
				BTIKM3=BLIKM3;
				BLIKM3=BMIKM3;
				BMIKM3=BTIKM3;
				if(Verticaal)BMIKM3.style.top=0+"px";
				else BMIKM3.style.left=BeeldbreedteKM3+1+"px";			
				BMIKM3.src=BRIKM3.src;
				BMIKM3.lnk=BRIKM3.lnk;

				setTimeout("PAUZERENKM3()",PauzeKM3)}
			else setTimeout("AFBEELDINGENKM3()",50)}
		else setTimeout("AFBEELDINGENKM3()",50)}

	function PAUZERENKM3(){
			if(AFBCKM3==AfbeeldingenKM3.length)AFBCKM3=0;
			BRIKM3.src=AFBVKM3[AFBCKM3].src;
			BRIKM3.lnk=AfbeeldingenKM3[AFBCKM3+1];
			BMIKM3.style.zIndex=2;
			BLIKM3.style.zIndex=1;
			HOEKKM3=0;
			AFBCKM3+=2;
		setTimeout("AFBEELDINGENKM3()",50)}

	function HYPERLINKKM3(){if(this.lnk)window.location.href=this.lnk}
	function STOPKM3(){HALTKM3=true;this.style.cursor=this.lnk?"pointer":"default"}
	function STARTKM3(){HALTKM3=false}

