
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://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/mainimage.jpg'
theImages[1] = 'images/mainimage1.jpg'
theImages[2] = 'images/mainimage2.jpg'
theImages[3] = 'images/mainimage3.jpg'
theImages[4] = 'images/mainimage4.jpg'
theImages[5] = 'images/mainimage5.jpg'
theImages[6] = 'images/mainimage6.jpg'
theImages[7] = 'images/mainimage7.jpg'
theImages[8] = 'images/mainimage8.jpg'


// do not edit anything below this line

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]+'">');
}

// Set up the image files to be used.
var theImages1 = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theImages1[0] = 'images/topleftpic.jpg'
theImages1[1] = 'images/topleftpic1.jpg'
theImages1[2] = 'images/topleftpic2.jpg'
theImages1[3] = 'images/topleftpic3.jpg'
theImages1[4] = 'images/topleftpic4.jpg'
theImages1[5] = 'images/topleftpic5.jpg'
theImages1[6] = 'images/topleftpic6.jpg'
theImages1[7] = 'images/topleftpic7.jpg'
theImages1[8] = 'images/topleftpic8.jpg'

// do not edit anything below this line

var j1 = 0
var p1 = theImages1.length;
var preBuffer1 = new Array()
for (i1 = 0; i1 < p1; i1++){
   preBuffer1[i1] = new Image()
   preBuffer1[i1].src = theImages1[i1]
}
var whichImage1 = Math.round(Math.random()*(p1-1));
function showImage1(){
document.write('<img src="'+theImages1[whichImage1]+'">');
}

//  End -->

