// JavaScript Document
<!--
var theImages = new Array()
theImages[0] = 'images/headerimage_bluewater.jpg'
theImages[1] = 'images/headerimage_waterfall.jpg'
theImages[2] = 'images/headerimage_1.jpg'
theImages[3] = 'images/headerimage_2.jpg'
theImages[4] = 'images/headerimage_3.jpg'
theImages[5] = 'images/headerimage_4.jpg'
theImages[6] = 'images/headerimage_5.jpg'
theImages[7] = 'images/headerimage_6.jpg'
theImages[8] = 'images/headerimage_7.jpg'
theImages[9] = 'images/headerimage_8.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="760" height="161" border="0">');
}
// -->
