// JavaScript Document
//frontpage image rotator
<!-- Begin
// Set up the image files to be used.
var theImages = new Array() // do not change this

theImages[0] = '/images/random_top1.jpg'
theImages[1] = '/images/random_top2.jpg'
theImages[2] = '/images/random_top3.jpg'
theImages[3] = '/images/random_top4.jpg'
theImages[4] = '/images/random_top5.jpg'
theImages[5] = '/images/random_top6.jpg'
theImages[6] = '/images/random_top7.jpg'
theImages[7] = '/images/random_top8.jpg'


// do not edit anything below this line

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]+'" alt="Randomimages" width="468" height="116" />');
}

//  End -->
