var stacks={};stacks.jQuery=jQuery.noConflict(true);stacks.stacks_in_19_page0={};stacks.stacks_in_19_page0=(function(a){var c=stacks.jQuery;var b=c;c(document).ready(function(d){d("#stacks_in_19_page0").parent().wrap('<div id="stacks_in_19_page0_absolute_wrapper" class="" />');if(""!=""){var e=d("").css("position");if(e=="static"){d("").css("position","relative")}d("#stacks_in_19_page0_absolute_wrapper").appendTo("")}d("#stacks_in_19_page0").css("display","block")});return a})(stacks.stacks_in_19_page0);stacks.stacks_in_23_page0={};stacks.stacks_in_23_page0=(function(a){var c=stacks.jQuery;var b=c;c(document).ready(function(d){d("#stacks_in_23_page0").parent().wrap('<div id="stacks_in_23_page0_absolute_wrapper" class="" />');if(""!=""){var e=d("").css("position");if(e=="static"){d("").css("position","relative")}d("#stacks_in_23_page0_absolute_wrapper").appendTo("")}d("#stacks_in_23_page0").css("display","block")});return a})(stacks.stacks_in_23_page0);stacks.stacks_in_25_page0={};stacks.stacks_in_25_page0=(function(a){var c=stacks.jQuery;var b=c;b(document).ready(function(){b("#stacks_in_25_page0 .atmScrollPane").jScrollPane({verticalDragMinHeight:21,verticalDragMaxHeight:21,horizontalDragMinWidth:21,horizontalDragMaxWidth:21,showArrows:false})});return a})(stacks.stacks_in_25_page0);stacks.stacks_in_45_page0={};stacks.stacks_in_45_page0=(function(a){var c=stacks.jQuery;var b=c;c(document).ready(function(d){d("#stacks_in_45_page0").parent().wrap('<div id="stacks_in_45_page0_absolute_wrapper" class="" />');if(""!=""){var e=d("").css("position");if(e=="static"){d("").css("position","relative")}d("#stacks_in_45_page0_absolute_wrapper").appendTo("")}d("#stacks_in_45_page0").css("display","block")});return a})(stacks.stacks_in_45_page0);stacks.stacks_in_49_page0={};stacks.stacks_in_49_page0=(function(a){var c=stacks.jQuery;var b=c;c(document).ready(function(d){d("#stacks_in_49_page0").parent().wrap('<div id="stacks_in_49_page0_absolute_wrapper" class="" />');if(""!=""){var e=d("").css("position");if(e=="static"){d("").css("position","relative")}d("#stacks_in_49_page0_absolute_wrapper").appendTo("")}d("#stacks_in_49_page0").css("display","block")});return a})(stacks.stacks_in_49_page0);stacks.stacks_in_55_page0={};stacks.stacks_in_55_page0=(function(a){var c=stacks.jQuery;var b=c;c(function(d){d.fn.tallest=function(){return this._extremities({aspect:"height",max:true})[0]};d.fn.tallestSize=function(){return this._extremities({aspect:"height",max:true})[1]};d.fn.shortest=function(){return this._extremities({aspect:"height",max:false})[0]};d.fn.shortestSize=function(){return this._extremities({aspect:"height",max:false})[1]};d.fn.widest=function(){return this._extremities({aspect:"width",max:true})[0]};d.fn.widestSize=function(){return this._extremities({aspect:"width",max:true})[1]};d.fn.thinnest=function(){return this._extremities({aspect:"width",max:false})[0]};d.fn.thinnestSize=function(){return this._extremities({aspect:"width",max:false})[1]};d.fn._extremities=function(f){var k={aspect:"height",max:true};f=d.extend(k,f);if(this.length<2){return[this,this[f.aspect]()]}var h=0,j=this.eq(0)[f.aspect](),e;for(var g=1;g<this.length;++g){e=this.eq(g)[f.aspect]();if((f.max&&e>j)||(!f.max&&e<j)){j=e;h=g}}return[this.eq(h),j]}});(function(d){d.getScript=function(f,g,e){d.ajax({type:"GET",url:f,success:g,dataType:"script",cache:true})}})(c);b(document).ready(function(){switch(3){case 1:b("#like_twitter1 a").attr("data-count","vertical");b.getScript("http://platform.twitter.com/widgets.js");break;case 2:b("#like_twitter2 a").attr("data-count","horizontal");b.getScript("http://platform.twitter.com/widgets.js");break;case 3:b("#like_twitter3 a").attr("data-count","none");b.getScript("http://platform.twitter.com/widgets.js");break;default:}switch(3){case 1:b("#like_google1 .like_google").html('<g:plusone size="small" count="false"></g:plusone>');b.getScript("https://apis.google.com/js/plusone.js");break;case 2:b("#like_google2 .like_google").html('<g:plusone size="small" count="true"></g:plusone>');b.getScript("https://apis.google.com/js/plusone.js");break;case 3:b("#like_google3 .like_google").html('<g:plusone size="medium" count="false"></g:plusone>');b.getScript("https://apis.google.com/js/plusone.js");break;case 4:b("#like_google4 .like_google").html('<g:plusone size="medium" count="true"></g:plusone>');b.getScript("https://apis.google.com/js/plusone.js");break;case 5:b("#like_google5 .like_google").html('<g:plusone size="standard" count="false"></g:plusone>');b.getScript("https://apis.google.com/js/plusone.js");break;case 6:b("#like_google6 .like_google").html('<g:plusone size="standard" count="true"></g:plusone>');b.getScript("https://apis.google.com/js/plusone.js");break;case 7:b("#like_google7 .like_google").html('<g:plusone size="tall" count="true"></g:plusone>');b.getScript("https://apis.google.com/js/plusone.js");break;default:}switch(2){case 1:b("#like_facebook1 .like_facebook").html('<fb:like show_faces="false" width="280"></fb:like>');break;case 2:b("#like_facebook2 .like_facebook").html('<fb:like layout="button_count" show_faces="false" width="50"></fb:like>');break;case 3:b("#like_facebook3 .like_facebook").html('<fb:like layout="box_count" show_faces="false" width="50"></fb:like>');break;case 4:b("#like_facebook4 .like_facebook").html('<fb:like show_faces="false" width="450" action="recommend"></fb:like>');break;case 5:b("#like_facebook5 .like_facebook").html('<fb:like layout="button_count" show_faces="false" width="50" action="recommend"></fb:like>');break;case 6:b("#like_facebook6 .like_facebook").html('<fb:like layout="box_count" show_faces="false" width="50" action="recommend"></fb:like>');break;default:}switch(0){case 1:b("#like_digg1 a").addClass("DiggWide");b.getScript("http://widgets.digg.com/buttons.js");break;case 2:b("#like_digg2 a").addClass("DiggMedium");b.getScript("http://widgets.digg.com/buttons.js");break;case 3:b("#like_digg3 a").addClass("DiggCompact");b.getScript("http://widgets.digg.com/buttons.js");break;case 4:b("#like_digg4 a").addClass("DiggIcon");b.getScript("http://widgets.digg.com/buttons.js");break;default:}switch(0){case 1:b("#like_linkedin1").html('<script type="in/share" data-counter="top"><\/script>');b.getScript("http://platform.linkedin.com/in.js");break;case 2:b("#like_linkedin2").html('<script type="in/share" data-counter="right"><\/script>');b.getScript("http://platform.linkedin.com/in.js");break;case 3:b("#like_linkedin3").html('<script type="in/share"><\/script>');b.getScript("http://platform.linkedin.com/in.js");break;default:}if(0!=0){b.getScript("http://static.evernote.com/noteit.js")}b(".like_email a").attr("href","mailto:?subject=Check out this webpage&body="+location.href)});return a})(stacks.stacks_in_55_page0);stacks.stacks_in_56_page0={};stacks.stacks_in_56_page0=(function(a){var c=stacks.jQuery;var b=c;(function(l){var o="2.99";if(l.support==undefined){l.support={opacity:!(l.browser.msie)}}function d(u){l.fn.cycle.debug&&i(u)}function i(){window.console&&console.log&&console.log("[cycle] "+Array.prototype.join.call(arguments," "))}l.expr[":"].paused=function(u){return u.cyclePause};l.fn.cycle=function(v,u){var w={s:this.selector,c:this.context};if(this.length===0&&v!="stop"){if(!l.isReady&&w.s){i("DOM not ready, queuing slideshow");l(function(){l(w.s,w.c).cycle(v,u)});return this}i("terminating; zero elements found by selector"+(l.isReady?"":" (DOM not ready)"));return this}return this.each(function(){var A=q(this,v,u);if(A===false){return}A.updateActivePagerLink=A.updateActivePagerLink||l.fn.cycle.updateActivePagerLink;if(this.cycleTimeout){clearTimeout(this.cycleTimeout)}this.cycleTimeout=this.cyclePause=0;var B=l(this);var C=A.slideExpr?l(A.slideExpr,this):B.children();var y=C.get();if(y.length<2){i("terminating; too few slides: "+y.length);return}var x=n(B,C,y,A,w);if(x===false){return}var z=x.continuous?10:k(y[x.currSlide],y[x.nextSlide],x,!x.backwards);if(z){z+=(x.delay||0);if(z<10){z=10}d("first timeout: "+z);this.cycleTimeout=setTimeout(function(){h(y,x,0,!A.backwards)},z)}})};function q(u,x,v){if(u.cycleStop==undefined){u.cycleStop=0}if(x===undefined||x===null){x={}}if(x.constructor==String){switch(x){case"destroy":case"stop":var z=l(u).data("cycle.opts");if(!z){return false}u.cycleStop++;if(u.cycleTimeout){clearTimeout(u.cycleTimeout)}u.cycleTimeout=0;l(u).removeData("cycle.opts");if(x=="destroy"){t(z)}return false;case"toggle":u.cyclePause=(u.cyclePause===1)?0:1;y(u.cyclePause,v,u);return false;case"pause":u.cyclePause=1;return false;case"resume":u.cyclePause=0;y(false,v,u);return false;case"prev":case"next":var z=l(u).data("cycle.opts");if(!z){i('options not found,"prev/next" ignored');return false}l.fn.cycle[x](z);return false;default:x={fx:x}}return x}else{if(x.constructor==Number){var w=x;x=l(u).data("cycle.opts");if(!x){i("options not found, can not advance slide");return false}if(w<0||w>=x.elements.length){i("invalid slide index: "+w);return false}x.nextSlide=w;if(u.cycleTimeout){clearTimeout(u.cycleTimeout);u.cycleTimeout=0}if(typeof v=="string"){x.oneTimeFx=v}h(x.elements,x,1,w>=x.currSlide);return false}}return x;function y(B,C,A){if(!B&&C===true){var D=l(A).data("cycle.opts");if(!D){i("options not found, can not resume");return false}if(A.cycleTimeout){clearTimeout(A.cycleTimeout);A.cycleTimeout=0}h(D.elements,D,1,!D.backwards)}}}function e(u,v){if(!l.support.opacity&&v.cleartype&&u.style.filter){try{u.style.removeAttribute("filter")}catch(w){}}}function t(u){if(u.next){l(u.next).unbind(u.prevNextEvent)}if(u.prev){l(u.prev).unbind(u.prevNextEvent)}if(u.pager||u.pagerAnchorBuilder){l.each(u.pagerAnchors||[],function(){this.unbind().remove()})}u.pagerAnchors=null;if(u.destroy){u.destroy(u)}}function n(C,O,z,y,I){var G=l.extend({},l.fn.cycle.defaults,y||{},l.metadata?C.metadata():l.meta?C.data():{});if(G.autostop){G.countdown=G.autostopCount||z.length}var v=C[0];C.data("cycle.opts",G);G.$cont=C;G.stopCount=v.cycleStop;G.elements=z;G.before=G.before?[G.before]:[];G.after=G.after?[G.after]:[];if(!l.support.opacity&&G.cleartype){G.after.push(function(){e(this,G)})}if(G.continuous){G.after.push(function(){h(z,G,0,!G.backwards)})}r(G);if(!l.support.opacity&&G.cleartype&&!G.cleartypeNoBg){j(O)}if(C.css("position")=="static"){C.css("position","relative")}if(G.width){C.width(G.width)}if(G.height&&G.height!="auto"){C.height(G.height)}if(G.startingSlide){G.startingSlide=parseInt(G.startingSlide)}else{if(G.backwards){G.startingSlide=z.length-1}}if(G.random){G.randomMap=[];for(var M=0;M<z.length;M++){G.randomMap.push(M)}G.randomMap.sort(function(Q,w){return Math.random()-0.5});G.randomIndex=1;G.startingSlide=G.randomMap[1]}else{if(G.startingSlide>=z.length){G.startingSlide=0}}G.currSlide=G.startingSlide||0;var B=G.startingSlide;O.css({position:"absolute",top:0,left:0}).hide().each(function(w){var Q;if(G.backwards){Q=B?w<=B?z.length+(w-B):B-w:z.length-w}else{Q=B?w>=B?z.length-(w-B):B-w:z.length-w}l(this).css("z-index",Q)});l(z[B]).css("opacity",1).show();e(z[B],G);if(G.fit&&G.width){O.width(G.width)}if(G.fit&&G.height&&G.height!="auto"){O.height(G.height)}var H=G.containerResize&&!C.innerHeight();if(H){var A=0,F=0;for(var K=0;K<z.length;K++){var u=l(z[K]),P=u[0],E=u.outerWidth(),N=u.outerHeight();if(!E){E=P.offsetWidth||P.width||u.attr("width")}if(!N){N=P.offsetHeight||P.height||u.attr("height")}A=E>A?E:A;F=N>F?N:F}if(A>0&&F>0){C.css({width:A+"px",height:F+"px"})}}if(G.pause){C.hover(function(){this.cyclePause++},function(){this.cyclePause--})}if(f(G)===false){return false}var x=false;y.requeueAttempts=y.requeueAttempts||0;O.each(function(){var S=l(this);this.cycleH=(G.fit&&G.height)?G.height:(S.height()||this.offsetHeight||this.height||S.attr("height")||0);this.cycleW=(G.fit&&G.width)?G.width:(S.width()||this.offsetWidth||this.width||S.attr("width")||0);if(S.is("img")){var Q=(l.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var T=(l.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete);var R=(l.browser.opera&&((this.cycleW==42&&this.cycleH==19)||(this.cycleW==37&&this.cycleH==17))&&!this.complete);var w=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(Q||T||R||w){if(I.s&&G.requeueOnImageNotLoaded&&++y.requeueAttempts<100){i(y.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){l(I.s,I.c).cycle(y)},G.requeueTimeout);x=true;return false}else{i("could not determine size of image: "+this.src,this.cycleW,this.cycleH)}}}return true});if(x){return false}G.cssBefore=G.cssBefore||{};G.cssAfter=G.cssAfter||{};G.cssFirst=G.cssFirst||{};G.animIn=G.animIn||{};G.animOut=G.animOut||{};O.not(":eq("+B+")").css(G.cssBefore);l(O[B]).css(G.cssFirst);if(G.timeout){G.timeout=parseInt(G.timeout);if(G.speed.constructor==String){G.speed=l.fx.speeds[G.speed]||parseInt(G.speed)}if(!G.sync){G.speed=G.speed/2}var J=G.fx=="none"?0:G.fx=="shuffle"?500:250;while((G.timeout-G.speed)<J){G.timeout+=G.speed}}if(G.easing){G.easeIn=G.easeOut=G.easing}if(!G.speedIn){G.speedIn=G.speed}if(!G.speedOut){G.speedOut=G.speed}G.slideCount=z.length;G.currSlide=G.lastSlide=B;if(G.random){if(++G.randomIndex==z.length){G.randomIndex=0}G.nextSlide=G.randomMap[G.randomIndex]}else{if(G.backwards){G.nextSlide=G.startingSlide==0?(z.length-1):G.startingSlide-1}else{G.nextSlide=G.startingSlide>=(z.length-1)?0:G.startingSlide+1}}if(!G.multiFx){var L=l.fn.cycle.transitions[G.fx];if(l.isFunction(L)){L(C,O,G)}else{if(G.fx!="custom"&&!G.multiFx){i("unknown transition: "+G.fx,"; slideshow terminating");return false}}}var D=O[B];if(G.before.length){G.before[0].apply(D,[D,D,G,true])}if(G.after.length){G.after[0].apply(D,[D,D,G,true])}if(G.next){l(G.next).bind(G.prevNextEvent,function(){return s(G,1)})}if(G.prev){l(G.prev).bind(G.prevNextEvent,function(){return s(G,0)})}if(G.pager||G.pagerAnchorBuilder){g(z,G)}m(G,z);return G}function r(u){u.original={before:[],after:[]};u.original.cssBefore=l.extend({},u.cssBefore);u.original.cssAfter=l.extend({},u.cssAfter);u.original.animIn=l.extend({},u.animIn);u.original.animOut=l.extend({},u.animOut);l.each(u.before,function(){u.original.before.push(this)});l.each(u.after,function(){u.original.after.push(this)})}function f(A){var y,w,v=l.fn.cycle.transitions;if(A.fx.indexOf(",")>0){A.multiFx=true;A.fxs=A.fx.replace(/\s*/g,"").split(",");for(y=0;y<A.fxs.length;y++){var z=A.fxs[y];w=v[z];if(!w||!v.hasOwnProperty(z)||!l.isFunction(w)){i("discarding unknown transition: ",z);A.fxs.splice(y,1);y--}}if(!A.fxs.length){i("No valid transitions named; slideshow terminating.");return false}}else{if(A.fx=="all"){A.multiFx=true;A.fxs=[];for(p in v){w=v[p];if(v.hasOwnProperty(p)&&l.isFunction(w)){A.fxs.push(p)}}}}if(A.multiFx&&A.randomizeEffects){var x=Math.floor(Math.random()*20)+30;for(y=0;y<x;y++){var u=Math.floor(Math.random()*A.fxs.length);A.fxs.push(A.fxs.splice(u,1)[0])}d("randomized fx sequence: ",A.fxs)}return true}function m(v,u){v.addSlide=function(x,y){var w=l(x),z=w[0];if(!v.autostopCount){v.countdown++}u[y?"unshift":"push"](z);if(v.els){v.els[y?"unshift":"push"](z)}v.slideCount=u.length;w.css("position","absolute");w[y?"prependTo":"appendTo"](v.$cont);if(y){v.currSlide++;v.nextSlide++}if(!l.support.opacity&&v.cleartype&&!v.cleartypeNoBg){j(w)}if(v.fit&&v.width){w.width(v.width)}if(v.fit&&v.height&&v.height!="auto"){w.height(v.height)}z.cycleH=(v.fit&&v.height)?v.height:w.height();z.cycleW=(v.fit&&v.width)?v.width:w.width();w.css(v.cssBefore);if(v.pager||v.pagerAnchorBuilder){l.fn.cycle.createPagerAnchor(u.length-1,z,l(v.pager),u,v)}if(l.isFunction(v.onAddSlide)){v.onAddSlide(w)}else{w.hide()}}}l.fn.cycle.resetState=function(v,u){u=u||v.fx;v.before=[];v.after=[];v.cssBefore=l.extend({},v.original.cssBefore);v.cssAfter=l.extend({},v.original.cssAfter);v.animIn=l.extend({},v.original.animIn);v.animOut=l.extend({},v.original.animOut);v.fxFn=null;l.each(v.original.before,function(){v.before.push(this)});l.each(v.original.after,function(){v.after.push(this)});var w=l.fn.cycle.transitions[u];if(l.isFunction(w)){w(v.$cont,l(v.elements),v)}};function h(B,u,A,D){if(A&&u.busy&&u.manualTrump){d("manualTrump in go(), stopping active transition");l(B).stop(true,true);u.busy=0}if(u.busy){d("transition active, ignoring new tx request");return}var y=u.$cont[0],F=B[u.currSlide],E=B[u.nextSlide];if(y.cycleStop!=u.stopCount||y.cycleTimeout===0&&!A){return}if(!A&&!y.cyclePause&&!u.bounce&&((u.autostop&&(--u.countdown<=0))||(u.nowrap&&!u.random&&u.nextSlide<u.currSlide))){if(u.end){u.end(u)}return}var C=false;if((A||!y.cyclePause)&&(u.nextSlide!=u.currSlide)){C=true;var z=u.fx;F.cycleH=F.cycleH||l(F).height();F.cycleW=F.cycleW||l(F).width();E.cycleH=E.cycleH||l(E).height();E.cycleW=E.cycleW||l(E).width();if(u.multiFx){if(u.lastFx==undefined||++u.lastFx>=u.fxs.length){u.lastFx=0}z=u.fxs[u.lastFx];u.currFx=z}if(u.oneTimeFx){z=u.oneTimeFx;u.oneTimeFx=null}l.fn.cycle.resetState(u,z);if(u.before.length){l.each(u.before,function(G,H){if(y.cycleStop!=u.stopCount){return}H.apply(E,[F,E,u,D])})}var w=function(){u.busy=0;l.each(u.after,function(G,H){if(y.cycleStop!=u.stopCount){return}H.apply(E,[F,E,u,D])})};d("tx firing("+z+"); currSlide: "+u.currSlide+"; nextSlide: "+u.nextSlide);u.busy=1;if(u.fxFn){u.fxFn(F,E,u,w,D,A&&u.fastOnEvent)}else{if(l.isFunction(l.fn.cycle[u.fx])){l.fn.cycle[u.fx](F,E,u,w,D,A&&u.fastOnEvent)}else{l.fn.cycle.custom(F,E,u,w,D,A&&u.fastOnEvent)}}}if(C||u.nextSlide==u.currSlide){u.lastSlide=u.currSlide;if(u.random){u.currSlide=u.nextSlide;if(++u.randomIndex==B.length){u.randomIndex=0}u.nextSlide=u.randomMap[u.randomIndex];if(u.nextSlide==u.currSlide){u.nextSlide=(u.currSlide==u.slideCount-1)?0:u.currSlide+1}}else{if(u.backwards){var x=(u.nextSlide-1)<0;if(x&&u.bounce){u.backwards=!u.backwards;u.nextSlide=1;u.currSlide=0}else{u.nextSlide=x?(B.length-1):u.nextSlide-1;u.currSlide=x?0:u.nextSlide+1}}else{var x=(u.nextSlide+1)==B.length;if(x&&u.bounce){u.backwards=!u.backwards;u.nextSlide=B.length-2;u.currSlide=B.length-1}else{u.nextSlide=x?0:u.nextSlide+1;u.currSlide=x?B.length-1:u.nextSlide-1}}}}if(C&&u.pager){u.updateActivePagerLink(u.pager,u.currSlide,u.activePagerClass)}var v=0;if(u.timeout&&!u.continuous){v=k(B[u.currSlide],B[u.nextSlide],u,D)}else{if(u.continuous&&y.cyclePause){v=10}}if(v>0){y.cycleTimeout=setTimeout(function(){h(B,u,0,!u.backwards)},v)}}l.fn.cycle.updateActivePagerLink=function(u,w,v){l(u).each(function(){l(this).children().removeClass(v).eq(w).addClass(v)})};function k(y,w,x,v){if(x.timeoutFn){var u=x.timeoutFn.call(y,y,w,x,v);while(x.fx!="none"&&(u-x.speed)<250){u+=x.speed}d("calculated timeout: "+u+"; speed: "+x.speed);if(u!==false){return u}}return x.timeout}l.fn.cycle.next=function(u){s(u,1)};l.fn.cycle.prev=function(u){s(u,0)};function s(x,w){var A=w?1:-1;var v=x.elements;var z=x.$cont[0],y=z.cycleTimeout;if(y){clearTimeout(y);z.cycleTimeout=0}if(x.random&&A<0){x.randomIndex--;if(--x.randomIndex==-2){x.randomIndex=v.length-2}else{if(x.randomIndex==-1){x.randomIndex=v.length-1}}x.nextSlide=x.randomMap[x.randomIndex]}else{if(x.random){x.nextSlide=x.randomMap[x.randomIndex]}else{x.nextSlide=x.currSlide+A;if(x.nextSlide<0){if(x.nowrap){return false}x.nextSlide=v.length-1}else{if(x.nextSlide>=v.length){if(x.nowrap){return false}x.nextSlide=0}}}}var u=x.onPrevNextEvent||x.prevNextClick;if(l.isFunction(u)){u(A>0,x.nextSlide,v[x.nextSlide])}h(v,x,1,w);return false}function g(v,w){var u=l(w.pager);l.each(v,function(x,y){l.fn.cycle.createPagerAnchor(x,y,u,v,w)});w.updateActivePagerLink(w.pager,w.startingSlide,w.activePagerClass)}l.fn.cycle.createPagerAnchor=function(y,z,w,x,A){var v;if(l.isFunction(A.pagerAnchorBuilder)){v=A.pagerAnchorBuilder(y,z);d("pagerAnchorBuilder("+y+", el)returned: "+v)}else{v='<a href="#">'+(y+1)+"</a>"}if(!v){return}var B=l(v);if(B.parents("body").length===0){var u=[];if(w.length>1){w.each(function(){var C=B.clone(true);l(this).append(C);u.push(C[0])});B=l(u)}else{B.appendTo(w)}}A.pagerAnchors=A.pagerAnchors||[];A.pagerAnchors.push(B);B.bind(A.pagerEvent,function(F){F.preventDefault();A.nextSlide=y;var E=A.$cont[0],D=E.cycleTimeout;if(D){clearTimeout(D);E.cycleTimeout=0}var C=A.onPagerEvent||A.pagerClick;if(l.isFunction(C)){C(A.nextSlide,x[A.nextSlide])}h(x,A,1,A.currSlide<y)});if(!/^click/.test(A.pagerEvent)&&!A.allowPagerClickBubble){B.bind("click.cycle",function(){return false})}if(A.pauseOnPagerHover){B.hover(function(){A.$cont[0].cyclePause++},function(){A.$cont[0].cyclePause--})}};l.fn.cycle.hopsFromLast=function(x,w){var v,u=x.lastSlide,y=x.currSlide;if(w){v=y>u?y-u:x.slideCount-u}else{v=y<u?u-y:u+x.slideCount-y}return v};function j(w){d("applying clearType background-color hack");function v(x){x=parseInt(x).toString(16);return x.length<2?"0"+x:x}function u(z){for(;z&&z.nodeName.toLowerCase()!="html";z=z.parentNode){var x=l.css(z,"background-color");if(x&&x.indexOf("rgb")>=0){var y=x.match(/\d+/g);return"#"+v(y[0])+v(y[1])+v(y[2])}if(x&&x!="transparent"){return x}}return"#ffffff"}w.each(function(){l(this).css("background-color",u(this))})}l.fn.cycle.commonReset=function(A,y,z,v,x,u){l(z.elements).not(A).hide();if(typeof z.cssBefore.opacity=="undefined"){z.cssBefore.opacity=1}z.cssBefore.display="block";if(z.slideResize&&v!==false&&y.cycleW>0){z.cssBefore.width=y.cycleW}if(z.slideResize&&x!==false&&y.cycleH>0){z.cssBefore.height=y.cycleH}z.cssAfter=z.cssAfter||{};z.cssAfter.display="none";l(A).css("zIndex",z.slideCount+(u===true?1:0));l(y).css("zIndex",z.slideCount+(u===true?0:1))};l.fn.cycle.custom=function(G,A,u,x,z,v){var F=l(G),B=l(A);var w=u.speedIn,E=u.speedOut,y=u.easeIn,D=u.easeOut;B.css(u.cssBefore);if(v){if(typeof v=="number"){w=E=v}else{w=E=1}y=D=null}var C=function(){B.animate(u.animIn,w,y,function(){x()})};F.animate(u.animOut,E,D,function(){F.css(u.cssAfter);if(!u.sync){C()}});if(u.sync){C()}};l.fn.cycle.transitions={fade:function(v,w,u){w.not(":eq("+u.currSlide+")").css("opacity",0);u.before.push(function(z,x,y){l.fn.cycle.commonReset(z,x,y);y.cssBefore.opacity=0});u.animIn={opacity:1};u.animOut={opacity:0};u.cssBefore={top:0,left:0}}};l.fn.cycle.ver=function(){return o};l.fn.cycle.defaults={activePagerClass:"activeSlide",after:null,allowPagerClickBubble:false,animIn:null,animOut:null,autostop:0,autostopCount:0,backwards:false,before:null,cleartype:!l.support.opacity,cleartypeNoBg:false,containerResize:1,continuous:0,cssAfter:null,cssBefore:null,delay:0,easeIn:null,easeOut:null,easing:null,end:null,fastOnEvent:0,fit:0,fx:"fade",fxFn:null,height:"auto",manualTrump:true,next:null,nowrap:0,onPagerEvent:null,onPrevNextEvent:null,pager:null,pagerAnchorBuilder:null,pagerEvent:"click.cycle",pause:0,pauseOnPagerHover:0,prev:null,prevNextEvent:"click.cycle",random:0,randomizeEffects:1,requeueOnImageNotLoaded:true,requeueTimeout:250,rev:0,shuffle:null,slideExpr:null,slideResize:1,speed:1000,speedIn:null,speedOut:null,startingSlide:0,sync:1,timeout:4000,timeoutFn:null,updateActivePagerLink:null}})(c);(function(d){d.fn.cycle.transitions.none=function(f,g,e){e.fxFn=function(j,h,i,k){d(h).show();d(j).hide();k()}};d.fn.cycle.transitions.fadeout=function(f,g,e){g.not(":eq("+e.currSlide+")").css({display:"block",opacity:1});e.before.push(function(n,l,m,j,k,i){d(n).css("zIndex",m.slideCount+(!i===true?1:0));d(l).css("zIndex",m.slideCount+(!i===true?0:1))});e.animIn.opacity=1;e.animOut.opacity=0;e.cssBefore.opacity=1;e.cssBefore.display="block";e.cssAfter.zIndex=0};d.fn.cycle.transitions.scrollUp=function(g,i,f){g.css("overflow","hidden");f.before.push(d.fn.cycle.commonReset);var e=g.height();f.cssBefore.top=e;f.cssBefore.left=0;f.cssFirst.top=0;f.animIn.top=0;f.animOut.top=-e};d.fn.cycle.transitions.scrollDown=function(g,i,f){g.css("overflow","hidden");f.before.push(d.fn.cycle.commonReset);var e=g.height();f.cssFirst.top=0;f.cssBefore.top=-e;f.cssBefore.left=0;f.animIn.top=0;f.animOut.top=e};d.fn.cycle.transitions.scrollLeft=function(g,h,f){g.css("overflow","hidden");f.before.push(d.fn.cycle.commonReset);var e=g.width();f.cssFirst.left=0;f.cssBefore.left=e;f.cssBefore.top=0;f.animIn.left=0;f.animOut.left=0-e};d.fn.cycle.transitions.scrollRight=function(g,h,f){g.css("overflow","hidden");f.before.push(d.fn.cycle.commonReset);var e=g.width();f.cssFirst.left=0;f.cssBefore.left=-e;f.cssBefore.top=0;f.animIn.left=0;f.animOut.left=e};d.fn.cycle.transitions.scrollHorz=function(f,g,e){f.css("overflow","hidden").width();e.before.push(function(k,i,j,h){if(j.rev){h=!h}d.fn.cycle.commonReset(k,i,j);j.cssBefore.left=h?(i.cycleW-1):(1-i.cycleW);j.animOut.left=h?-k.cycleW:k.cycleW});e.cssFirst.left=0;e.cssBefore.top=0;e.animIn.left=0;e.animOut.top=0};d.fn.cycle.transitions.scrollVert=function(f,g,e){f.css("overflow","hidden");e.before.push(function(k,i,j,h){if(j.rev){h=!h}d.fn.cycle.commonReset(k,i,j);j.cssBefore.top=h?(1-i.cycleH):(i.cycleH-1);j.animOut.top=h?k.cycleH:-k.cycleH});e.cssFirst.top=0;e.cssBefore.left=0;e.animIn.top=0;e.animOut.left=0};d.fn.cycle.transitions.slideX=function(f,g,e){e.before.push(function(j,h,i){d(i.elements).not(j).hide();d.fn.cycle.commonReset(j,h,i,false,true);i.animIn.width=h.cycleW});e.cssBefore.left=0;e.cssBefore.top=0;e.cssBefore.width=0;e.animIn.width="show";e.animOut.width=0};d.fn.cycle.transitions.slideY=function(f,g,e){e.before.push(function(j,h,i){d(i.elements).not(j).hide();d.fn.cycle.commonReset(j,h,i,true,false);i.animIn.height=h.cycleH});e.cssBefore.left=0;e.cssBefore.top=0;e.cssBefore.height=0;e.animIn.height="show";e.animOut.height=0};d.fn.cycle.transitions.shuffle=function(h,j,g){var f,e=h.css("overflow","visible").width();j.css({left:0,top:0});g.before.push(function(l,i,k){d.fn.cycle.commonReset(l,i,k,true,true,true)});if(!g.speedAdjusted){g.speed=g.speed/2;g.speedAdjusted=true}g.random=0;g.shuffle=g.shuffle||{left:-e,top:15};g.els=[];for(f=0;f<j.length;f++){g.els.push(j[f])}for(f=0;f<g.currSlide;f++){g.els.push(g.els.shift())}g.fxFn=function(q,m,o,i,l){if(o.rev){l=!l}var k=l?d(q):d(m);d(m).css(o.cssBefore);var n=o.slideCount;k.animate(o.shuffle,o.speedIn,o.easeIn,function(){var s=d.fn.cycle.hopsFromLast(o,l);for(var t=0;t<s;t++){l?o.els.push(o.els.shift()):o.els.unshift(o.els.pop())}if(l){for(var u=0,r=o.els.length;u<r;u++){d(o.els[u]).css("z-index",r-u+n)}}else{var v=d(q).css("z-index");k.css("z-index",parseInt(v)+1+n)}k.animate({left:0,top:0},o.speedOut,o.easeOut,function(){d(l?this:q).hide();if(i){i()}})})};d.extend(g.cssBefore,{display:"block",opacity:1,top:0,left:0})};d.fn.cycle.transitions.turnUp=function(f,g,e){e.before.push(function(j,h,i){d.fn.cycle.commonReset(j,h,i,true,false);i.cssBefore.top=h.cycleH;i.animIn.height=h.cycleH;i.animOut.width=h.cycleW});e.cssFirst.top=0;e.cssBefore.left=0;e.cssBefore.height=0;e.animIn.top=0;e.animOut.height=0};d.fn.cycle.transitions.turnDown=function(f,g,e){e.before.push(function(j,h,i){d.fn.cycle.commonReset(j,h,i,true,false);i.animIn.height=h.cycleH;i.animOut.top=j.cycleH});e.cssFirst.top=0;e.cssBefore.left=0;e.cssBefore.top=0;e.cssBefore.height=0;e.animOut.height=0};d.fn.cycle.transitions.turnLeft=function(f,g,e){e.before.push(function(j,h,i){d.fn.cycle.commonReset(j,h,i,false,true);i.cssBefore.left=h.cycleW;i.animIn.width=h.cycleW});e.cssBefore.top=0;e.cssBefore.width=0;e.animIn.left=0;e.animOut.width=0};d.fn.cycle.transitions.turnRight=function(f,g,e){e.before.push(function(j,h,i){d.fn.cycle.commonReset(j,h,i,false,true);i.animIn.width=h.cycleW;i.animOut.left=j.cycleW});d.extend(e.cssBefore,{top:0,left:0,width:0});e.animIn.left=0;e.animOut.width=0};d.fn.cycle.transitions.zoom=function(f,g,e){e.before.push(function(j,h,i){d.fn.cycle.commonReset(j,h,i,false,false,true);i.cssBefore.top=h.cycleH/2;i.cssBefore.left=h.cycleW/2;d.extend(i.animIn,{top:0,left:0,width:h.cycleW,height:h.cycleH});d.extend(i.animOut,{width:0,height:0,top:j.cycleH/2,left:j.cycleW/2})});e.cssFirst.top=0;e.cssFirst.left=0;e.cssBefore.width=0;e.cssBefore.height=0};d.fn.cycle.transitions.fadeZoom=function(f,g,e){e.before.push(function(j,h,i){d.fn.cycle.commonReset(j,h,i,false,false);i.cssBefore.left=h.cycleW/2;i.cssBefore.top=h.cycleH/2;d.extend(i.animIn,{top:0,left:0,width:h.cycleW,height:h.cycleH})});e.cssBefore.width=0;e.cssBefore.height=0;e.animOut.opacity=0};d.fn.cycle.transitions.blindX=function(g,h,f){var e=g.css("overflow","hidden").width();f.before.push(function(k,i,j){d.fn.cycle.commonReset(k,i,j);j.animIn.width=i.cycleW;j.animOut.left=k.cycleW});f.cssBefore.left=e;f.cssBefore.top=0;f.animIn.left=0;f.animOut.left=e};d.fn.cycle.transitions.blindY=function(g,i,f){var e=g.css("overflow","hidden").height();f.before.push(function(k,h,j){d.fn.cycle.commonReset(k,h,j);j.animIn.height=h.cycleH;j.animOut.top=k.cycleH});f.cssBefore.top=e;f.cssBefore.left=0;f.animIn.top=0;f.animOut.top=e};d.fn.cycle.transitions.blindZ=function(i,j,g){var f=i.css("overflow","hidden").height();var e=i.width();g.before.push(function(l,h,k){d.fn.cycle.commonReset(l,h,k);k.animIn.height=h.cycleH;k.animOut.top=l.cycleH});g.cssBefore.top=f;g.cssBefore.left=e;g.animIn.top=0;g.animIn.left=0;g.animOut.top=f;g.animOut.left=e};d.fn.cycle.transitions.growX=function(f,g,e){e.before.push(function(j,h,i){d.fn.cycle.commonReset(j,h,i,false,true);i.cssBefore.left=this.cycleW/2;i.animIn.left=0;i.animIn.width=this.cycleW;i.animOut.left=0});e.cssBefore.top=0;e.cssBefore.width=0};d.fn.cycle.transitions.growY=function(f,g,e){e.before.push(function(j,h,i){d.fn.cycle.commonReset(j,h,i,true,false);i.cssBefore.top=this.cycleH/2;i.animIn.top=0;i.animIn.height=this.cycleH;i.animOut.top=0});e.cssBefore.height=0;e.cssBefore.left=0};d.fn.cycle.transitions.curtainX=function(f,g,e){e.before.push(function(j,h,i){d.fn.cycle.commonReset(j,h,i,false,true,true);i.cssBefore.left=h.cycleW/2;i.animIn.left=0;i.animIn.width=this.cycleW;i.animOut.left=j.cycleW/2;i.animOut.width=0});e.cssBefore.top=0;e.cssBefore.width=0};d.fn.cycle.transitions.curtainY=function(f,g,e){e.before.push(function(j,h,i){d.fn.cycle.commonReset(j,h,i,true,false,true);i.cssBefore.top=h.cycleH/2;i.animIn.top=0;i.animIn.height=h.cycleH;i.animOut.top=j.cycleH/2;i.animOut.height=0});e.cssBefore.height=0;e.cssBefore.left=0};d.fn.cycle.transitions.cover=function(i,j,g){var k=g.direction||"left";var e=i.css("overflow","hidden").width();var f=i.height();g.before.push(function(m,h,l){d.fn.cycle.commonReset(m,h,l);if(k=="right"){l.cssBefore.left=-e}else{if(k=="up"){l.cssBefore.top=f}else{if(k=="down"){l.cssBefore.top=-f}else{l.cssBefore.left=e}}}});g.animIn.left=0;g.animIn.top=0;g.cssBefore.top=0;g.cssBefore.left=0};d.fn.cycle.transitions.uncover=function(i,j,g){var k=g.direction||"left";var e=i.css("overflow","hidden").width();var f=i.height();g.before.push(function(m,h,l){d.fn.cycle.commonReset(m,h,l,true,true,true);if(k=="right"){l.animOut.left=e}else{if(k=="up"){l.animOut.top=-f}else{if(k=="down"){l.animOut.top=f}else{l.animOut.left=-e}}}});g.animIn.left=0;g.animIn.top=0;g.cssBefore.top=0;g.cssBefore.left=0};d.fn.cycle.transitions.toss=function(i,j,g){var e=i.css("overflow","visible").width();var f=i.height();g.before.push(function(l,h,k){d.fn.cycle.commonReset(l,h,k,true,true,true);if(!k.animOut.left&&!k.animOut.top){d.extend(k.animOut,{left:e*2,top:-f/2,opacity:0})}else{k.animOut.opacity=0}});g.cssBefore.left=0;g.cssBefore.top=0;g.animIn.left=0};d.fn.cycle.transitions.wipe=function(u,n,f){var s=u.css("overflow","hidden").width();var k=u.height();f.cssBefore=f.cssBefore||{};var i;if(f.clip){if(/l2r/.test(f.clip)){i="rect(0px 0px "+k+"px 0px)"}else{if(/r2l/.test(f.clip)){i="rect(0px "+s+"px "+k+"px "+s+"px)"}else{if(/t2b/.test(f.clip)){i="rect(0px "+s+"px 0px 0px)"}else{if(/b2t/.test(f.clip)){i="rect("+k+"px "+s+"px "+k+"px 0px)"}else{if(/zoom/.test(f.clip)){var q=parseInt(k/2);var g=parseInt(s/2);i="rect("+q+"px "+g+"px "+q+"px "+g+"px)"}}}}}}f.cssBefore.clip=f.cssBefore.clip||i||"rect(0px 0px 0px 0px)";var m=f.cssBefore.clip.match(/(\d+)/g);var v=parseInt(m[0]),e=parseInt(m[1]),o=parseInt(m[2]),j=parseInt(m[3]);f.before.push(function(z,r,x){if(z==r){return}var l=d(z),h=d(r);d.fn.cycle.commonReset(z,r,x,true,true,false);x.cssAfter.display="block";var w=1,t=parseInt((x.speedIn/13))-1;(function y(){var B=v?v-parseInt(w*(v/t)):0;var C=j?j-parseInt(w*(j/t)):0;var D=o<k?o+parseInt(w*((k-o)/t||1)):k;var A=e<s?e+parseInt(w*((s-e)/t||1)):s;h.css({clip:"rect("+B+"px "+A+"px "+D+"px "+C+"px)"});(w++<=t)?setTimeout(y,13):l.css("display","none")})()});d.extend(f.cssBefore,{display:"block",opacity:1,top:0,left:0});f.animIn={left:0};f.animOut={left:0}}})(c);b(document).ready(function(){var d=b("#stacks_in_56_page0").css("border-bottom-style");if(d){var g=b("#stacks_in_56_page0").css("border-bottom-color");var o=b("#stacks_in_56_page0").css("border-top-width");var n=b("#stacks_in_56_page0").css("border-right-width");var l=b("#stacks_in_56_page0").css("border-bottom-width");var h=b("#stacks_in_56_page0").css("border-left-width");b("#stacks_in_56_page0").css({"border-width":0});b("#stacks_in_56_page0 .cycler_reel").css({"border-style":d,"border-color":g,"border-top-width":o,"border-right-width":n,"border-bottom-width":l,"border-left-width":h})}var k=b("#nav_normal_stacks_in_56_page0 img").attr("src");var e=b("#nav_active_stacks_in_56_page0 img").attr("src");var i=b("#nav_hover_stacks_in_56_page0 img").attr("src");updateNavigation=function(r,t,s){b(r).each(function(){b(this).children().removeClass(s).eq(t).addClass(s)});var v=b("#nav_normal_stacks_in_56_page0 img").attr("src");if(v){var u=b("#nav_active_stacks_in_56_page0 img").attr("src");b("#stacks_in_56_page0 .nav_bullet a").css("background-image","url("+v+")");b("#stacks_in_56_page0 .nav_bullet a.activeSlide").css("background-image","url("+u+")")}};b("#stacks_in_56_page0 .cycler_reel").cycle({fx:"fade",timeout:14318,timeoutFn:null,continuous:0,speed:2321,speedIn:null,speedOut:null,next:"#stacks_in_56_page0 .next_pager",prev:"#stacks_in_56_page0 .prev_pager",onPrevNextEvent:null,prevNextEvent:"click.cycle",pager:"#cycler_nav_bottom_stacks_in_56_page0",onPagerEvent:null,pagerEvent:"click.cycle",allowPagerClickBubble:false,pagerAnchorBuilder:null,before:null,after:null,end:null,easing:null,easeIn:null,easeOut:null,shuffle:null,animIn:null,animOut:null,cssBefore:null,cssAfter:null,fxFn:null,height:"425px",startingSlide:0,sync:1,random:0,fit:0,containerResize:1,pause:1,pauseOnPagerHover:true,autostop:0,autostopCount:0,delay:0,slideExpr:null,cleartype:!b.support.opacity,cleartypeNoBg:false,nowrap:0,fastOnEvent:0,randomizeEffects:1,rev:true,manualTrump:true,requeueOnImageNotLoaded:true,requeueTimeout:250,activePagerClass:"activeSlide",updateActivePagerLink:updateNavigation,backwards:false});var j=b("#nav_next_stacks_in_56_page0 img").attr("src");if(j){b("#stacks_in_56_page0 .next_pager").height(b("#nav_next_stacks_in_56_page0 img").height());b("#stacks_in_56_page0 .next_pager").width(b("#nav_next_stacks_in_56_page0 img").width());b("#stacks_in_56_page0 .next_pager").css("background-image","url("+j+")")}var f=b("#nav_prev_stacks_in_56_page0 img").attr("src");if(f){b("#stacks_in_56_page0 .prev_pager").height(b("#nav_prev_stacks_in_56_page0 img").height());b("#stacks_in_56_page0 .prev_pager").width(b("#nav_prev_stacks_in_56_page0 img").width());b("#stacks_in_56_page0 .prev_pager").css("background-image","url("+f+")")}var k=b("#nav_normal_stacks_in_56_page0 img").attr("src");if(k){var m=b("#nav_normal_stacks_in_56_page0 img").height();var q=b("#nav_normal_stacks_in_56_page0 img").width();b("#stacks_in_56_page0 .nav_bullet").height(m);b("#stacks_in_56_page0 .nav_bullet a").height(m);b("#stacks_in_56_page0 .nav_bullet a").width(q);var e=b("#nav_active_stacks_in_56_page0 img").attr("src");var i=b("#nav_hover_stacks_in_56_page0 img").attr("src");b("#stacks_in_56_page0 .nav_bullet a").css("background-image","url("+k+")");b("#stacks_in_56_page0 .nav_bullet a.activeSlide").css("background-image","url("+e+")");if(i){b("#stacks_in_56_page0 .nav_bullet a").hover(function(){if(b(this).attr("class")!="activeSlide"){b(this).css("background-image","url("+i+")")}},function(){if(b(this).attr("class")!="activeSlide"){b(this).css("background-image","url("+k+")")}})}}});return a})(stacks.stacks_in_56_page0);stacks.stacks_in_86_page0={};stacks.stacks_in_86_page0=(function(a){var c=stacks.jQuery;var b=c;b(document).ready(function(){b("#stacks_in_86_page0 .atmScrollPane").jScrollPane({verticalDragMinHeight:40,verticalDragMaxHeight:40,horizontalDragMinWidth:40,horizontalDragMaxWidth:40,showArrows:false})});return a})(stacks.stacks_in_86_page0);stacks.stacks_in_102_page0={};stacks.stacks_in_102_page0=(function(a){var e=stacks.jQuery;var d=e;var c=15;var b=function(){if(typeof(e)=="undefined"||typeof(e)!="function"||e("*")===null){if(c-->0){setTimeout(b,1)}return}};b();/*! Copyright(c)2010 Brandon Aaron(http://brandonaaron.net)*Licensed under the MIT License(LICENSE.txt).**Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.*Thanks to: Mathias Bank(http://www.mathias-bank.de)for a scope bug fix.*Thanks to: Seamus Leahy for adding deltaX and deltaY**Version: 3.0.4**Requires: 1.2.2+*/(function(h){var f=["DOMMouseScroll","mousewheel"];h.event.special.mousewheel={setup:function(){if(this.addEventListener){for(var j=f.length;j;){this.addEventListener(f[--j],g,false)}}else{this.onmousewheel=g}},teardown:function(){if(this.removeEventListener){for(var j=f.length;j;){this.removeEventListener(f[--j],g,false)}}else{this.onmousewheel=null}}};h.fn.extend({mousewheel:function(i){return i?this.bind("mousewheel",i):this.trigger("mousewheel")},unmousewheel:function(i){return this.unbind("mousewheel",i)}});function g(n){var l=n||window.event,k=[].slice.call(arguments,1),o=0,m=true,j=0,i=0;n=h.event.fix(l);n.type="mousewheel";if(n.wheelDelta){o=n.wheelDelta/120}if(n.detail){o=-n.detail/3}i=o;if(l.axis!==undefined&&l.axis===l.HORIZONTAL_AXIS){i=0;j=-1*o}if(l.wheelDeltaY!==undefined){i=l.wheelDeltaY/2700}if(l.wheelDeltaX!==undefined){j=-1*l.wheelDeltaX/2700}k.unshift(n,o,j,i);return h.event.handle.apply(this,k)}})(e);(function(h){var g={pos:[-260,-260]},i=3,m=document,l=m.documentElement,j=m.body,f,n;function k(){if(this===g.elem){g.pos=[-260,-260];g.elem=false;i=3}}h.event.special.mwheelIntent={setup:function(){var o=h(this).bind("mousewheel",h.event.special.mwheelIntent.handler);if(this!==m&&this!==l&&this!==j){o.bind("mouseleave",k)}o=null;return true},teardown:function(){h(this).unbind("mousewheel",h.event.special.mwheelIntent.handler).unbind("mouseleave",k);return true},handler:function(o,q){var r=[o.clientX,o.clientY];if(this===g.elem||Math.abs(g.pos[0]-r[0])>i||Math.abs(g.pos[1]-r[1])>i){g.elem=this;g.pos=r;i=250;clearTimeout(n);n=setTimeout(function(){i=10},200);clearTimeout(f);f=setTimeout(function(){i=3},1500);o=h.extend({},o,{type:"mwheelIntent"});return h.event.handle.apply(this,arguments)}}};h.fn.extend({mwheelIntent:function(o){return o?this.bind("mwheelIntent",o):this.trigger("mwheelIntent")},unmwheelIntent:function(o){return this.unbind("mwheelIntent",o)}});h(function(){j=m.body;h(m).bind("mwheelIntent.mwheelIntentDefault",h.noop)})})(e);(function(f,g,h){f.fn.jScrollPane=function(i){function k(bq,bb){var bp,a9=this,a1,bE,aI,bC,a6,a0,aF,aM,bn,bP,bw,aU,bg,aV,aT,aZ,a5,bA,a2,aK,bt,bz,bJ,bB,bk,aR,bx,br,aG,bv,bM,aW,bQ,bF=true,ba=true,bN=false,aS=false,aX=f.fn.mwheelIntent?"mwheelIntent.jsp":"mousewheel.jsp";bM=bq.css("paddingTop")+" "+bq.css("paddingRight")+" "+bq.css("paddingBottom")+" "+bq.css("paddingLeft");aW=(parseInt(bq.css("paddingLeft"))||0)+(parseInt(bq.css("paddingRight"))||0);by(bb);function by(l){var o,q,r,m,n,t;bp=l;if(a1==h){bq.css({overflow:"hidden",padding:0});bE=bq.innerWidth()+aW;aI=bq.innerHeight();bq.width(bE);a1=f('<div class="jspPane" />').wrap(f('<div class="jspContainer" />').css({width:bE+"px",height:aI+"px"}));bq.wrapInner(a1.parent());bC=bq.find(">.jspContainer");a1=bC.find(">.jspPane");a1.css("padding",bM)}else{bq.css("width","");t=bq.outerWidth()+aW!=bE||bq.outerHeight()!=aI;if(t){bE=bq.innerWidth()+aW;aI=bq.innerHeight();bC.css({width:bE+"px",height:aI+"px"})}bQ=a1.innerWidth();if(!t&&a1.outerWidth()==a6&&a1.outerHeight()==a0){if(bP||bn){a1.css("width",bQ+"px");bq.css("width",(bQ+aW)+"px")}return}a1.css("width","");bq.css("width",(bE)+"px");bC.find(">.jspVerticalBar,>.jspHorizontalBar").remove().end()}o=a1.clone().css("position","absolute");q=f('<div style="width:1px; position: relative;" />').append(o);f("body").append(q);a6=Math.max(a1.outerWidth(),o.outerWidth());q.remove();a0=a1.outerHeight();aF=a6/bE;aM=a0/aI;bn=aM>1;bP=aF>1;if(!(bP||bn)){bq.removeClass("jspScrollable");a1.css({top:0,width:bC.width()-aW});aP();bo();a8();aH();bG()}else{bq.addClass("jspScrollable");r=bp.maintainPosition&&(bg||aZ);if(r){m=bh();n=bl()}bO();s();bm();if(r){bc(m);bd(n)}be();bI();if(bp.enableKeyboardNavigation){a7()}if(bp.clickOnTrack){aN()}bs();if(bp.hijackInternalLinks){aQ()}}if(bp.autoReinitialise&&!bv){bv=setInterval(function(){by(bp)},bp.autoReinitialiseDelay)}else{if(!bp.autoReinitialise&&bv){clearInterval(bv)}}bq.trigger("jsp-initialised",[bP||bn])}function bO(){if(bn){bC.append(f('<div class="jspVerticalBar" />').append(f('<div class="jspCap jspCapTop" />'),f('<div class="jspTrack" />').append(f('<div class="jspDrag" />').append(f('<div class="jspDragTop" />'),f('<div class="jspDragBottom" />'))),f('<div class="jspCap jspCapBottom" />')));a5=bC.find(">.jspVerticalBar");bA=a5.find(">.jspTrack");bw=bA.find(">.jspDrag");if(bp.showArrows){bz=f('<a class="jspArrow jspArrowUp" />').bind("mousedown.jsp",bf(0,-1)).bind("click.jsp",bj);bJ=f('<a class="jspArrow jspArrowDown" />').bind("mousedown.jsp",bf(0,1)).bind("click.jsp",bj);if(bp.arrowScrollOnHover){bz.bind("mouseover.jsp",bf(0,-1,bz));bJ.bind("mouseover.jsp",bf(0,1,bJ))}bD(bA,bp.verticalArrowPositions,bz,bJ)}aK=aI;bC.find(">.jspVerticalBar>.jspCap:visible,>.jspVerticalBar>.jspArrow").each(function(){aK-=f(this).outerHeight()});bw.hover(function(){bw.addClass("jspHover")},function(){bw.removeClass("jspHover")}).bind("mousedown.jsp",function(l){f("html").bind("dragstart.jsp selectstart.jsp",function(){return false});bw.addClass("jspActive");var m=l.pageY-bw.position().top;f("html").bind("mousemove.jsp",function(n){a4(n.pageY-m,false)}).bind("mouseup.jsp mouseleave.jsp",bu);return false});aO()}}function aO(){bA.height(aK+"px");bg=0;a2=bp.verticalGutter+bA.outerWidth();a1.width(bE-a2-aW);if(a5.position().left==0){a1.css("margin-left",a2+"px")}}function s(){if(bP){bC.append(f('<div class="jspHorizontalBar" />').append(f('<div class="jspCap jspCapLeft" />'),f('<div class="jspTrack" />').append(f('<div class="jspDrag" />').append(f('<div class="jspDragLeft" />'),f('<div class="jspDragRight" />'))),f('<div class="jspCap jspCapRight" />')));bB=bC.find(">.jspHorizontalBar");bk=bB.find(">.jspTrack");aV=bk.find(">.jspDrag");if(bp.showArrows){br=f('<a class="jspArrow jspArrowLeft" />').bind("mousedown.jsp",bf(-1,0)).bind("click.jsp",bj);aG=f('<a class="jspArrow jspArrowRight" />').bind("mousedown.jsp",bf(1,0)).bind("click.jsp",bj);if(bp.arrowScrollOnHover){br.bind("mouseover.jsp",bf(-1,0,br));aG.bind("mouseover.jsp",bf(1,0,aG))}bD(bk,bp.horizontalArrowPositions,br,aG)}aV.hover(function(){aV.addClass("jspHover")},function(){aV.removeClass("jspHover")}).bind("mousedown.jsp",function(l){f("html").bind("dragstart.jsp selectstart.jsp",function(){return false});aV.addClass("jspActive");var m=l.pageX-aV.position().left;f("html").bind("mousemove.jsp",function(n){a3(n.pageX-m,false)}).bind("mouseup.jsp mouseleave.jsp",bu);return false});aR=bC.innerWidth();bH()}else{}}function bH(){bC.find(">.jspHorizontalBar>.jspCap:visible,>.jspHorizontalBar>.jspArrow").each(function(){aR-=f(this).outerWidth()});bk.width(aR+"px");aZ=0}function bm(){if(bP&&bn){var l=bk.outerHeight(),m=bA.outerWidth();aK-=l;f(bB).find(">.jspCap:visible,>.jspArrow").each(function(){aR+=f(this).outerWidth()});aR-=m;aI-=m;bE-=l;bk.parent().append(f('<div class="jspCorner" />').css("width",l+"px"));aO();bH()}if(bP){a1.width((bC.outerWidth()-aW)+"px")}a0=a1.outerHeight();aM=a0/aI;if(bP){bx=1/aF*aR;if(bx>bp.horizontalDragMaxWidth){bx=bp.horizontalDragMaxWidth}else{if(bx<bp.horizontalDragMinWidth){bx=bp.horizontalDragMinWidth}}aV.width(bx+"px");aT=aR-bx;bK(aZ)}if(bn){bt=1/aM*aK;if(bt>bp.verticalDragMaxHeight){bt=bp.verticalDragMaxHeight}else{if(bt<bp.verticalDragMinHeight){bt=bp.verticalDragMinHeight}}bw.height(bt+"px");aU=aK-bt;bL(bg)}}function bD(m,t,n,o){var q="before",l="after",r;if(t=="os"){t=/Mac/.test(navigator.platform)?"after":"split"}if(t==q){l=t}else{if(t==l){q=t;r=n;n=o;o=r}}m[q](n)[l](o)}function bf(m,n,l){return function(){bi(m,n,this,l);this.blur();return false}}function bi(l,n,q,r){q=f(q).addClass("jspActive");var t,o=function(){if(l!=0){a3(aZ+l*bp.arrowButtonSpeed,false)}if(n!=0){a4(bg+n*bp.arrowButtonSpeed,false)}},m=setInterval(o,bp.arrowRepeatFreq);o();t=r==h?"mouseup.jsp":"mouseout.jsp";r=r||f("html");r.bind(t,function(){q.removeClass("jspActive");clearInterval(m);r.unbind(t)})}function aN(){aH();if(bn){bA.bind("mousedown.jsp",function(l){if(l.originalTarget==h||l.originalTarget==l.currentTarget){var m=f(this),o=setInterval(function(){var r=m.offset(),q=l.pageY-r.top;if(bg+bt<q){a4(bg+bp.trackClickSpeed)}else{if(q<bg){a4(bg-bp.trackClickSpeed)}else{n()}}},bp.trackClickRepeatFreq),n=function(){o&&clearInterval(o);o=null;f(document).unbind("mouseup.jsp",n)};f(document).bind("mouseup.jsp",n);return false}})}if(bP){bk.bind("mousedown.jsp",function(l){if(l.originalTarget==h||l.originalTarget==l.currentTarget){var m=f(this),o=setInterval(function(){var r=m.offset(),q=l.pageX-r.left;if(aZ+bx<q){a3(aZ+bp.trackClickSpeed)}else{if(q<aZ){a3(aZ-bp.trackClickSpeed)}else{n()}}},bp.trackClickRepeatFreq),n=function(){o&&clearInterval(o);o=null;f(document).unbind("mouseup.jsp",n)};f(document).bind("mouseup.jsp",n);return false}})}}function aH(){bk&&bk.unbind("mousedown.jsp");bA&&bA.unbind("mousedown.jsp")}function bu(){f("html").unbind("dragstart.jsp selectstart.jsp mousemove.jsp mouseup.jsp mouseleave.jsp");bw&&bw.removeClass("jspActive");aV&&aV.removeClass("jspActive")}function a4(m,l){if(!bn){return}if(m<0){m=0}else{if(m>aU){m=aU}}if(l==h){l=bp.animateScroll}if(l){a9.animate(bw,"top",m,bL)}else{bw.css("top",m);bL(m)}}function bL(n){if(n==h){n=bw.position().top}bC.scrollTop(0);bg=n;var q=bg==0,m=bg==aU,l=n/aU,o=-l*(a0-aI);if(bF!=q||bN!=m){bF=q;bN=m;bq.trigger("jsp-arrow-change",[bF,bN,ba,aS])}aJ(q,m);a1.css("top",o);bq.trigger("jsp-scroll-y",[-o,q,m])}function a3(l,m){if(!bP){return}if(l<0){l=0}else{if(l>aT){l=aT}}if(m==h){m=bp.animateScroll}if(m){a9.animate(aV,"left",l,bK)}else{aV.css("left",l);bK(l)}}function bK(n){if(n==h){n=aV.position().left}bC.scrollTop(0);aZ=n;var q=aZ==0,l=aZ==aT,m=n/aT,o=-m*(a6-bE);if(ba!=q||aS!=l){ba=q;aS=l;bq.trigger("jsp-arrow-change",[bF,bN,ba,aS])}aL(q,l);a1.css("left",o);bq.trigger("jsp-scroll-x",[-o,q,l])}function aJ(l,m){if(bp.showArrows){bz[l?"addClass":"removeClass"]("jspDisabled");bJ[m?"addClass":"removeClass"]("jspDisabled")}}function aL(l,m){if(bp.showArrows){br[l?"addClass":"removeClass"]("jspDisabled");aG[m?"addClass":"removeClass"]("jspDisabled")}}function bd(n,m){var l=n/(a0-aI);a4(l*aU,m)}function bc(m,n){var l=m/(a6-bE);a3(l*aT,n)}function aY(r,x,o){var z,n,m,A=0,t=0,q,y,v,w,u;try{z=f(r)}catch(l){return}n=z.outerHeight();m=z.outerWidth();bC.scrollTop(0);bC.scrollLeft(0);while(!z.is(".jspPane")){A+=z.position().top;t+=z.position().left;z=z.offsetParent();if(/^body|html$/i.test(z[0].nodeName)){return}}q=bl();y=q+aI;if(A<q||x){w=A-bp.verticalGutter}else{if(A+n>y){w=A-aI+n+bp.verticalGutter}}if(w){bd(w,o)}viewportLeft=bh();v=viewportLeft+bE;if(t<viewportLeft||x){u=t-bp.horizontalGutter}else{if(t+m>v){u=t-bE+m+bp.horizontalGutter}}if(u){bc(u,o)}}function bh(){return-a1.position().left}function bl(){return-a1.position().top}function bI(){bC.unbind(aX).bind(aX,function(r,q,l,n){var m=aZ,o=bg;a3(aZ+l*bp.mouseWheelSpeed,false);a4(bg-n*bp.mouseWheelSpeed,false);return m==aZ&&o==bg})}function aP(){bC.unbind(aX)}function bj(){return false}function be(){a1.unbind("focusin.jsp").bind("focusin.jsp",function(l){if(l.target===a1[0]){return}aY(l.target,false)})}function bo(){a1.unbind("focusin.jsp")}function a7(){var l,m;bq.attr("tabindex",0).unbind("keydown.jsp").bind("keydown.jsp",function(q){if(q.target!==bq[0]){return}var n=aZ,o=bg,r=l?2:16;switch(q.keyCode){case 40:a4(bg+r,false);break;case 38:a4(bg-r,false);break;case 34:case 32:bd(bl()+Math.max(32,aI)-16);break;case 33:bd(bl()-aI+16);break;case 35:bd(a0-aI);break;case 36:bd(0);break;case 39:a3(aZ+r,false);break;case 37:a3(aZ-r,false);break}if(!(n==aZ&&o==bg)){l=true;clearTimeout(m);m=setTimeout(function(){l=false},260);return false}});if(bp.hideFocus){bq.css("outline","none");if("hideFocus" in bC[0]){bq.attr("hideFocus",true)}}else{bq.css("outline","");if("hideFocus" in bC[0]){bq.attr("hideFocus",false)}}}function a8(){bq.attr("tabindex","-1").removeAttr("tabindex").unbind("keydown.jsp")}function bs(){if(location.hash&&location.hash.length>1){var l,m;try{l=f(location.hash)}catch(n){return}if(l.length&&a1.find(l)){if(bC.scrollTop()==0){m=setInterval(function(){if(bC.scrollTop()>0){aY(location.hash,true);f(document).scrollTop(bC.position().top);clearInterval(m)}},50)}else{aY(location.hash,true);f(document).scrollTop(bC.position().top)}}}}function bG(){f("a.jspHijack").unbind("click.jsp-hijack").removeClass("jspHijack")}function aQ(){bG();f("a[href^=#]").addClass("jspHijack").bind("click.jsp-hijack",function(){var m=this.href.split("#"),l;if(m.length>1){l=m[1];if(l.length>0&&a1.find("#"+l).length>0){aY("#"+l,true);return false}}})}f.extend(a9,{reinitialise:function(l){l=f.extend({},l,bp);by(l)},scrollToElement:function(l,m,n){aY(l,m,n)},scrollTo:function(l,n,m){bc(l,m);bd(n,m)},scrollToX:function(l,m){bc(l,m)},scrollToY:function(m,l){bd(m,l)},scrollBy:function(m,n,l){a9.scrollByX(m,l);a9.scrollByY(n,l)},scrollByX:function(o,m){var n=bh()+o,l=n/(a6-bE);a3(l*aT,m)},scrollByY:function(o,m){var n=bl()+o,l=n/(a0-aI);a4(l*aU,m)},animate:function(n,q,o,l){var m={};m[q]=o;n.animate(m,{duration:bp.animateDuration,ease:bp.animateEase,queue:false,step:l})},getContentPositionX:function(){return bh()},getContentPositionY:function(){return bl()},getIsScrollableH:function(){return bP},getIsScrollableV:function(){return bn},getContentPane:function(){return a1},scrollToBottom:function(l){a4(aU,l)},hijackInternalLinks:function(){aQ()}})}i=f.extend({},f.fn.jScrollPane.defaults,i);var j;this.each(function(){var m=f(this),l=m.data("jsp");if(l){l.reinitialise(i)}else{l=new k(m,i);m.data("jsp",l)}j=j?j.add(m):m});return j};f.fn.jScrollPane.defaults={showArrows:false,maintainPosition:true,clickOnTrack:true,autoReinitialise:false,autoReinitialiseDelay:2000,verticalDragMinHeight:0,verticalDragMaxHeight:99999,horizontalDragMinWidth:0,horizontalDragMaxWidth:99999,animateScroll:false,animateDuration:300,animateEase:"linear",hijackInternalLinks:false,verticalGutter:10,horizontalGutter:10,mouseWheelSpeed:10,arrowButtonSpeed:10,arrowRepeatFreq:100,arrowScrollOnHover:true,trackClickSpeed:30,trackClickRepeatFreq:100,verticalArrowPositions:"split",horizontalArrowPositions:"split",enableKeyboardNavigation:true,hideFocus:false}})(e,this);if(false){document.write("<style type='text/css'>.atmScrollPane {display: none;}</style>");d(document).ready(function(){d(".atmScrollPane").fadeIn(2000)})}return a})(stacks.stacks_in_102_page0);
