	defStatus="Gesher";
	window.status=defStatus;


		function overTableTR(trObj) {
			trObj.style.backgroundColor='#CFDBE3';
		}
		
		function outTableTR(trObj) {
			trObj.style.backgroundColor='#FAFEFF';
		}


	var topMenuObj; 

	function menuMouseOver(val) {
		var obj=event.srcElement;
		if (val==true) topMenuObj=event.srcElement;
		obj.style.color=(val?"white":"")
		var oDiv=document.getElementById("SubMenu")

		var screenwidth = document.body.clientWidth
		screenwidth-=770
		screenwidth=screenwidth/2
		if (ArrMenus[obj.MenuNum] && val)	{
			oDiv.innerHTML=""
			for (var i=0;i<ArrMenus[obj.MenuNum].length ; i++){

				if (ArrMenus[obj.MenuNum][i].mNewWin=='true')
					oDiv.innerHTML+= "<div style=\"padding:1px;\"><a id=\"subMenuItem_"+ i +"\" onFocus='blur();' href='#' onClick=\"window.open('" + ArrMenus[obj.MenuNum][i].mLink + "');\" class='subMenuItem'>&nbsp;&nbsp;" + ArrMenus[obj.MenuNum][i].mText + "</a></div>";
				else
					oDiv.innerHTML+= "<div style=\"padding:1px;\"><a id=\"subMenuItem_"+ i +"\" onFocus='blur();' href='" + ArrMenus[obj.MenuNum][i].mLink + "' class='subMenuItem'>&nbsp;&nbsp;" + ArrMenus[obj.MenuNum][i].mText + "</a></div>";
			}
			oDiv.style.width=160;
			oDiv.style.left=((document.body.clientWidth-topMenuItemTable.offsetWidth-144)+obj.offsetLeft)-(160-obj.offsetWidth);
			oDiv.style.top=obj.offsetTop+122
			oDiv.style.display=""
		}
		else {
				SubMenu.style.display='none';
				if (obj.style.backgroundColor=='#105a8b') obj.style.color='white';
		}
	}

	function menuMouseOut(menuItem) {
		menuItem.style.backgroundColor='';
	}

	function frameMenuMouseOver(menuObj) {
		menuObj.style.color='#DEB808';
	}

	function frameMenuMouseOut(menuObj) {
		menuObj.style.color='white';
	}

	function topMenuMouseOver(menuObj) {
		if (menuObj.style.backgroundColor!='#105a8b') menuObj.style.color='white';
//		if (menuObj.style.backgroundColor!='#105a8b') menuObj.style.backgroundColor='#A96709';
	}

	function topMenuMouseOut(menuObj) {
		if (menuObj.style.backgroundColor!='#105a8b') menuObj.style.color='black';
	}


	function MenuObject(txt, lnk, target){
		var obj=new Object;
		obj.mText=txt;
		obj.mLink=lnk;
		obj.mNewWin=target;
		return obj;
	}
