// JavaScript Document

<!-- Begin
// Set up the image files to be used.

var theImages = new Array()

//These are the images that are going to be used

theImages[0] = 'photos/121.jpg'
theImages[1] = 'photos/110.jpg'
theImages[2] = 'photos/061.jpg'
theImages[3] = 'photos/128.jpg'
theImages[4] = 'photos/099.jpg'
theImages[5] = 'photos/103.jpg'
theImages[6] = 'photos/105.jpg'
theImages[7] = 'photos/118.jpg'
theImages[8] = 'photos/127.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]+'">');
}
//  End -->
