// JavaScript Document
var mqAry1=['http://i264.photobucket.com/albums/ii172/pfzwaan/fot1.gif','http://i264.photobucket.com/albums/ii172/pfzwaan/fot2.gif','http://i264.photobucket.com/albums/ii172/pfzwaan/fot3.gif','http://i264.photobucket.com/albums/ii172/pfzwaan/fot4.gif','http://i264.photobucket.com/albums/ii172/pfzwaan/fot5.gif','http://i264.photobucket.com/albums/ii172/pfzwaan/fot6.gif','http://i264.photobucket.com/albums/ii172/pfzwaan/fot7.gif','http://i264.photobucket.com/albums/ii172/pfzwaan/fot8.gif','http://i264.photobucket.com/albums/ii172/pfzwaan/fot9.gif','http://i264.photobucket.com/albums/ii172/pfzwaan/fot10.gif','http://i264.photobucket.com/albums/ii172/pfzwaan/fot11.gif','http://i264.photobucket.com/albums/ii172/pfzwaan/fot12.gif','http://i264.photobucket.com/albums/ii172/pfzwaan/fot13.gif','http://i264.photobucket.com/albums/ii172/pfzwaan/fot14.gif'];
var mqAry2=['graphics/img5.gif','graphics/img6.gif','graphics/img7.gif','graphics/img8.gif','graphics/img9.gif','graphics/img10.gif','graphics/img11.gif','graphics/img12.gif','graphics/img13.gif','graphics/img14.gif','graphics/img0.gif','graphics/img1.gif','graphics/img2.gif','graphics/img3.gif','graphics/img4.gif'];

//mqRotate(mqr);

function start(){

new mq('m1',mqAry1,77);
//var mqr1=new Array();
var bio=document.getElementById('m2');
if (bio==null){	
//var mqr1 = [];
mqRotate(mqr);
}
}
// Continuous Image Marquee
// copyright 24th July 2008 by Stephen Chapman
// http://javascript.about.com
// permission to use this Javascript on your web page is granted
// provided that all of the code below in this script (including these
// comments) is used without any alteration
var mqr = []; 
function mq(id,ary,wid){
	if(document.getElementById(id)){
	this.mqo=document.getElementById(id); 
	var heit = this.mqo.style.height;
	    this.mqo.onmouseout=function() {
		mqRotate(mqr);};}

		this.mqo.onmouseover=function() {
			clearTimeout(mqr[0].TO);}; 
			this.mqo.ary=[]; 
			var maxw = ary.length; 
			for (var i=0;i<maxw;i++){
				this.mqo.ary[i]=document.createElement('img'); 
				this.mqo.ary[i].src=ary[i];
				this.mqo.ary[i].style.position = 'absolute';
				this.mqo.ary[i].style.left = (wid*i)+'px';
				this.mqo.ary[i].style.width = wid+'px';
				this.mqo.ary[i].style.height = heit; 
				this.mqo.appendChild(this.mqo.ary[i]);} 
				mqr.push(this.mqo);} 
				function mqRotate(mqr){
					
					if (!mqr) return;
					
					for (var j=mqr.length - 1; j > -1; j--) 
					{maxa = mqr[j].ary.length; 
					for (var i=0;i<maxa;i++)
					{var x = mqr[j].ary[i].style; 
					x.left=(parseInt(x.left,10)-1)+'px';}
					var y = mqr[j].ary[0].style; 
					if (parseInt(y.left,10)+parseInt(y.width,10)<0) {
						var z = mqr[j].ary.shift(); z.style.left = (parseInt(z.style.left) + parseInt(z.style.width)*maxa) + 'px';
						mqr[j].ary.push(z);}} mqr[0].TO=setTimeout('mqRotate(mqr)',29);			
					if (!document.getElementById('m2')){
						if(document.getElementById('rotatie')){
						var divm1=document.getElementById('rotatie');
						var divm2=document.createElement('div');
						divm1.appendChild(divm2);
						divm2.setAttribute('id','m2');}
						}}
						
					

						