// JavaScript Document

<!-- Hide script from old browsers

myPix = new Array();
for (var i = 1; i <= 30 ; i++)
    myPix[(i - 1)] = "/images/rotatingimages/image" + i + ".jpg";
imgCt = myPix.length;

function choosePic()
    {
	if (document.images)
        {
		randomNum = Math.floor((Math.random() * imgCt));
		document.myPicture.src = myPix[randomNum];
		}
    }

	

