<!-- Original:  CodeLifter.com (support@codelifter.com) -->
<!-- Web Site:  http://www.codelifter.com -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Modified by: Wilco Ludikhuize (added clickability options :))-->
<!-- Begin
// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 5000;
var crossFadeDuration = 3;
var Pic = new Array();


// do not edit anything below this line
var t;
var j = 0;
var p;
var preLoad = new Array();
var random = true;

function initShow() {
	p = Pic.length;

	for (i = 0; i < p; i++) {
	preLoad[i] = new Image();
		preLoad[i].src = Pic[i][0]; //image adres
		//preLoad[i].width=140;
		//preLoad[i].height=94;
		//preLoad[i].style.width="140px";
		//preLoad[i].style.height="94px";
		preLoad[i].setAttribute('max-width','468px');
		preLoad[i].setAttribute('max-height','60px');
		preLoad[i].setAttribute('z-index','1');
		preLoad[i].setAttribute('position','relative');
	}
}
function runSlideShow() {
	if(document.getElementsByName("SlideShowImage").length > 0) {

		if(random){ //als random aan staat
			j = Math.floor(p*Math.random());
		}
		if (document.all) {
			document.images.SlideShowImage.style.filter="blendTrans(duration=2)";
			document.images.SlideShowImage.style.filter="blendTrans(duration=crossFadeDuration)";
			document.images.SlideShowImage.filters.blendTrans.Apply();
		}
		document.images.SlideShowImage.src = preLoad[j].src;
		var link = document.getElementById("SlideShowLink");

		if(Pic[j][1] != "") {
			link.href=Pic[j][1];
		}
		if (document.all) {
			document.images.SlideShowImage.filters.blendTrans.Play();
		}
		
		if(!random){ //als random uit staat
			j = j + 1;
			if (j > (p - 1)) j = 0;
		}
		
		t = setTimeout('runSlideShow()', slideShowSpeed);
	}
}
//  End -->
