dojo.highlighter={panes:{},bodyOverlay:null,paneOverlays:{},overlayAnims:{},offsetLeft:null,isIEfixed:null,init:function(){this.isIEfixed=dojo.isIE&&dojo.isIE<8;this.calculateOffset();this.bodyNode=this.isIEfixed?this.createBodyNode():dojo.body();this.bodyOverlay=this.createOverlay();this.shadowOverlay=this.createShadowOverlay();this.positionOverlays();dojo.query(".pagehead .pane").forEach(function(_1){this.panes[_1.id]=_1;this.paneOverlays[_1.id]=this.createPaneOverlay(_1);dojo.style(_1,"zIndex",3);dojo.connect(_1,"onmouseenter",dojo.hitch(this,function(){this.mouseEnter(_1.id,"direct");}));dojo.connect(this.paneOverlays[_1.id],"onmouseenter",dojo.hitch(this,function(){this.mouseEnter(_1.id,"overlay");}));dojo.connect(_1,"onmouseleave",dojo.hitch(this,function(){this.mouseLeave(_1.id);}));},this);dojo.connect(window,"onresize",this,"calculateOffset");},createOverlay:function(){var o,ow=dojo.doc.createElement("div");ow.id="headOverlayWrapper";o=dojo.doc.createElement("div");o.id="headOverlay";ow.appendChild(o);this.bodyNode.appendChild(ow);dojo.style(ow,"zIndex",2);return ow;},positionOverlays:function(){var _4=dojo.coords("pageTop");dojo.style(this.bodyOverlay,"top",_4.h+"px");if(this.isIEfixed){dojo.style(this.shadowOverlay,"top","-21px");var w=window.innerWidth||document.body.offsetWidth||0;dojo.style(dojo.byId("headOverlayWrapper"),"width",w+"px");dojo.style(dojo.byId("headOverlay"),"width",w+"px");}else{if(dojo.isSafari){dojo.style(this.shadowOverlay,"top",(_4.h-21)+"px");}else{dojo.style(this.shadowOverlay,"top",(_4.h-21)+"px");}}},createShadowOverlay:function(){var so=dojo.doc.createElement("div");so.id="shadowOverlay";if(this.isIEfixed){dojo.byId("pageHead").appendChild(so);if(dojo.isIE<7){DD_belatedPNG.fix("#shadowOverlay");}}else{dojo.body().appendChild(so);}dojo.style(so,"zIndex",6);return so;},createPaneOverlay:function(_7){var p=dojo.doc.createElement("div");dojo.addClass(p,"paneOverlay");p.id=_7.id+"_Overlay";_7.parentNode.appendChild(p);dojo.style(p,"left",dojo.coords(_7).l+"px");return p;},mouseEnter:function(id,_a){if(this.leaveTimer){window.clearTimeout(this.leaveTimer);}var _b=dojo.query(".container")[0].offsetLeft;for(var i in this.panes){var _d=this.panes[i];var o=this.paneOverlays[i];if(i==id){dojo.style(o,"zIndex",1);dojo.style(_d,"zIndex",8);if(this.isIEfixed){dojo.style(o,"display","none");dojo.style(this.shadowOverlay,"left",(parseInt(dojo.style(_d,"left"))-22)+"px");}else{if(dojo.isSafari){dojo.style(this.shadowOverlay,"left",(parseInt(dojo.style(_d,"left"))+_b-22)+"px");}else{dojo.style(this.shadowOverlay,"left",(parseInt(dojo.style(_d,"left"))+this.offsetLeft-22)+"px");}}}else{dojo.style(o,"zIndex",5);dojo.style(_d,"zIndex",3);if(this.isIEfixed){dojo.style(o,"display","block");}}}this.showOverlay();},mouseLeave:function(id){this.leaveTimer=window.setTimeout(dojo.hitch(this,"hideOverlay"),100);},showOverlay:function(){dojo.style(this.bodyOverlay,"display","block");},hideOverlay:function(){for(var i in this.panes){dojo.style(this.paneOverlays[i],"zIndex",1);}dojo.style(this.bodyOverlay,"display","none");dojo.style(this.shadowOverlay,"left","-10000px");},calculateOffset:function(){this.offsetLeft=dojo.coords(dojo.query(".container")[0]).l;if(this.isIEfixed){this.resizeBodyNode();}},createBodyNode:function(){var b=dojo.doc.createElement("div");b.id="IEzIndexContainer";dojo.byId("pageHead").appendChild(b);dojo.style(b,"zIndex",1);var t_c=dojo.coords("pageTop");var w=window.innerWidth||document.body.offsetWidth||0;dojo.style(b,{top:"-"+t_c.h+"px",left:"-"+this.offsetLeft+"px",width:w+"px",height:t_c.h+476+"px"});return b;},resizeBodyNode:function(){if(!this.bodyNode){return;}if(!this.offsetLeft){return;}var w=window.innerWidth||document.body.offsetWidth||0;dojo.style(this.bodyNode,{left:"-"+this.offsetLeft+"px",width:w+"px"});dojo.style(dojo.byId("headOverlayWrapper"),"width",w+"px");dojo.style(dojo.byId("headOverlay"),"width",w+"px");if(dojo.isIE<7){dojo.style("pageHead","left","0px");}}};dojo.addOnLoad(dojo.hitch(dojo.highlighter,"init"));
