var menuArr=new Array();var elementsToHideCache=new Array();var highlightArr=new Array();var menuTimer=null;function initLhn(){if(document.getElementsByTagName){var ulArr=document.getElementsByTagName(UL);for(var u=0;u=0)?true:false;var containsSubStr=(className&&className.indexOf(SUB)>=0)?true:false;if(containsLhnStr){var ancArr=el.getElementsByTagName(ANC);if(!el.id&&!(is.mac&&is.ie)){el.id=GENERATED_MENU_ID_PREFIX+u;} menuArr[el.id]=ancArr;elListener(el,MOUSEOVER,mouseoverUlHandler);elListener(el,MOUSEOUT,mouseoutUlHandler);for(a=0;a=0;if(containsRemaining){lhnUnhighlight(key);}}}}} function mouseoverMenuHandler(e){if(typeof findContainingMenu!="function"){return false;} var ancEl=(typeof event!=UNDEFINED)?event.srcElement:e.currentTarget;var containingUl=findContainingMenu(ancEl);if(containingUl&&containingUl.id.indexOf(GENERATED_MENU_ID_PREFIX)>=0){hideSubmenus(LHN_ROOT,true);} if(containingUl){hideSubmenus(containingUl.id);lhnUnhighlight(containingUl.id);if(is.opera6||(is.ie5&&!is.ie5_5)){if(containingUl.id!=LHN_ROOT||(containingUl.id==LHN_ROOT&&ancEl.id)){toggleFormElements();}else if(containingUl.id==LHN_ROOT&&!ancEl.id){toggleFormElements(true);}} highlightArr[containingUl.id]=ancEl;if(containingUl.getAttribute(CLASS).indexOf(REMAINING)<0){lhnHighlight(ancEl);}} if(ancEl.id){var subMenu=document.getElementById(ancEl.id+SUB_MENU_SUFFIX);if(!subMenu){subMenu=document.getElementById(ancEl.id.replace(EXPANDED_MENU_ID_MODIFIER,"")+SUB_MENU_SUFFIX);} if(subMenu){var containingUl=findContainingMenu(ancEl);if(containingUl){var dealingWithSubMenu=containingUl.getAttribute(CLASS).indexOf(SUB)>=0;var xOffset=dealingWithSubMenu?-1:0;if(is.ie5&&!is.ie5_5){xOffset-=11;} var yOffset=0;var w=containingUl.offsetWidth;positionSubmenu(subMenu,ancEl,w+xOffset,yOffset);showElement(subMenu);}}} clearTimeout(menuTimer);menuTimer=null;setWindowStatus(ancEl.innerHTML,e);return true;} function lhnHighlight(el){var classStr=el.className;if(flyoutRe.test(classStr)){swapClass(el,flyoutRe,HIGHLIGHT_FLYOUT);}else if(selectedRootRe.test(classStr)){swapClass(el,selectedRootRe,HIGHLIGHT_ROOT);}else if(selectedRe.test(classStr)){swapClass(el,selectedRe,HIGHLIGHT_SELECTED);}else{if(!el.origClass)el.origClass=el.className;el.className=HIGHLIGHT+" "+el.className;if(is.opera6){if(!el.origBackground&&!el.origColor){el.origBackground=el.style.background;el.origColor=el.style.color;} el.style.background=O6_HIGHLIGHT_BG;el.style.color=O6_FONT_COLOR;el.className=null;}}} function lhnUnhighlight(menu){var el=highlightArr[menu];if(el){var classStr=el.getAttribute(CLASS);if(highlightFlyoutRe.test(classStr)||highlightRootRe.test(classStr)||highlightSelectedRe.test(classStr)||highlightRe.test(classStr)){unswapClass(el);}else if(is.opera6){if(el.style.background){el.style.background=el.origBackground;el.style.color=el.origColor;}}}} function hideSubmenus(menu,fromTimeout){var ancArr=menuArr[menu];if(ancArr){for(var a=0;a'+dynamicListText+'
  • ');} function showIframeMask(el){var iframeId=el.id+IFRAME_MASK_SUFFIX;if(!document.getElementById(iframeId)){var rootTag=document.body;var ifrm=document.createElement("