		<!-- Hide script from older browsers
	myPix = new Array("images_slide/img1.jpg","images_slide/img2.jpg","images_slide/img3.jpg","images_slide/img4.jpg","images_slide/img5.jpg","images_slide/img6.jpg","images_slide/img7.jpg","images_slide/img8.jpg")
	imgCt = myPix.length 

	function choosePic() {
		if (document.images) {
			randomNum = Math.floor((Math.random() * imgCt))
			document.myPicture.src = myPix[randomNum]
		}
	}


		// End hiding script from older browsers -->



function addLoadEvent(func) {
	var oldonload = window.onload;
	if (typeof window.onload != 'function') {
		window.onload = func;
	} else {
		window.onload = function() {
		oldonload();
		func();
		}
	}
}


addLoadEvent(choosePic);
 
 