function wlp_bighorn_initMenus(){var d=document.getElementsByTagName("table");for(var c=0;c<d.length;c++){if(d[c].className.search(/wlp-bighorn-menu/)!=-1){var a=d[c].getElementsByTagName("ul");for(j=0;j<a.length;j++){var e=document.createElement("iframe");e.setAttribute("src","about:blank");e.setAttribute("style","border: 0; height: 0; width: 0;");a[j].insertBefore(e,a[j].firstChild)}var b=d[c].getElementsByTagName("li");for(j=0;j<b.length;j++){wlp_bighorn_attachEventHandler(b[j],"mouseenter",wlp_bighorn_listHoverOn);wlp_bighorn_attachEventHandler(b[j],"mouseleave",wlp_bighorn_listHoverOff)}}}}function wlp_bighorn_listHoverOn(f){var d=(f)?f:window.event;var g=(d.srcElement)?d.srcElement:((d.currentTarget)?d.currentTarget:this);wlp_bighorn_addClassName(g,"hover");for(var b=0;g.childNodes[b];b++){var h=g.childNodes[b];if(h.tagName=="A"){wlp_bighorn_addClassName(h,"hover")}else{if(h.tagName=="UL"){wlp_bighorn_addClassName(h,"show");for(var a=0;h.childNodes[a];a++){var c=h.childNodes[a];if(c.tagName=="IFRAME"){c.style.width=h.offsetWidth;c.style.height=h.offsetHeight}}}}}}function wlp_bighorn_listHoverOff(c){var b=(c)?c:window.event;var d=(b.srcElement)?b.srcElement:((b.currentTarget)?b.currentTarget:this);wlp_bighorn_removeClassName(d,"hover");for(var a=0;d.childNodes[a];a++){var f=d.childNodes[a];if(f.tagName=="A"){wlp_bighorn_removeClassName(f,"hover")}else{if(f.tagName=="UL"){wlp_bighorn_removeClassName(f,"show")}}}};
