var theImages2 = new Array()

theImages2[0] = 'img/intercontinental-2.jpg'
theImages2[1] = 'img/monterey-bay-inn-2.jpg'
theImages2[2] = 'img/monterey-plaza-hotel-2.jpg'
theImages2[3] = 'img/victorian-inn-2.jpg'

var j2 = 0
var p2 = theImages2.length;
var preBuffer2 = new Array()
for (i = 0; i < p2; i++){
   preBuffer2[i] = new Image()
   preBuffer2[i].src = theImages2[i]
}
var whichImage2 = Math.round(Math.random()*(p2-1));
function showImage2(){
document.write('<img src="'+theImages2[whichImage2]+'">');
}
