').appendTo(i)),s.onload=function(){function d(){t=i.outerWidth(),n=i.outerHeight(),r=(s.width-t)/t,u=(s.height-n)/n}function v(e){a=e.pageX-p.left,h=e.pageY-p.top,a>t?a=t:a<0&&(a=0),h>n?h=n:h<0&&(h=0),s.style.left=a*-r+"px",s.style.top=h*-u+"px",e.preventDefault()}function m(t){p=i.offset(),d(),v(t),o.stop().fadeTo(e.support.opacity?f.duration:0,1)}function g(){o.stop().fadeTo(f.duration,0)}var t,n,r,u,a,h,p=i.offset();o.addClass("zoomImg").css({position:"absolute",top:0,left:0,opacity:0,width:s.width,height:s.height,border:"none",maxWidth:"none"}).appendTo(i),f.on==="grab"?o.mousedown(function(t){p=i.offset(),e(document).one("mouseup",function(){g(),e(document).unbind(l,v)}),m(t),e(document)[l](v),t.preventDefault()}):f.on==="click"?o.click(function(t){if(c)return;return c=!0,m(t),e(document)[l](v),e(document).one("click",function(){g(),c=!1,e(document).unbind(l,v)}),!1}):(d(),o.hover(m,g)[l](v)),e.isFunction(f.callback)&&f.callback.call(s)},s.src=f.url})},e.fn.zoom.defaults=t})(jQuery);/* Lazy Load XT 1.1.0 | MIT License */
!function(a,b,c,d){function e(a,b){return a[b]===d?t[b]:a[b]}function f(){var a=b.pageYOffset;return a===d?r.scrollTop:a}function g(a,b){var c=t["on"+a];c&&(w(c)?c.call(b[0]):(c.addClass&&b.addClass(c.addClass),c.removeClass&&b.removeClass(c.removeClass))),b.trigger("lazy"+a,[b]),k()}function h(b){g(b.type,a(this).off(p,h))}function i(c){if(z.length){c=c||t.forceLoad,A=1/0;var d,e,i=f(),j=b.innerHeight||r.clientHeight,k=b.innerWidth||r.clientWidth;for(d=0,e=z.length;e>d;d++){var l,m=z[d],q=m[0],s=m[n],u=!1,v=c||y(q,o)<0;if(a.contains(r,q)){if(c||!s.visibleOnly||q.offsetWidth||q.offsetHeight){if(!v){var x=q.getBoundingClientRect(),B=s.edgeX,C=s.edgeY;l=x.top+i-C-j,v=i>=l&&x.bottom>-C&&x.left<=k+B&&x.right>-B}if(v){m.on(p,h),g("show",m);var D=s.srcAttr,E=w(D)?D(m):q.getAttribute(D);E&&(q.src=E),u=!0}else A>l&&(A=l)}}else u=!0;u&&(y(q,o,0),z.splice(d--,1),e--)}e||g("complete",a(r))}}function j(){B>1?(B=1,i(),setTimeout(j,t.throttle)):B=0}function k(a){z.length&&(a&&"scroll"===a.type&&a.currentTarget===b&&A>=f()||(B||setTimeout(j,0),B=2))}function l(){v.lazyLoadXT()}function m(){i(!0)}var n="lazyLoadXT",o="lazied",p="load error",q="lazy-hidden",r=c.documentElement||c.body,s=b.onscroll===d||!!b.operamini||!r.getBoundingClientRect,t={autoInit:!0,selector:"img[data-src]",blankImage:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",throttle:99,forceLoad:s,loadEvent:"pageshow",updateEvent:"load orientationchange resize scroll touchmove focus",forceEvent:"lazyloadall",oninit:{removeClass:"lazy"},onshow:{addClass:q},onload:{removeClass:q,addClass:"lazy-loaded"},onerror:{removeClass:q},checkDuplicates:!0},u={srcAttr:"data-src",edgeX:0,edgeY:0,visibleOnly:!0},v=a(b),w=a.isFunction,x=a.extend,y=a.data||function(b,c){return a(b).data(c)},z=[],A=0,B=0;a[n]=x(t,u,a[n]),a.fn[n]=function(c){c=c||{};var d,f=e(c,"blankImage"),h=e(c,"checkDuplicates"),i=e(c,"scrollContainer"),j=e(c,"show"),l={};a(i).on("scroll",k);for(d in u)l[d]=e(c,d);return this.each(function(d,e){if(e===b)a(t.selector).lazyLoadXT(c);else{var i=h&&y(e,o),m=a(e).data(o,j?-1:1);if(i)return void k();f&&"IMG"===e.tagName&&!e.src&&(e.src=f),m[n]=x({},l),g("init",m),z.push(m),k()}})},a(c).ready(function(){g("start",v),v.on(t.updateEvent,k).on(t.forceEvent,m),a(c).on(t.updateEvent,k),t.autoInit&&(v.on(t.loadEvent,l),l())})}(window.jQuery||window.Zepto||window.$,window,document);
jQuery.easing['jswing'] = jQuery.easing['swing'];
jQuery.extend( jQuery.easing,
{
def: 'easeOutQuad',
swing: function (x, t, b, c, d) {
return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
},
easeInQuad: function (x, t, b, c, d) {
return c*(t/=d)*t + b;
},
easeOutQuad: function (x, t, b, c, d) {
return -c *(t/=d)*(t-2) + b;
},
easeInOutQuad: function (x, t, b, c, d) {
if ((t/=d/2) < 1) return c/2*t*t + b;
return -c/2 * ((--t)*(t-2) - 1) + b;
},
easeInCubic: function (x, t, b, c, d) {
return c*(t/=d)*t*t + b;
},
easeOutCubic: function (x, t, b, c, d) {
return c*((t=t/d-1)*t*t + 1) + b;
},
easeInOutCubic: function (x, t, b, c, d) {
if ((t/=d/2) < 1) return c/2*t*t*t + b;
return c/2*((t-=2)*t*t + 2) + b;
},
easeInQuart: function (x, t, b, c, d) {
return c*(t/=d)*t*t*t + b;
},
easeOutQuart: function (x, t, b, c, d) {
return -c * ((t=t/d-1)*t*t*t - 1) + b;
},
easeInOutQuart: function (x, t, b, c, d) {
if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
return -c/2 * ((t-=2)*t*t*t - 2) + b;
},
easeInQuint: function (x, t, b, c, d) {
return c*(t/=d)*t*t*t*t + b;
},
easeOutQuint: function (x, t, b, c, d) {
return c*((t=t/d-1)*t*t*t*t + 1) + b;
},
easeInOutQuint: function (x, t, b, c, d) {
if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
return c/2*((t-=2)*t*t*t*t + 2) + b;
},
easeInSine: function (x, t, b, c, d) {
return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
},
easeOutSine: function (x, t, b, c, d) {
return c * Math.sin(t/d * (Math.PI/2)) + b;
},
easeInOutSine: function (x, t, b, c, d) {
return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
},
easeInExpo: function (x, t, b, c, d) {
return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
},
easeOutExpo: function (x, t, b, c, d) {
return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
},
easeInOutExpo: function (x, t, b, c, d) {
if (t==0) return b;
if (t==d) return b+c;
if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
},
easeInCirc: function (x, t, b, c, d) {
return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
},
easeOutCirc: function (x, t, b, c, d) {
return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
},
easeInOutCirc: function (x, t, b, c, d) {
if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
},
easeInElastic: function (x, t, b, c, d) {
var s=1.70158;var p=0;var a=c;
if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
if (a < Math.abs(c)) { a=c; var s=p/4; }
else var s = p/(2*Math.PI) * Math.asin (c/a);
return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
},
easeOutElastic: function (x, t, b, c, d) {
var s=1.70158;var p=0;var a=c;
if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
if (a < Math.abs(c)) { a=c; var s=p/4; }
else var s = p/(2*Math.PI) * Math.asin (c/a);
return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
},
easeInOutElastic: function (x, t, b, c, d) {
var s=1.70158;var p=0;var a=c;
if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5);
if (a < Math.abs(c)) { a=c; var s=p/4; }
else var s = p/(2*Math.PI) * Math.asin (c/a);
if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
},
easeInBack: function (x, t, b, c, d, s) {
if (s == undefined) s = 1.70158;
return c*(t/=d)*t*((s+1)*t - s) + b;
},
easeOutBack: function (x, t, b, c, d, s) {
if (s == undefined) s = 1.70158;
return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
},
easeInOutBack: function (x, t, b, c, d, s) {
if (s == undefined) s = 1.70158;
if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
},
easeInBounce: function (x, t, b, c, d) {
return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
},
easeOutBounce: function (x, t, b, c, d) {
if ((t/=d) < (1/2.75)) {
return c*(7.5625*t*t) + b;
} else if (t < (2/2.75)) {
return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
} else if (t < (2.5/2.75)) {
return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
} else {
return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
}
},
easeInOutBounce: function (x, t, b, c, d) {
if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
}
});!function(t){"use strict";var s={slide:0,delay:5e3,loop:!0,preload:!1,preloadImage:!1,preloadVideo:!1,timer:!0,overlay:!1,autoplay:!0,shuffle:!1,cover:!0,color:null,align:"center",valign:"center",firstTransition:null,firstTransitionDuration:null,transition:"fade",transitionDuration:1e3,transitionRegister:[],animation:null,animationDuration:"auto",animationRegister:[],init:function(){},play:function(){},pause:function(){},walk:function(){},slides:[]},i={},e=function(i,e){this.elmt=i,this.settings=t.extend({},s,t.vegas.defaults,e),this.slide=this.settings.slide,this.total=this.settings.slides.length,this.noshow=this.total<2,this.paused=!this.settings.autoplay||this.noshow,this.ended=!1,this.$elmt=t(i),this.$timer=null,this.$overlay=null,this.$slide=null,this.timeout=null,this.first=!0,this.transitions=["fade","fade2","blur","blur2","flash","flash2","negative","negative2","burn","burn2","slideLeft","slideLeft2","slideRight","slideRight2","slideUp","slideUp2","slideDown","slideDown2","zoomIn","zoomIn2","zoomOut","zoomOut2","swirlLeft","swirlLeft2","swirlRight","swirlRight2"],this.animations=["kenburns","kenburnsLeft","kenburnsRight","kenburnsUp","kenburnsUpLeft","kenburnsUpRight","kenburnsDown","kenburnsDownLeft","kenburnsDownRight"],this.settings.transitionRegister instanceof Array==!1&&(this.settings.transitionRegister=[this.settings.transitionRegister]),this.settings.animationRegister instanceof Array==!1&&(this.settings.animationRegister=[this.settings.animationRegister]),this.transitions=this.transitions.concat(this.settings.transitionRegister),this.animations=this.animations.concat(this.settings.animationRegister),this.support={objectFit:"objectFit"in document.body.style,transition:"transition"in document.body.style||"WebkitTransition"in document.body.style,video:t.vegas.isVideoCompatible()},this.settings.shuffle===!0&&this.shuffle(),this._init()};e.prototype={_init:function(){var s,i,e,n="BODY"===this.elmt.tagName,o=this.settings.timer,a=this.settings.overlay,r=this;this._preload(),n||(this.$elmt.css("height",this.$elmt.css("height")),s=t('
').css("overflow",this.$elmt.css("overflow")).css("padding",this.$elmt.css("padding")),this.$elmt.css("padding")||s.css("padding-top",this.$elmt.css("padding-top")).css("padding-bottom",this.$elmt.css("padding-bottom")).css("padding-left",this.$elmt.css("padding-left")).css("padding-right",this.$elmt.css("padding-right")),this.$elmt.clone(!0).children().appendTo(s),this.elmt.innerHTML=""),o&&this.support.transition&&(e=t('
'),this.$timer=e,this.$elmt.prepend(e)),a&&(i=t('
'),"string"==typeof a&&i.css("background-image","url("+a+")"),this.$overlay=i,this.$elmt.prepend(i)),this.$elmt.addClass("vegas-container"),n||this.$elmt.append(s),setTimeout(function(){r.trigger("init"),r._goto(r.slide),r.settings.autoplay&&r.trigger("play")},1)},_preload:function(){var t,s;for(s=0;s
1&&!this.ended&&!this.paused&&!this.noshow&&(this.timeout=setTimeout(function(){t.next()},this._options("delay")))},_timer:function(t){var s=this;clearTimeout(this.timeout),this.$timer&&(this.$timer.removeClass("vegas-timer-running").find("div").css("transition-duration","0ms"),this.ended||this.paused||this.noshow||t&&setTimeout(function(){s.$timer.addClass("vegas-timer-running").find("div").css("transition-duration",s._options("delay")-100+"ms")},100))},_video:function(t){var s,e,n=t.toString();return i[n]?i[n]:(t instanceof Array==!1&&(t=[t]),s=document.createElement("video"),s.preload=!0,t.forEach(function(t){e=document.createElement("source"),e.src=t,s.appendChild(e)}),i[n]=s,s)},_fadeOutSound:function(t,s){var i=this,e=s/10,n=t.volume-.09;n>0?(t.volume=n,setTimeout(function(){i._fadeOutSound(t,s)},e)):t.pause()},_fadeInSound:function(t,s){var i=this,e=s/10,n=t.volume+.09;1>n&&(t.volume=n,setTimeout(function(){i._fadeInSound(t,s)},e))},_options:function(t,s){return void 0===s&&(s=this.slide),void 0!==this.settings.slides[s][t]?this.settings.slides[s][t]:this.settings[t]},_goto:function(s){function i(){f._timer(!0),setTimeout(function(){y&&(f.support.transition?(h.css("transition","all "+_+"ms").addClass("vegas-transition-"+y+"-out"),h.each(function(){var t=h.find("video").get(0);t&&(t.volume=1,f._fadeOutSound(t,_))}),e.css("transition","all "+_+"ms").addClass("vegas-transition-"+y+"-in")):e.fadeIn(_));for(var t=0;tg)&&(_=g),"auto"===b&&(b=g),e=t(''),this.support.transition&&y&&e.addClass("vegas-transition-"+y),this.support.video&&l?(a=l instanceof Array?this._video(l):this._video(l.src),a.loop=void 0!==l.loop?l.loop:!0,a.muted=void 0!==l.mute?l.mute:!0,a.muted===!1?(a.volume=0,this._fadeInSound(a,_)):a.pause(),o=t(a).addClass("vegas-video").css("background-color",m),this.support.objectFit?o.css("object-position",u+" "+c).css("object-fit",p).css("width","100%").css("height","100%"):"contain"===p&&o.css("width","100%").css("height","100%"),e.append(o)):(r=new Image,n=t('').css("background-image",'url("'+d+'")').css("background-color",m).css("background-position",u+" "+c),"repeat"===p?n.css("background-repeat","repeat"):n.css("background-size",p),this.support.transition&&w&&n.addClass("vegas-animation-"+w).css("animation-duration",b+"ms"),e.append(n)),this.support.transition||e.css("display","none"),v?h.eq(v-1).after(e):this.$elmt.prepend(e),h.css("transition","all 0ms").each(function(){this.className="vegas-slide","VIDEO"===this.tagName&&(this.className+=" vegas-video"),y&&(this.className+=" vegas-transition-"+y,this.className+=" vegas-transition-"+y+"-in")}),f._timer(!1),a?(4===a.readyState&&(a.currentTime=0),a.play(),i()):(r.src=d,r.complete?i():r.onload=i)},_end:function(){this.ended=!0,this._timer(!1),this.trigger("end")},shuffle:function(){for(var t,s,i=this.total-1;i>0;i--)s=Math.floor(Math.random()*(i+1)),t=this.settings.slides[i],this.settings.slides[i]=this.settings.slides[s],this.settings.slides[s]=t},play:function(){this.paused&&(this.paused=!1,this.next(),this.trigger("play"))},pause:function(){this._timer(!1),this.paused=!0,this.trigger("pause")},toggle:function(){this.paused?this.play():this.pause()},playing:function(){return!this.paused&&!this.noshow},current:function(t){return t?{slide:this.slide,data:this.settings.slides[this.slide]}:this.slide},jump:function(t){0>t||t>this.total-1||t===this.slide||(this.slide=t,this._goto(this.slide))},next:function(){if(this.slide++,this.slide>=this.total){if(!this.settings.loop)return this._end();this.slide=0}this._goto(this.slide)},previous:function(){if(this.slide--,this.slide<0){if(!this.settings.loop)return void this.slide++;this.slide=this.total-1}this._goto(this.slide)},trigger:function(t){var s=[];s="init"===t?[this.settings]:[this.slide,this.settings.slides[this.slide]],this.$elmt.trigger("vegas"+t,s),"function"==typeof this.settings[t]&&this.settings[t].apply(this.$elmt,s)},options:function(i,e){var n=this.settings.slides.slice();if("object"==typeof i)this.settings=t.extend({},s,t.vegas.defaults,i);else{if("string"!=typeof i)return this.settings;if(void 0===e)return this.settings[i];this.settings[i]=e}this.settings.slides!==n&&(this.total=this.settings.slides.length,this.noshow=this.total<2,this._preload())},destroy:function(){clearTimeout(this.timeout),this.$elmt.removeClass("vegas-container"),this.$elmt.find("> .vegas-slide").remove(),this.$elmt.find("> .vegas-wrapper").clone(!0).children().appendTo(this.$elmt),this.$elmt.find("> .vegas-wrapper").remove(),this.settings.timer&&this.$timer.remove(),this.settings.overlay&&this.$overlay.remove(),this.elmt._vegas=null}},t.fn.vegas=function(t){var s,i=arguments,n=!1;if(void 0===t||"object"==typeof t)return this.each(function(){this._vegas||(this._vegas=new e(this,t))});if("string"==typeof t){if(this.each(function(){var e=this._vegas;if(!e)throw new Error("No Vegas applied to this element.");"function"==typeof e[t]&&"_"!==t[0]?s=e[t].apply(e,[].slice.call(i,1)):n=!0}),n)throw new Error('No method "'+t+'" in Vegas.');return void 0!==s?s:this}},t.vegas={},t.vegas.defaults=s,t.vegas.isVideoCompatible=function(){return!/(Android|webOS|Phone|iPad|iPod|BlackBerry|Windows Phone)/i.test(navigator.userAgent)}}(window.jQuery||window.Zepto);(function(B){var X={topLeft:["top","left"],top:["top","center"],topRight:["top","right"],bottomLeft:["bottom","left"],bottom:["bottom","center"],bottomRight:["bottom","right"],leftTop:["left","top"],left:["left","center"],leftBottom:["left","bottom"],rightTop:["right","top"],right:["right","center"],rightBottom:["right","bottom"]};var r={fade:["vCover","fade"],zoomIn:["vCover","zoom"],zoomOut:["vCover","zoom"],coverDown:["vCover","sliceDown"],coverUp:["vCover","sliceUp"],coverRight:["hCover","sliceRight"],coverLeft:["hCover","sliceLeft"],blockExpandDown:["blocks","expand"],blockExpandUp:["blocks","expand"],blockExpandRight:["blocks","expand"],blockExpandLeft:["blocks","expand"],diagonalFade:["blocks","diagonalFade"],reverseDiagonalFade:["blocks","diagonalFade"],diagonalExpand:["blocks","diagonalExpand"],reverseDiagonalExpand:["blocks","diagonalExpand"],diagonalShift:["blocks","diagonalShift"],reverseDiagonalShift:["blocks","diagonalShift"],blockRandomFade:["blocks","randomEffect"],blockRandomExpand:["blocks","randomEffect"],blockRandomDrop:["blocks","randomEffect"],zigZagDown:["blocks","zigZag"],zigZagUp:["blocks","zigZag"],zigZagRight:["blocks","zigZag"],zigZagLeft:["blocks","zigZag"],spiralIn:["blocks","spiral"],spiralOut:["blocks","spiral"],sliceDownRight:["vSlices","sliceDown"],sliceDownLeft:["vSlices","sliceDown"],sliceDownRandom:["vSlices","sliceDown"],sliceUpRight:["vSlices","sliceUp"],sliceUpLeft:["vSlices","sliceUp"],sliceUpRandom:["vSlices","sliceUp"],sliceFadeRight:["vSlices","fade"],sliceFadeLeft:["vSlices","fade"],verticalRandomFade:["vSlices","fade"],sliceAltRight:["vSlices","sliceAlt"],sliceAltLeft:["vSlices","sliceAlt"],blindsRight:["vSlices","blinds"],blindsLeft:["vSlices","blinds"],verticalRandomBlinds:["vSlices","blinds"],sliceMoveRight:["vSlices","move"],sliceMoveLeft:["vSlices","move"],sliceRightDown:["hSlices","sliceRight"],sliceRightUp:["hSlices","sliceRight"],sliceRightRandom:["hSlices","sliceRight"],sliceLeftDown:["hSlices","sliceLeft"],sliceLeftUp:["hSlices","sliceLeft"],sliceLeftRandom:["hSlices","sliceLeft"],sliceFadeDown:["hSlices","fade"],sliceFadeUp:["hSlices","fade"],horizontalRandomFade:["hSlices","fade"],sliceAltDown:["hSlices","sliceAlt"],sliceAltUp:["hSlices","sliceAlt"],blindsDown:["hSlices","blinds"],blindsUp:["hSlices","blinds"],horizontalRandomBlinds:["hSlices","blinds"],sliceMoveDown:["hSlices","move"],sliceMoveUp:["hSlices","move"],horizontalSlide:["hSlide","slide"],verticalSlide:["vSlide","slide"]};var V="ontouchstart" in window;var s=a();var t=a(6);var f=q(2.9);var v=J();var Q=500;var h=50;var E="updateThumbnails";var b="resizeControlPanel";var d="updateSize";var x="rotator";var e="rotatorInit";var k="rotatorSlideChange";var U="rotatorSlideComplete";var L="rotatorFirst";var z="rotatorLast";var P="rotatorPlay";var w="rotatorPause";var R="rotatorPrevious";var o="rotatorNext";var O={linear:"linear","":"ease",swing:"ease",ease:"ease","ease-in":"ease-in","ease-out":"ease-out","ease-in-out":"ease-in-out",easeInQuad:"cubic-bezier(.55,.085,.68,.53)",easeOutQuad:"cubic-bezier(.25,.46,.45,.94)",easeInOutQuad:"cubic-bezier(.455,.03,.515,.955)",easeInCubic:"cubic-bezier(.55,.055,.675,.19)",easeOutCubic:"cubic-bezier(.215,.61,.355,1)",easeInOutCubic:"cubic-bezier(.645,.045,.355,1)",easeInQuart:"cubic-bezier(.895,.03,.685,.22)",easeOutQuart:"cubic-bezier(.165,.84,.44,1)",easeInOutQuart:"cubic-bezier(.77,0,.175,1)",easeInQuint:"cubic-bezier(.755,.05,.855,.06)",easeOutQuint:"cubic-bezier(.23,1,.32,1)",easeInOutQuint:"cubic-bezier(.86,0,.07,1)",easeInSine:"cubic-bezier(.47,0,.745,.715)",easeOutSine:"cubic-bezier(.39,.575,.565,1)",easeInOutSine:"cubic-bezier(.445,.05,.55,.95)",easeInExpo:"cubic-bezier(.95,.05,.795,.035)",easeOutExpo:"cubic-bezier(.19,1,.22,1)",easeInOutExpo:"cubic-bezier(1,0,0,1)",easeInCirc:"cubic-bezier(.6,.04,.98,.335)",easeOutCirc:"cubic-bezier(.075,.82,.165,1)",easeInOutCirc:"cubic-bezier(.785,.135,.15,.86)",easeInBack:"cubic-bezier(.60,-.28,.735,.045)",easeOutBack:"cubic-bezier(.175,.885,.32,1.275)",easeInOutBack:"cubic-bezier(.68,-.55,.265,1.55)"};m("transform");m("transition");m("backgroundSize");m("borderRadius");var g;var S;switch(B.support.transition){case"WebkitTransition":g="-webkit-transition";S="webkitTransitionEnd";break;case"MozTransition":g="-moz-transition";S="transitionend";break;case"OTransition":g="-o-transition";S="oTransitionEnd";break;default:g="transition";S="transitionend";break}function y(Z,ab){this._$timer=B("").addClass("br-bar-timer");var aa=H(X[ab],X.top);this._$timer.addClass("bottom"===aa[0]?"br-bottom":"br-top");Z.append(this._$timer)}y.prototype={start:function(Z){this._$timer.animate({width:"101%"},{duration:Z,easing:"linear",queue:false})},stop:function(){this._$timer.stop().width(0)},pause:function(){this._$timer.stop()}};function Y(Z,ab){this._$timer=B('');var aa=H(X[ab],X.topRight);this._$timer.css(aa[0],0).css(aa[1],0).addClass("br-opacity-transition");this._$left=this._$timer.find(">.br-lside .br-rotate");this._$right=this._$timer.find(">.br-rside .br-rotate");this._elapsed=this._delay=0;this._startTime;Z.append(this._$timer)}Y.prototype={start:function(Z){if(0===this._delay){this._delay=Z;this._$timer.addClass("br-opacity");this._$left.add(this._$right).stopTransition(true).css({transform:"rotateZ(0deg)"})}var aa=this._delay/2;this._startTime=(new Date()).getTime();this._$right.transition({transform:"rotateZ(180deg)"},Math.max(aa-this._elapsed,0),"linear",B.proxy(function(){var ab=Math.max(aa-Math.max(this._elapsed-aa,0),0);this._$left.transition({transform:"rotateZ(180deg)"},ab,"linear")},this))},stop:function(){this._elapsed=this._delay=0;this._$left.add(this._$right).stopTransition(true).css({transform:"rotateZ(180deg)"});this._$timer.removeClass("br-opacity")},pause:function(){this._$left.add(this._$right).stopTransition(true);this._elapsed+=(new Date()).getTime()-this._startTime;var aa=this._elapsed/this._delay,Z=aa*360;if(aa<=0.5){this._$right.css({transform:"rotateZ("+Z+"deg)"})}else{this._$left.css({transform:"rotateZ("+(Z-180)+"deg)"})}}};function n(aa,Z){this._parent=aa;this._intervalId=null;this._delay=Z}n.prototype={create:function(Z){var aa=this._total,ab="",ac=this._parent._$screen.find(">.br-effects");while(aa--){ab+=''}ac.append(ab);$el=ac.children("."+Z).slice(-this._total);$el.css({backgroundColor:this._parent._$screen.css("backgroundColor")});if(f){$el.css("backface-visibility","visible")}return $el},clear:function(){clearInterval(this._intervalId);this._$el.stopTransition(true,false).css({visibility:"hidden"});this._parent._inProgress=false},resize:function(Z){this.clear();this._width=Math.ceil(this._$el.data("width")*Z);this._height=Math.ceil(this._$el.data("height")*Z)},setImage:function(Z,aa){Z.find(">img").remove();Z.append(B('').css({top:aa.css("top"),left:aa.css("left"),width:aa.width(),height:aa.height()}))},setBgImage:function(Z,aa){Z.css({backgroundImage:"url("+aa.attr("src")+")",backgroundSize:aa.css("width")+" "+aa.css("height"),backgroundPosition:aa.css("left")+" "+aa.css("top")})},animate:function(ad,aa,ac,ae){var Z=0,ab=this._total-1;this._intervalId=setInterval(B.proxy(function(){if(Z!==ab){B(ad[Z]).transition(aa,ac,ae)}else{B(ad[Z]).transition(aa,ac,ae,B.proxy(function(){this._parent.displayCurrent();this._$el.css({visibility:"hidden"})},this))}if(++Z==this._total){clearInterval(this._intervalId)}},this),this._delay)}};N.prototype=new n();N.prototype.constructor=N;function N(ab,Z){n.call(this,ab,0);this._cssTransform=this._parent._cssTransform;this._orientation=Z;this._total=1;var aa;if("vertical"===this._orientation){this._position="top";aa="br-vslide"}else{this._position="left";aa="br-hslide"}this._$el=this.create(aa).append("");this._$slides=this._$el.children()}N.prototype.slide=function(ag,ai,ac,ad){var Z,af,ae={},ab=this._parent._$prevItem.find(">img.br-main-img"),ah,aa;if("vertical"===this._orientation){ah=-this._$slides.height();aa="translateY"}else{ah=-this._$slides.width();aa="translateX"}if(this._parent._backward){af=this._$slides.first();Z=this._$slides.last();if(this._cssTransform){this._$el.css({transform:aa+"("+ah+"px)"});ae.transform=aa+"(0)"}else{this._$el.css(this._position,ah);ae[this._position]=0}}else{af=this._$slides.last();Z=this._$slides.first();if(this._cssTransform){this._$el.css({transform:aa+"(0)"});ae.transform=aa+"("+ah+"px)"}else{this._$el.css(this._position,0);ae[this._position]=ah}}if(B.support.backgroundSize){this.setBgImage(Z,ab);this.setBgImage(af,ag)}else{this.setImage(Z,ab);this.setImage(af,ag)}if(v){setTimeout(B.proxy(function(){this._$el.css({visibility:"visible"});this._parent._$items.css({visibility:"hidden"});this.animate(this._$el.toArray(),ae,ac,ad)},this),1)}else{this._$el.css({visibility:"visible"});this._parent._$items.css({visibility:"hidden"});this.animate(this._$el.toArray(),ae,ac,ad)}};W.prototype=new n();W.prototype.constructor=W;function W(aa,ab,Z){n.call(this,aa,Z);this._cssTransform=this._parent._cssTransform;this._total=ab;this._width=Math.ceil(this._parent._stageWidth/this._total);this._$el=this.create("br-vslice").data({width:this._width})}W.prototype.sliceDown=function(Z,aa,ab,ad){var ac=this._$el.toArray();if("sliceDownLeft"===aa){ac.reverse()}else{if("sliceDownRandom"===aa){p(ac)}}if(this._cssTransform){this.set(Z,{transform:"translateY(-100%)"});this.animate(ac,{transform:"translateY(0)"},ab,ad)}else{this.set(Z,{top:-this._$el.height()});this.animate(ac,{top:0},ab,ad)}};W.prototype.sliceUp=function(Z,aa,ab,ad){var ac=this._$el.toArray();if("sliceUpLeft"===aa){ac.reverse()}else{if("sliceUpRandom"===aa){p(ac)}}if(this._cssTransform){this.set(Z,{transform:"translateY(100%)"});this.animate(ac,{transform:"translateY(0)"},ab,ad)}else{this.set(Z,{top:this._$el.height()});this.animate(ac,{top:0},ab,ad)}};W.prototype.sliceAlt=function(Z,aa,ab,ad){var ac=this._$el.toArray();if("sliceAltLeft"===aa){ac.reverse()}if(this._cssTransform){this.set(Z,{transform:"translateY(-100%)"});this._$el.filter(":odd").css({transform:"translateY(100%)"});this.animate(ac,{transform:"translateY(0)"},ab,ad)}else{this.set(Z,{top:-this._$el.height()});this._$el.filter(":odd").css({top:this._$el.height()});this.animate(ac,{top:0},ab,ad)}};W.prototype.blinds=function(Z,aa,ab,ad){this.set(Z,{width:0});var ac=this._$el.toArray();if("blindsLeft"===aa){ac.reverse()}else{if("verticalRandomBlinds"===aa){p(ac)}}this.animate(ac,{width:this._width+"px"},ab,ad)};W.prototype.fade=function(Z,aa,ab,ad){this.set(Z,{opacity:0});var ac=this._$el.toArray();if("sliceFadeLeft"===aa){ac.reverse()}else{if("verticalRandomFade"===aa){p(ac)}}this.animate(ac,{opacity:1},ab,ad)};W.prototype.move=function(Z,ab,ac,ae){var ad=this._$el.toArray(),aa=this._$el.parent().width();if("sliceMoveRight"===ab){ad.reverse();aa*=-1}if(this._cssTransform){this.set(Z,{transform:"translateX("+aa+"px)"});this.animate(ad,{transform:"translateX(0)"},ac,ae)}else{this.set(Z,{left:"+="+aa});this.animate(ad,{left:"-="+aa},ac,ae)}};W.prototype.zoom=function(Z,aa,ab,ac){if(this._cssTransform){this.set(Z,"zoomOut"===aa?{transform:"scale(2)"}:{transform:"scale(0)"});this.animate(this._$el.toArray(),{transform:"scale(1)"},ab,ac)}else{this.fade(Z,aa,ab,ac)}};W.prototype.set=function(aa,Z){var ab=aa.position().left;if(B.support.backgroundSize){this.setBgImage(this._$el,aa)}else{this.setImage(this._$el,aa)}var ac=this._$el.parent().width();this._$el.each(B.proxy(function(ah,af){var ae=Math.min(this._width,ac),ag=ah*this._width,ad=(ab-ag)+"px";B(af).css({left:ag,width:ae});if(B.support.backgroundSize){B(af).css({backgroundPosition:ad+" "+aa.css("top")})}else{B(af).find(">img").css({left:ad})}ac-=ae},this));this._$el.css(B.extend({opacity:1,top:0,visibility:"visible",transform:"none"},Z))};T.prototype=new n();T.prototype.constructor=T;function T(aa,ab,Z){n.call(this,aa,Z);this._cssTransform=this._parent._cssTransform;this._total=ab;this._height=Math.ceil(this._parent._stageHeight/this._total);this._$el=this.create("br-hslice").data({height:this._height})}T.prototype.sliceRight=function(Z,aa,ab,ad){var ac=this._$el.toArray();if("sliceRightUp"===aa){ac.reverse()}else{if("sliceRightRandom"===aa){p(ac)}}if(this._cssTransform){this.set(Z,{transform:"translateX(-100%)"});this.animate(ac,{transform:"translateX(0)"},ab,ad)}else{this.set(Z,{left:-this._$el.width()});this.animate(ac,{left:0},ab,ad)}};T.prototype.sliceLeft=function(Z,aa,ab,ad){var ac=this._$el.toArray();if("sliceLeftUp"===aa){ac.reverse()}else{if("sliceLeftRandom"===aa){p(ac)}}if(this._cssTransform){this.set(Z,{transform:"translateX(100%)"});this.animate(ac,{transform:"translateX(0)"},ab,ad)}else{this.set(Z,{left:this._$el.width()});this.animate(ac,{left:0},ab,ad)}};T.prototype.sliceAlt=function(Z,aa,ab,ad){var ac=this._$el.toArray();if("sliceAltUp"===aa){ac.reverse()}if(this._cssTransform){this.set(Z,{transform:"translateX(-100%)"});this._$el.filter(":odd").css({transform:"translateX(100%)"});this.animate(ac,{transform:"translateX(0)"},ab,ad)}else{this.set(Z,{left:-this._$el.width()});this._$el.filter(":odd").css({left:this._$el.width()});this.animate(ac,{left:0},ab,ad)}};T.prototype.blinds=function(Z,aa,ab,ad){this.set(Z,{height:0});var ac=this._$el.toArray();if("blindsUp"===aa){ac.reverse()}else{if("horizontalRandomBlinds"===aa){p(ac)}}this.animate(ac,{height:this._height+"px"},ab,ad)};T.prototype.fade=function(Z,aa,ab,ad){this.set(Z,{opacity:0});var ac=this._$el.toArray();if("sliceFadeUp"===aa){ac.reverse()}else{if("horizontalRandomFade"===aa){p(ac)}}this.animate(ac,{opacity:1},ab,ad)};T.prototype.move=function(aa,ab,ac,ae){var ad=this._$el.toArray(),Z=this._$el.parent().height();if("sliceMoveDown"===ab){ad.reverse();Z*=-1}if(this._cssTransform){this.set(aa,{transform:"translateY("+Z+"px)"});this.animate(ad,{transform:"translateY(0)"},ac,ae)}else{this.set(aa,{top:"+="+Z});this.animate(ad,{top:"-="+Z},ac,ae)}};T.prototype.set=function(ac,ab){var aa=ac.position().top;if(B.support.backgroundSize){this.setBgImage(this._$el,ac)}else{this.setImage(this._$el,ac)}var Z=this._$el.parent().height();this._$el.each(B.proxy(function(ah,ae){var ad=Math.min(this._height,Z),af=ah*this._height,ag=(aa-af)+"px";B(ae).css({top:af,height:ad});if(B.support.backgroundSize){B(ae).css({backgroundPosition:ac.css("left")+" "+ag})}else{B(ae).find(">img").css({top:ag})}Z-=ad},this));this._$el.css(B.extend({opacity:1,left:0,visibility:"visible",transform:"none"},ab))};u.prototype=new n();u.prototype.constructor=u;function u(ad,ae,af,ab){n.call(this,ad,ab);this._cssTransform=this._parent._cssTransform;this._blockArray;this._numRows=ae;this._numCols=af;this._width=Math.ceil(this._parent._stageWidth/this._numCols);this._height=Math.ceil(this._parent._stageHeight/this._numRows);this._total=this._numRows*this._numCols;this._$el=this.create("br-block").data({width:this._width,height:this._height});var Z=0;this._blockArray=[];for(var ac=0;acimg").css({left:aj,top:ah})}ae-=aa}}this._$el.css(B.extend({opacity:1,visibility:"visible",transform:"none"},af))};u.prototype.getDiagonalArray=function(){var aa=[];var ab=0,Z=(this._numRows-1)+(this._numCols-1)+1;while(ab!=Z){i=Math.min(this._numRows-1,ab);while(i>=0){j=Math.abs(i-ab);if(j>=this._numCols){break}aa.push(this._blockArray[i][j]);i--}ab++}return aa};u.prototype.getZigZagArray=function(ac){var ab=0,Z=0,aa=true;var ae=[];if("zigZagUp"===ac||"zigZagDown"===ac){for(var ad=0;ad=0;Z--){for(var aa=0;aa=0;aa--){for(var Z=0;Z=0&&af>=0){var ae=0;while(true){ag.push(this._blockArray[ad][ac]);if((++ae)>Z){break}switch(ab){case 0:ac++;break;case 1:ad++;break;case 2:ac--;break;case 3:ad--;break}}switch(ab){case 0:ab=1;Z=(--aa);ad++;break;case 1:ab=2;Z=(--af);ac--;break;case 2:ab=3;Z=(--aa);ad--;break;case 3:ab=0;Z=(--af);ac++;break}}return ag};function I(aa,Z){this._options=Z;this._stageWidth=Z.width;this._stageHeight=Z.height;this._rotate=Z.autoPlay;this._cssTransition=B.support.transition&&!f?Z.cssTransition:false;this._cssTransform=B.support.transform&&this._cssTransition;this._numItems;this._currIndex;this._effects={};this._backward;this._verticalCPanel;this._timer;this._timerId=null;this._tooltipId=null;this._layerIds=[];this._inProgress=false;this._start;this._delay=0;this._cpAlign;this._effectArray;this._startX;this._startY;this._swipeMove;this._swipeStart;this._touchScrolling;this._scrollEasing;this._promise;this._winWidth;this._$rotator=B(aa);this._$stage;this._$screen;this._$layers;this._$preloader;this._$cpanel;this._$cpWrapper;this._$extPanel;this._$thumbPanel;this._$list;this._$items;this._$thumbList;this._$thumbs;this._$tooltip;this._$currItem;this._$prevItem;this._namespace="."+((typeof this._$rotator.attr("id")!=="undefined")?this._$rotator.attr("id"):"rotator");this.init()}I.prototype={init:function(){if(!this._cssTransition){B.fn.transition=B.fn.animate;B.fn.stopTransition=B.fn.stop}this._$list=this._$rotator.find(">ul");if(!this._$list.hasClass("br-slides")){this._$list.addClass("br-slides")}if(this._options.shuffle){this.shuffleItems(this._$list)}this._$items=this._$list.children("li").addClass("br-item");this._numItems=this._$items.length;if("random"===this._options.startIndex){this._currIndex=Math.floor(Math.random()*this._numItems)}else{var Z=parseInt(this._options.startIndex,0);this._currIndex=(!isNaN(Z)&&0<=Z&&Z');this._$screen=this._$list.parent();this._$stage=this._$screen.parent();this.setBackgroundColor(this._$screen,this._options.backgroundColor);this._$screen.append('
');this._$preloader=this._$screen.find(">.br-preloader");if(false!==this._options.timer&&"none"!==this._options.timer){if("pie"===this._options.timer){if(this._cssTransform){this._timer=new Y(this._$screen,this._options.timerAlign)}}else{this._timer=new y(this._$screen,this._options.timerAlign)}}if("large"===this._options.navButtons&&1
").addClass("br-wrapper").copyBorder(this._$rotator);this._$rotator.css({borderWidth:0,borderRadiusTopLeft:0,borderRadiusTopRight:0,borderRadiusBottomLeft:0,borderRadiusBottomRight:0});if(!this._options.responsive){Z.css({width:this._$rotator.outerWidth(true),height:this._$rotator.outerHeight(true)})}this._$rotator.wrap(Z)},initSideButtons:function(){var Z=B("
").addClass("br-side-prev").click(B.proxy(this.prevSlide,this));var ab=B("
").addClass("br-side-next").click(B.proxy(this.nextSlide,this));var aa=Z.add(ab).mousedown(F);if(!f){aa.find(">div").addClass("br-opacity-transition")}this._$screen.append(aa);if(this._options.navButtonsOnHover){aa.css({opacity:0});this._$rotator.hover(function(){aa.animate({opacity:1},{duration:Q,queue:false})},B.proxy(function(ac){if(!this.onTooltip(ac)){aa.animate({opacity:0},{duration:Q,queue:false})}},this))}},initItems:function(){for(var ab=0;ab
img");if(0===Z.length){ac=aa.attr("href");ai=H(aa.text(),"")}ag.data("imgurl",aa.attr("href")).append(B('').addClass("br-main-img"))}else{Z=ag.find(">img:not(.tt-img):first").addClass("br-main-img")}if(Z.length){if(typeof Z.data("thumb")!=="undefined"){ac=Z.data("thumb")}else{ac=Z.attr("src")}ai=H(Z.attr("title"),"");Z.removeAttr("title")}if("image"===this._options.tooltip){if(0===ag.find(">img.tt-img").length){ag.append(B('').addClass("tt-img").attr("src",ac))}}var af=ag.data("link");if(typeof af!=="undefined"&&""!==B.trim(af)){var ae=B("").addClass("br-main-link").attr("href",af),ad=ag.data("target");if(typeof ad!=="undefined"){ae.attr("target",ad)}if(this._options.pauseOnInteraction){ae.click(B.proxy(this.pause,this))}this._$screen.find(">.br-links").append(ae);ag.data("linkEl",ae)}this.setShorthandData(ag,"transition",["effect","duration","easing","delay"]);ag.data({caption:ai,thumburl:ac,ready:false,effect:H(ag.data("effect"),this._options.effect),duration:M(ag.data("duration"),this._options.duration),easing:this.checkEasing(H(ag.data("easing"),this._options.easing)),delay:M(ag.data("delay"),this._options.delay)});this.initLayer(ag)}var ah=this._$screen.find(">.br-layers");this._$layers=ah.children();if(f){this._$layers.css("backface-visibility","visible")}if(this._options.layerOnHover){ah.css({opacity:0});this._$rotator.hover(function(){ah.animate({opacity:1},{duration:300,queue:false})},function(){ah.animate({opacity:0},{duration:300,queue:false})})}},initCPanel:function(){this._$cpanel=B("").addClass("br-cpanel");this._$rotator.append(this._$cpanel);this._cpAlign=H(X[this._options.cpanelAlign],X.bottom);this._verticalCPanel=("left"===this._cpAlign[0]||"right"===this._cpAlign[0]);this.initThumbnails();this.initButtons();var ah=this._$cpanel.children();if(ah.length){this._$cpanel.wrap('');this._$cpWrapper=this._$cpanel.parent();if(this._verticalCPanel){var ac=0,af=Math.max.apply(null,ah.map(function(){return B(this).outerWidth(true)}).get()),ad=0,Z=0;ah.each(function(){B(this).css({left:Math.floor((af-B(this).outerWidth(true))/2)});var ai=B(this).outerHeight(true);if(B(this).data("front")){B(this).css({top:ad});ad+=ai}else{B(this).css({bottom:Z});Z+=ai}ac+=ai});this._$cpanel.css({width:af,height:ac});if("top"===this._cpAlign[1]){this._$cpWrapper.css({top:0})}else{if("bottom"===this._cpAlign[1]){this._$cpWrapper.css({bottom:0})}else{this._$cpWrapper.css({top:"50%"});this._$cpanel.css({top:-this._$cpanel.outerHeight(true)/2})}}if(this._options.cpanelOutside){this.setOutsideVerticalCPanel()}else{this.setInsideCPanel()}if(false!==this._options.thumbnails){this._$cpanel.data({margin:this._$cpanel.outerHeight(true)-this._$cpanel.height(),buttonsSize:this._$cpanel.height()-ah.filter(".br-thumbnails").height()});if(this._options.responsive){this._$rotator.bind(b,B.proxy(this.resizeVerticalCPanel,this));this.initVerticalScroll()}else{if(this._$cpanel.outerHeight(true)>this._stageHeight){this.resizeVerticalCPanel();this.initVerticalScroll()}}}}else{var ab=0,ag=Math.max.apply(null,ah.map(function(){return B(this).outerHeight(true)}).get()),aa=0,ae=0;ah.each(function(){B(this).css({top:Math.floor((ag-B(this).outerHeight(true))/2)});var ai=B(this).outerWidth(true);if(B(this).data("front")){B(this).css({left:aa});aa+=ai}else{B(this).css({right:ae});ae+=ai}ab+=ai});this._$cpanel.css({width:ab,height:ag});if("left"===this._cpAlign[1]){this._$cpWrapper.css({left:0})}else{if("right"===this._cpAlign[1]){this._$cpWrapper.css({right:0})}else{this._$cpWrapper.css({left:"50%"});this._$cpanel.css({left:-this._$cpanel.outerWidth(true)/2})}}if(this._options.cpanelOutside){this.setOutsideHorizontalCPanel()}else{this.setInsideCPanel()}if(false!==this._options.thumbnails){this._$cpanel.data({margin:this._$cpanel.outerWidth(true)-this._$cpanel.width(),buttonsSize:this._$cpanel.width()-ah.filter(".br-thumbnails").width()});if(this._options.responsive){this._$rotator.bind(b,B.proxy(this.resizeHorizontalCPanel,this));this.initHorizontalScroll()}else{if(this._$cpanel.outerWidth(true)>this._stageWidth){this.resizeHorizontalCPanel();this.initHorizontalScroll()}}}}this._$cpanel.css({visibility:"visible"})}else{this._$cpanel.remove()}},setInsideCPanel:function(){this._$cpWrapper.css(this._cpAlign[0],0);if(this._options.cpanelOnHover){this._$cpanel.css({opacity:0});this._$rotator.hover(B.proxy(function(){this._$cpanel.animate({opacity:1},{duration:Q,queue:false})},this),B.proxy(function(Z){if(!this.onTooltip(Z)){this._$cpanel.animate({opacity:0},{duration:Q,queue:false})}},this))}},setOutsideHorizontalCPanel:function(){this._$cpWrapper.wrap('');this._$extPanel=this._$cpWrapper.parent().prepend('');var aa=this._$cpWrapper.height(),ab,Z;if("top"===this._cpAlign[0]){ab="marginTop";Z="top"}else{ab="marginBottom";Z="bottom"}this._$rotator.css(ab,aa).css({overflow:"visible"});this._$extPanel.css({left:0,width:"100%",height:aa}).css(Z,-aa);this.createBorderWrapper()},setOutsideVerticalCPanel:function(){this._$cpWrapper.wrap('');this._$extPanel=this._$cpWrapper.parent().prepend('');var aa=this._$cpWrapper.width(),ab,Z;if("left"===this._cpAlign[0]){ab="marginLeft";Z="left"}else{ab="marginRight";Z="right"}this._$rotator.css(ab,aa).css({overflow:"visible"});this._$extPanel.css({top:0,width:aa,height:"100%"}).css(Z,-aa);this.createBorderWrapper()},setBackgroundColor:function(Z,aa){if(typeof aa!=="undefined"){if(""===B.trim(aa)){aa="transparent"}Z.css({backgroundColor:aa})}},initButtons:function(){var aa={width:this._options.buttonWidth,height:this._options.buttonHeight,margin:this._options.buttonMargin},ab,Z,ac;if(this._options.playButton&&1");ab.addClass("br-play-button").css(aa).toggleClass("br-pause",this._rotate).click(B.proxy(this.togglePlay,this)).mousedown(F);if(!f){ab.addClass("br-all-color-transition")}this._$cpanel.prepend(ab)}if((true===this._options.navButtons||"small"===this._options.navButtons)&&1
").addClass("br-prev-button").css(aa).toggleClass("br-up",this._verticalCPanel).click(B.proxy(this.prevSlide,this)).mousedown(F);ac=B("
").addClass("br-next-button").css(aa).toggleClass("br-down",this._verticalCPanel).click(B.proxy(this.nextSlide,this)).mousedown(F);if(!f){Z.add(ac).addClass("br-all-color-transition")}if(typeof ab!=="undefined"){ab.before(ac).after(Z)}else{Z.data("front",true);this._$cpanel.append(Z).prepend(ac)}}},initThumbnails:function(){var ac=(1
").addClass("br-thumbnails");this._$thumbList=B("