window.onload = choosePic;

var myPix = new Array("images/random_of_index/00.jpg","images/random_of_index/01.jpg","images/random_of_index/02.jpg","images/random_of_index/03.jpg","images/random_of_index/04.jpg","images/random_of_index/05.jpg","images/random_of_index/06.jpg","images/random_of_index/07.jpg");

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

