<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- contains additions of my own to have two sets of random images -->

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

Images[0] = 'images/photos1.jpg'
Images[1] = 'images/photos2.jpg'
Images[2] = 'images/photos3.jpg'
Images[3] = 'images/photos4.jpg'
Images[4] = 'images/photos5.jpg'
Images[5] = 'images/photos6.jpg'
Images[6] = 'images/photos7.jpg'

// do not edit anything below this line

var j = 0
var p = Images.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = Images[i]
}
var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write('<img src="'+Images[whichImage]+'" alt="Limestone photos">');
}

