window.onload = function()
{
	
	runSlideShow();
}

<!-- Begin 
// Set slideShowSpeed (milliseconds) 
var slideShowSpeed = 6000; 
// Duration of crossfade (seconds) 
var crossFadeDuration = 4; 
// Specify the image files 
var Pic = new Array(); 
// to add more images, just continue 
// the pattern, adding to the array below 


Pic[0] = "IMAGES/Slider/jornjanssen.jpg";
Pic[1] = "IMAGES/Slider/zia.jpg";
Pic[2] = "IMAGES/Slider/vandinterenconsultancy.jpg";

// do not edit anything below this line 
var t; 
var j = 0; 
var p = Pic.length; 
var preLoad = new Array(); 
for (i = 0; i < p; i++) {

// HIER DEFINIEREN VAN GEGEVENS
var img = new Image();
img.src = Pic[i]; 
img.setAttribute("cursor", "pointer");

// HET DEFINIEREN VAN EEN ONCLICK VERTAALD NAAR EEN FUNCTIE. 
// DUS ALS ER EEN ONCLICK EVENT PLAATSVIND WORDT DEZE FUNCTIE UITGEVOERD
if(i == 0)
{
	img.onclick = function()
	{
		window.open("http://www.webahead.nl/jornjanssen.php", "_self");
	}	
	

}

if(i == 1)
{
	img.onclick = function()
	{
		window.open("http://www.webahead.nl/zia.php", "_self");
	}	
	

}

if(i == 2)
{
	img.onclick = function()
	{
		window.open("http://www.webahead.nl/vandinterenconsultancy.php", "_self");
	}	
	

}

preLoad[i] = img;
} 
function runSlideShow() 
{ 
if (document.all) 
{ 
	document.images.SlideShow.style.filter="blendTrans(duration=2)"; 
	document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"; 
	document.images.SlideShow.filters.blendTrans.Apply (); 
} 
// OORSPRONKELIJK WORDT ALLEEN DE SRC OVERGENOMEN UIT DE IMAGE ARRAY
document.images.SlideShow.src = preLoad[j].src; 
// NU OOK DE ONCLICK DIE IN DE BOVENSTAANDE FUNCTIE GEDEFINIEERD WORDT
document.images.SlideShow.onclick = preLoad[j].onclick;
if (document.all) { 
document.images.SlideShow.filters.blendTrans.Play( ); 
} 
j = j + 1; 
if (j > (p - 1)) j = 0; 
t = setTimeout('runSlideShow()', slideShowSpeed); 
} 



	var arrowImageHeight = 35;	// Height of arrow image in pixels;
	var slideSpeed = 0;
	var slideEndMarker = false;
	var galleryContainer = false;
	
	
	function getTopPos(inputObj)
	{		
	
	  var returnValue = inputObj.offsetTop;
	  while((inputObj = inputObj.offsetParent) != null)returnValue += inputObj.offsetTop;
	  return returnValue;
	}
		
	function initSlide(e)
	{
		if(document.all)e = event;
		
		if(this.src.indexOf('over')<0)this.src = this.src.replace('.gif','-over.gif');
		
		slideSpeed = e.clientY + Math.max(document.body.scrollTop,document.documentElement.scrollTop) - getTopPos(this);
		if(this.src.indexOf('down')>=0){
			slideSpeed = (slideSpeed)*-1;	
		}else{
			slideSpeed = arrowImageHeight - slideSpeed;
		}
		slideSpeed = Math.round(slideSpeed * 10 / arrowImageHeight);
	}
	
	function stopSlide()
	{		
		slideSpeed = 0;
		this.src = this.src.replace('-over','');
	}
	
	function slidePreviewPane()
	{
		if(slideSpeed!=0){
			var topPos = previewImagePane.style.top.replace(/[^\-0-9]/g,'')/1;	
		
			if(slideSpeed<0 && slideEndMarker.offsetTop<(previewImageParent.offsetHeight - topPos)){
				slideSpeed=0;
			
			}
			topPos = topPos + slideSpeed;
			if(topPos>0)topPos=0;

		 	previewImagePane.style.top = topPos + 'px';
	 	
		}
	 	setTimeout('slidePreviewPane()',30);		
	}
	
	function revealThumbnail()
	{
		this.style.filter = 'alpha(opacity=100)';
		this.style.opacity = 1;
	}
	
	function hideThumbnail()
	{
		this.style.filter = 'alpha(opacity=50)';
		this.style.opacity = 0.5;
	}
	
	function initGalleryScript()
	{
		previewImageParent = document.getElementById('theImages');
		previewImagePane = document.getElementById('theImages').getElementsByTagName('DIV')[0];
		previewImagePane.style.top = '0px';
		galleryContainer  = document.getElementById('galleryContainer');
		var images = previewImagePane.getElementsByTagName('IMG');
		for(var no=0;no<images.length;no++){
			images[no].onmouseover = revealThumbnail;
			images[no].onmouseout = hideThumbnail;
		}	
		slideEndMarker = document.getElementById('slideEnd');
		
		document.getElementById('arrow_up_image').onmousemove = initSlide;
		document.getElementById('arrow_up_image').onmouseout = stopSlide;
		
		document.getElementById('arrow_down_image').onmousemove = initSlide;
		document.getElementById('arrow_down_image').onmouseout = stopSlide;
		var divs = previewImageParent.getElementsByTagName('DIV');
		for(var no=0;no<divs.length;no++){
			if(divs[no].className=='imageCaption')imageGalleryCaptions[imageGalleryCaptions.length] = divs[no].innerHTML;
		}		
		slidePreviewPane();
		
	}
	
	



// End --> 
