// =====================================
// Copyright 2003 by jsCode.com
// Source: jsCode.com
// Author: etLux
// Free for all; but please leave in the header.
// ==============================================


var theImagesa = new Array() 
theImagesa[0] = 'images/homephoto_001.jpg'
theImagesa[1] = 'images/homephoto_002.jpg'
theImagesa[2] = 'images/homephoto_003.jpg'
theImagesa[3] = 'images/homephoto_004.jpg'

var j = 0
var p = theImagesa.length;

var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImagesa[i]
}

var whichImage = Math.round(Math.random()*(p-1));
function showImagea(){
document.write('<img src="'+theImagesa[whichImage]+'">');
}
