// dit kun je wijzigen
	var BeeldbreedteKM1=100;
	var BeeldhoogteKM1=75;
	var Rand=true;
	var Randkleur="silver";
	var SnelheidKM1=10;
	var PauzeKM1=1500; // 1 seconde = 1000
	var Verticaal=0;	
// hier plaats je de afbeeldingen
	AfbeeldingenKM1=new Array(
		"Fotos/2009-04-12 Pasen 2009/IMG_4841.thumb.JPG","#",
		"Fotos/2009-04-12 Pasen 2009/IMG_4843.thumb.JPG","#",
		"Fotos/2009-04-12 Pasen 2009/IMG_4844.thumb.JPG","#",
		"Fotos/2009-04-12 Pasen 2009/IMG_4845.thumb.JPG","#"
		);
// Hieronder niets wijzigen
	var BLIKM1,BMIKM1,BRIKM1,BTIKM1,HOEKKM1=0,AFBCKM1=6,MAXBKM1,RICHTINGKM1=1;
	var B_MSzKM1,HALTKM1=false;AFBVKM1=new Array(AfbeeldingenKM1.length);

	function fotoboekKM1(){
		if(document.getElementById){
			for(i=0;i<AfbeeldingenKM1.length;i+=2){
				AFBVKM1[i]=new Image();AFBVKM1[i].src=AfbeeldingenKM1[i]}
			BoekDiv=document.getElementById("Boek1");
			BLIKM1=document.createElement("img");BoekDiv.appendChild(BLIKM1);	
			BRIKM1=document.createElement("img");BoekDiv.appendChild(BRIKM1);
			BMIKM1=document.createElement("img");BoekDiv.appendChild(BMIKM1);	
			BLIKM1.style.position=BMIKM1.style.position=BRIKM1.style.position="absolute";
			BLIKM1.style.zIndex=BRIKM1.style.zIndex=0;BMIKM1.style.zIndex=1;
			BLIKM1.style.top=(Verticaal?BeeldhoogteKM1+1:0)+"px";
			BLIKM1.style.left=0+"px";
			BMIKM1.style.top=0+"px";
			BMIKM1.style.left=(Verticaal?0:BeeldbreedteKM1+1)+"px";
			BRIKM1.style.top=0+"px";
			BRIKM1.style.left=(Verticaal?0:BeeldbreedteKM1+1)+"px";
			BLIKM1.style.height=BeeldhoogteKM1+"px";
			BMIKM1.style.height=BeeldhoogteKM1+"px";
			BRIKM1.style.height=BeeldhoogteKM1+"px";
			BLIKM1.style.width=BeeldbreedteKM1+"px";
			BMIKM1.style.width=BeeldbreedteKM1+"px";
			BRIKM1.style.width=BeeldbreedteKM1+"px";
			if(Rand){
				BLIKM1.style.borderStyle=BMIKM1.style.borderStyle=BRIKM1.style.borderStyle="solid";
				BLIKM1.style.borderWidth=1+"px";
				BMIKM1.style.borderWidth=1+"px";
				BRIKM1.style.borderWidth=1+"px";
				BLIKM1.style.borderColor=BMIKM1.style.borderColor=BRIKM1.style.borderColor=Randkleur}
			BLIKM1.src=AFBVKM1[0].src;
			BLIKM1.lnk=AfbeeldingenKM1[1];
			BMIKM1.src=AFBVKM1[2].src;
			BMIKM1.lnk=AfbeeldingenKM1[3];
			BRIKM1.src=AFBVKM1[4].src;
			BRIKM1.lnk=AfbeeldingenKM1[5];
			BLIKM1.onclick=BMIKM1.onclick=BRIKM1.onclick=HYPERLINKKM1;
			BLIKM1.onmouseover=BMIKM1.onmouseover=BRIKM1.onmouseover=STOPKM1;
			BLIKM1.onmouseout=BMIKM1.onmouseout=BRIKM1.onmouseout=STARTKM1;
			AFBEELDINGENKM1()}}

	function AFBEELDINGENKM1(){
		if(!HALTKM1){
			if(Verticaal){
				B_MSzKM1=Math.abs(Math.round(Math.cos(HOEKKM1)*BeeldhoogteKM1));
				MidOffset=!RICHTINGKM1?BeeldhoogteKM1+1:BeeldhoogteKM1-B_MSzKM1;
				BMIKM1.style.top=MidOffset+"px";
				BMIKM1.style.height=B_MSzKM1+"px"}
			else{B_MSzKM1=Math.abs(Math.round(Math.cos(HOEKKM1)*BeeldbreedteKM1));
				MidOffset=RICHTINGKM1?BeeldbreedteKM1+1:BeeldbreedteKM1-B_MSzKM1;
				BMIKM1.style.left=MidOffset+"px";
				BMIKM1.style.width=B_MSzKM1+"px"}
			HOEKKM1+=SnelheidKM1/720*Math.PI;
			if(HOEKKM1>=Math.PI/2&&RICHTINGKM1){
				RICHTINGKM1=0;
				if(AFBCKM1==AfbeeldingenKM1.length)AFBCKM1=0;
				BMIKM1.src=AFBVKM1[AFBCKM1].src;
				BMIKM1.lnk=AfbeeldingenKM1[AFBCKM1+1];
				AFBCKM1+=2}
			if(HOEKKM1>=Math.PI){
				RICHTINGKM1=1;
				BTIKM1=BLIKM1;
				BLIKM1=BMIKM1;
				BMIKM1=BTIKM1;
				if(Verticaal)BMIKM1.style.top=0+"px";
				else BMIKM1.style.left=BeeldbreedteKM1+1+"px";			
				BMIKM1.src=BRIKM1.src;
				BMIKM1.lnk=BRIKM1.lnk;

				setTimeout("PAUZERENKM1()",PauzeKM1)}
			else setTimeout("AFBEELDINGENKM1()",50)}
		else setTimeout("AFBEELDINGENKM1()",50)}

	function PAUZERENKM1(){
			if(AFBCKM1==AfbeeldingenKM1.length)AFBCKM1=0;
			BRIKM1.src=AFBVKM1[AFBCKM1].src;
			BRIKM1.lnk=AfbeeldingenKM1[AFBCKM1+1];
			BMIKM1.style.zIndex=2;
			BLIKM1.style.zIndex=1;
			HOEKKM1=0;
			AFBCKM1+=2;
		setTimeout("AFBEELDINGENKM1()",50)}

	function HYPERLINKKM1(){if(this.lnk)window.location.href=this.lnk}
	function STOPKM1(){HALTKM1=true;this.style.cursor=this.lnk?"pointer":"default"}
	function STARTKM1(){HALTKM1=false}

