function getleft(obj){
 return $jq(obj).offset().left; 
};
function gettop(obj){
 return $jq(obj).offset().top; 
};
function getheight(obj){
return $jq(obj).css("height").replace("px","")-0;
}
$jq("#menu li").each(function (){if (this.getAttribute("onmouseover")!=null){this.onmouseover=function (){showMenu2({'ctrlid':this.id})}}});
function showMenu2(v) {
	var ctrlid=v['ctrlid'];
	var menuobj=$(ctrlid+"_menu");
	var menu=$(ctrlid);
	setMenuPosition2(ctrlid);
	$jq("#"+ctrlid+"_menu").stop().show(menutime);
	menu.onmouseout=function (){$jq("#"+this.id+"_menu").stop().hide(menutime)}
	menuobj.onmouseout=function (){$jq("#"+this.id).stop().hide(menutime)}
	menuobj.onmouseover=function (){$jq("#"+this.id).stop().show(menutime)}
}
function setMenuPosition2(id){
	var menuobj=$(id+"_menu");
	var menu=$(id);
	menuobj.style.left=getleft(menu)+"px";
	menuobj.style.top=gettop(menu)+getheight(menu)+"px";
	menuobj.style.position="absolute";
}
function getleft(obj){
 return $jq(obj).offset().left; 
};
function gettop(obj){
 return $jq(obj).offset().top; 
};
function getheight(obj){
return $jq(obj).css("height").replace("px","")-0;
}
document.write("");
function zyscheight() {
    return ('pageYOffset' in window) ? window.pageYOffset: document.compatMode === "BackCompat" && document.body.scrollTop || document.documentElement.scrollTop ;
};
var headwrap=$jq("#header .wrap")[0];
var headout=$("header");
var zymenuleft=getleft(headwrap)-0;
var zymenu=$("menu");
function zymt(){
var zymenutrace=gettop(headout)+getheight(headout)-getheight(zymenu);
var zymenuleft=getleft(headwrap)-0;
var st = zyscheight();
if (st