// 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] = '1.gif'
theImages[1] = '2.gif'
theImages[2] = '3.gif'
theImages[3] = '4.gif'
theImages[4] = '5.gif'
theImages[5] = '6.gif'
theImages[6] = '7.gif'
theImages[7] = '8.gif'
theImages[8] = '9.gif'
theImages[9] = '10.gif'
theImages[10] = '11.gif'
theImages[11] = '12.gif'
theImages[12] = '13.gif'
theImages[13] = '14.gif'
theImages[14] = '15.gif'
theImages[15] = '16.gif'
theImages[16] = '17.gif'
theImages[17] = '18.gif'
theImages[18] = '19.gif'
theImages[19] = '20.gif'
theImages[20] = '21.gif'
theImages[21] = '22.gif'
theImages[22] = '23.gif'
theImages[23] = '24.gif'
theImages[24] = '25.gif'
theImages[25] = '26.gif'
theImages[26] = '27.gif'
theImages[27] = '28.gif'
theImages[28] = '29.gif'
theImages[29] = '30.gif'
theImages[30] = '31.gif'
theImages[31] = '32.gif'
theImages[32] = '33.gif'
theImages[33] = '34.gif'
theImages[34] = '35.gif'
theImages[35] = '36.gif'
theImages[36] = '37.gif'
theImages[37] = '38.gif'
theImages[38] = '39.gif'
theImages[39] = '40.gif'
theImages[40] = '41.gif'
theImages[41] = '42.gif'

// 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]+'">');
}
