/* slidesjs 3.0.4 http://slidesjs.com (c) 2013 by nathan searles http://nathansearles.com updated: june 26th, 2013 apache license: http://www.apache.org/licenses/license-2.0 */ (function(){(function(e,t,n){var r,i,s;s="slidesjs";i={width:940,height:528,start:1,navigation:{active:!0,effect:"slide"},pagination:{active:!0,effect:"slide"},play:{active:!1,effect:"slide",interval:5e3,auto:!1,swap:!0,pauseonhover:!1,restartdelay:2500},effect:{slide:{speed:500},fade:{speed:300,crossfade:!0}},callback:{loaded:function(){},start:function(){},complete:function(){}}};r=function(){function t(t,n){this.element=t;this.options=e.extend(!0,{},i,n);this._defaults=i;this._name=s;this.init()}return t}();r.prototype.init=function(){var n,r,i,s,o,u,a=this;n=e(this.element);this.data=e.data(this);e.data(this,"animating",!1);e.data(this,"total",n.children().not(".slidesjs-navigation",n).length);e.data(this,"current",this.options.start-1);e.data(this,"vendorprefix",this._getvendorprefix());if(typeof touchevent!="undefined"){e.data(this,"touch",!0);this.options.effect.slide.speed=this.options.effect.slide.speed/2}n.css({overflow:"hidden"});n.slidescontainer=n.children().not(".slidesjs-navigation",n).wrapall("
",n).parent().css({overflow:"hidden",position:"relative"});e(".slidesjs-container",n).wrapinner("
",n).children();e(".slidesjs-control",n).css({position:"relative",left:0});e(".slidesjs-control",n).children().addclass("slidesjs-slide").css({position:"absolute",top:0,left:0,width:"100%",zindex:0,display:"none",webkitbackfacevisibility:"hidden"});e.each(e(".slidesjs-control",n).children(),function(t){var n;n=e(this);return n.attr("slidesjs-index",t)});if(this.data.touch){e(".slidesjs-control",n).on("touchstart",function(e){return a._touchstart(e)});e(".slidesjs-control",n).on("touchmove",function(e){return a._touchmove(e)});e(".slidesjs-control",n).on("touchend",function(e){return a._touchend(e)})}n.fadein(0);this.update();this.data.touch&&this._setuptouch();e(".slidesjs-control",n).children(":eq("+this.data.current+")").eq(0).fadein(0,function(){return e(this).css({zindex:10})});if(this.options.navigation.active){o=e("",{"class":"slidesjs-previous slidesjs-navigation",href:"#",title:"previous",text:"previous"}).appendto(n);r=e("",{"class":"slidesjs-next slidesjs-navigation",href:"#",title:"next",text:"next"}).appendto(n)}e(".slidesjs-next",n).click(function(e){e.preventdefault();a.stop(!0);return a.next(a.options.navigation.effect)});e(".slidesjs-previous",n).click(function(e){e.preventdefault();a.stop(!0);return a.previous(a.options.navigation.effect)});if(this.options.play.active){s=e("",{"class":"slidesjs-play slidesjs-navigation",href:"#",title:"play",text:"play"}).appendto(n);u=e("",{"class":"slidesjs-stop slidesjs-navigation",href:"#",title:"stop",text:"stop"}).appendto(n);s.click(function(e){e.preventdefault();return a.play(!0)});u.click(function(e){e.preventdefault();return a.stop(!0)});this.options.play.swap&&u.css({display:"none"})}if(this.options.pagination.active){i=e("