
// Store the date in a variable
d = new Date()
dateText = ""

// Get the current year; if it's before 2000, add 1900
if (d.getYear() < 2000) 
    year = (1900 + d.getYear())
else 
    year = (d.getYear())
	
dateText += year

// Set up the image files to be used.
var theImages = new Array() 
// do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theImages[0] = 'hp1.jpg'
theImages[1] = 'hp2.jpg'
theImages[2] = 'hp3.jpg'
theImages[3] = 'hp4.jpg'
theImages[4] = 'hp5.jpg'
theImages[5] = 'hp6.jpg'

// do not edit anything below this line

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="images/'+theImages[whichImage]+'" width=248 height=263>');
}


function openSS(path) {
popSS=window.open(path,"popSS","height=550,width=625,scrollbars=yes,resizable=yes,location=0,screenx=0,screeny=0,left=0,top=0");
popSS.focus()
}
function openLG(path) {
popLG=window.open(path,"popLG","height=550,width=625,scrollbars=yes,resizable=yes,location=0,screenx=0,screeny=0,left=0,top=0");
popLG.focus()
}


