jQuery(document).ready(function(A){A("#dnn_navAdmin_menuRender a.itemL0").mouseover(function(){NavXp.skins["I-Company/AdminMenu"].show(avt.navxp.core.$(this),avt.navxp.core.$(this).prev("div:first").children("div:first"))}).mouseout(function(){NavXp.skins["I-Company/AdminMenu"].hide(avt.navxp.core.$(this),avt.navxp.core.$(this).prev("div:first").children("div:first"))});A("#dnn_navAdmin_menuRender a.itemLN").mouseover(function(){NavXp.skins["I-Company/AdminMenu"].show(avt.navxp.core.$(this),avt.navxp.core.$(this).next("div.child_container:first"))}).mouseout(function(){NavXp.skins["I-Company/AdminMenu"].hide(avt.navxp.core.$(this),avt.navxp.core.$(this).next("div.child_container:first"))})});(function(A){A.fn.hoverIntent=function(I,J){var C={sensitivity:7,interval:100,timeout:0};C=A.extend(C,J?{over:I,out:J}:I);var B,E,D,F;var K=function(M){B=M.pageX;E=M.pageY};var G=function(M,N){N.hoverIntent_t=clearTimeout(N.hoverIntent_t);if((Math.abs(D-B)+Math.abs(F-E))<C.sensitivity){A(N).unbind("mousemove",K);N.hoverIntent_s=1;return C.over.apply(N,[M])}else{D=B;F=E;N.hoverIntent_t=setTimeout(function(){G(M,N)},C.interval)}};var H=function(M,N){N.hoverIntent_t=clearTimeout(N.hoverIntent_t);N.hoverIntent_s=0;return C.out.apply(N,[M])};var L=function(O){var P=(O.type=="mouseover"?O.fromElement:O.toElement)||O.relatedTarget;while(P&&P!=this){try{P=P.parentNode}catch(O){P=this}}if(P==this){return false}var M=jQuery.extend({},O);var N=this;if(N.hoverIntent_t){N.hoverIntent_t=clearTimeout(N.hoverIntent_t)}if(O.type=="mouseover"){D=M.pageX;F=M.pageY;A(N).bind("mousemove",K);if(N.hoverIntent_s!=1){N.hoverIntent_t=setTimeout(function(){G(M,N)},C.interval)}}else{A(N).unbind("mousemove",K);if(N.hoverIntent_s==1){N.hoverIntent_t=setTimeout(function(){H(M,N)},C.timeout)}}};return this.mouseover(L).mouseout(L)}})(jQuery);(function(A){A.fn.supersubs=function(C){var B=A.extend({},A.fn.supersubs.defaults,C);return this.each(function(){var F=A(this);var D=A.meta?A.extend({},B,F.data()):B;var E=A('<li id="menu-fontsize">&#8212;</li>').css({"padding":0,"position":"absolute","top":"-999em","width":"auto"}).appendTo(F).width();A("#menu-fontsize").remove();$ULs=F.find("ul");$ULs.each(function(L){var G=$ULs.eq(L);var K=G.children();var I=K.children("a");var H=K.css("white-space","nowrap").css("float");var J=G.add(K).add(I).css({"float":"none","width":"auto"}).end().end()[0].clientWidth/E;J+=D.extraWidth;if(J>D.maxWidth){J=D.maxWidth}else{if(J<D.minWidth){J=D.minWidth}}J+="em";G.css("width",J);K.css({"float":H,"width":"100%","white-space":"normal"}).each(function(){var M=A(">ul",this);var N=M.css("left")!==undefined?"left":"right";M.css(N,J)})})})};A.fn.supersubs.defaults={minWidth:9,maxWidth:25,extraWidth:0}})(jQuery);(function(A){A.fn.superfish=function(F){var G=A.fn.superfish,D=G.c,H=A(['<span class="',D.arrowClass,'"> &#187;</span>'].join("")),I=function(){var L=A(this),K=C(L);clearTimeout(K.sfTimer);L.showSuperfishUl().siblings().hideSuperfishUl()},E=function(){var M=A(this),L=C(M),K=G.op;clearTimeout(L.sfTimer);L.sfTimer=setTimeout(function(){K.retainPath=(A.inArray(M[0],K.$path)>-1);M.hideSuperfishUl();if(K.$path.length&&M.parents(["li.",K.hoverClass].join("")).length<1){I.call(K.$path)}},K.delay)},C=function(L){var K=L.parents(["ul.",D.menuClass,":first"].join(""))[0];G.op=G.o[K.serial];return K},J=function(K){K.addClass(D.anchorClass).append(H.clone())};return this.each(function(){var K=this.serial=G.o.length;var L=A.extend({},G.defaults,F);L.$path=A("li."+L.pathClass,this).slice(0,L.pathLevels).each(function(){A(this).addClass([L.hoverClass,D.bcClass].join(" ")).filter("li:has(ul)").removeClass(L.pathClass)});G.o[K]=G.op=L;A("li:has(ul)",this)[(A.fn.hoverIntent&&!L.disableHI)?"hoverIntent":"hover"](I,E).each(function(){if(L.autoArrows){J(A(">a:first-child",this))}}).not("."+D.bcClass).hideSuperfishUl();var M=A("a",this);M.each(function(O){var N=M.eq(O).parents("li");M.eq(O).focus(function(){I.call(N)}).blur(function(){E.call(N)})});L.onInit.call(this)}).each(function(){var K=[D.menuClass];if(G.op.dropShadows&&!(A.browser.msie&&A.browser.version<7)){K.push(D.shadowClass)}A(this).addClass(K.join(" "))})};var B=A.fn.superfish;B.o=[];B.op={};B.IE7fix=function(){var C=B.op;if(A.browser.msie&&A.browser.version>6&&C.dropShadows&&C.animation.opacity!=undefined){this.toggleClass(B.c.shadowClass+"-off")}};B.c={bcClass:"sf-breadcrumb",menuClass:"sf-js-enabled",anchorClass:"sf-with-ul",arrowClass:"sf-sub-indicator",shadowClass:"sf-shadow"};B.defaults={hoverClass:"sfHover",pathClass:"overideThisToUse",pathLevels:1,delay:800,animation:{opacity:"show"},speed:"normal",autoArrows:true,dropShadows:true,disableHI:false,onInit:function(){},onBeforeShow:function(){},onShow:function(){},onHide:function(){}};A.fn.extend({hideSuperfishUl:function(){var D=B.op,C=(D.retainPath===true)?D.$path:"";D.retainPath=false;var E=A(["li.",D.hoverClass].join(""),this).add(this).not(C).removeClass(D.hoverClass).find(">ul").hide().css("visibility","hidden");D.onHide.call(E);return this},showSuperfishUl:function(){var D=B.op,E=B.c.shadowClass+"-off",C=this.addClass(D.hoverClass).find(">ul:hidden").css("visibility","visible");B.IE7fix.call(C);D.onBeforeShow.call(C);C.animate(D.animation,D.speed,function(){B.IE7fix.call(C);D.onShow.call(C)});return this}})})(jQuery);jQuery(document).ready(function(A){A("#mainMenu, #adminMenu").supersubs().superfish({animation:{opacity:"show",height:"show"},speed:300,disableHI:true,autoArrows:false,dropShadows:false})});
