// Set up the image files to be used.
var theImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theImages[0] = '_images/banner01.jpg'
theImages[1] = '_images/banner02.jpg'
theImages[2] = '_images/banner03.jpg'
theImages[3] = '_images/banner04.jpg'
theImages[4] = '_images/banner05.jpg'
theImages[5] = '_images/banner06.jpg'
theImages[6] = '_images/banner07.jpg'
theImages[7] = '_images/banner08.jpg'
theImages[8] = '_images/banner09.jpg'
theImages[9] = '_images/banner10.jpg'
theImages[10] = '_images/banner11.jpg'
theImages[11] = '_images/banner12.jpg'
theImages[12] = '_images/banner13.jpg'
theImages[13] = '_images/banner14.jpg'
theImages[14] = '_images/banner15.jpg'
theImages[15] = '_images/banner16.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]+'" width="720" height="300" />');
}
