//Showimage1

var theImages = new Array()
var theLinks = new Array()


theImages[0] = '<a href="index.php?page=mevrouw-leegstra"><img src="uploads/images/mvr-leegstra.png"></a>'

theImages[1] = '<a href="index.php?page=meneer-drost"><img src="uploads/images/meneer-drost.png"></a>'

theImages[2] = '<a href="index.php?page=heleen-van-der-schaaf"><img src="uploads/images/heleen-schaaf.png"></a>'

theImages[3] = '<a href="index.php?page=mevrouw-verhoek"><img src="uploads/images/mvr-verhoek.png"></a>'

theImages[4] = '<a href="index.php?page=linda-nijland"><img src="uploads/images/linda-nijland.png"></a>'



var j = 4
var p = theImages.length;
var preBuffer = new Array()
for (i = 4; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}
var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write(''+theImages[whichImage]+'');
}


var thePilots = new Array()


thePilots[0] = '<a href="index.php?page=pilot-1-de-klant-als-regisseur"><div id="box"><h2>Pilot 1:<br /> De klant als regisseur</h2><p>Klik hier voor meer informatie &gt;&gt;</p></div></a>'

thePilots[1] = '<a href="index.php?page=pilot-2-ook-jongeren-doen-mee"><div id="box"><h2>Pilot 2:<br /> Ook jongeren doen mee</h2><p>Klik hier voor meer informatie &gt;&gt;</p></div></a>'

thePilots[2] = '<a href="index.php?page=pilot-3-mantelzorg-ook-onze-zorg"><div id="box"><h2>Pilot 3:<br /> Mantelzorg, ook onze zorg</h2><p>Klik hier voor meer informatie &gt;&gt;</p></div></a>'

thePilots[3] = '<a href="index.php?page=pilot-4-het-duet-betere-kansen-voor-jongeren-met-autisme"><div id="box"><h2>Pilot 4:<br /> Het Duet, betere kansen voor jongeren met Autisme</h2><p>Klik hier voor meer informatie &gt;&gt;</p></div></a>'

thePilots[4] = '<a href="index.php?page=pilot-5-de-freonskipper"><div id="box"><h2>Pilot 5:<br /> De Freonskipper</h2><p>Klik hier voor meer informatie &gt;&gt;</p></div></a>'




var y = thePilots.length;
var prePilot = new Array()
for (x = 4; x < y; x++){
   prePilot[x] = new Image()
   prePilot[x].src = thePilots[x]
}
var whichPilot = Math.round(Math.random()*(y-1));
function showPilot(){
document.write(''+thePilots[whichPilot]+'');
}
