/*** * bxslider v4.2.3 - fully loaded, responsive content slider * http://bxslider.com * * copyright 2014, steven wanderski - http://stevenwanderski.com - http://bxcreative.com * written while drinking belgian ales and listening to jazz * * released under the mit license - http://opensource.org/licenses/mit ***/ !function(e){var t={mode:"horizontal",slideselector:"",infiniteloop:!0,hidecontrolonend:!1,speed:500,easing:null,slidemargin:0,startslide:0,randomstart:!1,captions:!1,ticker:!1,tickerhover:!1,adaptiveheight:!1,adaptiveheightspeed:500,video:!1,usecss:!0,preloadimages:"visible",responsive:!0,slidezindex:50,wrapperclass:"bx-wrapper",touchenabled:!0,swipethreshold:50,onetoonetouch:!0,preventdefaultswipex:!0,preventdefaultswipey:!1,keyboardenabled:!1,pager:!0,pagertype:"full",pagershortseparator:" / ",pagerselector:null,buildpager:null,pagercustom:null,controls:!0,nexttext:"next",prevtext:"prev",nextselector:null,prevselector:null,autocontrols:!1,starttext:"start",stoptext:"stop",autocontrolscombine:!1,autocontrolsselector:null,auto:!1,pause:4e3,autostart:!0,autodirection:"next",autohover:!1,autodelay:0,autoslideforonepage:!1,minslides:1,maxslides:1,moveslides:0,slidewidth:0,onsliderload:function(){return!0},onslidebefore:function(){return!0},onslideafter:function(){return!0},onslidenext:function(){return!0},onslideprev:function(){return!0},onsliderresize:function(){return!0}};e.fn.bxslider=function(n){if(0===this.length)return this;if(this.length>1)return this.each(function(){e(this).bxslider(n)}),this;var s={},o=this,r=e(window).width(),a=e(window).height(),l=function(){s.settings=e.extend({},t,n),s.settings.slidewidth=parseint(s.settings.slidewidth),s.children=o.children(s.settings.slideselector),s.children.length1||s.settings.maxslides>1?!0:!1,s.carousel&&(s.settings.preloadimages="all"),s.minthreshold=s.settings.minslides*s.settings.slidewidth+(s.settings.minslides-1)*s.settings.slidemargin,s.maxthreshold=s.settings.maxslides*s.settings.slidewidth+(s.settings.maxslides-1)*s.settings.slidemargin,s.working=!1,s.controls={},s.interval=null,s.animprop="vertical"===s.settings.mode?"top":"left",s.usingcss=s.settings.usecss&&"fade"!==s.settings.mode&&function(){var e=document.createelement("div"),t=["webkitperspective","mozperspective","operspective","msperspective"];for(var i in t)if(void 0!==e.style[t[i]])return s.cssprefix=t[i].replace("perspective","").tolowercase(),s.animprop="-"+s.cssprefix+"-transform",!0;return!1}(),"vertical"===s.settings.mode&&(s.settings.maxslides=s.settings.minslides),o.data("origstyle",o.attr("style")),o.children(s.settings.slideselector).each(function(){e(this).data("origstyle",e(this).attr("style"))}),d()},d=function(){o.wrap('
'),s.viewport=o.parent(),s.loader=e('
'),s.viewport.prepend(s.loader),o.css({width:"horizontal"===s.settings.mode?1e3*s.children.length+215+"%":"auto",position:"absolute"}),s.usingcss&&s.settings.easing?o.css("-"+s.cssprefix+"-transition-timing-function",s.settings.easing):s.settings.easing||(s.settings.easing="swing");v();s.viewport.css({width:"100%",overflow:"hidden",position:"relative"}),s.viewport.parent().css({maxwidth:u()}),s.settings.pager||s.settings.controls||s.viewport.parent().css({margin:"0 auto 0px"}),s.children.css({"float":"horizontal"===s.settings.mode?"left":"none",liststyle:"none",position:"relative"}),s.children.css("width",h()),"horizontal"===s.settings.mode&&s.settings.slidemargin>0&&s.children.css("marginright",s.settings.slidemargin),"vertical"===s.settings.mode&&s.settings.slidemargin>0&&s.children.css("marginbottom",s.settings.slidemargin),"fade"===s.settings.mode&&(s.children.css({position:"absolute",zindex:0,display:"none"}),s.children.eq(s.settings.startslide).css({zindex:s.settings.slidezindex,display:"block"})),s.controls.el=e('
'),s.settings.captions&&p(),s.active.last=s.settings.startslide===f()-1,s.settings.video&&o.fitvids();var t=s.children.eq(s.settings.startslide);("all"===s.settings.preloadimages||s.settings.ticker)&&(t=s.children),s.settings.ticker?s.settings.pager=!1:(s.settings.controls&&c(),s.settings.auto&&s.settings.autocontrols&&t(),s.settings.pager&&w(),(s.settings.controls||s.settings.autocontrols||s.settings.pager)&&s.viewport.after(s.controls.el)),c(t,g)},c=function(t,i){var n=t.find('img:not([src=""]), iframe').length;if(0===n)return void i();var s=0;t.find('img:not([src=""]), iframe').each(function(){e(this).one("load error",function(){++s===n&&i()}).each(function(){this.complete&&e(this).load()})})},g=function(){if(s.settings.infiniteloop&&"fade"!==s.settings.mode&&!s.settings.ticker){var t="vertical"===s.settings.mode?s.settings.minslides:s.settings.maxslides,i=s.children.slice(0,t).clone(!0).addclass("bx-clone"),n=s.children.slice(-t).clone(!0).addclass("bx-clone");o.append(i).prepend(n)}s.loader.remove(),m(),"vertical"===s.settings.mode&&(s.settings.adaptiveheight=!0),s.viewport.height(p()),o.redrawslider(),s.settings.onsliderload(s,s.active.index),s.initialized=!0,s.settings.responsive&&e(window).bind("resize",z),s.settings.auto&&s.settings.autostart&&(f()>1||s.settings.autoslideforonepage)&&a(),s.settings.ticker&&h(),s.settings.pager&&i(s.settings.startslide),s.settings.controls&&w(),s.settings.touchenabled&&!s.settings.ticker&&o(),s.settings.keyboardenabled&&!s.settings.ticker&&e(document).keydown(n)},p=function(){var t=0,n=e();if("vertical"===s.settings.mode||s.settings.adaptiveheight)if(s.carousel){var o=1===s.settings.moveslides?s.active.index:s.active.index*x();for(n=s.children.eq(o),i=1;i<=s.settings.maxslides-1;i++)n=n.add(o+i>=s.children.length?s.children.eq(i-1):s.children.eq(o+i))}else n=s.children.eq(s.active.index);else n=s.children;return"vertical"===s.settings.mode?(n.each(function(){t+=e(this).outerheight()}),s.settings.slidemargin>0&&(t+=s.settings.slidemargin*(s.settings.minslides-1))):t=math.max.apply(math,n.map(function(){return e(this).outerheight(!1)}).get()),"border-box"===s.viewport.css("box-sizing")?t+=parsefloat(s.viewport.css("padding-top"))+parsefloat(s.viewport.css("padding-bottom"))+parsefloat(s.viewport.css("border-top-width"))+parsefloat(s.viewport.css("border-bottom-width")):"padding-box"===s.viewport.css("box-sizing")&&(t+=parsefloat(s.viewport.css("padding-top"))+parsefloat(s.viewport.css("padding-bottom"))),t},u=function(){var e="100%";return s.settings.slidewidth>0&&(e="horizontal"===s.settings.mode?s.settings.maxslides*s.settings.slidewidth+(s.settings.maxslides-1)*s.settings.slidemargin:s.settings.slidewidth),e},h=function(){var e=s.settings.slidewidth,t=s.viewport.width();return 0===s.settings.slidewidth||s.settings.slidewidth>t&&!s.carousel||"vertical"===s.settings.mode?e=t:s.settings.maxslides>1&&"horizontal"===s.settings.mode&&(t>s.maxthreshold||t0)if(s.viewport.width()s.maxthreshold)e=s.settings.maxslides;else{var t=s.children.first().width()+s.settings.slidemargin;e=math.floor((s.viewport.width()+s.settings.slidemargin)/t)}else"vertical"===s.settings.mode&&(e=s.settings.minslides);return e},f=function(){var e=0;if(s.settings.moveslides>0)if(s.settings.infiniteloop)e=math.ceil(s.children.length/x());else for(var t=0,i=0;t0&&s.settings.moveslides<=v()?s.settings.moveslides:v()},m=function(){var e;if(s.children.length>s.settings.maxslides&&s.active.last&&!s.settings.infiniteloop){if("horizontal"===s.settings.mode){var t=s.children.last();e=t.position(),s(-(e.left-(s.viewport.width()-t.outerwidth())),"reset",0)}else if("vertical"===s.settings.mode){var i=s.children.length-s.settings.minslides;e=s.children.eq(i).position(),s(-e.top,"reset",0)}}else e=s.children.eq(s.active.index*x()).position(),s.active.index===f()-1&&(s.active.last=!0),void 0!==e&&("horizontal"===s.settings.mode?s(-e.left,"reset",0):"vertical"===s.settings.mode&&s(-e.top,"reset",0))},s=function(e,t,i,n){if(s.usingcss){var r="vertical"===s.settings.mode?"translate3d(0, "+e+"px, 0)":"translate3d("+e+"px, 0, 0)";o.css("-"+s.cssprefix+"-transition-duration",i/1e3+"s"),"slide"===t?settimeout(function(){o.css(s.animprop,r),0===e?q():o.bind("transitionend webkittransitionend otransitionend mstransitionend",function(){o.unbind("transitionend webkittransitionend otransitionend mstransitionend"),q()})},0):"reset"===t?o.css(s.animprop,r):"ticker"===t&&(o.css("-"+s.cssprefix+"-transition-timing-function","linear"),o.css(s.animprop,r),o.bind("transitionend webkittransitionend otransitionend mstransitionend",function(){o.unbind("transitionend webkittransitionend otransitionend mstransitionend"),s(n.resetvalue,"reset",0),l()}))}else{var a={};a[s.animprop]=e,"slide"===t?o.animate(a,i,s.settings.easing,function(){q()}):"reset"===t?o.css(s.animprop,e):"ticker"===t&&o.animate(a,speed,"linear",function(){s(n.resetvalue,"reset",0),l()})}},b=function(){for(var t="",i=f(),n=0;i>n;n++){var o="";s.settings.buildpager&&e.isfunction(s.settings.buildpager)||s.settings.pagercustom?(o=s.settings.buildpager(n),s.pagerel.addclass("bx-custom-pager")):(o=n+1,s.pagerel.addclass("bx-default-pager")),t+='"}s.pagerel.html(t)},w=function(){s.settings.pagercustom?s.pagerel=e(s.settings.pagercustom):(s.pagerel=e('
'),s.settings.pagerselector?e(s.settings.pagerselector).html(s.pagerel):s.controls.el.addclass("bx-has-pager").append(s.pagerel),b()),s.pagerel.on("click touchend","a",z)},c=function(){s.controls.next=e(''+s.settings.nexttext+""),s.controls.prev=e(''+s.settings.prevtext+""),s.controls.next.bind("click touchend",e),s.controls.prev.bind("click touchend",y),s.settings.nextselector&&e(s.settings.nextselector).append(s.controls.next),s.settings.prevselector&&e(s.settings.prevselector).append(s.controls.prev),s.settings.nextselector||s.settings.prevselector||(s.controls.directionel=e('
'),s.controls.directionel.append(s.controls.prev).append(s.controls.next),s.controls.el.addclass("bx-has-controls-direction").append(s.controls.directionel))},t=function(){s.controls.start=e('"),s.controls.stop=e('"),s.controls.autoel=e('
'),s.controls.autoel.on("click",".bx-start",k),s.controls.autoel.on("click",".bx-stop",m),s.settings.autocontrolscombine?s.controls.autoel.append(s.controls.start):s.controls.autoel.append(s.controls.start).append(s.controls.stop),s.settings.autocontrolsselector?e(s.settings.autocontrolsselector).html(s.controls.autoel):s.controls.el.addclass("bx-has-controls-auto").append(s.controls.autoel),d(s.settings.autostart?"stop":"start")},p=function(){s.children.each(function(){var t=e(this).find("img:first").attr("title");void 0!==t&&(""+t).length&&e(this).append('
'+t+"
")})},e=function(e){e.preventdefault(),s.controls.el.hasclass("disabled")||(s.settings.auto&&o.stopauto(),o.gotonextslide())},y=function(e){e.preventdefault(),s.controls.el.hasclass("disabled")||(s.settings.auto&&o.stopauto(),o.gotoprevslide())},k=function(e){o.startauto(),e.preventdefault()},m=function(e){o.stopauto(),e.preventdefault()},z=function(t){if(t.preventdefault(),!s.controls.el.hasclass("disabled")){s.settings.auto&&o.stopauto();var i=e(t.currenttarget);if(void 0!==i.attr("data-slide-index")){var n=parseint(i.attr("data-slide-index"));n!==s.active.index&&o.gotoslide(n)}}},i=function(t){var i=s.children.length;return"short"===s.settings.pagertype?(s.settings.maxslides>1&&(i=math.ceil(s.children.length/s.settings.maxslides)),void s.pagerel.html(t+1+s.settings.pagershortseparator+i)):(s.pagerel.find("a").removeclass("active"),void s.pagerel.each(function(i,n){e(n).find("a").eq(t).addclass("active")}))},q=function(){if(s.settings.infiniteloop){var e="";0===s.active.index?e=s.children.eq(0).position():s.active.index===f()-1&&s.carousel?e=s.children.eq((f()-1)*x()).position():s.active.index===s.children.length-1&&(e=s.children.eq(s.children.length-1).position()),e&&("horizontal"===s.settings.mode?s(-e.left,"reset",0):"vertical"===s.settings.mode&&s(-e.top,"reset",0))}s.working=!1,s.settings.onslideafter(s.children.eq(s.active.index),s.oldindex,s.active.index)},d=function(e){s.settings.autocontrolscombine?s.controls.autoel.html(s.controls[e]):(s.controls.autoel.find("a").removeclass("active"),s.controls.autoel.find("a:not(.bx-"+e+")").addclass("active"))},w=function(){1===f()?(s.controls.prev.addclass("disabled"),s.controls.next.addclass("disabled")):!s.settings.infiniteloop&&s.settings.hidecontrolonend&&(0===s.active.index?(s.controls.prev.addclass("disabled"),s.controls.next.removeclass("disabled")):s.active.index===f()-1?(s.controls.next.addclass("disabled"),s.controls.prev.removeclass("disabled")):(s.controls.prev.removeclass("disabled"),s.controls.next.removeclass("disabled")))},a=function(){if(s.settings.autodelay>0){settimeout(o.startauto,s.settings.autodelay)}else o.startauto(),e(window).focus(function(){o.startauto()}).blur(function(){o.stopauto()});s.settings.autohover&&o.hover(function(){s.interval&&(o.stopauto(!0),s.autopaused=!0)},function(){s.autopaused&&(o.startauto(!0),s.autopaused=null)})},h=function(){var t=0;if("next"===s.settings.autodirection)o.append(s.children.clone().addclass("bx-clone"));else{o.prepend(s.children.clone().addclass("bx-clone"));var i=s.children.first().position();t="horizontal"===s.settings.mode?-i.left:-i.top}if(s(t,"reset",0),s.settings.pager=!1,s.settings.controls=!1,s.settings.autocontrols=!1,s.settings.tickerhover)if(s.usingcss){var n,r="horizontal"==s.settings.mode?4:5;s.viewport.hover(function(){var e=o.css("-"+s.cssprefix+"-transform");n=parsefloat(e.split(",")[r]),s(n,"reset",0)},function(){var t=0;s.children.each(function(){t+="horizontal"==s.settings.mode?e(this).outerwidth(!0):e(this).outerheight(!0)});var i=s.settings.speed/t,o=("horizontal"==s.settings.mode?"left":"top",i*(t-math.abs(parseint(n))));l(o)})}else s.viewport.hover(function(){o.stop()},function(){var t=0;s.children.each(function(){t+="horizontal"==s.settings.mode?e(this).outerwidth(!0):e(this).outerheight(!0)});var i=s.settings.speed/t,n="horizontal"==s.settings.mode?"left":"top",r=i*(t-math.abs(parseint(o.css(n))));l(r)});l()},l=function(e){speed=e?e:s.settings.speed;var t={left:0,top:0},i={left:0,top:0};"next"===s.settings.autodirection?t=o.find(".bx-clone").first().position():i=s.children.first().position();var n="horizontal"===s.settings.mode?-t.left:-t.top,r="horizontal"===s.settings.mode?-i.left:-i.top,a={resetvalue:r};s(n,"ticker",speed,a)},f=function(t){var i=e(window),n={top:i.scrolltop(),left:i.scrollleft()};n.right=n.left+i.width(),n.bottom=n.top+i.height();var s=t.offset();return s.right=s.left+t.outerwidth(),s.bottom=s.top+t.outerheight(),!(n.rights.right||n.bottoms.bottom)},n=function(e){var t=document.activeelement.tagname.tolowercase(),i="input|textarea",n=new regexp(t,["i"]),s=n.exec(i);if(null==s&&f(o)){if(39==e.keycode)return e(e),!1;if(37==e.keycode)return y(e),!1}},o=function(){s.touch={start:{x:0,y:0},end:{x:0,y:0}},s.viewport.bind("touchstart mspointerdown pointerdown",x),s.viewport.on("click",".bxslider a",function(e){s.viewport.hasclass("click-disabled")&&(e.preventdefault(),s.viewport.removeclass("click-disabled"))})},x=function(e){if(s.controls.el.addclass("disabled"),s.working)e.preventdefault(),s.controls.el.removeclass("disabled");else{s.touch.originalpos=o.position();var t=e.originalevent,i="undefined"!=typeof t.changedtouches?t.changedtouches:[t];s.touch.start.x=i[0].pagex,s.touch.start.y=i[0].pagey,s.viewport.get(0).setpointercapture&&(s.pointerid=t.pointerid,s.viewport.get(0).setpointercapture(s.pointerid)),s.viewport.bind("touchmove mspointermove pointermove",r),s.viewport.bind("touchend mspointerup pointerup",v),s.viewport.bind("mspointercancel pointercancel",y)}},y=function(){s(s.touch.originalpos.left,"reset",0),s.controls.el.removeclass("disabled"),s.viewport.unbind("mspointercancel pointercancel",y),s.viewport.unbind("touchmove mspointermove pointermove",r),s.viewport.unbind("touchend mspointerup pointerup",v),s.viewport.get(0).releasepointercapture&&s.viewport.get(0).releasepointercapture(s.pointerid)},r=function(e){var t=e.originalevent,i="undefined"!=typeof t.changedtouches?t.changedtouches:[t],n=math.abs(i[0].pagex-s.touch.start.x),o=math.abs(i[0].pagey-s.touch.start.y);if(3*n>o&&s.settings.preventdefaultswipex?e.preventdefault():3*o>n&&s.settings.preventdefaultswipey&&e.preventdefault(),"fade"!==s.settings.mode&&s.settings.onetoonetouch){var r=0,a=0;"horizontal"===s.settings.mode?(a=i[0].pagex-s.touch.start.x,r=s.touch.originalpos.left+a):(a=i[0].pagey-s.touch.start.y,r=s.touch.originalpos.top+a),s(r,"reset",0)}},v=function(e){s.viewport.unbind("touchmove mspointermove pointermove",r),s.controls.el.removeclass("disabled");var t=e.originalevent,i="undefined"!=typeof t.changedtouches?t.changedtouches:[t],n=0,r=0;s.touch.end.x=i[0].pagex,s.touch.end.y=i[0].pagey,"fade"===s.settings.mode?(r=math.abs(s.touch.start.x-s.touch.end.x),r>=s.settings.swipethreshold&&(s.touch.start.x>s.touch.end.x?o.gotonextslide():o.gotoprevslide(),o.stopauto())):("horizontal"===s.settings.mode?(r=s.touch.end.x-s.touch.start.x,n=s.touch.originalpos.left):(r=s.touch.end.y-s.touch.start.y,n=s.touch.originalpos.top),!s.settings.infiniteloop&&(0===s.active.index&&r>0||s.active.last&&0>r)?s(n,"reset",200):math.abs(r)>=s.settings.swipethreshold?(0>r?o.gotonextslide():o.gotoprevslide(),o.stopauto()):s(n,"reset",200)),s.viewport.unbind("touchend mspointerup pointerup",v),s.viewport.get(0).releasepointercapture&&s.viewport.get(0).releasepointercapture(s.pointerid)},z=function(){if(s.initialized)if(s.working)window.settimeout(z,10);else{var t=e(window).width(),i=e(window).height();(r!==t||a!==i)&&(r=t,a=i,o.redrawslider(),s.settings.onsliderresize.call(o,s.active.index))}};return o.gotoslide=function(t,i){if(!s.working&&s.active.index!==t){s.working=!0,s.oldindex=s.active.index,s.active.index=0>t?f()-1:t>=f()?0:t;var n=!0;if(n=s.settings.onslidebefore(s.children.eq(s.active.index),s.oldindex,s.active.index),"undefined"!=typeof n&&!n)return s.active.index=s.oldindex,void(s.working=!1);if("next"===i?s.settings.onslidenext(s.children.eq(s.active.index),s.oldindex,s.active.index)||(n=!1):"prev"===i&&(s.settings.onslideprev(s.children.eq(s.active.index),s.oldindex,s.active.index)||(n=!1)),"undefined"!=typeof n&&!n)return s.active.index=s.oldindex,void(s.working=!1);if(s.active.last=s.active.index>=f()-1,(s.settings.pager||s.settings.pagercustom)&&i(s.active.index),s.settings.controls&&w(),"fade"===s.settings.mode)s.settings.adaptiveheight&&s.viewport.height()!==p()&&s.viewport.animate({height:p()},s.settings.adaptiveheightspeed),s.children.filter(":visible").fadeout(s.settings.speed).css({zindex:0}),s.children.eq(s.active.index).css("zindex",s.settings.slidezindex+1).fadein(s.settings.speed,function(){e(this).css("zindex",s.settings.slidezindex),q()});else{s.settings.adaptiveheight&&s.viewport.height()!==p()&&s.viewport.animate({height:p()},s.settings.adaptiveheightspeed);var r=0,a={left:0,top:0},l=null;if(!s.settings.infiniteloop&&s.carousel&&s.active.last)if("horizontal"===s.settings.mode)l=s.children.eq(s.children.length-1),a=l.position(),r=s.viewport.width()-l.outerwidth();else{var d=s.children.length-s.settings.minslides;a=s.children.eq(d).position()}else if(s.carousel&&s.active.last&&"prev"===i){var c=1===s.settings.moveslides?s.settings.maxslides-x():(f()-1)*x()-(s.children.length-s.settings.maxslides);l=o.children(".bx-clone").eq(c),a=l.position()}else if("next"===i&&0===s.active.index)a=o.find("> .bx-clone").eq(s.settings.maxslides).position(),s.active.last=!1;else if(t>=0){var g=t*x();a=s.children.eq(g).position()}if("undefined"!=typeof a){var u="horizontal"===s.settings.mode?-(a.left-r):-a.top;s(u,"slide",s.settings.speed)}}}},o.gotonextslide=function(){if(s.settings.infiniteloop||!s.active.last){var e=parseint(s.active.index)+1;o.gotoslide(e,"next")}},o.gotoprevslide=function(){if(s.settings.infiniteloop||0!==s.active.index){var e=parseint(s.active.index)-1;o.gotoslide(e,"prev")}},o.startauto=function(e){s.interval||(s.interval=setinterval(function(){"next"===s.settings.autodirection?o.gotonextslide():o.gotoprevslide()},s.settings.pause),s.settings.autocontrols&&e!==!0&&d("stop"))},o.stopauto=function(e){s.interval&&(clearinterval(s.interval),s.interval=null,s.settings.autocontrols&&e!==!0&&d("start"))},o.getcurrentslide=function(){return s.active.index},o.getcurrentslideelement=function(){return s.children.eq(s.active.index)},o.getslidecount=function(){return s.children.length},o.isworking=function(){return s.working},o.redrawslider=function(){s.children.add(o.find(".bx-clone")).outerwidth(h()),s.viewport.css("height",p()),s.settings.ticker||m(),s.active.last&&(s.active.index=f()-1),s.active.index>=f()&&(s.active.last=!0),s.settings.pager&&!s.settings.pagercustom&&(b(),i(s.active.index))},o.destroyslider=function(){s.initialized&&(s.initialized=!1,e(".bx-clone",this).remove(),s.children.each(function(){void 0!==e(this).data("origstyle")?e(this).attr("style",e(this).data("origstyle")):e(this).removeattr("style")}),void 0!==e(this).data("origstyle")?this.attr("style",e(this).data("origstyle")):e(this).removeattr("style"),e(this).unwrap().unwrap(),s.controls.el&&s.controls.el.remove(),s.controls.next&&s.controls.next.remove(),s.controls.prev&&s.controls.prev.remove(),s.pagerel&&s.settings.controls&&!s.settings.pagercustom&&s.pagerel.remove(),e(".bx-caption",this).remove(),s.controls.autoel&&s.controls.autoel.remove(),clearinterval(s.interval),s.settings.responsive&&e(window).unbind("resize",z),s.settings.keyboardenabled&&e(document).unbind("keydown",n))},o.reloadslider=function(e){void 0!==e&&(n=e),o.destroyslider(),l()},l(),this}}(jquery);