// dit kun je wijzigen
	var BeeldbreedteKM6=100;
	var BeeldhoogteKM6=75;
	var Rand=true;
	var Randkleur="silver";
	var SnelheidKM6=13;
	var PauzeKM6=1400; // 1 seconde = 1000
	var Verticaal=0;	
// hier plaats je de afbeeldingen
	AfbeeldingenKM6=new Array(
		"Fotos/2009-04-12 Pasen 2009/IMG_4976.thumb.JPG","#",
		"Fotos/2009-04-12 Pasen 2009/IMG_4991.thumb.JPG","#",
		"Fotos/2009-04-12 Pasen 2009/IMG_4996.thumb.JPG","#",
		"Fotos/2009-04-12 Pasen 2009/IMG_5005.thumb.JPG","#",
		"Fotos/2009-04-12 Pasen 2009/IMG_5012.thumb.JPG","#",
		"Fotos/2009-04-12 Pasen 2009/IMG_5016.thumb.JPG","#"
		);
// Hieronder niets wijzigen
	var BLIKM6,BMIKM6,BRIKM6,BTIKM6,HOEKKM6=0,AFBCKM6=6,MAXBKM6,RICHTINGKM6=1;
	var B_MSzKM6,HALTKM6=false;AFBVKM6=new Array(AfbeeldingenKM6.length);

	function fotoboekKM6(){
		if(document.getElementById){
			for(i=0;i<AfbeeldingenKM6.length;i+=2){
				AFBVKM6[i]=new Image();AFBVKM6[i].src=AfbeeldingenKM6[i]}
			BoekDiv=document.getElementById("Boek6");
			BLIKM6=document.createElement("img");BoekDiv.appendChild(BLIKM6);	
			BRIKM6=document.createElement("img");BoekDiv.appendChild(BRIKM6);
			BMIKM6=document.createElement("img");BoekDiv.appendChild(BMIKM6);	
			BLIKM6.style.position=BMIKM6.style.position=BRIKM6.style.position="absolute";
			BLIKM6.style.zIndex=BRIKM6.style.zIndex=0;BMIKM6.style.zIndex=1;
			BLIKM6.style.top=(Verticaal?BeeldhoogteKM6+1:0)+"px";
			BLIKM6.style.left=0+"px";
			BMIKM6.style.top=0+"px";
			BMIKM6.style.left=(Verticaal?0:BeeldbreedteKM6+1)+"px";
			BRIKM6.style.top=0+"px";
			BRIKM6.style.left=(Verticaal?0:BeeldbreedteKM6+1)+"px";
			BLIKM6.style.height=BeeldhoogteKM6+"px";
			BMIKM6.style.height=BeeldhoogteKM6+"px";
			BRIKM6.style.height=BeeldhoogteKM6+"px";
			BLIKM6.style.width=BeeldbreedteKM6+"px";
			BMIKM6.style.width=BeeldbreedteKM6+"px";
			BRIKM6.style.width=BeeldbreedteKM6+"px";
			if(Rand){
				BLIKM6.style.borderStyle=BMIKM6.style.borderStyle=BRIKM6.style.borderStyle="solid";
				BLIKM6.style.borderWidth=1+"px";
				BMIKM6.style.borderWidth=1+"px";
				BRIKM6.style.borderWidth=1+"px";
				BLIKM6.style.borderColor=BMIKM6.style.borderColor=BRIKM6.style.borderColor=Randkleur}
			BLIKM6.src=AFBVKM6[0].src;
			BLIKM6.lnk=AfbeeldingenKM6[1];
			BMIKM6.src=AFBVKM6[2].src;
			BMIKM6.lnk=AfbeeldingenKM6[3];
			BRIKM6.src=AFBVKM6[4].src;
			BRIKM6.lnk=AfbeeldingenKM6[5];
			BLIKM6.onclick=BMIKM6.onclick=BRIKM6.onclick=HYPERLINKKM6;
			BLIKM6.onmouseover=BMIKM6.onmouseover=BRIKM6.onmouseover=STOPKM6;
			BLIKM6.onmouseout=BMIKM6.onmouseout=BRIKM6.onmouseout=STARTKM6;
			AFBEELDINGENKM6()}}

	function AFBEELDINGENKM6(){
		if(!HALTKM6){
			if(Verticaal){
				B_MSzKM6=Math.abs(Math.round(Math.cos(HOEKKM6)*BeeldhoogteKM6));
				MidOffset=!RICHTINGKM6?BeeldhoogteKM6+1:BeeldhoogteKM6-B_MSzKM6;
				BMIKM6.style.top=MidOffset+"px";
				BMIKM6.style.height=B_MSzKM6+"px"}
			else{B_MSzKM6=Math.abs(Math.round(Math.cos(HOEKKM6)*BeeldbreedteKM6));
				MidOffset=RICHTINGKM6?BeeldbreedteKM6+1:BeeldbreedteKM6-B_MSzKM6;
				BMIKM6.style.left=MidOffset+"px";
				BMIKM6.style.width=B_MSzKM6+"px"}
			HOEKKM6+=SnelheidKM6/720*Math.PI;
			if(HOEKKM6>=Math.PI/2&&RICHTINGKM6){
				RICHTINGKM6=0;
				if(AFBCKM6==AfbeeldingenKM6.length)AFBCKM6=0;
				BMIKM6.src=AFBVKM6[AFBCKM6].src;
				BMIKM6.lnk=AfbeeldingenKM6[AFBCKM6+1];
				AFBCKM6+=2}
			if(HOEKKM6>=Math.PI){
				RICHTINGKM6=1;
				BTIKM6=BLIKM6;
				BLIKM6=BMIKM6;
				BMIKM6=BTIKM6;
				if(Verticaal)BMIKM6.style.top=0+"px";
				else BMIKM6.style.left=BeeldbreedteKM6+1+"px";			
				BMIKM6.src=BRIKM6.src;
				BMIKM6.lnk=BRIKM6.lnk;

				setTimeout("PAUZERENKM6()",PauzeKM6)}
			else setTimeout("AFBEELDINGENKM6()",50)}
		else setTimeout("AFBEELDINGENKM6()",50)}

	function PAUZERENKM6(){
			if(AFBCKM6==AfbeeldingenKM6.length)AFBCKM6=0;
			BRIKM6.src=AFBVKM6[AFBCKM6].src;
			BRIKM6.lnk=AfbeeldingenKM6[AFBCKM6+1];
			BMIKM6.style.zIndex=2;
			BLIKM6.style.zIndex=1;
			HOEKKM6=0;
			AFBCKM6+=2;
		setTimeout("AFBEELDINGENKM6()",50)}

	function HYPERLINKKM6(){if(this.lnk)window.location.href=this.lnk}
	function STOPKM6(){HALTKM6=true;this.style.cursor=this.lnk?"pointer":"default"}
	function STARTKM6(){HALTKM6=false}
