if (document.getElementById) { window.onload = swap };
	function swap() {
		var numimages=9;
		rndimg = new Array("http://www.eyecarefoundation.nl/wp-content/themes/ECF/img/header/001.jpg", "http://www.eyecarefoundation.nl/wp-content/themes/ECF/img/header/002.jpg", "http://www.eyecarefoundation.nl/wp-content/themes/ECF/img/header/003.jpg", "http://www.eyecarefoundation.nl/wp-content/themes/ECF/img/header/004.jpg", "http://www.eyecarefoundation.nl/wp-content/themes/ECF/img/header/005.jpg", "http://www.eyecarefoundation.nl/wp-content/themes/ECF/img/header/006.jpg", "http://www.eyecarefoundation.nl/wp-content/themes/ECF/img/header/007.jpg", "http://www.eyecarefoundation.nl/wp-content/themes/ECF/img/header/008.jpg", "http://www.eyecarefoundation.nl/wp-content/themes/ECF/img/header/009.jpg" ); 
		x=(Math.floor(Math.random()*numimages));
		randomimage=(rndimg[x]);
		document.getElementById("header").style.backgroundImage = "url("+ randomimage +")"; 
}


