function turn_on_menu_tab(parentID, obj)  {
	if (document.getElementById)  {
		// get all list items
		myTabElements = document.getElementById(parentID).getElementsByTagName('li');
		for (i = 0; i < myTabElements.length; i++)  {
			if(myTabElements.item(i).className != ""){
				// loop over slideshow list nav elements
				strElmClass = myTabElements.item(i).className;
				//alert(strElmClass);
				if(strElmClass.indexOf(obj) > -1) {
					var coreClassName = strElmClass.substr(0, strElmClass.indexOf(' '));
					var tabIsOn = false;
					switch(strElmClass.substr(strElmClass.indexOf(' ') + 1, strElmClass.length)){
						case "tabon":
							tabIsOn = true;
							break;
						case "taboff":
							tabIsOn = false;
							break;
					}
				// alert(obj  + strElmClass);
					if(!tabIsOn){
						// turn tab on 
						myTabElements.item(i).className = coreClassName + ' tabon';
					}
				} else {
					myTabElements.item(i).className = strElmClass.substr(0, strElmClass.indexOf(' ')) +  ' taboff';
				}
			}
		}
	}
}
	
function menuIEonClick(childID,myID){

	if(navigator.userAgent.indexOf("MSIE") > -1){
		if(document.getElementById(childID).style.display == "none"){
			document.getElementById(childID).style.display = "block";
			document.getElementById(myID).style.background = "url(../ui/bg_btn_menu_nav_on.gif)";
		} else {
			document.getElementById(childID).style.display = "none";
			document.getElementById(myID).style.background = "url(../ui/bg_btn_menu_nav.gif)";
		}
	}
}
function getElement(id){
	return document.getElementById(id);	
}

