var base= "images/nav"
var img = new Array();
var imgover = new Array();
var section = new Array('About','Shows','Results','Gallery','News','Jumps','Sponsors','Contact');

if (document.images) {
	for (i=0; i<section.length; i++) {
		img[i] = new Image;
		img[i].src = base + section[i] + ".gif"
		imgover[i] = new Image;
		imgover[i].src = base + section[i] + "On.gif";
	}
}

function imageOn(imNum) {
	if (document.images) {
		document.images[section[imNum]].src = imgover[imNum].src
	}
}

function imageOff(imNum) {
	if (document.images) {
		document.images[section[imNum]].src = img[imNum].src
	}
}
