var imageNumber=Math.round(Math.random()*30);//change the number according to how many pictures
	function changepic(){
	document.write("<a href='pages/" + imageNumber + ".shtml'>");
	document.write("<img src='photos/" + imageNumber + ".gif' border='0'>");
	document.write("</a>");
	}	
