(function(a){a.fn.superfish=function(h){var k=a.fn.superfish,f=k.c,d=a(['<span class="',f.arrowClass,'"> &#187;</span>'].join("")),j=function(){var c=a(this),l=g(c);clearTimeout(l.sfTimer);c.showSuperfishUl().siblings().hideSuperfishUl()},i=function(){var c=a(this),l=g(c),m=k.op;clearTimeout(l.sfTimer);l.sfTimer=setTimeout(function(){m.retainPath=(a.inArray(c[0],m.$path)>-1);c.hideSuperfishUl();if(m.$path.length&&c.parents(["li.",m.hoverClass].join("")).length<1){j.call(m.$path)}},m.delay)},g=function(c){var l=c.parents(["ul.",f.menuClass,":first"].join(""))[0];k.op=k.o[l.serial];return l},e=function(c){c.addClass(f.anchorClass).append(d.clone())};return this.each(function(){var m=this.serial=k.o.length;var l=a.extend({},k.defaults,h);l.$path=a("li."+l.pathClass,this).slice(0,l.pathLevels).each(function(){a(this).addClass([l.hoverClass,f.bcClass].join(" ")).filter("li:has(ul)").removeClass(l.pathClass)});k.o[m]=k.op=l;a("li:has(ul)",this)[(a.fn.hoverIntent&&!l.disableHI)?"hoverIntent":"hover"](j,i).each(function(){if(l.autoArrows){e(a(">a:first-child",this))}}).not("."+f.bcClass).hideSuperfishUl();var c=a("a",this);c.each(function(o){var n=c.eq(o).parents("li");c.eq(o).focus(function(){j.call(n)}).blur(function(){i.call(n)})});l.onInit.call(this)}).each(function(){var c=[f.menuClass];if(k.op.dropShadows&&!(a.browser.msie&&a.browser.version<7)){c.push(f.shadowClass)}a(this).addClass(c.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 e=b.op,d=(e.retainPath===true)?e.$path:"";e.retainPath=false;var c=a(["li.",e.hoverClass].join(""),this).add(this).not(d).removeClass(e.hoverClass).find(">ul").hide().css("visibility","hidden");e.onHide.call(c);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);(function(a){a.fn.supersubs=function(b){var c=a.extend({},a.fn.supersubs.defaults,b);return this.each(function(){var d=a(this);var f=a.meta?a.extend({},c,d.data()):c;var e=a('<li id="menu-fontsize">&#8212;</li>').css({padding:0,position:"absolute",top:"-999em",width:"auto"}).appendTo(d).width();a("#menu-fontsize").remove();$ULs=d.find("ul");$ULs.each(function(l){var j=$ULs.eq(l);var h=j.children();var g=h.children("a");var m=h.css("white-space","nowrap").css("float");var k=j.add(h).add(g).css({"float":"none",width:"auto"}).end().end()[0].clientWidth/e;k+=f.extraWidth;if(k>f.maxWidth){k=f.maxWidth}else{if(k<f.minWidth){k=f.minWidth}}k+="em";j.css("width",k);h.css({"float":m,width:"100%","white-space":"normal"}).each(function(){var i=a(">ul",this);var n=i.css("left")!==undefined?"left":"right";i.css(n,k)})})})};a.fn.supersubs.defaults={minWidth:9,maxWidth:25,extraWidth:0}})(jQuery);(function(a){a.fn.hoverIntent=function(i,j){var b={sensitivity:7,interval:100,timeout:0};b=a.extend(b,j?{over:i,out:j}:i);var d,e,l,m;var n=function(f){d=f.pageX;e=f.pageY};var c=function(f,g){g.hoverIntent_t=clearTimeout(g.hoverIntent_t);if((Math.abs(l-d)+Math.abs(m-e))<b.sensitivity){a(g).unbind("mousemove",n);g.hoverIntent_s=1;return b.over.apply(g,[f])}else{l=d;m=e;g.hoverIntent_t=setTimeout(function(){c(f,g)},b.interval)}};var h=function(f,g){g.hoverIntent_t=clearTimeout(g.hoverIntent_t);g.hoverIntent_s=0;return b.out.apply(g,[f])};var k=function(f){var q=(f.type=="mouseover"?f.fromElement:f.toElement)||f.relatedTarget;while(q&&q!=this){try{q=q.parentNode}catch(f){q=this}}if(q==this){return false}var g=jQuery.extend({},f);var o=this;if(o.hoverIntent_t){o.hoverIntent_t=clearTimeout(o.hoverIntent_t)}if(f.type=="mouseover"){l=g.pageX;m=g.pageY;a(o).bind("mousemove",n);if(o.hoverIntent_s!=1){o.hoverIntent_t=setTimeout(function(){c(g,o)},b.interval)}}else{a(o).unbind("mousemove",n);if(o.hoverIntent_s==1){o.hoverIntent_t=setTimeout(function(){h(g,o)},b.timeout)}}};return this.mouseover(k).mouseout(k)}})(jQuery);

