// 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] = 'imgs/rand1.png'
theImages[1] = 'imgs/rand2.png'
theImages[2] = 'imgs/rand3.png'
theImages[3] = 'imgs/rand4.png'
theImages[4] = 'imgs/rand5.png'
theImages[5] = 'imgs/rand6.png'
theImages[6] = 'imgs/rand7.png'
theImages[7] = 'imgs/rand8.png'
theImages[8] = 'imgs/rand9.png'
theImages[9] = 'imgs/rand10.png'
theImages[10] = 'imgs/rand11.png'


// 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]+'" width="550" height="195">');
}