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


var theImages = new Array()

theImages[0] = 'pictures/home_pic01.jpg'
theImages[1] = 'pictures/home_pic02.jpg'
theImages[2] = 'pictures/home_pic03.jpg'
theImages[3] = 'pictures/home_pic04.jpg'
theImages[4] = 'pictures/home_pic05.jpg'
theImages[5] = 'pictures/home_pic06.jpg'
theImages[6] = 'pictures/home_pic07.jpg'
theImages[7] = 'pictures/home_pic08.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]+'">');
}
