// JavaScript Document
// this script randomly rotates the photos on  and on philosophy pages
function selectPhotos() {
	var picArray = new Array('images/figb1.jpg','images/figb2.jpg','images/figb3.jpg','images/figb4.jpg'); // create an array of all possible images
	var randomNum = Math.floor(Math.random() * picArray.length); // select a random num between 0 and length of the array
	document.getElementById("picfish").src = picArray[randomNum]; // assign a random array entry to the src of the image
}

