var theImages = new Array()
theImages[0] = 'images/photo/alive_1.jpg'
theImages[1] = 'images/photo/alive_2.jpg'
theImages[2] = 'images/photo/alive_3.jpg'
theImages[3] = 'images/photo/alive_4.jpg'
theImages[4] = 'images/photo/alive_5.jpg'
theImages[5] = 'images/photo/alive_6.jpg'
theImages[6] = 'images/photo/alive_7.jpg'
theImages[7] = 'images/photo/alive_8.jpg'
theImages[8] = 'images/photo/alive_9.jpg'
theImages[9] = 'images/photo/alive_10.jpg'
theImages[10] = 'images/photo/alive_11.jpg'
theImages[11] = 'images/photo/alive_12.jpg'
theImages[12] = 'images/photo/alive_13.jpg'
theImages[13] = 'images/photo/alive_14.jpg'
theImages[14] = 'images/photo/alive_15.jpg'
theImages[15] = 'images/photo/alive_16.jpg'
theImages[16] = 'images/photo/alive_17.jpg'
theImages[17] = 'images/photo/alive_18.jpg'
theImages[18] = 'images/photo/alive_19.jpg'
theImages[19] = 'images/photo/alive_20.jpg'
theImages[20] = 'images/photo/alive_21.jpg'
theImages[21] = 'images/photo/alive_22.jpg'
theImages[22] = 'images/photo/alive_23.jpg'
theImages[23] = 'images/photo/alive_24.jpg'
theImages[24] = 'images/photo/alive_25.jpg'

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]+'">');
}
//-->

