// JavaScript Document

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

// Set up the image files to be used.
var theHomeImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array. Rememeber
// to increment the theImages[x] index!

theHomeImages[0] = '../home/img/001.jpg'
theHomeImages[1] = '../home/img/002.jpg'
theHomeImages[2] = '../home/img/003.jpg'
theHomeImages[3] = '../home/img/004.jpg'
theHomeImages[4] = '../home/img/005.jpg'
theHomeImages[5] = '../home/img/006.jpg'
theHomeImages[6] = '../home/img/007.jpg'


// ======================================
// do not change anything below this line
// ======================================

var j = 0
var p = theHomeImages.length;

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

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

//-->
