//random image display from javascript.internet.com
//Begin
// 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/collage_photos1.jpg'
theImages[1] = 'images/collage_photos2.jpg'
theImages[2] = 'images/collage_photos3.jpg'

// do not edit anything below this line

var w = theImages.length;
var preBuffer = new Array()

for (c = 0; c < w; c++){
   preBuffer[c] = new Image()
   preBuffer[c].src = theImages[c]
}

var whichImage = Math.round(Math.random()*(w-1));
function showImage(){
document.write('<img src="'+theImages[whichImage]+'" width="336" height="224" alt="" />');

}
