<!-- This script which swaps the front page image each time the page reloads -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Free JavaScripts provided by javascriptsource.com -->

<!-- Begin
// Set up the image files to be used.
// do not change the next line of code
var theImages = new Array() // do not change this
// do not change the above line of code

// ONLY AREA YOU MAY CHANGE
// To add more image files, continue with the
// pattern below, adding to the array.

theImages[0] = 'images/homePic1.jpg' 
theImages[1] = 'images/homePic2.jpg'
theImages[2] = 'images/homePic3.jpg'
theImages[3] = 'images/homePic4.jpg'
theImages[4] = 'images/homePic5.jpg'
theImages[5] = 'images/homePic6.jpg'
theImages[6] = 'images/homePic7.jpg'
theImages[7] = 'images/homePic8.jpg'
theImages[8] = 'images/homePic9.jpg'
theImages[9] = 'images/homePic10.jpg'
theImages[10] = 'images/homePic11.jpg'
theImages[11] = 'images/homePic12.jpg'
theImages[12] = 'images/homePic13.jpg'
theImages[13] = 'images/homePic14.jpg'
theImages[14] = 'images/homePic15.jpg'
theImages[15] = 'images/homePic16.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]+'" width="792" height="517" border="1" class="mainPic">');
}

//  End -->
