/**handles:jquery.cycle,superfish,supersubs**/ !function(g){var e="2.72";function l(e){g.fn.cycle.debug&&x(e)}function x(){window.console&&window.console.log&&window.console.log("[cycle] "+Array.prototype.join.call(arguments," "))}function f(e,t,n){if(null==e.cycleStop&&(e.cycleStop=0),(t=null==t?{}:t).constructor==String){switch(t){case"stop":return e.cycleStop++,e.cycleTimeout&&clearTimeout(e.cycleTimeout),e.cycleTimeout=0,g(e).removeData("cycle.opts"),!1;case"pause":return!(e.cyclePause=1);case"resume":if(!(e.cyclePause=0)===n){if(!(t=g(e).data("cycle.opts")))return x("options not found, can not resume"),!1;e.cycleTimeout&&(clearTimeout(e.cycleTimeout),e.cycleTimeout=0),b(t.elements,t,1,1)}return!1;case"prev":case"next":var c=g(e).data("cycle.opts");return c?(g.fn.cycle[t](c),!1):(x('options not found, "prev/next" ignored'),!1);default:t={fx:t}}return t}if(t.constructor!=Number)return t;var i=t;return(t=g(e).data("cycle.opts"))?i<0||i>=t.elements.length?x("invalid slide index: "+i):(t.nextSlide=i,e.cycleTimeout&&(clearTimeout(e.cycleTimeout),e.cycleTimeout=0),"string"==typeof n&&(t.oneTimeFx=n),b(t.elements,t,1,i>=t.currSlide)):x("options not found, can not advance slide"),!1}function v(e,t){if(!g.support.opacity&&t.cleartype&&e.style.filter)try{e.style.removeAttribute("filter")}catch(e){}}function a(e,t,n,i,o){var s=g.extend({},g.fn.cycle.defaults,i||{},g.metadata?e.metadata():g.meta?e.data():{});s.autostop&&(s.countdown=s.autostopCount||n.length);var c=e[0];if(e.data("cycle.opts",s),s.$cont=e,s.stopCount=c.cycleStop,s.elements=n,s.before=s.before?[s.before]:[],s.after=s.after?[s.after]:[],s.after.unshift(function(){s.busy=0}),!g.support.opacity&&s.cleartype&&s.after.push(function(){v(this,s)}),s.continuous&&s.after.push(function(){b(n,s,0,!s.rev)}),w(s),g.support.opacity||!s.cleartype||s.cleartypeNoBg||F(t),"static"==e.css("position")&&e.css("position","relative"),s.width&&e.width(s.width),s.height&&"auto"!=s.height&&e.height(s.height),s.startingSlide&&(s.startingSlide=parseInt(s.startingSlide)),s.random){s.randomMap=[];for(var r=0;r=n.length&&(s.startingSlide=0);s.currSlide=s.startingSlide=s.startingSlide||0;var l=s.startingSlide,f;if(t.css({position:"absolute",top:0,left:0}).hide().each(function(e){var e=l?l<=e?n.length-(e-l):l-e:n.length-e;g(this).css("z-index",e)}),g(n[l]).css("opacity",1).show(),v(n[l],s),s.fit&&s.width&&t.width(s.width),s.fit&&s.height&&"auto"!=s.height&&t.height(s.height),s.containerResize&&!e.innerHeight()){for(var a=0,u=0,p=0;p=n.length-1?0:s.startingSlide+1,!s.multiFx){var c=g.fn.cycle.transitions[s.fx];if(g.isFunction(c))c(e,t,s);else if("custom"!=s.fx&&!s.multiFx)return x("unknown transition: "+s.fx,"; slideshow terminating"),!1}var t=t[l];return s.before.length&&s.before[0].apply(t,[t,t,s,!0]),1=n.fxs.length)&&(n.lastFx=0),r=n.fxs[n.lastFx],n.currFx=r),n.oneTimeFx&&(r=n.oneTimeFx,n.oneTimeFx=null),g.fn.cycle.resetState(n,r),n.before.length&&g.each(n.before,function(e,t){i.cycleStop==n.stopCount&&t.apply(s,[o,s,n,c])}),r=function(){g.each(n.after,function(e,t){i.cycleStop==n.stopCount&&t.apply(s,[o,s,n,c])})},n.nextSlide!=n.currSlide&&(n.busy=1,n.fxFn?n.fxFn(o,s,n,r,c):g.isFunction(g.fn.cycle[n.fx])?g.fn.cycle[n.fx](o,s,n,r):g.fn.cycle.custom(o,s,n,r,t&&n.fastOnEvent)),n.lastSlide=n.currSlide,n.random?(n.currSlide=n.nextSlide,++n.randomIndex==e.length&&(n.randomIndex=0),n.nextSlide=n.randomMap[n.randomIndex]):(l=n.nextSlide+1==e.length,n.nextSlide=l?0:n.nextSlide+1,n.currSlide=l?e.length-1:n.nextSlide-1),n.pager&&g.fn.cycle.updateActivePagerLink(n.pager,n.currSlide)),l=0,n.timeout&&!n.continuous?l=u(o,s,n,c):n.continuous&&i.cyclePause&&(l=10),0=n.length){if(e.nowrap)return!1;e.nextSlide=0}return g.isFunction(e.prevNextClick)&&e.prevNextClick(0'+(n+1)+"",o,s;e&&(0===(o=g(e)).parents("body").length&&(s=[],1 »'].join("")),t=function(){var s=f(this),a=r(s);clearTimeout(a.sfTimer),s.showSuperfishUl().siblings().hideSuperfishUl()},l=function(){var s=f(this),a=r(s),i=o.op;clearTimeout(a.sfTimer),a.sfTimer=setTimeout(function(){i.retainPath=-1a:first-child",this))}).not("."+e.bcClass).hideSuperfishUl();var i=f("a",this);i.each(function(s){var a=i.eq(s).parents("li");i.eq(s).focus(function(){t.call(a)}).blur(function(){l.call(a)})}),a.onInit.call(this)}).each(function(){var s=[e.menuClass];!o.op.dropShadows||f.browser.msie&&f.browser.version<7||s.push(e.shadowClass),f(this).addClass(s.join(" "))})};var n=f.fn.superfish;n.o=[],n.op={},n.IE7fix=function(){var s=n.op;f.browser.msie&&6ul").hide().css("visibility","hidden");return s.onHide.call(a),this},showSuperfishUl:function(){var s=n.op,a=n.c.shadowClass+"-off",i=this.addClass(s.hoverClass).find(">ul:hidden").css("visibility","visible");return n.IE7fix.call(i),s.onBeforeShow.call(i),i.animate(s.animation,s.speed,function(){n.IE7fix.call(i),s.onShow.call(i)}),this}})}(jQuery); !function(h){h.fn.supersubs=function(t){var i=h.extend({},h.fn.supersubs.defaults,t);return this.each(function(){var t=h(this),d=h.meta?h.extend({},i,t.data()):i,a=h('').css({padding:0,position:"absolute",top:"-999em",width:"auto"}).appendTo(t).width();h("#menu-fontsize").remove(),$ULs=t.find("ul"),$ULs.each(function(t){var i=$ULs.eq(t),e=i.children(),s=e.children("a"),t=e.css("white-space","nowrap").css("float"),n=i.add(e).add(s).css({float:"none",width:"auto"}).end().end()[0].clientWidth/a;(n+=d.extraWidth)>d.maxWidth?n=d.maxWidth:nul",this),i=void 0!==t.css("left")?"left":"right";t.css(i,n)})})})},h.fn.supersubs.defaults={minWidth:9,maxWidth:25,extraWidth:0}}(jQuery);