var theimages1 = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theimages1[0] = 'cmsimages/01.jpg'
theimages1[1] = 'cmsimages/02.jpg'
theimages1[2] = 'cmsimages/03.jpg'
theimages1[3] = 'cmsimages/04.jpg'
theimages1[4] = 'cmsimages/05.jpg'
theimages1[5] = 'cmsimages/06.jpg'
theimages1[6] = 'cmsimages/07.jpg'
theimages1[7] = 'cmsimages/08.jpg'

// do not edit anything below this line

var j = 0
var p = theimages1.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theimages1[i]
}
var whichImage = Math.round(Math.random()*(p-1));

var theimages2 = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theimages2[0] = 'cmsimages/09.jpg'
theimages2[1] = 'cmsimages/10.jpg'
theimages2[2] = 'cmsimages/11.jpg'
theimages2[3] = 'cmsimages/12.jpg'
theimages2[4] = 'cmsimages/13.jpg'
theimages2[5] = 'cmsimages/14.jpg'
theimages2[6] = 'cmsimages/15.jpg'
theimages2[7] = 'cmsimages/16.jpg'

// do not edit anything below this line

var j = 0
var p = theimages2.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theimages2[i]
}
var whichImage = Math.round(Math.random()*(p-1));

var theimages3 = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theimages3[0] = 'cmsimages/18.jpg'
theimages3[1] = 'cmsimages/18.jpg'
theimages3[2] = 'cmsimages/19.jpg'
theimages3[3] = 'cmsimages/20.jpg'
theimages3[4] = 'cmsimages/21.jpg'
theimages3[5] = 'cmsimages/22.jpg'
theimages3[6] = 'cmsimages/23.jpg'
theimages3[7] = 'cmsimages/24.jpg'


// do not edit anything below this line

var j = 0
var p = theimages3.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theimages3[i]
}
var whichImage = Math.round(Math.random()*(p-1));

function showImage1(){
document.write('<img src="'+theimages1[whichImage]+'">');
}
function showImage2(){
document.write('<img src="'+theimages2[whichImage]+'">');
}
function showImage3(){
document.write('<img src="'+theimages3[whichImage]+'">');
}
