
<!--
// ==============================================
// 
// 
// 
// 
// ==============================================

// Set up the header 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. Rememeber
// to increment the theImages[x] index!

theImages[0] = 'images/mainpic17.jpg'
theImages[1] = 'images/mainpic2.jpg'
theImages[2] = 'images/mainpic3.jpg'
theImages[3] = 'images/mainpic4.jpg'
theImages[4] = 'images/mainpic5.jpg'
theImages[5] = 'images/mainpic6.jpg'
theImages[6] = 'images/mainpic7.jpg'
theImages[7] = 'images/mainpic8.jpg'
theImages[8] = 'images/mainpic9.jpg'
theImages[9] = 'images/mainpic10.jpg'
theImages[10] = 'images/mainpic11.jpg'
theImages[11] = 'images/mainpic12.jpg'
theImages[12] = 'images/mainpic13.jpg'
theImages[13] = 'images/mainpic14.jpg'
theImages[14] = 'images/mainpic15.jpg'
theImages[15] = 'images/mainpic16.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]+'">');
}

//-->
