window.onload = choosePic;

var myPix = new Array("images/homepage_loop_01.jpg","images/homepage_loop_02.jpg");

function choosePic() {
	randomNum = Math.floor((Math.random() * myPix.length));
	document.getElementById("myPicture").src = myPix[randomNum];
}

						
