<!--

//==============================================
//sfhover for CSS Slider Menu
//This allows for a lack of CSS support by Internet Explorer
//==============================================
sfHover = function() {
	var sfEls = document.getElementById("menu").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);


// ==============================================
// Random Header Image
// ==============================================

// Set images 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. Rememeber
// to increment the theImages[x] index!  As good
// practice, please remember to place the images in
// the 'images/structure/random' directory.
// Thanks!

theImages[0] = 'images/structure/random/01_03.gif'
theImages[1] = 'images/structure/random/02_03.gif'
theImages[2] = 'images/structure/random/03_03.gif'
theImages[3] = 'images/structure/random/04_03.gif'
theImages[4] = 'images/structure/random/05_03.gif'
theImages[5] = 'images/structure/random/06_03.gif'
theImages[6] = 'images/structure/random/07_03.gif'
theImages[7] = 'images/structure/random/08_03.gif'
theImages[8] = 'images/structure/random/09_03.gif'
theImages[9] = 'images/structure/random/10_03.gif'
//theImages[10] = 'images/structure/random/11_03.jpg'
//theImages[11] = 'images/structure/random/12_03.jpg'
//theImages[12] = 'images/structure/random/13_03.jpg'
//theImages[13] = 'images/structure/random/14_03.jpg'
//theImages[14] = 'images/structure/random/15_03.jpg'
//theImages[15] = 'images/structure/random/16_03.jpg'
//theImages[16] = 'images/structure/random/17_03.jpg'
//theImages[17] = 'images/structure/random/18_03.jpg'
//theImages[18] = 'images/structure/random/19_03.jpg'
//theImages[19] = 'images/structure/random/20_03.jpg'

// ======================================
// Do Not Change 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="'+theImages[whichImage]+'">');
}


//-->
