var leftNavs = 9;
var timer;

//preload rollover images

for (i=1;i<=leftNavs;i++) {
	theImg = new Image();
	theImg.src = "/img/leftnav" + i + "_on.gif";
	theImg = new Image();
	theImg.src = "/img/leftnav" + i + "_off.gif";
}
	
function subNav(whichNav) {
	clearTimeout(timer);
	if (goodToGo) {
		for (i=1;i<=leftNavs;i++) {
				whichImg = eval("document.leftnav" + i);
				whichLayer = fixLayer("Menu" + i);
			if (i == whichNav) {
				whichImg.src="/img/leftnav" + i + "_on.gif";
				whichLayer.visibility = "visible"
			} else {
				whichImg.src="/img/leftnav" + i + "_off.gif";
				whichLayer.visibility = "hidden"
			}
		}
	}
}

function navOff() {
	timer = setTimeout("subNav(0)",1000);
}
