if((document.all)&&(document.getElementById)){function MenuListElementHoverFix(){var c=this;if(typeof(Array.prototype.push)=="undefined"){function b(){var d=this.length;for(var e=0;e<b.arguments.length;++e){this[d]=b.arguments[e];d++}}function a(){var d=this[this.length-1];this.length--;return d}Array.prototype.push=b;Array.prototype.pop=a}this.className="hover";this.classNameSuffix=" "+this.className;this.removeClassNameRegExp=new RegExp("\\b ?"+this.className+"\\b");this.hoverElementStack=new Array();this.onmouseover=function(){if(!c.isHover(this)){if(this.getAttribute("is_hover_class_removing")!="true"){this.className+=c.classNameSuffix}this.setAttribute("is_hover","true")}};this.isHover=function(d){return(d.getAttribute("is_hover")=="true")};this.checkNonHoverState=function(d){if(!c.isHover(d)){d.className=d.className.replace(c.removeClassNameRegExp,"")}d.removeAttribute("is_hover_class_removing")};this.checkLastNonHoverState=function(){var d=null;if(c.hoverElementStack.length>0){d=c.hoverElementStack.pop()}for(var e=c.hoverElementStack.length-1;e>=0;e--){var f=c.hoverElementStack[e];while(f!=null){f=f.offsetParent;if(f==d){c.checkNonHoverState(c.hoverElementStack[e]);break}}}if(d!=null){c.checkNonHoverState(d)}};this.onmouseout=function(){this.setAttribute("is_hover","false");if(this.getAttribute("is_hover_class_removing")!="true"){this.setAttribute("is_hover_class_removing","true");c.hoverElementStack.push(this);window.setTimeout(c.checkLastNonHoverState,100)}};this.fixElement=function(f){for(var d=0;d<f.childNodes.length;d++){var e=f.childNodes[d];if(e.nodeName=="LI"){e.onmouseover=this.onmouseover;e.onmouseout=this.onmouseout}this.fixElement(e)}};this.findElement=function(f){for(var d=0;d<f.childNodes.length;d++){var e=f.childNodes[d];if(e.nodeName=="UL"){if((e.id!="")&&((e.id.indexOf("menu")>=0)||(e.id.indexOf("nav")>=0))){this.fixElement(e);continue}}this.findElement(e)}};this.fix=function(){var d=document.body;if(d){c.findElement(d)}};this.addOnLoad=function(){if(window.attachEvent){window.attachEvent("onload",this.fix)}else{window.onload=this.fix}}}(new MenuListElementHoverFix()).addOnLoad()};function sfHoverEvents(c){var a=c.length;for(var b=0;b<a;b++){c[b].onmouseover=function(){this.className+=" sfhover"};c[b].onmouseout=function(){this.className=this.className.replace(" sfhover","")}}}function sfHover(){var c=document.getElementsByTagName("UL");var d="found "+c.length+" Matches";var a=c.length;for(var b=0;b<a;b++){if(c[b].className.indexOf("mainlevel-ecBlackNav")!=-1){sfHoverEvents(c[b].getElementsByTagName("LI"))}}}if(window.attachEvent){window.attachEvent("onload",sfHover)};
