(function(f){f.browser.msie&&parseInt(f.browser.version)<9&&(f(document).ready(function(){f("body").addClass("wk-ie wk-ie"+parseInt(f.browser.version))}),f.each("abbr,article,aside,audio,canvas,details,figcaption,figure,footer,header,hgroup,mark,meter,nav,output,progress,section,summary,time,video".split(","),function(){document.createElement(this)}))})(jQuery);(function(f){f.trans={__data:{},addDic:function(e){f.extend(this.__data,e)},add:function(e,a){this.__data[e]=a},get:function(e){if(!this.__data[e])return e;var a=arguments.length==1?[]:Array.prototype.slice.call(arguments,1);return this.printf(String(this.__data[e]),a)},printf:function(e,a){if(!a)return e;var c="",b=e.split("%s");if(b.length==1)return e;for(var d=0;d").parent().css("overflow","hidden");e.data("height",e.height()).addClass("content-wrapper");a==b.index?(c.addClass("active"),e.show()):e.hide().css("height",0);c.bind(b.event,function(){g(a)})})}});d.fn[a.prototype.name]=function(){var h=arguments,b=h[0]?h[0]:null;return this.each(function(){var c=d(this);if(a.prototype[b]&&c.data(a.prototype.name)&&b!="initialize")c.data(a.prototype.name)[b].apply(c.data(a.prototype.name),Array.prototype.slice.call(h,1));else if(!b||d.isPlainObject(b)){var g=new a;a.prototype.initialize&&g.initialize.apply(g,d.merge([c],h));c.data(a.prototype.name,g)}else d.error("Method "+b+" does not exist on jQuery."+a.name)})}})(jQuery); (function(c){function m(a){a=a||{};a.transition&&(a[q+"transition"]=a.transition);a.transform&&(a[q+"transform"]=a.transform);return a}var l=document.createElement("div"),l=l.style,n,s="-webkit- -moz- -o- -ms- -khtml-".split(" "),r="Webkit Moz O ms Khtml".split(" "),q="";n=!1;for(var j=0;j").css(b,0).css(m({position:"absolute",left:d*e+"px",width:k+"px",height:0,background:"url("+f.attr("src")+") no-repeat -"+(d+e*d-d)+"px "+b,opacity:0,transition:"all "+a.duration+"ms ease-in "+e*60+"ms"})))}this.slices=this.slicer.children();c.widgetkit.effects.bindTransitionEnd.apply(this,[this.slices.get(this.slices.length- 1)]);this.current.css({"z-index":1});this.slicer.show();var i=this.wrapper.height();if(n)this.slices.css(m({height:i,opacity:1}));else{var h=0;this.slices.each(function(b){var d=c(this);setTimeout(function(){d.animate({height:i,opacity:1},a.duration,function(){b==a.slices.length-1&&c(this).trigger("transitionend")})},h);h+=60})}}else this.next.css({"z-index":"2",left:0,top:0}).show(),this.current.hide(),this.fx=null},sliceUp:function(){c.widgetkit.effects.slice.apply(this)},sliceDown:function(){c.widgetkit.effects.slice.apply(this)},sliceUpDown:function(){c.widgetkit.effects.slice.apply(this)},fold:function(){o(this);var a=this,f=this.next.find("img:first");if(f.length){for(var b=Math.round(this.slicer.width()/this.options.slices)+2,d=0;d").css(m({position:"absolute",left:b*d+"px",width:e,top:"0px",height:a.options.height,background:"url("+f.attr("src")+") no-repeat -"+(b+d*b-b)+"px 0%",opacity:0,transform:"scalex(0.0001)",transition:"all "+a.duration+"ms ease-in "+(100+d*60)+"ms"})))}this.slices=this.slicer.children();c.widgetkit.effects.bindTransitionEnd.apply(this,[this.slices.get(this.slices.length-1)]);this.current.css({"z-index":1});this.slicer.show();if(n)this.slices.css(m({opacity:1,transform:"scalex(1)"}));else{var k=0;this.slices.width(0).each(function(d){var f=d==a.options.slices-1?a.slicer.width()-b*d:b,e=c(this);setTimeout(function(){e.animate({opacity:1,width:f},a.duration,function(){d==a.slices.length- 1&&c(this).trigger("transitionend")})},k+100);k+=50})}}else this.next.css({"z-index":"2",left:0,top:0}).show(),this.current.hide(),this.fx=null},puzzle:function(){o(this);var a=this,f=Math.round(this.options.slices/2),b=Math.round(this.wrapper.width()/f),d=Math.round(this.wrapper.height()/b),e=Math.round(this.wrapper.height()/d)+1,k=this.next.find("img:first");if(k.length){for(var i=this.wrapper.width(),h=0;h").css(m({position:"absolute",left:b*g+"px",width:g==f-1?i-b*g+"px":b+"px",top:e*h+"px",height:e+"px",background:"url("+k.attr("src")+") no-repeat -"+(b+g*b-b)+"px -"+(e+h*e-e)+"px",opacity:0,transition:"all "+a.duration+"ms ease-in 0ms"}));j+=1;this.slicer.append(t)}this.slices=u(this.slicer.children());c.widgetkit.effects.bindTransitionEnd.apply(this,[this.slices.get(this.slices.length-1)]);this.current.css({"z-index":1});this.slicer.show();this.slices.each(function(b){var d=c(this);setTimeout(function(){n?d.css(m({opacity:1})):d.animate({opacity:1},a.duration,function(){b==a.slices.length-1&&c(this).trigger("transitionend")})},100+b*50)})}else this.next.css({"z-index":"2",left:0,top:0}).show(),this.current.hide(),this.fx=null},boxes:function(){o(this);var a=this,f=Math.round(this.options.slices/2),b=Math.round(this.wrapper.width()/f),d=Math.round(this.wrapper.height()/b),e=Math.round(this.wrapper.height()/d)+1,k=0,i=this.next.find("img:first");if(i.length){for(var h=0;h").css(m({position:"absolute",left:b*g+"px",width:0,top:e*h+"px",height:0,background:"url("+i.attr("src")+") no-repeat -"+(b+g*b-b)+"px -"+(e+h*e-e)+"px",opacity:0,transition:"all "+(100+a.duration)+"ms ease-in 0ms"})).data("base",{width:g==f-1?this.wrapper.width()-b*g:b,height:e}));this.slices=this.slicer.children();this.current.css({"z-index":1});this.slicer.show();var j=0,l=0,p=[];p[j]=[];b=this.animated=="boxesRtl"?this.slices._reverse():this.slices;c.widgetkit.effects.bindTransitionEnd.apply(this,[b.get(b.length-1)]);b.each(function(){p[j][l]=c(this);l++;l==f&&(j++,l=0,p[j]=[])});for(g=e=0;g=0&&i").addClass("slices").css({top:"0px",left:"0px",position:"absolute",width:a.wrapper.width(),height:a.ul.height(),"z-index":3}).hide().appendTo(a.ul)}})(jQuery); (function(c){var d=function(){};d.prototype=c.extend(d.prototype,{name:"galleryslideshow",options:{index:0,width:"auto",height:"auto",autoplay:!0,interval:3E3,navbar_items:4,caption_animation_duration:500},nav:null,navbar:null,captions:null,caption:null,initialize:function(b,g){var a=this,e=0,d=0;this.options=c.extend({},c.widgetkit.effects.defaults,this.options,g);this.element=this.wrapper=b;this.ul=this.wrapper.find("ul.slides:first");this.ul.children().each(function(){e=Math.max(e,c(this).height());d=Math.max(d,c(this).width())});if(this.options.height=="auto")this.options.height=e;if(this.options.width=="auto")this.options.width=d;this.wrapper.css({position:"relative",width:this.options.width});this.slides=this.ul.css({position:"relative",overflow:"hidden",height:this.options.height}).children().css({top:"0px",left:"0px",position:"absolute",width:this.wrapper.width(),height:this.options.height}).hide();this.index=this.slides[this.options.index]?this.options.index:0;c(".next",this.wrapper).bind("click",function(){a.stop();a.nextSlide()});c(".prev",this.wrapper).bind("click",function(){a.stop();a.prevSlide()});c(this.slides.get(this.index)).show();if(this.wrapper.find(".nav:first").length){this.nav=this.wrapper.find(".nav:first");var f=this.nav.children();this.nav.parent().hasClass("navbar")&&this.initNavbar(f);f.children().each(function(b){c(this).bind("click",function(){a.stop();a.slides[b]&&a.show(b)})});b.bind("slideshow-show",function(b,a,d){c(f.removeClass("active").get(d)).addClass("active")})}if(this.wrapper.find(".captions:first").length&&this.wrapper.find(".caption:first").length)this.captions=this.wrapper.find(".captions:first").hide().children(),this.caption=this.wrapper.find(".caption:first").hide();this.nav&&c(this.nav.children().get(this.index)).addClass("active");this.navbar&&c(this.navbar.children().get(this.index)).addClass("active");this.showCaption(this.index);this.timer=null;this.hover=!1;this.wrapper.hover(function(){a.hover=!0},function(){a.hover=!1});this.options.autoplay&&this.start();"ontouchend"in document&&(b.bind("touchstart",function(a){function d(b){if(e){var a=b.originalEvent.touches?b.originalEvent.touches[0]:b;f={time:(new Date).getTime(),coords:[a.pageX,a.pageY]};Math.abs(e.coords[0]-f.coords[0])>10&&b.preventDefault()}}var g=a.originalEvent.touches?a.originalEvent.touches[0]:a,e={time:(new Date).getTime(),coords:[g.pageX,g.pageY],origin:c(a.target)},f;b.bind("touchmove",d).one("touchend",function(){b.unbind("touchmove",d);e&&f&&f.time-e.time<1E3&&Math.abs(e.coords[0]-f.coords[0])>30&&Math.abs(e.coords[1]-f.coords[1])<75&&e.origin.trigger("swipe").trigger(e.coords[0]>f.coords[0]?"swipeleft":"swiperight");e=f=void 0})}),this.wrapper.bind("swipeleft",function(){a.stop();a.nextSlide()}).bind("swiperight",function(){a.stop();a.prevSlide()}))},nextSlide:function(){this.show(this.slides[this.index+1]?this.index+1:0)},prevSlide:function(){this.show(this.index-1>-1?this.index-1:this.slides.length-1)},show:function(b){if(!(this.index==b||this.fx))this.current=c(this.slides.get(this.index)),this.next=c(this.slides.get(b)),this.animated=this.options.animated,this.duration=this.options.duration,this.easing=this.options.easing,this.dir=b>this.index?"right":"left",this.showCaption(b),this.element.trigger("slideshow-show",[this.index,b]),this.index=b,c.widgetkit.effects.show.apply(this)},showCaption:function(b){if(this.caption&&this.captions[b]){var d=c(this.captions.get(b)).html();c.trim(d)==""?this.caption.is(":visible")&&this.caption.fadeOut(this.options.caption_animation_duration):this.caption.is(":visible")?this.caption.fadeOut(this.options.caption_animation_duration,function(){c(this).html(d)}).delay(200).fadeIn(this.options.caption_animation_duration):this.caption.html(d).fadeIn(this.options.caption_animation_duration)}},start:function(){if(!this.timer){var b=this;this.timer=setInterval(function(){b.hover||b.nextSlide()},this.options.interval)}},stop:function(){this.timer&&clearInterval(this.timer)},initNavbar:function(b){this.nav.wrap('