/* 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=5;var whichContent=getRandom(maxContent);whichContent--;/* Define the array here. */var Content=new Array(maxContent);Content[0]="<img src='images/home/rotate1.jpg' width='577' height='269' usemap='#dev' border=0>"Content[1]="<img src='images/home/rotate2.jpg' width='577' height='269' usemap='#dev' border=0>"Content[2]="<img src='images/home/rotate3.jpg' width='577' height='269' usemap='#dev' border=0>"Content[3]="<img src='images/home/rotate4.jpg' width='577' height='269' usemap='#dev' border=0>"Content[4]="<img src='images/home/rotate5.jpg' width='577' height='269' usemap='#dev' border=0>"/* Write the content to the document. */document.write(Content[whichContent]);
