(function(a){a.fn.hoverIntent=function(g,b){var c={sensitivity:7,interval:100,timeout:0};c=a.extend(c,b?{over:g,out:b}:g);var i,n,k,l,m=function(d){i=d.pageX;n=d.pageY},f=function(d,h){h.hoverIntent_t=clearTimeout(h.hoverIntent_t);if(Math.abs(k-i)+Math.abs(l-n)<c.sensitivity){a(h).unbind("mousemove",m);h.hoverIntent_s=1;return c.over.apply(h,[d])}else{k=i;l=n;h.hoverIntent_t=setTimeout(function(){f(d,h)},c.interval)}},e=function(d){for(var h=(d.type=="mouseover"?d.fromElement:d.toElement)||d.relatedTarget;h&&
h!=this;)try{h=h.parentNode}catch(p){h=this}if(h==this)return false;var o=jQuery.extend({},d),j=this;if(j.hoverIntent_t)j.hoverIntent_t=clearTimeout(j.hoverIntent_t);if(d.type=="mouseover"){k=o.pageX;l=o.pageY;a(j).bind("mousemove",m);if(j.hoverIntent_s!=1)j.hoverIntent_t=setTimeout(function(){f(o,j)},c.interval)}else{a(j).unbind("mousemove",m);if(j.hoverIntent_s==1)j.hoverIntent_t=setTimeout(function(){j.hoverIntent_t=clearTimeout(j.hoverIntent_t);j.hoverIntent_s=0;c.out.apply(j,[o])},c.timeout)}};
return this.mouseover(e).mouseout(e)}})(jQuery);
(function(a){a.fn.superfish=function(b){var c=a.fn.superfish,i=c.c,n=a(['<span class="',i.arrowClass,'"> &#187;</span>'].join("")),k=function(){var f=a(this),e=m(f);clearTimeout(e.sfTimer);f.showSuperfishUl().siblings().hideSuperfishUl()},l=function(){var f=a(this),e=m(f),d=c.op;clearTimeout(e.sfTimer);e.sfTimer=setTimeout(function(){d.retainPath=a.inArray(f[0],d.$path)>-1;f.hideSuperfishUl();d.$path.length&&f.parents(["li.",d.hoverClass].join("")).length<1&&k.call(d.$path)},d.delay)},m=function(f){f=
f.parents(["ul.",i.menuClass,":first"].join(""))[0];c.op=c.o[f.serial];return f};return this.each(function(){var f=this.serial=c.o.length,e=a.extend({},c.defaults,b);e.$path=a("li."+e.pathClass,this).slice(0,e.pathLevels).each(function(){a(this).addClass([e.hoverClass,i.bcClass].join(" ")).filter("li:has(ul)").removeClass(e.pathClass)});c.o[f]=c.op=e;a("li:has(ul)",this)[a.fn.hoverIntent&&!e.disableHI?"hoverIntent":"hover"](k,l).each(function(){e.autoArrows&&a(">a:first-child",this).addClass(i.anchorClass).append(n.clone())}).not("."+
i.bcClass).hideSuperfishUl();var d=a("a",this);d.each(function(h){var p=d.eq(h).parents("li");d.eq(h).focus(function(){k.call(p)}).blur(function(){l.call(p)})});e.onInit.call(this)}).each(function(){var f=[i.menuClass];c.op.dropShadows&&!(a.browser.msie&&a.browser.version<7)&&f.push(i.shadowClass);a(this).addClass(f.join(" "))})};var g=a.fn.superfish;g.o=[];g.op={};g.IE7fix=function(){var b=g.op;a.browser.msie&&a.browser.version>6&&b.dropShadows&&b.animation.opacity!=undefined&&this.toggleClass(g.c.shadowClass+
"-off")};g.c={bcClass:"sf-breadcrumb",menuClass:"sf-js-enabled",anchorClass:"sf-with-ul",arrowClass:"sf-sub-indicator",shadowClass:"sf-shadow"};g.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 b=g.op,c=b.retainPath===true?b.$path:"";b.retainPath=
false;c=a(["li.",b.hoverClass].join(""),this).add(this).not(c).removeClass(b.hoverClass).find(">ul").hide().css("visibility","hidden");b.onHide.call(c);return this},showSuperfishUl:function(){var b=g.op,c=this.addClass(b.hoverClass).find(">ul:hidden").css("visibility","visible");g.IE7fix.call(c);b.onBeforeShow.call(c);c.animate(b.animation,b.speed,function(){g.IE7fix.call(c);b.onShow.call(c)});return this}})})(jQuery);
(function(a){a.fn.supersubs=function(g){var b=a.extend({},a.fn.supersubs.defaults,g);return this.each(function(){var c=a(this),i=a.meta?a.extend({},b,c.data()):b,n=a('<li id="menu-fontsize">&#8212;</li>').css({padding:0,position:"absolute",top:"-999em",width:"auto"}).appendTo(c).width();a("#menu-fontsize").remove();$ULs=c.find("ul");$ULs.each(function(k){k=$ULs.eq(k);var l=k.children(),m=l.children("a"),f=l.css("white-space","nowrap").css("float"),e=k.add(l).add(m).css({"float":"none",width:"auto"}).end().end()[0].clientWidth/
n;e+=i.extraWidth;if(e>i.maxWidth)e=i.maxWidth;else if(e<i.minWidth)e=i.minWidth;e+="em";k.css("width",e);l.css({"float":f,width:"100%","white-space":"normal"}).each(function(){var d=a(">ul",this),h=d.css("left")!==undefined?"left":"right";d.css(h,e)})})})};a.fn.supersubs.defaults={minWidth:9,maxWidth:25,extraWidth:0}})(jQuery);
(function(a){function g(b){return b&&b.constructor===Number?b+"px":b}a.fn.bgiframe=a.browser.msie&&/msie 6\.0/i.test(navigator.userAgent)?function(b){b=a.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:true,src:"javascript:false;"},b);var c='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+b.src+'"style="display:block;position:absolute;z-index:-1;'+(b.opacity!==false?"filter:Alpha(Opacity='0');":"")+"top:"+(b.top=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":
g(b.top))+";left:"+(b.left=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":g(b.left))+";width:"+(b.width=="auto"?"expression(this.parentNode.offsetWidth+'px')":g(b.width))+";height:"+(b.height=="auto"?"expression(this.parentNode.offsetHeight+'px')":g(b.height))+';"/>';return this.each(function(){a(this).children("iframe.bgiframe").length===0&&this.insertBefore(document.createElement(c),this.firstChild)})}:function(){return this};a.fn.bgIframe=a.fn.bgiframe})(jQuery);
