parseNav = function(){
		
	pageUrlArray = window.location.pathname.split("/");
	if(document.getElementById("nav") == null || document.getElementById("left_nav") == null){
		return 0; 
	}
	topNav = document.getElementById("nav").getElementsByTagName("a");
	myAnchors = document.getElementById("left_nav").getElementsByTagName("a");
	fileExt = "asp";
	basePath = "";
	baseNum = 1;
	
	var toActivate = null;
	var toCurrent = null;
	
	if(pageUrlArray[baseNum] != null){

		if(pageUrlArray[baseNum].indexOf("." + fileExt) < 1){
			if(pageUrlArray[baseNum] == "programarchive"){
				tmpItem = "programs";
			}
			else{
				tmpItem = pageUrlArray[baseNum];
			}
			completePath = basePath + tmpItem + "/";
			for(var j=0; j<topNav.length; j++){
				if(topNav[j].pathname.charAt(0) == "/"){ 
					topNavItem = topNav[j].pathname.substr(1);
				}
				else{ 
					topNavItem = topNav[j].pathname;
				}
				if(completePath.toLowerCase() == topNavItem.toLowerCase()){
					topNav[j].className += "active";
				}
			}
			basePath += pageUrlArray[baseNum];
			baseNum++;
		}
				
		toCurrent = basePath + "/" +  pageUrlArray[baseNum];
		
		currentPageArray = pageUrlArray[baseNum].split("_");
		
		if(currentPageArray.length > 1){
			toActivate = basePath + "/" + currentPageArray[0] + "." + fileExt;
		}
		else{
			toActivate = basePath + "/" + pageUrlArray[baseNum];
		}
		
		for(var i=0; i<myAnchors.length; i++){
			if(myAnchors[i].pathname.charAt(0) == "/"){
				subNavItem = myAnchors[i].pathname.substr(1).toLowerCase();
			}
			else{
				subNavItem = myAnchors[i].pathname.toLowerCase();
			}
			
			if(toActivate.toLowerCase() == subNavItem){
				myAnchors[i].parentNode.className += " active";
			}
			
			if(toCurrent.toLowerCase() ==  subNavItem){
				myAnchors[i].parentNode.className += " current";
			}
		}
		setTall();
		clearInterval(_t);
	}
}

var _t = setInterval(parseNav, 10)

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}


