// JavaScript Document
//Random Images
var theImages = new Array() // do not change this


theImages[0] = './img/curious.cat.gif'
theImages[1] = './img/curious_reading2.gif'
theImages[2] = './img/curious.binoculars.gif'
theImages[3] = './img/curious_magnify1.gif'
//theImages[4] = 'img/Deal5.jpg'
//theImages[5] = 'img/Deal6.jpg'
//theImages[6] = 'img/Deal10.jpg'
//theImages[7] = 'img/Deal8.jpg'
//theImages[8] = 'img/Deal9.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]+'">');
}
