function showSub(subMenuID){
	var divSub = document.getElementById("subMenu"+subMenuID);
	if (divSub != null) {
		divSub.style.visibility = "visible";
	}

 	var aMain  = document.getElementById("main"+subMenuID);
	if (aMain  != null) {
		aMain.className = aMain.className.replace("ACT","") + "ACT";
	}

}
function hideSub(subMenuID){
	var divSub = document.getElementById("subMenu"+subMenuID);
	if (divSub != null) {
		divSub.style.visibility = "hidden";
	}

 	var aMain  = document.getElementById("main"+subMenuID);
	if (aMain  != null) {
		aMain.className = aMain.className.replace("ACT","");
	}

}

 function showSubSub(subMainMenuID, subMenuID){
/*
	var divSub = document.getElementById("subMenu"+subMenuID);
	var divMainSub = document.getElementById("subMenu"+subMainMenuID);
 	var aSub = document.getElementById("aSub"+subMenuID);
	if (aSub != null){
		aSub.className = aSub.className.replace("ACT","") + "ACT";
	}
	if (divSub != null){
		if ( divMainSub != null ) {
			if ( divSub.style.marginLeft < divMainSub.offsetWidth ) {
				divSub.style.marginLeft = divSub.offsetLeft + divMainSub.offsetWidth;
			}
		}
		divSub.style.visibility = "visible";
	}
*/
}
function hideSubSub(subMainMenuID, subMenuID){
/*
	var divSub = document.getElementById("subMenu"+subMenuID);
	var divMainSub = document.getElementById("subMenu"+subMainMenuID);
	var aSub = document.getElementById("aSub"+subMenuID);
	if (divSub != null){
		divSub.style.visibility = "hidden";
	}
	if (aSub != null){
		aSub.className = aSub.className.replace("ACT","");
	}
*/
}

