/* This function generates a random number to be used later to call random text/images when the page is reloaded. */function getRandom(maxNum){if (Math.random && Math.round)	{    var ranNum= Math.round(Math.random()*(maxNum-1));    ranNum+=1;    return ranNum;	}else	{	today=new Date();	hours=today.getHours();	mins=today.getMinutes();  	secn=today.getSeconds();	if (hours==19)		{		hours=18;		}	var ranNum= (((hours+1)*(mins+1)*secn)%maxNum)+1;	return ranNum;	}}/* This section writes text/images from an array when called from the body of the page. *//* Adjust the maxContent value below to match the number of items in the array. */var maxContent=4;var whichContent=getRandom(maxContent);whichContent--;/* Define the array here. */var Content=new Array(maxContent);Content[0]="<img src='images/masthead/spring.jpg' width='726' height='162'>"Content[1]="<img src='images/masthead/summer.jpg' width='726' height='162'>"Content[2]="<img src='images/masthead/fall.jpg' width='726' height='162'>"Content[3]="<img src='images/masthead/winter.jpg' width='726' height='162'>"/* Write the content to the document. */document.write(Content[whichContent]);