// holds the list of images in the scanned directory

var imageList = new Array(
						  "/images/hp_pic1.gif",
						  "/images/hp_pic2.gif",
						  "/images/hp_pic3.gif",
						  "/images/hp_pic4.gif",
						  "/images/hp_pic5.gif",
						  "/images/hp_pic6.gif",
						  "/images/hp_pic7.gif",
						  "/images/hp_pic8.gif",
						  "/images/hp_pic9.gif"
						  );

function scanImages()
{


}

function rotateImages(delayTime)
{	

	var randomnumber=Math.floor(Math.random()*9)

	document.getElementById("imageToUpdate").src = imageList[randomnumber];

}

function process()
{

	scanImages();

	rotateImages();

//	setTimeout('process()', 1000);

}
