var menuDetectedBrowser = 'IE6DHTML';var menuMBZ=false;var menuCSDS=false;var menuOM='document.all.';var menuBgCo='.style.backgroundColor';var menuCo='.style.color';var menuDi='.style.display';var menuTI='';var menuClkd=-1;var menuPI=new Array();var menuPIO=new Array();var menuPx=new Array();var menuPy=new Array();var menuNH=new Array();var menuNHO=new Array();var menuNHCb=new Array();var menuNHExpandIc=new Array();var menuNHIco=new Array();var menuNHIcoOn=new Array();var menuPW=0;var menuPH=0;var menuSPnt='';var menuDir='';var menuMB=0;var menuSI='';var menuSE=new Object();var menuSEL=0;var menuSET=0;var menuSEH=0;var menuSEW=0;var menuBW=0;var menuBH=0;var menuAR=0;var menuAB=0;var menuAT=0;var menuSLA=0;var menuSTA=0;var menuExIS=new Image();menuExIS.src='./images';var menuExdIS=new Image();menuExdIS.src='./images';var menuCTH=true;var menuXOff=0;var menuYOff=0;var menuFP=0;var menuSH=false;var menuSTI=0;var menuSTMS=350;var menuZIC=0;var menuItmSelBgImg='';var menuCellBorder=1;var menuCompatMode='BackCompat';if(String(document.compatMode)!='undefined'){var menuCompatMode=document.compatMode;}function menuT(ms){if(ms!='off'){if(menuCTH!=0){menuTI=setTimeout('menuHP(0);',ms);}}else{clearTimeout(menuTI);}}function menuST(l,g,i){if(i){menuSTI = setTimeout("menuHP("+l+");menuSP("+g+",'"+i+"');",menuSTMS);}else if(l){menuSTI = setTimeout('menuHP('+l+');',menuSTMS);}else{clearTimeout(menuSTI);}}function menuShow(id,srcid,relpos,offsetX,offsetY,fixedpos){var d=document;clearTimeout(menuTI);if(menuClkd!=id){menuHP(0);menuSI=srcid;menuSPnt=relpos;menuClkd=id;menuDir='right';if(d.getElementById('menuPopup'+id)){if(offsetX)menuXOff=offsetX;if(offsetY)menuYOff=offsetY;if(fixedpos)menuFP=fixedpos;if(d.getElementById('menuMenuButton'+id)){menuButtonClickState=true;}menuSP(id);}}}function menuHide(){menuTI=setTimeout('menuHP(0);', 350);}function menuHideNow(){menuHP(0);}function menuHiI(id,l){var d=document;var item=d.getElementById('menuItem'+id);if(!item){return;}else{var cb=item.offsetParent.offsetParent;if(item.nextSibling){var expandIc=item.nextSibling.children[0];}var icoOn=d.getElementById('menuIcoOn'+id);var ico=new Object();}var bgco;try{bgco=item.getAttribute('menuSelColor');}catch(e){bgco=false;}var bgimg;try{bgimg=cb.getAttribute('menuselbg');}catch(e){bgimg=false;}if(icoOn){ico=d.getElementById('menuIco'+id);ico.style.display='none';icoOn.style.display='inline';}item.style.color='#eeeeee';if(bgco){cb.style.backgroundColor=bgco;}else{cb.style.backgroundColor='#4d4d44';}if(bgimg||bgimg==''){cb.background=bgimg;}else{cb.background=menuItmSelBgImg;}if(expandIc){expandIc.src=menuExdIS.src;}var nobrdr;try{nobrdr=Number(cb.getAttribute('menunobrdr'));}catch(e){nobrdr=false;}if(!nobrdr){cb.style.borderWidth='1px';cb.style.padding='0px';}menuNHM(id,l);menuNH[l-1]=id;menuNHO[l-1]=item;menuNHCb[l-1]=cb;menuNHExpandIc[l-1]=expandIc;menuNHIco[l-1]=ico;menuNHIcoOn[l-1]=icoOn;}function menuNHM(id,l){if(menuNH[l-1]!=id){var count=l-1;var length=menuNH.length;for(count=l-1;count<length;count++){menuDiI(menuNH[count],count);}menuNH.length=l;menuNHO.length=l;menuNHCb.length=l;menuNHExpandIc.length=l;menuNHIco.length=l;menuNHIcoOn.length=l;}}function menuDiI(id,count){var d=document;var item=menuNHO[count];if(!item){return;}else{var cb=menuNHCb[count];var expandIc=menuNHExpandIc[count];var icoOn=menuNHIcoOn[count];}var bgco;try{bgco=item.getAttribute('menuUnSelColor');}catch(e){bgco = false;}var bgimg;try{bgimg=cb.getAttribute('menubg');}catch(e){bgimg=false;}if(icoOn){menuNHIco[count].style.display='inline';icoOn.style.display='none';}item.style.color='#eeeeee';if(bgco){cb.style.backgroundColor=bgco;}else{cb.style.backgroundColor='#696959';}if(bgimg||bgimg==''){cb.background=bgimg;}else{cb.background='';}if(expandIc){expandIc.src=menuExIS.src;}var nobrdr;try{nobrdr=Number(cb.getAttribute('menunobrdr'));}catch(e){nobrdr=false;}if(!nobrdr){cb.style.borderWidth='0px';cb.style.padding='1px';}}function menuHideSelectBox(boolHide,arrSelectList){var d=document;}function menuSP(id,itemid){var d=document;var lgr=document.getElementById('menuPopup'+id);;if(itemid){var lir=document.getElementById('menuItem'+itemid);}if(lgr.offsetParent.tagName!='BODY'&&lgr.offsetParent.tagName!='HTML'){menuZIC+=1;lgr=document.body.insertAdjacentElement('afterBegin',lgr.removeNode(true));lgr.style.zIndex=1999+menuZIC;}menuHideSelectBox(true);if(!itemid){if(menuFP){menuSEL=menuXOff;menuSET=menuYOff;menuSEH=1;menuSEW=1;menuFP=0;}else{if(!d.getElementById(menuSI)){return;}menuSE=new Object(d.getElementById(menuSI));var menuPrO=menuSE;var menuPrT='';menuSEL=menuSE.offsetLeft+menuXOff;menuSET=menuSE.offsetTop+menuYOff;menuSEH=menuSE.offsetHeight;menuSEW=menuSE.offsetWidth;while(menuPrT!='BODY'&&menuPrT!='HTML'){menuPrO=menuPrO.offsetParent;menuSEL+=menuPrO.offsetLeft;menuSET+=menuPrO.offsetTop;menuPrT=menuPrO.tagName;}}lgr.style.display='block';menuPW=lgr.clientWidth;menuPH=lgr.clientHeight;if(menuCompatMode!='BackCompat'){menuBW=d.documentElement.clientWidth;menuBH=d.documentElement.clientHeight;}else{menuBW=d.body.clientWidth;menuBH=d.body.clientHeight;}if(menuCompatMode!='BackCompat'){menuSLA=d.documentElement.scrollLeft;menuSTA=d.documentElement.scrollTop;}else{menuSLA=d.body.scrollLeft;menuSTA=d.body.scrollTop;}switch(menuSPnt){case 'above':menuPx[menuPx.length]=menuSEL;menuPy[menuPy.length]=menuSET-menuPH;menuCA();menuCR();break;case 'below':menuPx[menuPx.length]=menuSEL;menuPy[menuPy.length]=menuSET+menuSEH;menuCB();menuCR();break;case 'right':menuPx[menuPx.length]=menuSEL+menuSEW;menuPy[menuPy.length]=menuSET;menuCR();menuCB();break;case 'left':menuPx[menuPx.length]=menuSEL-menuPW;menuPy[menuPy.length]=menuSET;menuCL();menuCB();menuDir='left';break;}menuXOff=0;menuYOff=0;lgr.style.left=menuPx[menuPx.length-1]+'px';lgr.style.top=menuPy[menuPy.length-1]+'px';menuPI[menuPI.length]=id;menuPIO[menuPIO.length]=lgr;}else{menuPx[menuPx.length]=menuPIO[menuPIO.length-1].clientWidth+menuPx[menuPx.length-1]-4;var szPrE='';if(lir.parentElement.offsetTop==0){if(navigator.platform=='MacPPC'){var szPrE='parentElement.parentElement.';}else if(lir.parentElement.parentElement.parentElement.parentElement.className!='menuPopupBox'){var szPrE='parentElement.parentElement.parentElement.';}}menuPy[menuPy.length]=eval('lir.parentElement.'+szPrE+'offsetTop')+menuPy[menuPy.length-1];lgr.style.display='block';menuPW=lgr.clientWidth;menuPH=lgr.clientHeight;var menuPrW=menuPIO[menuPIO.length-1].clientWidth;menuAR=menuBW-menuPx[menuPx.length-1]+menuSLA;menuAB=menuBH-menuPy[menuPy.length-1]+menuSTA;if(menuPx[menuPx.length-2]==menuSLA){menuDir='right';}if((menuAR<menuPW)||(menuDir=='left')){menuMB=(menuPx[menuPx.length-1]-menuPW-menuPrW)+8;if((menuMB>=0)&&(menuMB>menuSLA)){menuDir='left';}else{menuMB=menuSLA;}menuPx[menuPx.length-1]=menuMB;}if(menuAB<menuPH){menuMB=menuPy[menuPy.length-1]-(menuPH-menuAB);if(menuMB<menuSTA){menuMB=menuSTA;}menuPy[menuPy.length-1]=menuMB;}lgr.style.left=menuPx[menuPx.length-1]+'px';lgr.style.top=menuPy[menuPy.length-1]+'px';menuPI[menuPI.length]=id;menuPIO[menuPIO.length]=lgr;}if(navigator.platform!='MacPPC'){if(navigator.userAgent.indexOf('MSIE 5.0')<=0){menuIFSH(id);}}}function menuHP(level){var d=document;if(menuClkd==-1){return false;}else if(level==0){clearTimeout(menuSTI);menuClkd=-1;var id = menuPI[0];var count=0;var length=menuNH.length;for(count=0;count<length;count++){menuDiI(menuNH[count],count);}menuNH.length=0;menuNHO.length=0;menuNHCb.length=0;menuNHExpandIc.length=0;menuNHIco.length=0;menuNHIcoOn.length=0;if(d.getElementById('menuMenuButton'+id)){menuButtonNormal('menuMenuButton'+id);}menuButtonClickState=false;menuHideSelectBox(false);}var count=level;var length=menuPI.length;for(count=level;count<length;count++){menuPIO[count].style.display='none';if(d.getElementById('menuIFrame'+menuPI[count])){d.getElementById('menuIFrame'+menuPI[count]).style.display='none';}}menuPI.length=level;menuPIO.length=level;menuPx.length=level;menuPy.length=level;}function menuIFSH(id){var d=document;if(d.readyState!='complete'){return false;}var ifr;if(!d.getElementById('menuIFrame'+id)){ifr="<iframe src=\"javascript:false;\" id=\"menuIFrame" + id + "\" scrolling=\"no\" frameborder=\"0\" style=\"position:absolute;top:0x;left:0px;z-index:998;display:none\"></iframe>";d.getElementById('menuPopup'+menuPI[menuPI.length-1]).insertAdjacentHTML('beforeBegin',ifr);}if(d.getElementById('menuIFrame'+id)){ifr=d.getElementById('menuIFrame'+id).style;ifr.top=menuPy[menuPy.length-1];ifr.left=menuPx[menuPx.length-1];ifr.width=menuPW;ifr.height=menuPH;ifr.filter='progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)';ifr.display='block';}}function menuCR(){menuAR=(menuBW+menuSLA)-menuPx[menuPx.length-1];if(menuAR<menuPW){if(menuSPnt=='below'||menuSPnt=='above'){menuMB=menuPx[menuPx.length-1]-(menuPW-menuAR);if(menuMB<0||menuMB<menuSLA){menuMB=menuSLA;}menuPx[menuPx.length-1]=menuMB;}else{menuMB=menuSEL-menuPW;if(menuMB>=0){menuPx[menuPx.length-1]=menuMB;}}}}function menuCL(){if(menuPx[menuPx.length-1]<(menuSLA)){menuPx[menuPx.length-1]=menuSEL+menuSEW;menuCR();}}function menuCB(){menuAB=(menuBH+menuSTA)-menuPy[menuPy.length-1];menuAT=menuBH-(menuAB+menuSEH);if(menuAB<menuPH){if(menuSPnt=="below"){menuMB=menuPy[menuPy.length-1]-menuPH-menuSEH;if((menuMB>=0)&&(menuAB<menuAT)){menuPy[menuPy.length-1]=menuMB;}}else{menuMB=menuPy[menuPy.length-1]-(menuPH-menuAB);if(menuMB<0||menuMB<menuSTA){menuMB=menuSTA;}menuPy[menuPy.length-1]=menuMB;}}}function menuCA(){if(menuPy[menuPy.length-1]<(menuSTA)){menuPy[menuPy.length-1]=menuSET+menuSEH;menuCB();}}function menuShowInFrame(MenuID,x,y){var d=document;if(menuCompatMode!='BackCompat'){x+=d.documentElement.scrollLeft;y+=d.documentElement.scrollTop;}else{x+=d.body.scrollLeft;y+=d.body.scrollTop;}menuShow(MenuID,'','below',x,y,1);}function menuRefresh(){}var menuButtonClickState=false;var menuCurrentButtonId;function menuButtonDown(id,gid){menuCurrentButtonId=id;menuButtonSunken(id);if(gid){menuShow(gid,id,'right',-1,1);}}function menuButtonSelect(id,gid){if(!menuButtonClickState){menuButtonRaised(id);}else{menuButtonNormal(menuCurrentButtonId);clearTimeout(menuTI);menuButtonDown(id,gid);}}function menuButtonUnSelect(id){if(!menuButtonClickState){menuButtonNormal(id);}else{menuHide();}}function menuButtonRaised(id){var obj=document.getElementById(id).style;obj.borderTopColor='#4d4d44';obj.borderLeftColor='#4d4d44';obj.borderBottomColor='#4d4d44';obj.borderRightColor='#4d4d44';obj.backgroundColor='#4d4d44';obj.borderWidth='1px';obj.paddingBottom='4px';obj.paddingTop='4px';obj.paddingLeft='8px';obj.paddingRight='8px';document.getElementById(id+'Caption').style.color='#ffffff';}function menuButtonSunken(id){var obj=document.getElementById(id).style;obj.borderTopColor='#4d4d44';obj.borderLeftColor='#4d4d44';obj.borderBottomColor='#4d4d44';obj.borderRightColor='#4d4d44';obj.backgroundColor='#4d4d44';obj.borderWidth='1px';obj.paddingBottom='3px';obj.paddingTop='5px';obj.paddingLeft='9px';obj.paddingRight='7px';document.getElementById(id+'Caption').style.color='#ffffff';}function menuButtonNormal(id){var obj=document.getElementById(id).style;obj.borderTopColor='#696959';obj.borderLeftColor='#696959';obj.borderBottomColor='#696959';obj.borderRightColor='#696959';obj.backgroundColor='#696959';obj.borderWidth='0px';obj.paddingBottom='5px';obj.paddingTop='5px';obj.paddingLeft='9px';obj.paddingRight='9px';document.getElementById(id+'Caption').style.color='#eeeeee';}function menuMenuBarInit(){}
//function DisableContextMenu(e){return false;}
//document.oncontextmenu = DisableContextMenu;