function Menu(i,m,v,j,g,h,l,e,a,b,q,t,u,d,o,n,f,c,r,p,k,s){this.version="020320 [Menu; mm_menu.js]";this.type="Menu";this.menuWidth=m;this.menuItemHeight=v;this.fontSize=g;this.fontWeight="plain";this.fontFamily=j;this.fontColor=h;this.fontColorHilite=l;this.bgColor="#555555";this.menuBorder=1;this.menuBgOpaque=c;this.menuItemBorder=1;this.menuItemIndent=p;this.menuItemBgColor=e;this.menuItemVAlign=q;this.menuItemHAlign=b;this.menuItemPadding=t;this.menuItemSpacing=u;this.menuLiteBgColor="#ffffff";this.menuBorderBgColor="#777777";this.menuHiliteBgColor=a;this.menuContainerBgColor="#cccccc";this.childMenuIcon="arrows.gif";this.submenuXOffset=o;this.submenuYOffset=n;this.submenuRelativeToItem=f;this.vertical=r;this.items=new Array();this.actions=new Array();this.childMenus=new Array();this.hideOnMouseOut=true;this.hideTimeout=d;this.addMenuItem=addMenuItem;this.writeMenus=writeMenus;this.MM_showMenu=MM_showMenu;this.onMenuItemOver=onMenuItemOver;this.onMenuItemAction=onMenuItemAction;this.hideMenu=hideMenu;this.hideChildMenu=hideChildMenu;if(!window.menus){window.menus=new Array()}this.label=" "+i;window.menus[this.label]=this;window.menus[window.menus.length]=this;if(!window.activeMenus){window.activeMenus=new Array()}}function addMenuItem(a,b){this.items[this.items.length]=a;this.actions[this.actions.length]=b}function FIND(a){if(window.mmIsOpera){return(document.getElementById(a))}if(document.all){return(document.all[a])}if(document.getElementById){return(document.getElementById(a))}return(false)}function writeMenus(C){if(window.triedToWriteMenus){return}var R=navigator.userAgent.toLowerCase();window.mmIsOpera=R.indexOf("opera")!=-1;if(!C&&document.layers){window.delayWriteMenus=this.writeMenus;var z=setTimeout("delayWriteMenus()",500);C=new Layer(100);clearTimeout(z)}else{if(document.all||document.hasChildNodes||window.mmIsOpera){document.writeln('<span id="menuContainer"></span>');C=FIND("menuContainer")}}window.mmHideMenuTimer=null;if(!C){return}window.triedToWriteMenus=true;C.isContainer=true;C.menus=new Array();for(var P=0;P<window.menus.length;P++){C.menus[P]=window.menus[P]}window.menus.length=0;var t=0;var o=0;var h=0;var k="";var c=false;var d="";var S=0;if(document.layers){c=true}for(var P=0;P<C.menus.length;P++,t++){var Q=C.menus[P];if(Q.bgImageUp||!Q.menuBgOpaque){Q.menuBorder=0;Q.menuItemBorder=0}if(c){var O=new Layer(100,C);var m=new Layer(100,O);m.top=Q.menuBorder;m.left=Q.menuBorder;var u=new Layer(100,m);u.top=Q.menuBorder;u.left=Q.menuBorder}else{k+='<div id="menuLayer'+t+'" style="white-space:nowrap;position:absolute;z-index:1;left:10px;top:'+(P*100)+"px;visibility:hidden;color:"+Q.menuBorderBgColor+';">\n  <div id="menuLite'+t+'" style="position:absolute;z-index:1;left:'+Q.menuBorder+"px;top:"+Q.menuBorder+'px;visibility:hide;" onmouseout="mouseoutMenu();">\n	 <div id="menuFg'+t+'" style="position:absolute;left:'+Q.menuBorder+"px;top:"+Q.menuBorder+'px;visibility:hide;">\n'}var F=P;for(var P=0;P<Q.items.length;P++){var w=Q.items[P];var E=false;var p=Q.fontSize+2*Q.menuItemPadding;if(w.label){w=w.label;E=true}Q.menuItemHeight=Q.menuItemHeight||p;var B="";if(Q.fontFamily!=""){B+="font-family:"+Q.fontFamily+";"}B+="font-weight:"+Q.fontWeight+";fontSize:"+Q.fontSize+"px;";if(Q.fontStyle){B+="font-style:"+Q.fontStyle+";"}if(document.all||window.mmIsOpera){B+="font-size:"+Q.fontSize+'px;" onmouseover="onMenuItemOver(null,this);" onclick="onMenuItemAction(null,this);'}else{if(!document.layers){B+="font-size:"+Q.fontSize+"px;"}}var N;if(c){var v=Q.menuWidth;if(Q.menuItemHAlign=="right"){v-=Q.menuItemPadding}N=new Layer(v,u)}var K=0;var e=P*Q.menuItemHeight;if(!Q.vertical){K=P*Q.menuWidth;e=0}var A='<div id="menuItem'+o+'" style="position:absolute;left:'+K+"px;top:"+e+"px;"+B+'">';var j="</div>";if(Q.bgImageUp){A='<div id="menuItem'+o+'" style="background:url('+Q.bgImageUp+");position:absolute;left:"+K+"px;top:"+e+"px;"+B+'">'}var g=0,h=0,L=0,a=0;g=1+Q.menuItemPadding+Q.menuItemIndent;L=g+Q.menuWidth-2*Q.menuItemPadding-Q.menuItemIndent;if(Q.menuItemVAlign=="top"){h=Q.menuItemPadding}if(Q.menuItemVAlign=="bottom"){h=Q.menuItemHeight-Q.fontSize-1-Q.menuItemPadding}if(Q.menuItemVAlign=="middle"){h=((Q.menuItemHeight/2)-(Q.fontSize/2)-1)}a=Q.menuItemHeight-2*Q.menuItemPadding;var J="position:absolute;left:"+g+"px;top:"+h+"px;";if(c){J+=B+"right:"+L+";bottom:"+a+";";A="";j=""}if(document.all&&!window.mmIsOpera){w='<div align="'+Q.menuItemHAlign+'">'+w+"</div>"}else{if(c){w='<div style="text-align:'+Q.menuItemHAlign+';">'+w+"</div>"}else{var f=null;if(Q.menuItemHAlign!="left"){if(window.mmIsOpera){var H=Q.menuItemHAlign=="center"?-(Q.menuWidth-2*Q.menuItemPadding):(Q.menuWidth-6*Q.menuItemPadding);f='<div id="menuItemHilite'+o+'Shim" style="position:absolute;top:1px;left:'+Q.menuItemPadding+"px;width:"+H+"px;text-align:"+Q.menuItemHAlign+';visibility:visible;">'+w+"</div>";w='<div id="menuItemText'+o+'Shim" style="position:absolute;top:1px;left:'+Q.menuItemPadding+"px;width:"+H+"px;text-align:"+Q.menuItemHAlign+';visibility:visible;">'+w+"</div>"}else{f='<div id="menuItemHilite'+o+'Shim" style="position:absolute;top:1px;left:1px;right:-'+(g+Q.menuWidth-3*Q.menuItemPadding)+"px;text-align:"+Q.menuItemHAlign+';visibility:visible;">'+w+"</div>";w='<div id="menuItemText'+o+'Shim" style="position:absolute;top:1px;left:1px;right:-'+(g+Q.menuWidth-3*Q.menuItemPadding)+"px;text-align:"+Q.menuItemHAlign+';visibility:visible;">'+w+"</div>"}}else{f=null}}}if(document.all&&!window.mmIsOpera){w='<div id="menuItemShim'+o+'" style="position:absolute;left:0px;top:0px;">'+w+"</div>"}var b='<div id="menuItemText'+o+'" style="'+J+"color:"+Q.fontColor+';">'+w+'&nbsp</div>\n<div id="menuItemHilite'+o+'" style="'+J+"color:"+Q.fontColorHilite+';visibility:hidden;">'+(f||w)+"&nbsp</div>";if(E){k+=(A+b+'<div id="childMenu'+o+'" style="position:absolute;left:0px;top:3px;"><img src="'+Q.childMenuIcon+'"></div>\n'+j)}else{k+=(A+b+j)}if(c){N.document.open("text/html");N.document.writeln(k);N.document.close();k="";d+="-";S++;if(S>50){S=0;d=""}status=d}o++}if(c){var D=new Layer(100,u);D.visiblity="hidden";D.document.open("text/html");D.document.writeln("&nbsp;");D.document.close()}else{k+='	  <div id="focusItem'+t+'" style="position:absolute;left:0px;top:0px;visibility:hide;" onclick="onMenuItemAction(null,this);">&nbsp;</div>\n';k+="   </div>\n  </div>\n</div>\n"}P=F}if(document.layers){C.clip.width=window.innerWidth;C.clip.height=window.innerHeight;C.onmouseout=mouseoutMenu;C.menuContainerBgColor=this.menuContainerBgColor;for(var P=0;P<C.document.layers.length;P++){proto=C.menus[P];var Q=C.document.layers[P];C.menus[P].menuLayer=Q;C.menus[P].menuLayer.Menu=C.menus[P];C.menus[P].menuLayer.Menu.container=C;var u=Q.document.layers[0].document.layers[0];u.clip.width=proto.menuWidth||u.clip.width;u.clip.height=proto.menuHeight||u.clip.height;for(var M=0;M<u.document.layers.length-1;M++){var N=u.document.layers[M];N.Menu=C.menus[P];N.menuHiliteBgColor=proto.menuHiliteBgColor;N.document.bgColor=proto.menuItemBgColor;N.saveColor=proto.menuItemBgColor;N.onmouseover=proto.onMenuItemOver;N.onclick=proto.onMenuItemAction;N.mmaction=C.menus[P].actions[M];N.focusItem=u.document.layers[u.document.layers.length-1];N.clip.width=proto.menuWidth||u.clip.width;N.clip.height=proto.menuItemHeight||N.clip.height;if(M>0){if(N.Menu.vertical){N.top=u.document.layers[M-1].top+u.document.layers[M-1].clip.height+proto.menuItemBorder+proto.menuItemSpacing}else{N.left=u.document.layers[M-1].left+u.document.layers[M-1].clip.width+proto.menuItemBorder+proto.menuItemSpacing}}N.hilite=N.document.layers[1];if(proto.bgImageUp){N.background.src=proto.bgImageUp}N.document.layers[1].isHilite=true;if(N.document.layers.length>2){N.childMenu=C.menus[P].items[M].menuLayer;N.document.layers[2].left=N.clip.width-13;N.document.layers[2].top=(N.clip.height/2)-4;N.document.layers[2].clip.left+=3;N.Menu.childMenus[N.Menu.childMenus.length]=N.childMenu}}if(proto.menuBgOpaque){u.document.bgColor=proto.bgColor}if(proto.vertical){u.clip.width=N.clip.width+proto.menuBorder;u.clip.height=N.top+N.clip.height+proto.menuBorder}else{u.clip.height=N.clip.height+proto.menuBorder;u.clip.width=N.left+N.clip.width+proto.menuBorder;if(u.clip.width>window.innerWidth){u.clip.width=window.innerWidth}}var D=u.document.layers[M];D.clip.width=u.clip.width;D.Menu=N.Menu;D.top=-30;D.captureEvents(Event.MOUSEDOWN);D.onmousedown=onMenuItemDown;if(proto.menuBgOpaque){Q.document.bgColor=proto.menuBorderBgColor}var m=Q.document.layers[0];if(proto.menuBgOpaque){m.document.bgColor=proto.menuLiteBgColor}m.clip.width=u.clip.width+1;m.clip.height=u.clip.height+1;Q.clip.width=u.clip.width+(proto.menuBorder*3);Q.clip.height=u.clip.height+(proto.menuBorder*3)}}else{if((!document.all)&&(C.hasChildNodes)&&!window.mmIsOpera){C.innerHTML=k}else{C.document.open("text/html");C.document.writeln(k);C.document.close()}if(!FIND("menuLayer0")){return}var y=0;for(var F=0;F<C.menus.length;F++){var O=FIND("menuLayer"+F);C.menus[F].menuLayer="menuLayer"+F;O.Menu=C.menus[F];O.Menu.container="menuLayer"+F;O.style.zindex=1;var I=O.style;I.pixeltop=-300;I.pixelleft=-300;I.top="-300px";I.left="-300px";var Q=C.menus[F];Q.menuItemWidth=Q.menuWidth||Q.menuIEWidth||140;if(Q.menuBgOpaque){O.style.backgroundColor=Q.menuBorderBgColor}var h=0;var g=0;Q.menuItemLayers=new Array();for(var P=0;P<C.menus[F].items.length;P++){var r=C.menus[F].items[P].length;Q.menuItemWidth=12*r+12;var N=FIND("menuItem"+y);N.Menu=C.menus[F];N.Menu.menuItemLayers[N.Menu.menuItemLayers.length]=N;if(N.addEventListener||window.mmIsOpera){N.style.width=Q.menuItemWidth+"px";N.style.height=Q.menuItemHeight+"px";N.style.pixelWidth=Q.menuItemWidth;N.style.pixelHeight=Q.menuItemHeight;N.style.top=h+"px";N.style.left=g+"px";if(N.addEventListener){N.addEventListener("mouseover",onMenuItemOver,false);N.addEventListener("click",onMenuItemAction,false);N.addEventListener("mouseout",mouseoutMenu,false)}if(Q.menuItemHAlign!="left"){N.hiliteShim=FIND("menuItemHilite"+y+"Shim");N.hiliteShim.style.visibility="inherit";N.textShim=FIND("menuItemText"+y+"Shim");N.hiliteShim.style.pixelWidth=Q.menuItemWidth-2*Q.menuItemPadding-Q.menuItemIndent;N.hiliteShim.style.width=N.hiliteShim.style.pixelWidth;N.textShim.style.pixelWidth=Q.menuItemWidth-2*Q.menuItemPadding-Q.menuItemIndent;N.textShim.style.width=N.textShim.style.pixelWidth}}else{N.style.pixelWidth=Q.menuItemWidth;N.style.pixelHeight=Q.menuItemHeight;N.style.pixelTop=h;N.style.pixelLeft=g;if(Q.menuItemHAlign!="left"){var G=FIND("menuItemShim"+y);G[0].style.pixelWidth=Q.menuItemWidth-2*Q.menuItemPadding-Q.menuItemIndent;G[1].style.pixelWidth=Q.menuItemWidth-2*Q.menuItemPadding-Q.menuItemIndent;G[0].style.width=G[0].style.pixelWidth+"px";G[1].style.width=G[1].style.pixelWidth+"px"}}if(Q.vertical){h=h+Q.menuItemHeight+Q.menuItemBorder+Q.menuItemSpacing}else{g=g+Q.menuItemWidth+Q.menuItemBorder+Q.menuItemSpacing}N.style.fontSize=Q.fontSize+"px";N.style.backgroundColor=Q.menuItemBgColor;N.style.visibility="inherit";N.saveColor=Q.menuItemBgColor;N.menuHiliteBgColor=Q.menuHiliteBgColor;N.mmaction=C.menus[F].actions[P];N.hilite=FIND("menuItemHilite"+y);N.focusItem=FIND("focusItem"+F);N.focusItem.style.pixelTop=-30;N.focusItem.style.top="-30px";var q=FIND("childMenu"+y);if(q){N.childMenu=C.menus[F].items[P].menuLayer;q.style.pixelLeft=Q.menuItemWidth-11;q.style.left=q.style.pixelLeft+"px";q.style.pixelTop=(Q.menuItemHeight/2)-4;q.style.top=q.style.pixelTop+"px";N.Menu.childMenus[N.Menu.childMenus.length]=N.childMenu}N.style.cursor="hand";y++}if(Q.vertical){Q.menuHeight=h-1-Q.menuItemSpacing;Q.menuWidth=Q.menuItemWidth}else{Q.menuHeight=Q.menuItemHeight;Q.menuWidth=g-1-Q.menuItemSpacing}var m=FIND("menuLite"+F);var I=m.style;I.pixelHeight=Q.menuHeight+(Q.menuBorder*2);I.height=I.pixelHeight+"px";I.pixelWidth=Q.menuWidth+(Q.menuBorder*2);I.width=I.pixelWidth+"px";if(Q.menuBgOpaque){I.backgroundColor=Q.menuLiteBgColor}var u=FIND("menuFg"+F);I=u.style;I.pixelHeight=Q.menuHeight+Q.menuBorder;I.height=I.pixelHeight+"px";I.pixelWidth=Q.menuWidth+Q.menuBorder;I.width=I.pixelWidth+"px";if(Q.menuBgOpaque){I.backgroundColor=Q.bgColor}I=O.style;I.pixelWidth=Q.menuWidth+(Q.menuBorder*4);I.width=I.pixelWidth+"px";I.pixelHeight=Q.menuHeight+(Q.menuBorder*4);I.height=I.pixelHeight+"px"}}if(document.captureEvents){document.captureEvents(Event.MOUSEUP)}if(document.addEventListener){document.addEventListener("mouseup",onMenuItemOver,false)}if(document.layers&&window.innerWidth){window.onresize=NS4resize;window.NS4sIW=window.innerWidth;window.NS4sIH=window.innerHeight;setTimeout("NS4resize()",500)}document.onmouseup=mouseupMenu;window.mmWroteMenu=true;status=""}function NS4resize(){if(NS4sIW!=window.innerWidth||NS4sIH!=window.innerHeight){window.location.reload()}}function onMenuItemOver(d,c){MM_clearTimeout();c=c||this;var b=window.ActiveMenuItem;if(document.layers){if(b){b.document.bgColor=b.saveColor;if(b.hilite){b.hilite.visibility="hidden"}if(b.Menu.bgImageOver){b.background.src=b.Menu.bgImageUp}b.focusItem.top=-100;b.clicked=false}if(c.hilite){c.document.bgColor=c.menuHiliteBgColor;c.zIndex=1;c.hilite.visibility="inherit";c.hilite.zIndex=2;c.document.layers[1].zIndex=1;c.focusItem.zIndex=this.zIndex+2}if(c.Menu.bgImageOver){c.background.src=c.Menu.bgImageOver}c.focusItem.top=this.top;c.focusItem.left=this.left;c.focusItem.clip.width=c.clip.width;c.focusItem.clip.height=c.clip.height;c.Menu.hideChildMenu(c)}else{if(c.style&&c.Menu){if(b){b.style.backgroundColor=b.saveColor;if(b.hilite){b.hilite.style.visibility="hidden"}if(b.hiliteShim){b.hiliteShim.style.visibility="inherit"}if(b.Menu.bgImageUp){b.style.background="url("+b.Menu.bgImageUp+")"}}c.style.backgroundColor=c.menuHiliteBgColor;c.zIndex=1;if(c.Menu.bgImageOver){c.style.background="url("+c.Menu.bgImageOver+")"}if(c.hilite){c.hilite.style.visibility="inherit";if(c.hiliteShim){c.hiliteShim.style.visibility="visible"}}c.focusItem.style.pixelTop=c.style.pixelTop;c.focusItem.style.top=c.focusItem.style.pixelTop+"px";c.focusItem.style.pixelLeft=c.style.pixelLeft;c.focusItem.style.left=c.focusItem.style.pixelLeft+"px";c.focusItem.style.zIndex=c.zIndex+1;c.Menu.hideChildMenu(c)}else{return}}window.ActiveMenuItem=c}function onMenuItemAction(e,l){l=window.ActiveMenuItem;if(!l){return}hideActiveMenus();if(l.mmaction){eval(""+l.mmaction)}window.ActiveMenuItem=0}function MM_clearTimeout(){if(mmHideMenuTimer){clearTimeout(mmHideMenuTimer)}mmHideMenuTimer=null;mmDHFlag=false}function MM_startTimeout(){if(window.ActiveMenu){mmStart=new Date();mmDHFlag=true;mmHideMenuTimer=setTimeout("mmDoHide()",window.ActiveMenu.Menu.hideTimeout)}}function mmDoHide(){if(!mmDHFlag||!window.ActiveMenu){return}var a=new Date()-mmStart;var b=window.ActiveMenu.Menu.hideTimeout;if(a<b){mmHideMenuTimer=setTimeout("mmDoHide()",b+100-a);return}mmDHFlag=false;hideActiveMenus();window.ActiveMenuItem=0;if(window.topMenuItem_OY){restoreTopColor(window.topMenuItem_OY)}}function MM_showMenu(b,h,g,a,e){if(!window.mmWroteMenu){return}MM_clearTimeout();if(b){var d=FIND(e)||document.images[e]||document.links[e]||document.anchors[e];h=moveXbySlicePos(h,d);g=moveYbySlicePos(g,d)}if(document.layers){if(b){var c=b.menuLayer||b;c.top=c.left=1;hideActiveMenus();if(this.visibility){c=this}window.ActiveMenu=c}else{var c=a}if(!c){return}for(var f=0;f<c.layers.length;f++){if(!c.layers[f].isHilite){c.layers[f].visibility="inherit"}if(c.layers[f].document.layers.length>0){MM_showMenu(null,"relative","relative",c.layers[f])}}if(c.parentLayer){if(h!="relative"){c.parentLayer.left=h||window.pageX||0}if(c.parentLayer.left+c.clip.width>window.innerWidth){c.parentLayer.left-=(c.parentLayer.left+c.clip.width-window.innerWidth)}if(g!="relative"){c.parentLayer.top=g||window.pageY||0}if(c.parentLayer.isContainer){c.Menu.xOffset=window.pageXOffset;c.Menu.yOffset=window.pageYOffset;c.parentLayer.clip.width=window.ActiveMenu.clip.width+2;c.parentLayer.clip.height=window.ActiveMenu.clip.height+2;if(c.parentLayer.menuContainerBgColor&&c.Menu.menuBgOpaque){c.parentLayer.document.bgColor=c.parentLayer.menuContainerBgColor}}}c.visibility="inherit";if(c.Menu){c.Menu.container.visibility="inherit"}}else{if(FIND("menuItem0")){var c=b.menuLayer||b;hideActiveMenus();if(typeof(c)=="string"){c=FIND(c)}window.ActiveMenu=c;var j=c.style;j.visibility="inherit";if(h!="relative"){j.pixelLeft=h||(window.pageX+document.body.scrollLeft)||0;j.left=j.pixelLeft+"px"}if(g!="relative"){j.pixelTop=g||(window.pageY+document.body.scrollTop)||0;j.top=j.pixelTop+"px"}c.Menu.xOffset=document.body.scrollLeft;c.Menu.yOffset=document.body.scrollTop}}if(b){window.activeMenus[window.activeMenus.length]=c}MM_clearTimeout()}function onMenuItemDown(d,c){var b=window.ActiveMenuItem;if(document.layers&&b){b.eX=d.pageX;b.eY=d.pageY;b.clicked=true}}function mouseupMenu(a){hideMenu(true,a);hideActiveMenus();return true}function getExplorerVersion(){var c=parseFloat(navigator.appVersion);if(navigator.appName!="Microsoft Internet Explorer"){return c}var b=navigator.appVersion;var a=b.indexOf("MSIE ");if(a>=0){b=b.substring(a+5);c=parseFloat(b)}return c}function mouseoutMenu(){if((navigator.appName=="Microsoft Internet Explorer")&&(getExplorerVersion()<4.5)){return true}hideMenu(false,false);return true}function hideMenu(d,c){var b=window.ActiveMenuItem;if(b&&document.layers){b.document.bgColor=b.saveColor;b.focusItem.top=-30;if(b.hilite){b.hilite.visibility="hidden"}if(d&&b.mmaction&&b.clicked&&window.ActiveMenu){if(b.eX<=c.pageX+15&&b.eX>=c.pageX-15&&b.eY<=c.pageY+10&&b.eY>=c.pageY-10){setTimeout("window.ActiveMenu.Menu.onMenuItemAction();",500)}}b.clicked=false;if(b.Menu.bgImageOver){b.background.src=b.Menu.bgImageUp}}else{if(window.ActiveMenu&&FIND("menuItem0")){if(b){b.style.backgroundColor=b.saveColor;if(b.hilite){b.hilite.style.visibility="hidden"}if(b.hiliteShim){b.hiliteShim.style.visibility="inherit"}if(b.Menu.bgImageUp){b.style.background="url("+b.Menu.bgImageUp+")"}}}}if(!d&&window.ActiveMenu){if(window.ActiveMenu.Menu){if(window.ActiveMenu.Menu.hideOnMouseOut){MM_startTimeout()}return(true)}}return(true)}function hideChildMenu(f){MM_clearTimeout();var b=f;for(var d=0;d<b.Menu.childMenus.length;d++){var m=b.Menu.childMenus[d];if(document.layers){m.visibility="hidden"}else{m=FIND(m);m.style.visibility="hidden";if(m.Menu.menuItemHAlign!="left"){for(var c=0;c<m.Menu.menuItemLayers.length;c++){var q=m.Menu.menuItemLayers[c];if(q.textShim){q.textShim.style.visibility="inherit"}}}}m.Menu.hideChildMenu(m)}if(b.childMenu){var o=b.childMenu;if(document.layers){b.Menu.MM_showMenu(null,null,null,o.layers[0]);o.zIndex=b.parentLayer.zIndex+1;o.top=b.Menu.menuLayer.top+b.Menu.submenuYOffset;if(b.Menu.vertical){if(b.Menu.submenuRelativeToItem){o.top+=b.top+b.parentLayer.top}o.left=b.parentLayer.left+b.parentLayer.clip.width-(2*b.Menu.menuBorder)+b.Menu.menuLayer.left+b.Menu.submenuXOffset}else{o.top+=b.top+b.parentLayer.top;if(b.Menu.submenuRelativeToItem){o.left=b.Menu.menuLayer.left+b.left+b.clip.width+(2*b.Menu.menuBorder)+b.Menu.submenuXOffset}else{o.left=b.parentLayer.left+b.parentLayer.clip.width-(2*b.Menu.menuBorder)+b.Menu.menuLayer.left+b.Menu.submenuXOffset}}if(o.left<b.Menu.container.clip.left){b.Menu.container.clip.left=o.left}var k=o.clip.width+o.left-b.Menu.container.clip.left;if(k>b.Menu.container.clip.width){b.Menu.container.clip.width=k}var e=o.clip.height+o.top-b.Menu.container.clip.top;if(e>b.Menu.container.clip.height){b.Menu.container.clip.height=e}b.document.layers[1].zIndex=0;o.visibility="inherit"}else{if(FIND("menuItem0")){o=FIND(b.childMenu);var n=FIND(b.Menu.menuLayer);var p=o.style;p.zIndex=n.style.zIndex+1;if(document.all||window.mmIsOpera){p.pixelTop=n.style.pixelTop+b.Menu.submenuYOffset;if(b.Menu.vertical){if(b.Menu.submenuRelativeToItem){p.pixelTop+=b.style.pixelTop}p.pixelLeft=b.style.pixelWidth+n.style.pixelLeft+b.Menu.submenuXOffset;p.left=p.pixelLeft+"px"}else{p.pixelTop+=b.style.pixelTop;if(b.Menu.submenuRelativeToItem){p.pixelLeft=n.style.pixelLeft+b.style.pixelLeft+b.style.pixelWidth+(2*b.Menu.menuBorder)+b.Menu.submenuXOffset}else{p.pixelLeft=(n.style.pixelWidth-4*b.Menu.menuBorder)+n.style.pixelLeft+b.Menu.submenuXOffset}p.left=p.pixelLeft+"px"}}else{var g=parseInt(n.style.top)+b.Menu.submenuYOffset;var a=0;if(b.Menu.vertical){if(b.Menu.submenuRelativeToItem){g+=parseInt(b.style.top)}a=(parseInt(n.style.width)-4*b.Menu.menuBorder)+parseInt(n.style.left)+b.Menu.submenuXOffset}else{g+=parseInt(b.style.top);if(b.Menu.submenuRelativeToItem){a=parseInt(n.style.left)+parseInt(b.style.left)+parseInt(b.style.width)+(2*b.Menu.menuBorder)+b.Menu.submenuXOffset}else{a=(parseInt(n.style.width)-4*b.Menu.menuBorder)+parseInt(n.style.left)+b.Menu.submenuXOffset}}p.top=g+"px";p.left=a+"px"}o.style.visibility="inherit"}else{return}}window.activeMenus[window.activeMenus.length]=o}}function hideActiveMenus(){if(!window.activeMenus){return}for(var a=0;a<window.activeMenus.length;a++){if(!activeMenus[a]){continue}if(activeMenus[a].visibility&&activeMenus[a].Menu&&!window.mmIsOpera){activeMenus[a].visibility="hidden";activeMenus[a].Menu.container.visibility="hidden";activeMenus[a].Menu.container.clip.left=0}else{if(activeMenus[a].style){var b=activeMenus[a].style;b.visibility="hidden";b.left="-200px";b.top="-200px"}}}if(window.ActiveMenuItem){hideMenu(false,false)}window.activeMenus.length=0}function moveXbySlicePos(a,b){if(!document.layers){var e=navigator.platform?navigator.platform=="Win32":false;var f=document.all&&!e&&getExplorerVersion()==4.5;var d=b;var c=0;while(d){if(d.leftMargin&&!e){a+=parseInt(d.leftMargin)}if((d.offsetLeft!=c)&&d.offsetLeft){a+=parseInt(d.offsetLeft)}if(d.offsetLeft!=0){c=d.offsetLeft}d=f?d.parentElement:d.offsetParent}}else{if(b.x){a+=b.x}}return a}function moveYbySlicePos(f,a){if(!document.layers){var d=navigator.platform?navigator.platform=="Win32":false;var e=document.all&&!d&&getExplorerVersion()==4.5;var c=a;var b=0;while(c){if(c.topMargin&&!d){f+=parseInt(c.topMargin)}if((c.offsetTop!=b)&&c.offsetTop){f+=parseInt(c.offsetTop)}if(c.offsetTop!=0){b=c.offsetTop}c=e?c.parentElement:c.offsetParent}}else{if(a.y>=0){f+=a.y}}return f}function mmLoadMenus(){if(window.mm_menu_1031135809_0){return}window.mm_menu_1031135809_0=new Menu("root",65,28,"\u5b8b\u4f53",12,"#002B5E","#B90004","","","left","middle",2,0,1000,-5,7,true,false,false,0,false,true);mm_menu_1031135809_0.addMenuItem("\u5b66\u9662\u6982\u51b5","location='/show.aspx?id=609456213137'");mm_menu_1031135809_0.addMenuItem("\u5b66\u9662\u9886\u5bfc","location='/article/2011-05/2011-xq-3676.html'");mm_menu_1031135809_0.addMenuItem("\u9662\u7cfb\u8bbe\u7f6e","location='http://www.hziee.edu.cn/article/2011-05/2011-xq-3708.html'");mm_menu_1031135809_0.addMenuItem("\u6821\u56ed\u80dc\u666f","location='/campusview.html'");mm_menu_1031135809_0.hideOnMouseOut=true;mm_menu_1031135809_0.bgColor="#555555";mm_menu_1031135809_0.menuBorder=0;mm_menu_1031135809_0.menuLiteBgColor="";mm_menu_1031135809_0.menuBorderBgColor="";window.mm_menu_1031140637_0=new Menu("root",65,28,"\u5b8b\u4f53",12,"#002B5E","#B90004","","","left","middle",2,0,1000,-5,7,true,false,false,0,false,true);mm_menu_1031140637_0.addMenuItem("\u901a\u77e5\u516c\u544a","location='/jkb.aspx'");mm_menu_1031140637_0.addMenuItem("\u7f51\u4e0a\u9009\u8bfe","location='http://jxgl.hdu.edu.cn/'");mm_menu_1031140637_0.addMenuItem("\u5b66\u7c4d\u67e5\u8be2","location='http://zccx.hziee.edu.cn/'");mm_menu_1031140637_0.addMenuItem("\u7cbe\u54c1\u8bfe\u7a0b","location='http://jpkc.hziee.edu.cn/'");mm_menu_1031140637_0.addMenuItem("\u529e\u4e8b\u6d41\u7a0b","location='/list.aspx?id=971207967265'");mm_menu_1031140637_0.hideOnMouseOut=true;mm_menu_1031140637_0.bgColor="#555555";mm_menu_1031140637_0.menuBorder=0;mm_menu_1031140637_0.menuLiteBgColor="#FFFFFF";mm_menu_1031140637_0.menuBorderBgColor="#777777";window.mm_menu_1031140711_0=new Menu("root",65,28,"\u5b8b\u4f53",12,"#002B5E","#B90004","","","left","middle",2,0,1000,-5,7,true,false,false,0,false,false);mm_menu_1031140711_0.addMenuItem("\u515a\u5efa\u601d\u653f","location='/kxfzg/index.html'");mm_menu_1031140711_0.addMenuItem("\u6821\u56ed\u6d3b\u52a8","location='http://www.hziee.edu.cn/list.aspx?id=877161606306'");mm_menu_1031140711_0.addMenuItem("\u5fc3\u7406\u5065\u5eb7","location='/list-672913700441.aspx'");mm_menu_1031140711_0.addMenuItem("\u5956\u60e9\u52e4\u8d37","location='http://zzgl.hdu.edu.cn/'");;mm_menu_1031140711_0.addMenuItem("\u79d1\u7814\u7ade\u8d5b","location='http://www.hziee.edu.cn/kyjs'");mm_menu_1031140711_0.hideOnMouseOut=true;mm_menu_1031140711_0.bgColor="#555555";mm_menu_1031140711_0.menuBorder=0;mm_menu_1031140711_0.menuLiteBgColor="#FFFFFF";mm_menu_1031140711_0.menuBorderBgColor="#777777";window.mm_menu_1031140744_0=new Menu("root",100,28,"\u5b8b\u4f53",12,"#002B5E","#B90004","","","left","middle",2,0,1000,-5,7,true,false,false,0,false,true);mm_menu_1031140744_0.addMenuItem("\u6821\u56ed\u4e00\u5361\u901a","location='#'");mm_menu_1031140744_0.addMenuItem("\u6821\u56ed\u73ed\u8f66","location='#'");mm_menu_1031140744_0.addMenuItem("\u6821\u56ed\u7535\u8bdd","location='#'");mm_menu_1031140744_0.addMenuItem("\u6821\u56ed\u5730\u56fe","location='#'");mm_menu_1031140744_0.addMenuItem("\u4e0b\u6c99\u5730\u56fe","location='#'");mm_menu_1031140744_0.addMenuItem("\u4ea4\u901a\u67e5\u8be2","location='#'");mm_menu_1031140744_0.addMenuItem("\u6821\u533b\u9662","location='http://medical.hdu.edu.cn/'");mm_menu_1031140744_0.addMenuItem("\u540e\u52e4\u670d\u52a1\u4e2d\u5fc3","location='http://hq.hdu.edu.cn/'");mm_menu_1031140744_0.hideOnMouseOut=true;mm_menu_1031140744_0.bgColor="#555555";mm_menu_1031140744_0.menuBorder=0;mm_menu_1031140744_0.menuLiteBgColor="#FFFFFF";mm_menu_1031140744_0.menuBorderBgColor="#777777";window.mm_menu_1031140818_0=new Menu("root",80,28,"\u5b8b\u4f53",12,"#002B5E","#B90004","","","left","middle",2,0,1000,-5,7,true,false,false,0,false,true);mm_menu_1031140818_0.addMenuItem("\u62db\u751f\u7f51","location='http://zs.hziee.edu.cn/'");mm_menu_1031140818_0.addMenuItem("\u5c31\u4e1a\u7f51","location='http://career.hdu.edu.cn/'");mm_menu_1031140818_0.hideOnMouseOut=true;mm_menu_1031140818_0.bgColor="#555555";mm_menu_1031140818_0.menuBorder=0;mm_menu_1031140818_0.menuLiteBgColor="#FFFFFF";mm_menu_1031140818_0.menuBorderBgColor="#777777";window.mm_menu_1031140853_0=new Menu("root",70,28,"\u5b8b\u4f53",12,"#002B5E","#B90004","","","left","middle",2,0,1000,-5,7,true,false,false,0,false,true);mm_menu_1031140853_0.addMenuItem("\u7f51\u7ad9\u7ba1\u7406\u5e73\u53f0","location='http://www.hziee.edu.cn/imsmanagement/'");mm_menu_1031140853_0.hideOnMouseOut=true;mm_menu_1031140853_0.bgColor="#555555";mm_menu_1031140853_0.menuBorder=0;mm_menu_1031140853_0.menuLiteBgColor="#FFFFFF";mm_menu_1031140853_0.menuBorderBgColor="#777777";window.mm_menu_1031140924_0=new Menu("root",100,28,"\u5b8b\u4f53",12,"#002B5E","#B90004","","","left","middle",2,0,1000,-5,7,true,false,false,0,false,false);mm_menu_1031140924_0.addMenuItem("\u676d\u5dde\u7535\u5b50\u79d1\u6280\u5927\u5b66","location='http://www.hdu.edu.cn'");mm_menu_1031140924_0.addMenuItem("\u7ea2\u8272\u5bb6\u56ed","location='http://www.redhome.cc'");mm_menu_1031140924_0.addMenuItem("\u7f51\u4e0a\u515a\u6821","location='http://wsdx.hdu.edu.cn/'");mm_menu_1031140924_0.addMenuItem("\u515a\u7ae0\u5b66\u4e60","location='http://www.hziee.edu.cn/zhuanti/dangzhang/'");mm_menu_1031140924_0.addMenuItem("\u56fe\u4e66\u9986","location='http://lib.hdu.edu.cn'");mm_menu_1031140924_0.hideOnMouseOut=true;mm_menu_1031140924_0.bgColor="#555555";mm_menu_1031140924_0.menuBorder=0;mm_menu_1031140924_0.menuLiteBgColor="#FFFFFF";mm_menu_1031140924_0.menuBorderBgColor="#777777";mm_menu_1031140924_0.writeMenus()}function submitSearch(){document.forms.search_xyc.submit()}function changeTopColor(b){if(window.topMenuItem_OY){restoreTopColor(window.topMenuItem_OY)}window.topMenuItem_OY=b;var a=b.firstChild.src;b.firstChild.src=a.replace("-O","-R")}function restoreTopColor(b){var a=b.firstChild.src;b.firstChild.src=a.replace("-R","-O")}function showRandomImage(){document.writeln('<script language="JavaScript1.1">');document.writeln("<!--");document.writeln("var slidespeed=10000");document.writeln('var slideimages=new Array("http://www.hziee.edu.cn/images/index/xyc_showpic/1.jpg","http://www.hziee.edu.cn/images/index/xyc_showpic/2.jpg","http://www.hziee.edu.cn/images/index/xyc_showpic/3.jpg","http://www.hziee.edu.cn/images/index/xyc_showpic/4.jpg","http://www.hziee.edu.cn/images/index/xyc_showpic/5.jpg","http://www.hziee.edu.cn/images/index/xyc_showpic/6.jpg","http://www.hziee.edu.cn/images/index/xyc_showpic/7.jpg","http://www.hziee.edu.cn/images/index/xyc_showpic/8.jpg","http://www.hziee.edu.cn/images/index/xyc_showpic/9.jpg","http://www.hziee.edu.cn/images/index/xyc_showpic/10.jpg")');document.writeln("var imageholder=new Array()");document.writeln("var ie55=window.createPopup");document.writeln("for (i=0;i<slideimages.length;i++){");document.writeln("imageholder[i]=new Image()");document.writeln("imageholder[i].src=slideimages[i]");document.writeln("}");document.writeln("");document.writeln("//-->");document.writeln("<\/script>");document.writeln('<img src="images/index/loading.gif" name="slide" border=0 style="filter:progid:DXImageTransform.Microsoft.Pixelate(MaxSquare=15,Duration=1)" />');document.writeln('<script language="JavaScript1.1">');document.writeln("<!--");document.writeln("var whichlink=0");document.writeln("var whichimage=0");document.writeln("var pixeldelay=(ie55)? document.images.slide.filters[0].duration*1000 : 0");document.writeln("function slideit(){");document.writeln("if (!document.images) return");document.writeln("if (ie55) document.images.slide.filters[0].apply()");document.writeln("document.images.slide.src=imageholder[whichimage].src");document.writeln("if (ie55) document.images.slide.filters[0].play()");document.writeln("whichlink=whichimage");document.writeln("whichimage=(whichimage<slideimages.length-1)? whichimage+1 : 0");document.writeln('setTimeout("slideit()",slidespeed+pixeldelay)');document.writeln("}");document.writeln("slideit()");document.writeln("//-->");document.writeln("<\/script>")};

