var header_menu_float;var header_menu_expanded_item;var mouseover=false;var start=false;var last_tag;var last_m_title;var mNavVisible;function headerMenuClick(b,a){if(b){document.location=b}else{if(start){headerMenuExpand(a)}}}function headerMenuExpand(c){var e=document.getElementById("header_submenu_"+c);var a=document.getElementById("header_menu_link_"+c);var d=document.getElementById("header_submenuc_"+c);if(!header_menu_float){header_menu_float=document.createElement("DIV");header_menu_float.style.position="absolute";header_menu_float.className="header-menu-float";header_menu_float.style.position="absolute";document.body.appendChild(header_menu_float)}curwidth=document.documentElement.offsetWidth;doccenter=(curwidth<=962?(962/2):curwidth/2);docleft=doccenter-482;docleft=(Math.round(docleft)<0?0:Math.round(docleft));var b=navigator.appVersion.substring(navigator.appVersion.indexOf("MSIE ")+5,navigator.appVersion.indexOf("MSIE ")+8);header_menu_float.style.left=(docleft+parseInt(e.getAttribute("pos")))-(b=="6.0"?(curwidth>980?10:0):0)+"Px";last_m_title=c;header_menu_float.innerHTML=e.innerHTML;header_menu_float.onmouseover=check_over;header_menu_float.onmouseout=menu_mouse_out;header_menu_float.style.width=a.offsetWidth+40+"px";header_menu_float.style.display="block";header_menu_float.style.top="142px";header_menu_float.style.zIndex=51}function check_over(a){mNavVisible=true}function menu_mouse_out(){mNavVisible=false;window.setTimeout("headerMenuCollapse(' + last_m_title + ');",200)}function headerMenuCollapse(a){if(header_menu_float&&!mNavVisible){header_menu_float.style.display="none";header_menu_expanded_item=false}};