// ==============================================
// 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/pagephotos/pagephoto01.jpg'
theImagesa[1] = '/images/pagephotos/pagephoto02.jpg'
theImagesa[2] = '/images/pagephotos/pagephoto03.jpg'
theImagesa[3] = '/images/pagephotos/pagephoto04.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]+'">');
}

