// dit kun je wijzigen
	var BeeldbreedteKM7=100;
	var BeeldhoogteKM7=75;
	var Rand=true;
	var Randkleur="silver";
	var SnelheidKM7=10;
	var PauzeKM7=1500; // 1 seconde = 1000
	var Verticaal=0;	
// hier plaats je de afbeeldingen
	AfbeeldingenKM7=new Array(
		"Fotos/2009-04-12 Pasen 2009/IMG_5022.thumb.JPG","#",
		"Fotos/2009-04-12 Pasen 2009/IMG_5031.thumb.JPG","#",
		"Fotos/2009-04-12 Pasen 2009/IMG_5034.thumb.JPG","#",
		"Fotos/2009-04-12 Pasen 2009/IMG_5037.thumb.JPG","#"
		);
// Hieronder niets wijzigen
	var BLIKM7,BMIKM7,BRIKM7,BTIKM7,HOEKKM7=0,AFBCKM7=6,MAXBKM7,RICHTINGKM7=1;
	var B_MSzKM7,HALTKM7=false;AFBVKM7=new Array(AfbeeldingenKM7.length);

	function fotoboekKM7(){
		if(document.getElementById){
			for(i=0;i<AfbeeldingenKM7.length;i+=2){
				AFBVKM7[i]=new Image();AFBVKM7[i].src=AfbeeldingenKM7[i]}
			BoekDiv=document.getElementById("Boek7");
			BLIKM7=document.createElement("img");BoekDiv.appendChild(BLIKM7);	
			BRIKM7=document.createElement("img");BoekDiv.appendChild(BRIKM7);
			BMIKM7=document.createElement("img");BoekDiv.appendChild(BMIKM7);	
			BLIKM7.style.position=BMIKM7.style.position=BRIKM7.style.position="absolute";
			BLIKM7.style.zIndex=BRIKM7.style.zIndex=0;BMIKM7.style.zIndex=1;
			BLIKM7.style.top=(Verticaal?BeeldhoogteKM7+1:0)+"px";
			BLIKM7.style.left=0+"px";
			BMIKM7.style.top=0+"px";
			BMIKM7.style.left=(Verticaal?0:BeeldbreedteKM7+1)+"px";
			BRIKM7.style.top=0+"px";
			BRIKM7.style.left=(Verticaal?0:BeeldbreedteKM7+1)+"px";
			BLIKM7.style.height=BeeldhoogteKM7+"px";
			BMIKM7.style.height=BeeldhoogteKM7+"px";
			BRIKM7.style.height=BeeldhoogteKM7+"px";
			BLIKM7.style.width=BeeldbreedteKM7+"px";
			BMIKM7.style.width=BeeldbreedteKM7+"px";
			BRIKM7.style.width=BeeldbreedteKM7+"px";
			if(Rand){
				BLIKM7.style.borderStyle=BMIKM7.style.borderStyle=BRIKM7.style.borderStyle="solid";
				BLIKM7.style.borderWidth=1+"px";
				BMIKM7.style.borderWidth=1+"px";
				BRIKM7.style.borderWidth=1+"px";
				BLIKM7.style.borderColor=BMIKM7.style.borderColor=BRIKM7.style.borderColor=Randkleur}
			BLIKM7.src=AFBVKM7[0].src;
			BLIKM7.lnk=AfbeeldingenKM7[1];
			BMIKM7.src=AFBVKM7[2].src;
			BMIKM7.lnk=AfbeeldingenKM7[3];
			BRIKM7.src=AFBVKM7[4].src;
			BRIKM7.lnk=AfbeeldingenKM7[5];
			BLIKM7.onclick=BMIKM7.onclick=BRIKM7.onclick=HYPERLINKKM7;
			BLIKM7.onmouseover=BMIKM7.onmouseover=BRIKM7.onmouseover=STOPKM7;
			BLIKM7.onmouseout=BMIKM7.onmouseout=BRIKM7.onmouseout=STARTKM7;
			AFBEELDINGENKM7()}}

	function AFBEELDINGENKM7(){
		if(!HALTKM7){
			if(Verticaal){
				B_MSzKM7=Math.abs(Math.round(Math.cos(HOEKKM7)*BeeldhoogteKM7));
				MidOffset=!RICHTINGKM7?BeeldhoogteKM7+1:BeeldhoogteKM7-B_MSzKM7;
				BMIKM7.style.top=MidOffset+"px";
				BMIKM7.style.height=B_MSzKM7+"px"}
			else{B_MSzKM7=Math.abs(Math.round(Math.cos(HOEKKM7)*BeeldbreedteKM7));
				MidOffset=RICHTINGKM7?BeeldbreedteKM7+1:BeeldbreedteKM7-B_MSzKM7;
				BMIKM7.style.left=MidOffset+"px";
				BMIKM7.style.width=B_MSzKM7+"px"}
			HOEKKM7+=SnelheidKM7/720*Math.PI;
			if(HOEKKM7>=Math.PI/2&&RICHTINGKM7){
				RICHTINGKM7=0;
				if(AFBCKM7==AfbeeldingenKM7.length)AFBCKM7=0;
				BMIKM7.src=AFBVKM7[AFBCKM7].src;
				BMIKM7.lnk=AfbeeldingenKM7[AFBCKM7+1];
				AFBCKM7+=2}
			if(HOEKKM7>=Math.PI){
				RICHTINGKM7=1;
				BTIKM7=BLIKM7;
				BLIKM7=BMIKM7;
				BMIKM7=BTIKM7;
				if(Verticaal)BMIKM7.style.top=0+"px";
				else BMIKM7.style.left=BeeldbreedteKM7+1+"px";			
				BMIKM7.src=BRIKM7.src;
				BMIKM7.lnk=BRIKM7.lnk;

				setTimeout("PAUZERENKM7()",PauzeKM7)}
			else setTimeout("AFBEELDINGENKM7()",50)}
		else setTimeout("AFBEELDINGENKM7()",50)}

	function PAUZERENKM7(){
			if(AFBCKM7==AfbeeldingenKM7.length)AFBCKM7=0;
			BRIKM7.src=AFBVKM7[AFBCKM7].src;
			BRIKM7.lnk=AfbeeldingenKM7[AFBCKM7+1];
			BMIKM7.style.zIndex=2;
			BLIKM7.style.zIndex=1;
			HOEKKM7=0;
			AFBCKM7+=2;
		setTimeout("AFBEELDINGENKM7()",50)}

	function HYPERLINKKM7(){if(this.lnk)window.location.href=this.lnk}
	function STOPKM7(){HALTKM7=true;this.style.cursor=this.lnk?"pointer":"default"}
	function STARTKM7(){HALTKM7=false}

