// SCRIPT FOR MENU ITEMS
/*startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("sub");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}

window.onload=startList;*/

function returnSubHilite() {
	// GET CURRENT FILE PATH
	var file_path = document.location.href;
	// GET THE END NUMBER
	var end = (file_path.indexOf("?") == -1) ? file_path.length : file_path.indexOf("?");
	// GET JUST THE FILE NAME - NO EXTENSION
	var file_name = file_path.substring(file_path.lastIndexOf("/")+1, end-4);
	// GET 
	myElement = document.getElementById(file_name);
	// IF FOUND ADD THE STICKY HILITE
	if (myElement !== null) {
		myElement.childNodes[0].id = "sub_hilite";
	}
}
