/*! jquery-scrollchaser - v0.0.6 - 2013-11-11 */!function(a){"use strict";var b=a(window),c=50,d=function(a,b,c){var d=0;return function(){var e,f;return e=new Date,f=c-(e-d),0>=f?(d=e,a.apply(b,arguments)):void 0}},e=0,f=function(a){var b=(e++).toString();return function(){return this.cache[b]||(this.cache[b]=a.apply(this)),this.cache[b]}},g=function(){function e(c,e){this.$el=c,this.$el.css({width:this.$el.width()}),this.$wrapper=e.wrapper,"static"===this.$wrapper.css("position")&&this.$wrapper.css("position","relative"),this.sentinel=a("
").css({position:e.ignore?"absolute":"relative",top:0,height:0}),this.$el.before(this.sentinel),this.offsetTop=e.offsetTop||0,this.offsetBottom=e.offsetBottom||0,this.position=e.position||"top",this.ignore=e.ignore,this.ignore&&this.$el.css({position:"absolute",top:0}),this.handler=d("bottom"==this.position?this.onScrollBottom:this.onScrollTop,this,e.throttle||10),b.on("scroll",this.handler),b.on("resize",this.handler),this.handler()}return a.extend(e.prototype,{state:"top",same:!1,onScrollTop:function(){if(this.cache={},!this.ignore&&(this.same||"top"===this.state&&this.isSameHeight()))return this.same=!0,void 0;var a,b=this.getScrollTop()+this.offsetTop;a=bthis.getSentinelBottom()?"bottom":"fixed",(this.state!==a||"fixed"!==a)&&this.transferTo(a)},onScrollBottom:function(){if(this.cache={},!this.ignore&&(this.same||"top"===this.state&&this.isSameHeight()))return this.same=!0,void 0;var a,c;c=this.getScrollTop()+b.height(),a=c>this.getSentinelBottom()?"bottom":c-this.getOuterHeight()