// this script controls the rotating image
var theImages = new Array() 

// edit the following array if the images change
theImages[0] = '../images/homeImg/1.jpg'
theImages[1] = '../images/homeImg/2.jpg'
theImages[2] = '../images/homeImg/3.jpg'
theImages[3] = '../images/homeImg/4.jpg'
theImages[4] = '../images/homeImg/5.jpg'
theImages[5] = '../images/homeImg/6.jpg'
theImages[6] = '../images/homeImg/7.jpg'
var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}
var whichImage = Math.round(Math.random()*(p-1));
function showImage()
{
	document.write("<img src='"+theImages[whichImage]+"' class='floatLeft' width='300' height='189' border='0' alt=''>");
	
}

//  End -->