
	function GetCurCmd() {
		if(event==null)
			var cc = window.event.srcElement;
		else
			var cc = window.event.srcElement;
		while((cc.id=="") && (cc.tagName!="TD")) {
			cc = cc.parentElement;
			if(cc==null)
				break;
		}
		return cc;
	}

	function HoverSel(mode) {
		var mc = GetCurCmd();

		with(mc) {
			if(mode) {
				className = "menuItem";
			} else {
				className = "menuItemOver";
			}
		}
		cCmd = mc;
	}


	function HoverSelGray(mode) {
		var mc = GetCurCmd();

		with(mc) {
			if(mode) {
				className = "menuItemGray";
			} else {
				className = "menuItemOverGray";
			}
		}
		cCmd = mc;
	}
	

	
	
	
	