// JavaScript Document
// Set up the image files to be used.
var leftImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

leftImages[0] = 'gfx/random1a.jpg'
leftImages[1] = 'gfx/random1b.jpg'
leftImages[2] = 'gfx/random1c.jpg'
leftImages[3] = 'gfx/random1d.jpg'
leftImages[4] = 'gfx/random1e.jpg'
leftImages[5] = 'gfx/random1f.jpg'
leftImages[6] = 'gfx/random1g.jpg'
leftImages[7] = 'gfx/random1h.jpg'
leftImages[8] = 'gfx/random1i.jpg'
leftImages[9] = 'gfx/random1j.jpg'

// do not edit anything below this line

var j = 0
var p = leftImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = leftImages[i]
}
var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write('<img src="'+leftImages[whichImage]+'">');
}