PageSourceSearch

https://www.balloonfestival.it/customerdata/64/scripts/min/site.js?v=639159220891

js balloonfestival.it collected 2026-09-26 14:40:50 UTC 101,705 bytes, 26 lines download raw bytes

vendor: 7,571 bytes, lines 1-6
1/*
2* jQuery Cycle2; version: 2.1.6 build: 20141007
3* http://jquery.malsup.com/cycle2/
4* Copyright (c) 2014 M. Alsup; Dual licensed: MIT/GPL
5*/
6!function(d){function e(b){return(b||"").toLowerCase()}var f="2.1.6";d.fn.cycle=function(a){var b;return 0!==this.length||d.isReady?this.each(function(){var c,k,l,m,n=d(this),o=d.fn.cycle.log;if(!n.data("cycle.opts")){(n.data("cycle-log")===!1||a&&a.log===!1||k&&k.log===!1)&&(o=d.noop),o("--c2 init--"),c=n.data();for(var p in c){c.hasOwnProperty(p)&&/^cycle[A-Z]+/.test(p)&&(m=c[p],l=p.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,e),o(l+":",m,"("+typeof m+")"),c[l]=m)}k=d.extend({},d.fn.cycle.defaults,c,a||{}),k.timeoutId=0,k.paused=k.paused||!1,k.container=n,k._maxZ=k.maxZ,k.API=d.extend({_container:n},d.fn.cycle.API),k.API.log=o,k.API.trigger=function(g,h){return k.container.trigger(g,h),k.API},n.data("cycle.opts",k),n.data("cycle.API",k.API),k.API.trigger("cycle-bootstrap",[k,k.API]),k.API.addInitialSlides(),k.API.preInitSlideshow(),k.slides.length&&k.API.initSlideshow()}}):(b={s:this.selector,c:this.context},d.fn.cycle.log("requeuing slideshow (dom not ready)"),d(function(){d(b.s,b.c).cycle(a)}),this)},d.fn.cycle.API={opts:function(){return this._container.data("cycle.opts")},addInitialSlides:function(){var a=this.opts(),g=a.slides;a.slideCount=0,a.slides=d(),g=g.jquery?g:a.container.find(g),a.random&&g.sort(function(){return Math.random()-0.5}),a.API.add(g)},preInitSlideshow:function(){var a=this.opts();a.API.trigger("cycle-pre-initialize",[a]);var g=d.fn.cycle.transitions[a.fx];g&&d.isFunction(g.preInit)&&g.preInit(a),a._preInitialized=!0},postInitSlideshow:function(){var a=this.opts();a.API.trigger("cycle-post-initialize",[a]);var g=d.fn.cycle.transitions[a.fx];g&&d.isFunction(g.postInit)&&g.postInit(a)},initSlideshow:function(){var a,g=this.opts(),h=g.container;g.API.calcFirstSlide(),"static"==g.container.css("position")&&g.container.css("position","relative"),d(g.slides[g.currSlide]).css({opacity:1,display:"block",visibility:"visible"}),g.API.stackSlides(g.slides[g.currSlide],g.slides[g.nextSlide],!g.reverse),g.pauseOnHover&&(g.pauseOnHover!==!0&&(h=d(g.pauseOnHover)),h.hover(function(){g.API.pause(!0)},function(){g.API.resume(!0)})),g.timeout&&(a=g.API.getSlideOpts(g.currSlide),g.API.queueTransition(a,a.timeout+g.delay)),g._initialized=!0,g.API.updateView(!0),g.API.trigger("cycle-initialized",[g]),g.API.postInitSlideshow()},pause:function(a){var g=this.opts(),h=g.API.getSlideOpts(),i=g.hoverPaused||g.paused;a?g.hoverPaused=!0:g.paused=!0,i||(g.container.addClass("cycle-paused"),g.API.trigger("cycle-paused",[g]).log("cycle-paused"),h.timeout&&(clearTimeout(g.timeoutId),g.timeoutId=0,g._remainingTimeout-=d.now()-g._lastQueue,(g._remainingTimeout<0||isNaN(g._remainingTimeout))&&(g._remainingTimeout=void 0)))},resume:function(g){var h=this.opts(),i=!h.hoverPaused&&!h.paused;g?h.hoverPaused=!1:h.paused=!1,i||(h.container.removeClass("cycle-paused"),0===h.slides.filter(":animated").length&&h.API.queueTransition(h.API.getSlideOpts(),h._remainingTimeout),h.API.trigger("cycle-resumed",[h,h._remainingTimeout]).log("cycle-resumed"))},add:function(a,h){var i,j=this.opts(),k=j.slideCount,l=!1;"string"==d.type(a)&&(a=d.trim(a)),d(a).each(function(){var c,g=d(this);h?j.container.prepend(g):j.container.append(g),j.slideCount++,c=j.API.buildSlideOpts(g),j.slides=h?d(g).add(j.slides):j.slides.add(g),j.API.initSlide(c,g,--j._maxZ),g.data("cycle.opts",c),j.API.trigger("cycle-slide-added",[j,c,g])}),j.API.updateView(!0),l=j._preInitialized&&2>k&&j.slideCount>=1,l&&(j._initialized?j.timeout&&(i=j.slides.length,j.nextSlide=j.reverse?i-1:1,j.timeoutId||j.API.queueTransition(j)):j.API.initSlideshow())},calcFirstSlide:function(){var c,g=this.opts();c=parseInt(g.startingSlide||0,10),(c>=g.slides.length||0>c)&&(c=0),g.currSlide=c,g.reverse?(g.nextSlide=c-1,g.nextSlide<0&&(g.nextSlide=g.slides.length-1)):(g.nextSlide=c+1,g.nextSlide==g.slides.length&&(g.nextSlide=0))},calcNextSlide:function(){var c,g=this.opts();g.reverse?(c=g.nextSlide-1<0,g.nextSlide=c?g.slideCount-1:g.nextSlide-1,g.currSlide=c?0:g.nextSlide+1):(c=g.nextSlide+1==g.slides.length,g.nextSlide=c?0:g.nextSlide+1,g.currSlide=c?g.slides.length-1:g.nextSlide-1)},calcTx:function(a,g){var h,i=a;return i._tempFx?h=d.fn.cycle.transitions[i._tempFx]:g&&i.manualFx&&(h=d.fn.cycle.transitions[i.manualFx]),h||(h=d.fn.cycle.transitions[i.fx]),i._tempFx=null,this.opts()._tempFx=null,h||(h=d.fn.cycle.transitions.fade,i.API.log('Transition "'+i.fx+'" not found.  Using fade.')),h},prepareTx:function(i,j){var k,l,m,n,o,p=this.opts();return p.slideCount<2?void (p.timeoutId=0):(!i||p.busy&&!p.manualTrump||(p.API.stopTransition(),p.busy=!1,clearTimeout(p.timeoutId),p.timeoutId=0),void (p.busy||(0!==p.timeoutId||i)&&(l=p.slides[p.currSlide],m=p.slides[p.nextSlide],n=p.API.getSlideOpts(p.nextSlide),o=p.API.calcTx(n,i),p._tx=o,i&&void 0!==n.manualSpeed&&(n.speed=n.manualSpeed),p.nextSlide!=p.currSlide&&(i||!p.paused&&!p.hoverPaused&&p.timeout)?(p.API.trigger("cycle-before",[n,l,m,j]),o.before&&o.before(n,l,m,j),k=function(){p.busy=!1,p.container.data("cycle.opts")&&(o.after&&o.after(n,l,m,j),p.API.trigger("cycle-after",[n,l,m,j]),p.API.queueTransition(n),p.API.updateView(!0))},p.busy=!0,o.transition?o.transition(n,l,m,j,k):p.API.doTransition(n,l,m,j,k),p.API.calcNextSlide(),p.API.updateView()):p.API.queueTransition(n))))},doTransition:function(a,k,l,m,n){var o=a,p=d(k),q=d(l),r=function(){q.animate(o.animIn||{opacity:1},o.speed,o.easeIn||o.easing,n)};q.css(o.cssBefore||{}),p.animate(o.animOut||{},o.speed,o.easeOut||o.easing,function(){p.css(o.cssAfter||{}),o.sync||r()}),o.sync&&r()},queueTransition:function(a,g){var h=this.opts(),i=void 0!==g?g:a.timeout;return 0===h.nextSlide&&0===--h.loop?(h.API.log("terminating; loop=0"),h.timeout=0,i?setTimeout(function(){h.API.trigger("cycle-finished",[h])},i):h.API.trigger("cycle-finished",[h]),void (h.nextSlide=h.currSlide)):void 0!==h.continueAuto&&(h.continueAuto===!1||d.isFunction(h.continueAuto)&&h.continueAuto()===!1)?(h.API.log("terminating automatic transitions"),h.timeout=0,void (h.timeoutId&&clearTimeout(h.timeoutId))):void (i&&(h._lastQueue=d.now(),void 0===g&&(h._remainingTimeout=a.timeout),h.paused||h.hoverPaused||(h.timeoutId=setTimeout(function(){h.API.prepareTx(!1,!h.reverse)},i))))},stopTransition:function(){var b=this.opts();b.slides.filter(":animated").length&&(b.slides.stop(!1,!0),b.API.trigger("cycle-transition-stopped",[b])),b._tx&&b._tx.stopTransition&&b._tx.stopTransition(b)},advanceSlide:function(c){var g=this.opts();return clearTimeout(g.timeoutId),g.timeoutId=0,g.nextSlide=g.currSlide+c,g.nextSlide<0?g.nextSlide=g.slides.length-1:g.nextSlide>=g.slides.length&&(g.nextSlide=0),g.API.prepareTx(!0,c>=0),!1},buildSlideOpts:function(a){var b,j,k=this.opts(),l=a.data()||{};for(var m in l){l.hasOwnProperty(m)&&/^cycle[A-Z]+/.test(m)&&(b=l[m],j=m.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,e),k.API.log("["+(k.slideCount-1)+"]",j+":",b,"("+typeof b+")"),l[j]=b)}l=d.extend({},d.fn.cycle.defaults,k,l),l.slideNum=k.slideCount;try{delete l.API,delete l.slideCount,delete l.currSlide,delete l.nextSlide,delete l.slides}catch(n){}return l},getSlideOpts:function(a){var g=this.opts();void 0===a&&(a=g.currSlide);var h=g.slides[a],i=d(h).data("cycle.opts");return d.extend({},g,i)},initSlide:function(a,g,h){var i=this.opts();g.css(a.slideCss||{}),h>0&&g.css("zIndex",h),isNaN(a.speed)&&(a.speed=d.fx.speeds[a.speed]||d.fx.speeds._default),a.sync||(a.speed=a.speed/2),g.addClass(i.slideClass)},updateView:function(g,h){var i=this.opts();
6if(i._initialized){var j=i.API.getSlideOpts(),k=i.slides[i.currSlide];!g&&h!==!0&&(i.API.trigger("cycle-update-view-before",[i,j,k]),i.updateView<0)||(i.slideActiveClass&&i.slides.removeClass(i.slideActiveClass).eq(i.currSlide).addClass(i.slideActiveClass),g&&i.hideNonActive&&i.slides.filter(":not(."+i.slideActiveClass+")").css("visibility","hidden"),0===i.updateView&&setTimeout(function(){i.API.trigger("cycle-update-view",[i,j,k,g])},j.speed/(i.sync?2:1)),0!==i.updateView&&i.API.trigger("cycle-update-view",[i,j,k,g]),g&&i.API.trigger("cycle-update-view-after",[i,j,k]))}},getComponent:function(a){var g=this.opts(),h=g[a];return"string"==typeof h?/^\s*[\>|\+|~]/.test(h)?g.container.find(h):d(h):h.jquery?h:d(h)},stackSlides:function(a,i,j){var k=this.opts();a||(a=k.slides[k.currSlide],i=k.slides[k.nextSlide],j=!k.reverse),d(a).css("zIndex",k.maxZ);var l,m=k.maxZ-2,n=k.slideCount;if(j){for(l=k.currSlide+1;n>l;l++){d(k.slides[l]).css("zIndex",m--)}for(l=0;l<k.currSlide;l++){d(k.slides[l]).css("zIndex",m--)}}else{for(l=k.currSlide-1;l>=0;l--){d(k.slides[l]).css("zIndex",m--)}for(l=n-1;l>k.currSlide;l--){d(k.slides[l]).css("zIndex",m--)}}d(i).css("zIndex",k.maxZ-1)},getSlideIndex:function(b){return this.opts().slides.index(b)}},d.fn.cycle.log=function(){window.console&&console.log&&console.log("[cycle2] "+Array.prototype.join.call(arguments," "))},d.fn.cycle.version=function(){return"Cycle2: "+f},d.fn.cycle.transitions={custom:{},none:{before:function(g,h,i,j){g.API.stackSlides(i,h,j),g.cssBefore={opacity:1,visibility:"visible",display:"block"}}},fade:{before:function(a,g,h,i){var j=a.API.getSlideOpts(a.nextSlide).slideCss||{};a.API.stackSlides(g,h,i),a.cssBefore=d.extend(j,{opacity:0,visibility:"visible",display:"block"}),a.animIn={opacity:1},a.animOut={opacity:0}
vendor: 5,245 bytes, lines 6-12
6}},fadeout:{before:function(a,g,h,i){var j=a.API.getSlideOpts(a.nextSlide).slideCss||{};a.API.stackSlides(g,h,i),a.cssBefore=d.extend(j,{opacity:1,visibility:"visible",display:"block"}),a.animOut={opacity:0}}},scrollHorz:{before:function(g,h,i,j){g.API.stackSlides(h,i,j);var k=g.container.css("overflow","hidden").width();g.cssBefore={left:j?k:-k,top:0,opacity:1,visibility:"visible",display:"block"},g.cssAfter={zIndex:g._maxZ-2,left:0},g.animIn={left:0},g.animOut={left:j?-k:k}}}},d.fn.cycle.defaults={allowWrap:!0,autoSelector:".cycle-slideshow[data-cycle-auto-init!=false]",delay:0,easing:null,fx:"fade",hideNonActive:!0,loop:0,manualFx:void 0,manualSpeed:void 0,manualTrump:!0,maxZ:100,pauseOnHover:!1,reverse:!1,slideActiveClass:"cycle-slide-active",slideClass:"cycle-slide",slideCss:{position:"absolute",top:0,left:0},slides:"> img",speed:500,startingSlide:0,sync:!0,timeout:4000,updateView:0},d(document).ready(function(){d(d.fn.cycle.defaults.autoSelector).cycle()})}(jQuery),
7/* Cycle2 autoheight plugin; Copyright (c) M.Alsup, 2012; version: 20130913 */
8function(f){function g(a,c){var k,l,m,n=c.autoHeight;if("container"==n){l=f(c.slides[c.currSlide]).outerHeight(),c.container.height(l)}else{if(c._autoHeightRatio){c.container.height(c.container.width()/c._autoHeightRatio)}else{if("calc"===n||"number"==f.type(n)&&n>=0){if(m="calc"===n?h(a,c):n>=c.slides.length?0:n,m==c._sentinelIndex){return}c._sentinelIndex=m,c._sentinel&&c._sentinel.remove(),k=f(c.slides[m].cloneNode(!0)),k.removeAttr("id name rel").find("[id],[name],[rel]").removeAttr("id name rel"),k.css({position:"static",visibility:"hidden",display:"block"}).prependTo(c.container).addClass("cycle-sentinel cycle-slide").removeClass("cycle-slide-active"),k.find("*").css("visibility","hidden"),c._sentinel=k}}}}function h(a,k){var l=0,m=-1;return k.slides.each(function(d){var e=f(this).height();e>m&&(m=e,l=d)}),l}function i(a,k,l,m){var n=f(m).outerHeight();k.container.animate({height:n},k.autoHeightSpeed,k.autoHeightEasing)}function j(a,b){b._autoHeightOnResize&&(f(window).off("resize orientationchange",b._autoHeightOnResize),b._autoHeightOnResize=null),b.container.off("cycle-slide-added cycle-slide-removed",g),b.container.off("cycle-destroyed",j),b.container.off("cycle-before",i),b._sentinel&&(b._sentinel.remove(),b._sentinel=null)}f.extend(f.fn.cycle.defaults,{autoHeight:0,autoHeightSpeed:250,autoHeightEasing:null}),f(document).on("cycle-initialized",function(a,b){function d(){g(a,b)}var e,l=b.autoHeight,m=f.type(l),n=null;("string"===m||"number"===m)&&(b.container.on("cycle-slide-added cycle-slide-removed",g),b.container.on("cycle-destroyed",j),"container"==l?b.container.on("cycle-before",i):"string"===m&&/\d+\:\d+/.test(l)&&(e=l.match(/(\d+)\:(\d+)/),e=e[1]/e[2],b._autoHeightRatio=e),"number"!==m&&(b._autoHeightOnResize=function(){clearTimeout(n),n=setTimeout(d,50)},f(window).on("resize orientationchange",b._autoHeightOnResize)),setTimeout(d,30))})}(jQuery),
9/* caption plugin for Cycle2;  version: 20130306 */
10function(b){b.extend(b.fn.cycle.defaults,{caption:"> .cycle-caption",captionTemplate:"{{slideNum}} / {{slideCount}}",overlay:"> .cycle-overlay",overlayTemplate:"<div>{{title}}</div><div>{{desc}}</div>",captionModule:"caption"}),b(document).on("cycle-update-view",function(a,f,g,h){if("caption"===f.captionModule){b.each(["caption","overlay"],function(){var c=this,d=g[c+"Template"],e=f.API.getComponent(c);e.length&&d?(e.html(f.API.tmpl(d,g,f,h)),e.show()):e.hide()})}}),b(document).on("cycle-destroyed",function(a,e){var f;b.each(["caption","overlay"],function(){var c=this,d=e[c+"Template"];e[c]&&d&&(f=e.API.getComponent("caption"),f.empty())})})}(jQuery),
11/* command plugin for Cycle2;  version: 20140415 */
12function(c){var d=c.fn.cycle;c.fn.cycle=function(a){var b,h,i,j=c.makeArray(arguments);return"number"==c.type(a)?this.cycle("goto",a):"string"==c.type(a)?this.each(function(){var e;return b=a,i=c(this).data("cycle.opts"),void 0===i?void d.log('slideshow must be initialized before sending commands; "'+b+'" ignored'):(b="goto"==b?"jump":b,h=i.API[b],c.isFunction(h)?(e=c.makeArray(j),e.shift(),h.apply(i.API,e)):void d.log("unknown command: ",b))}):d.apply(this,arguments)},c.extend(c.fn.cycle,d),c.extend(d.API,{next:function(){var e=this.opts();if(!e.busy||e.manualTrump){var f=e.reverse?-1:1;e.allowWrap===!1&&e.currSlide+f>=e.slideCount||(e.API.advanceSlide(f),e.API.trigger("cycle-next",[e]).log("cycle-next"))}},prev:function(){var e=this.opts();if(!e.busy||e.manualTrump){var f=e.reverse?1:-1;e.allowWrap===!1&&e.currSlide+f<0||(e.API.advanceSlide(f),e.API.trigger("cycle-prev",[e]).log("cycle-prev"))}},destroy:function(){this.stop();var a=this.opts(),e=c.isFunction(c._data)?c._data:c.noop;clearTimeout(a.timeoutId),a.timeoutId=0,a.API.stop(),a.API.trigger("cycle-destroyed",[a]).log("cycle-destroyed"),a.container.removeData(),e(a.container[0],"parsedAttrs",!1),a.retainStylesOnDestroy||(a.container.removeAttr("style"),a.slides.removeAttr("style"),a.slides.removeClass(a.slideActiveClass)),a.slides.each(function(){var b=c(this);b.removeData(),b.removeClass(a.slideClass),e(this,"parsedAttrs",!1)})},jump:function(f,g){var h,i=this.opts();if(!i.busy||i.manualTrump){var j=parseInt(f,10);if(isNaN(j)||0>j||j>
12=i.slides.length){return void i.API.log("goto: invalid slide index: "+j)}if(j==i.currSlide){return void i.API.log("goto: skipping, already on slide",j)}i.nextSlide=j,clearTimeout(i.timeoutId),i.timeoutId=0,i.API.log("goto: ",j," (zero-index)"),h=i.currSlide<i.nextSlide,i._tempFx=g,i.API.prepareTx(!0,h)}},stop:function(){var a=this.opts(),e=a.container;clearTimeout(a.timeoutId),a.timeoutId=0,a.API.stopTransition(),a.pauseOnHover&&(a.pauseOnHover!==!0&&(e=c(a.pauseOnHover)),e.off("mouseenter mouseleave")),a.API.trigger("cycle-stopped",[a]).log("cycle-stopped")},reinit:function(){var b=this.opts();b.API.destroy(),b.container.cycle()},remove:function(a){for(var i,j,k=this.opts(),l=[],m=1,n=0;n<k.slides.length;n++){i=k.slides[n],n==a?j=i:(l.push(i),c(i).data("cycle.opts").slideNum=m,m++)}j&&(k.slides=c(l),k.slideCount--,c(j).remove(),a==k.currSlide?k.API.advanceSlide(1):a<k.currSlide?k.currSlide--:k.currSlide++,k.API.trigger("cycle-slide-removed",[k,a,j]).log("cycle-slide-removed"),k.API.updateView())}}),c(document).on("click.cycle","[data-cycle-cmd]",function(a){a.preventDefault();var f=c(this),g=f.data("cycle-cmd"),h=f.data("cycle-context")||".cycle-slideshow";c(h).cycle(g,f.data("cycle-arg"))})}(jQuery),
13/* hash plugin for Cycle2;  version: 20130905 */
14function(c){function d(a,e){var f;return a._hashFence?void (a._hashFence=!1):(f=window.location.hash.substring(1),void a.slides.each(function(b){if(c(this).data("cycle-hash")==f){if(e===!0){a.startingSlide=b}else{var g=a.currSlide<b;a.nextSlide=b,a.API.prepareTx(!0,g)}return !1}}))}c(document).on("cycle-pre-initialize",function(a,b){d(b,!0),b._onHashChange=function(){d(b,!1)},c(window).on("hashchange",b._onHashChange)}),c(document).on("cycle-update-view",function(e,f,g){g.hash&&"#"+g.hash!=window.location.hash&&(f._hashFence=!0,window.location.hash=g.hash)}),c(document).on("cycle-destroyed",function(a,e){e._onHashChange&&c(window).off("hashchange",e._onHashChange)})}(jQuery),
15/* loader plugin for Cycle2;  version: 20131121 */
16function(b){b.extend(b.fn.cycle.defaults,{loader:!1}),b(document).on("cycle-bootstrap",function(a,f){function g(c,e){function k(d){var i;"wait"==f.loader?(m.push(d),0===o&&(m.sort(l),h.apply(f.API,[m,e]),f.container.removeClass("cycle-loading"))):(i=b(f.slides[f.currSlide]),h.apply(f.API,[d,e]),i.show(),f.container.removeClass("cycle-loading"))}function l(d,i){return d.data("index")-i.data("index")}var m=[];if("string"==b.type(c)){c=b.trim(c)}else{if("array"===b.type(c)){for(var n=0;n<c.length;n++){c[n]=b(c[n])[0]}}}c=b(c);var o=c.length;o&&(c.css("visibility","hidden").appendTo("body").each(function(d){function j(){0===--p&&(--o,k(q))}var p=0,q=b(this),r=q.is("img")?q:q.find("img");return q.data("index",d),r=r.filter(":not(.cycle-loader-ignore)").filter(':not([src=""])'),r.length?(p=r.length,void r.each(function(){this.complete?j():b(this).load(function(){j()}).on("error",function(){0===--p&&(f.API.log("slide skipped; img not loaded:",this.src),0===--o&&"wait"==f.loader&&h.apply(f.API,[m,e]))})})):(--o,void m.push(q))}),o&&f.container.addClass("cycle-loading"))}var h;f.loader&&(h=f.API.add,f.API.add=g)})}(jQuery),
17/* pager plugin for Cycle2;  version: 20140415 */
18function(d){function e(a,g,h){var i,j=a.API.getComponent("pager");j.each(function(){var b=d(this);if(g.pagerTemplate){var c=a.API.tmpl(g.pagerTemplate,g,a,h[0]);i=d(c).appendTo(b)}else{i=b.children().eq(a.slideCount-1)}i.on(a.pagerEvent,function(k){a.pagerEventBubble||k.preventDefault(),a.API.page(b,k.currentTarget)})})}function f(g,h){var i=this.opts();if(!i.busy||i.manualTrump){var j=g.children().index(h),k=j,l=i.currSlide<k;i.currSlide!=k&&(i.nextSlide=k,i._tempFx=i.pagerFx,i.API.prepareTx(!0,l),i.API.trigger("cycle-pager-activated",[i,g,h]))}}d.extend(d.fn.cycle.defaults,{pager:"> .cycle-pager",pagerActiveClass:"cycle-pager-active",pagerEvent:"click.cycle",pagerEventBubble:void 0,pagerTemplate:"<span>&bull;</span>"}),d(document).on("cycle-bootstrap",function(b,g,h){h.buildPagerLink=e}),d(document).on("cycle-slide-added",function(c,g,h,i){g.pager&&(g.API.buildPagerLink(g,h,i),g.API.page=f)}),d(document).on("cycle-slide-removed",function(a,g,h){if(g.pager){var i=g.API.getComponent("pager");i.each(function(){var c=d(this);d(c.children()[h]).remove()})}}),d(document).on("cycle-update-view",function(a,g){var h;g.pager&&(h=g.API.getComponent("pager"),h.each(function(){d(this).children().removeClass(g.pagerActiveClass).eq(g.currSlide).addClass(g.pagerActiveClass)}))}),d(document).on("cycle-destroyed",function(g,h){var i=h.API.getComponent("pager");i&&(i.children().off(h.pagerEvent),h.pagerTemplate&&i.empty())})}(jQuery),
19/* prevnext plugin for Cycle2;  version: 20140408 */
20function(b){b.extend(b.fn.cycle.defaults,{next:"> .cycle-next",nextEvent:"click.cycle",disabledClass:"disabled",prev:"> .cycle-prev",prevEvent:"click.cycle",swipe:!1}),b(document).on("cycle-initialized",function(e,f){if(f.API.getComponent("next").on(f.nextEvent,function(c){c.preventDefault(),f.API.next()}),f.API.getComponent("prev").on(f.prevEvent,function(c){c.preventDefault(),f.API.prev()}
20),f.swipe){var g=f.swipeVert?"swipeUp.cycle":"swipeLeft.cycle swipeleft.cycle",h=f.swipeVert?"swipeDown.cycle":"swipeRight.cycle swiperight.cycle";f.container.on(g,function(){f._tempFx=f.swipeFx,f.API.next()}),f.container.on(h,function(){f._tempFx=f.swipeFx,f.API.prev()})}}),b(document).on("cycle-update-view",function(h,i){if(!i.allowWrap){var j=i.disabledClass,k=i.API.getComponent("next"),l=i.API.getComponent("prev"),m=i._prevBoundry||0,n=void 0!==i._nextBoundry?i._nextBoundry:i.slideCount-1;i.currSlide==n?k.addClass(j).prop("disabled",!0):k.removeClass(j).prop("disabled",!1),i.currSlide===m?l.addClass(j).prop("disabled",!0):l.removeClass(j).prop("disabled",!1)}}),b(document).on("cycle-destroyed",function(c,d){d.API.getComponent("prev").off(d.nextEvent),d.API.getComponent("next").off(d.prevEvent),d.container.off("swipeleft.cycle swiperight.cycle swipeLeft.cycle swipeRight.cycle swipeUp.cycle swipeDown.cycle")})}(jQuery),
21/* progressive loader plugin for Cycle2;  version: 20130315 */
22function(b){b.extend(b.fn.cycle.defaults,{progressive:!1}),b(document).on("cycle-pre-initialize",function(a,l){if(l.progressive){var m,n,o=l.API,p=o.next,q=o.prev,r=o.prepareTx,s=b.type(l.progressive);if("array"==s){m=l.progressive}else{if(b.isFunction(l.progressive)){m=l.progressive(l)}else{if("string"==s){if(n=b(l.progressive),m=b.trim(n.html()),!m){return}if(/^(\[)/.test(m)){try{m=b.parseJSON(m)}catch(t){return void o.log("error parsing progressive slides",t)}}else{m=m.split(new RegExp(n.data("cycle-split")||"\n")),m[m.length-1]||m.pop()}}}}r&&(o.prepareTx=function(c,d){var g,h;return c||0===m.length?void r.apply(l.API,[c,d]):void (d&&l.currSlide==l.slideCount-1?(h=m[0],m=m.slice(1),l.container.one("cycle-slide-added",function(e,f){setTimeout(function(){f.API.advanceSlide(1)},50)}),l.API.add(h)):d||0!==l.currSlide?r.apply(l.API,[c,d]):(g=m.length-1,h=m[g],m=m.slice(0,g),l.container.one("cycle-slide-added",function(e,f){setTimeout(function(){f.currSlide=1,f.API.advanceSlide(-1)},50)}),l.API.add(h,!0)))}),p&&(o.next=function(){var c=this.opts();if(m.length&&c.currSlide==c.slideCount-1){var d=m[0];m=m.slice(1),c.container.one("cycle-slide-added",function(e,f){p.apply(f.API),f.container.removeClass("cycle-loading")}),c.container.addClass("cycle-loading"),c.API.add(d)}else{p.apply(c.API)}}),q&&(o.prev=function(){var d=this.opts();if(m.length&&0===d.currSlide){var e=m.length-1,f=m[e];m=m.slice(0,e),d.container.one("cycle-slide-added",function(c,g){g.currSlide=1,g.API.advanceSlide(-1),g.container.removeClass("cycle-loading")}),d.container.addClass("cycle-loading"),d.API.add(f,!0)}else{q.apply(d.API)}})}})}(jQuery),
23/* tmpl plugin for Cycle2;  version: 20121227 */
24function(b){b.extend(b.fn.cycle.defaults,{tmplRegex:"{{((.)?.*?)}}"}),b.extend(b.fn.cycle.API,{tmpl:function(a,f){var g=new RegExp(f.tmplRegex||b.fn.cycle.defaults.tmplRegex,"g"),h=b.makeArray(arguments);return h.shift(),a.replace(g,function(e,j){var k,l,m,n,o=j.split(".");for(k=0;k<h.length;k++){if(m=h[k]){if(o.length>1){for(n=m,l=0;l<o.length;l++){m=n,n=n[o[l]]||j}}else{n=m[j]}if(b.isFunction(n)){return n.apply(m,h)}if(void 0!==n&&null!==n&&n!=j){return n}}}return j})}})}(jQuery);!function(b){b.event.special.swipe=b.event.special.swipe||{scrollSupressionThreshold:10,durationThreshold:1000,horizontalDistanceThreshold:30,verticalDistanceThreshold:75,setup:function(){var a=b(this);a.bind("touchstart",function(h){function i(d){if(l){var e=d.originalEvent.touches?d.originalEvent.touches[0]:d;j={time:(new Date).getTime(),coords:[e.pageX,e.pageY]},Math.abs(l.coords[0]-j.coords[0])>b.event.special.swipe.scrollSupressionThreshold&&d.preventDefault()}}var j,k=h.originalEvent.touches?h.originalEvent.touches[0]:h,l={time:(new Date).getTime(),coords:[k.pageX,k.pageY],origin:b(h.target)};a.bind("touchmove",i).one("touchend",function(){a.unbind("touchmove",i),l&&j&&j.time-l.time<b.event.special.swipe.durationThreshold&&Math.abs(l.coords[0]-j.coords[0])>b.event.special.swipe.horizontalDistanceThreshold&&Math.abs(l.coords[1]-j.coords[1])<b.event.special.swipe.verticalDistanceThreshold&&l.origin.trigger("swipe").trigger(l.co
24ords[0]>j.coords[0]?"swipeleft":"swiperight"),l=j=void 0})})}},b.event.special.swipeleft=b.event.special.swipeleft||{setup:function(){b(this).bind("swipe",b.noop)}},b.event.special.swiperight=b.event.special.swiperight||b.event.special.swipeleft}(jQuery);
25/* carousel transition plugin for Cycle2;  version: 20130528 */
26!function(a){a(document).on("cycle-bootstrap",function(b,c,d){"carousel"===c.fx&&(d.getSlideIndex=function(f){var g=this.opts()._carouselWrap.children();return g.index(f)%g.length},d.next=function(){var f=c.reverse?-1:1;!1===c.allowWrap&&c.currSlide+f>c.slideCount-c.carouselVisible||(c.API.advanceSlide(f),c.API.trigger("cycle-next",[c]).log("cycle-next"))})}),a.fn.cycle.transitions.carousel={preInit:function(b){b.hideNonActive=!1,b.container.on("cycle-destroyed",a.proxy(this.onDestroy,b.API)),b.API.stopTransition=this.stopTransition;for(var c=0;c<b.startingSlide;c++){b.container.append(b.slides[0])}},postInit:function(d){var e,j,k,h,g=d.carouselVertical;d.carouselVisible&&d.carouselVisible>d.slideCount&&(d.carouselVisible=d.slideCount-1);var f=d.carouselVisible||d.slides.length,b={display:g?"block":"inline-block",position:"static"};if(d.container.css({position:"relative",overflow:"hidden"}),d.slides.css(b),d._currSlide=d.currSlide,h=a('<div class="cycle-carousel-wrap"></div>').prependTo(d.container).css({margin:0,padding:0,top:0,left:0,position:"absolute"}).append(d.slides),d._carouselWrap=h,g||h.css("white-space","nowrap"),!1!==d.allowWrap){for(j=0;j<(void 0===d.carouselVisible?2:1);j++){for(e=0;e<d.slideCount;e++){h.append(d.slides[e].cloneNode(!0))}for(e=d.slideCount;e--;){h.prepend(d.slides[e].cloneNode(!0))}}h.find(".cycle-slide-active").removeClass("cycle-slide-active"),d.slides.eq(d.startingSlide).addClass("cycle-slide-active")}d.pager&&!1===d.allowWrap&&(k=d.slideCount-f,a(d.pager).children().filter(":gt("+k+")").hide()),d._nextBoundry=d.slideCount-d.carouselVisible,this.prepareDimensions(d)},prepareDimensions:function(b){var c,g,h,f,e=b.carouselVertical,d=b.carouselVisible||b.slides.length;if(b.carouselFluid&&b.carouselVisible?b._carouselResizeThrottle||this.fluidSlides(b):b.carouselVisible&&b.carouselSlideDimension?(c=d*b.carouselSlideDimension,b.container[e?"height":"width"](c)):b.carouselVisible&&(c=d*a(b.slides[0])[e?"outerHeight":"outerWidth"](!0),b.container[e?"height":"width"](c)),g=b.carouselOffset||0,!1!==b.allowWrap){if(b.carouselSlideDimension){g-=(b.slideCount+b.currSlide)*b.carouselSlideDimension}else{for(h=b._carouselWrap.children(),f=0;f<b.slideCount+b.currSlide;f++){g-=a(h[f])[e?"outerHeight":"outerWidth"](!0)}}}b._carouselWrap.css(e?"top":"left",g)},fluidSlides:function(b){function c(){clearTimeout(h),h=setTimeout(g,20)}function g(){b._carouselWrap.stop(!1,!0);var i=b.container.width()/b.carouselVisible;i=Math.ceil(i-e),b._carouselWrap.children().width(i),b._sentinel&&b._sentinel.width(i),d(b)}var h,f=b.slides.eq(0),e=f.outerWidth()-f.width(),d=this.prepareDimensions;a(window).on("resize",c),b._carouselResizeThrottle=c,g()},transition:function(g,h,v,w,q){var k,j={},e=g.nextSlide-g.currSlide,b=g.carouselVertical,f=g.speed;if(!1===g.allowWrap){w=e>0;var x=g._currSlide,m=g.slideCount-g.carouselVisible;e>0&&g.nextSlide>m&&x==m?e=0:e>0&&g.nextSlide>m?e=g.nextSlide-x-(g.nextSlide-m):e<0&&g.currSlide>m&&g.nextSlide>m?e=0:e<0&&g.currSlide>m?e+=g.currSlide-m:x=g.currSlide,k=this.getScroll(g,b,x,e),g.API.opts()._currSlide=g.nextSlide>m?m:g.nextSlide}else{w&&0===g.nextSlide?(k=this.getDim(g,g.currSlide,b),q=this.genCallback(g,w,b,q)):w||g.nextSlide!=g.slideCount-1?k=this.getScroll(g,b,g.currSlide,e):(k=this.getDim(g,g.currSlide,b),q=this.genCallback(g,w,b,q))}j[b?"top":"left"]=w?"-="+k:"+="+k,g.throttleSpeed&&(f=k/a(g.slides[0])[b?"height":"width"]()*g.speed),g._carouselWrap.animate(j,f,g.easing,q)},getDim:function(b,c,d){return a(b.slides[c])[d?"outerHeight":"outerWidth"](!0)},getScroll:function(b,c,d,g){var h,f=0;if(g>0){for(h=d;h<d+g;h++){f+=this.getDim(b,h,c)}}else{for(h=d;h>d+g;h--){f+=this.getDim(b,h,c)}}return f},genCallback:function(b,c,d,e){return function(){var f=0-a(b.slides[b.nextSlide]).position()[d?"top":"left"]+(b.carouselOff
26set||0);b._carouselWrap.css(b.carouselVertical?"top":"left",f),e()}},stopTransition:function(){var b=this.opts();b.slides.stop(!1,!0),b._carouselWrap.stop(!1,!0)},onDestroy:function(b){var c=this.opts();c._carouselResizeThrottle&&a(window).off("resize",c._carouselResizeThrottle),c.slides.prependTo(c.container),c._carouselWrap.remove()}}}(jQuery);if(!hs){var hs={lang:{cssDirection:"ltr",loadingText:"Loading...",loadingTitle:"Click to cancel",focusTitle:"Click to bring to front",fullExpandTitle:"Expand to actual size (f)",creditsText:"Powered by <i>Highslide JS</i>",creditsTitle:"Go to the Highslide JS homepage",previousText:"Previous",nextText:"Next",moveText:"Move",closeText:"Close",closeTitle:"Close (esc)",resizeTitle:"Resize",playText:"Play",playTitle:"Play slideshow (spacebar)",pauseText:"Pause",pauseTitle:"Pause slideshow (spacebar)",previousTitle:"Previous (arrow left)",nextTitle:"Next (arrow right)",moveTitle:"Move",fullExpandText:"1:1",number:"Image %1 of %2",restoreTitle:"Click to close image, click and drag to move. Use arrow keys for next and previous."},graphicsDir:"highslide/graphics/",expandCursor:"zoomin.cur",restoreCursor:"zoomout.cur",expandDuration:250,restoreDuration:250,marginLeft:15,marginRight:15,marginTop:15,marginBottom:15,zIndexCounter:1001,loadingOpacity:"0.75",allowMultipleInstances:true,numberOfImagesToPreload:5,outlineWhileAnimating:2,outlineStartOffset:3,padToMinWidth:false,fullExpandPosition:"bottom right",fullExpandOpacity:1,showCredits:true,creditsHref:"http://highslide.com/",creditsTarget:"_self",enableKeyListener:true,openerTagNames:["a","area"],transitions:[],transitionDuration:250,dimmingOpacity:0,dimmingDuration:50,allowWidthReduction:false,allowHeightReduction:true,preserveContent:true,objectLoadTime:"before",cacheAjax:true,anchor:"auto",align:"auto",targetX:null,targetY:null,dragByHeading:true,minWidth:200,minHeight:200,allowSizeReduction:true,outlineType:"drop-shadow",skin:{controls:'<div class="highslide-controls"><ul><li class="highslide-previous"><a href="#" title="{hs.lang.previousTitle}"><span>{hs.lang.previousText}</span></a></li><li class="highslide-play"><a href="#" title="{hs.lang.playTitle}"><span>{hs.lang.playText}</span></a></li><li class="highslide-pause"><a href="#" title="{hs.lang.pauseTitle}"><span>{hs.lang.pauseText}</span></a></li><li class="highslide-next"><a href="#" title="{hs.lang.nextTitle}"><span>{hs.lang.nextText}</span></a></li><li class="highslide-move"><a href="#" title="{hs.lang.moveTitle}"><span>{hs.lang.moveText}</span></a></li><li class="highslide-full-expand"><a href="#" title="{hs.lang.fullExpandTitle}"><span>{hs.lang.fullExpandText}</span></a></li><li class="highslide-close"><a href="#" title="{hs.lang.closeTitle}" ><span>{hs.lang.closeText}</span></a></li></ul></div>',contentWrapper:'<div class="highslide-header"><ul><li class="highslide-previous"><a href="#" title="{hs.lang.previousTitle}" onclick="return hs.previous(this)"><span>{hs.lang.previousText}</span></a></li><li class="highslide-next"><a href="#" title="{hs.lang.nextTitle}" onclick="return hs.next(this)"><span>{hs.lang.nextText}</span></a></li><li class="highslide-move"><a href="#" title="{hs.lang.moveTitle}" onclick="return false"><span>{hs.lang.moveText}</span></a></li><li class="highslide-close"><a href="#" title="{hs.lang.closeTitle}" onclick="return hs.close(this)"><span>{hs.lang.closeText}</span></a></li></ul></div><div class="highslide-body"></div><div class="highslide-footer"><div><span class="highslide-resize" title="{hs.lang.resizeTitle}"><span></span></span></div></div>'},preloadTheseImages:[],continuePreloading:true,expanders:[],overrides:["allowSizeReduction","useBox","anchor","align","targetX","targetY","outlineType","outlineWhileAnimating","captionId","captionText","captionEval","captionOverlay","headingId","headingText","headingEval","headingOverlay","creditsPosition","dragByHeading","autoplay","numberPosition","transitions","dimmingOpacity","width","height","contentId","allowWidthReduction","allowHeightReduction","preserveContent","maincontentId","maincontentText","maincontentEval","objectType","cacheAjax","objectWidth","objectHeight","objectLoadTime","swfOptions","wrapperClassName","minWidth","minHeight","maxWidth","maxHeight","pageOrigin","slideshowGroup","easing","easingClose","fadeInOut","src"],overlays:[],idCounter:0,oPos:{x:["leftpanel","left","center","right","rightpanel"],y:["above","top","middle","bottom","below"]},mouse:{},headingOverlay:{},captionOverlay:{},swfOptions:{flashvars:{},params:{},attributes:{}},timers:[],slideshows:[],pendingOutlines:{},sleeping:[],preloadTheseAjax:[],cacheBindings:[],cachedGets:{},clones:{},onReady:[],uaVersion:/Trident\/4\.0/.test(navigator.userAgent)?8:parseFloat((navigator.userAgent.toLowerCase().match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1]),ie:(document.all&&!window.opera),safari:/Safari/.test(navigator.userAgent),geckoMac:/Macintosh.+rv:1\.[0-8].+Gecko/.test(navigator.userAgent),$:function(a){if
26(a){return document.getElementById(a)}},push:function(a,b){a[a.length]=b},createElement:function(a,f,e,d,c){var b=document.createElement(a);if(f){hs.extend(b,f)}if(c){hs.setStyles(b,{padding:0,border:"none",margin:0})}if(e){hs.setStyles(b,e)}if(d){d.appendChild(b)}return b},extend:function(b,c){for(var a in c){b[a]=c[a]}return b},setStyles:function(b,c){for(var a in c){if(hs.ie&&a=="opacity"){if(c[a]>0,99){b.style.removeAttribute("filter")}else{b.style.filter="alpha(opacity="+(c[a]*100)+")"}}else{b.style[a]=c[a]}}},animate:function(f,a,d){var c,g,j;if(typeof d!="object"||d===null){var i=arguments;d={duration:i[2],easing:i[3],complete:i[4]}}if(typeof d.duration!="number"){d.duration=250}d.easing=Math[d.easing]||Math.easeInQuad;d.curAnim=hs.extend({},a);for(var b in a){var h=new hs.fx(f,d,b);c=parseFloat(hs.css(f,b))||0;g=parseFloat(a[b]);j=b!="opacity"?"px":"";h.custom(c,g,j)}},css:function(a,c){if(a.style[c]){return a.style[c]}else{if(document.defaultView){return document.defaultView.getComputedStyle(a,null).getPropertyValue(c)}else{if(c=="opacity"){c="filter"}var b=a.currentStyle[c.replace(/\-(\w)/g,function(e,d){return d.toUpperCase()})];if(c=="filter"){b=b.replace(/alpha\(opacity=([0-9]+)\)/,function(e,d){return d/100})}return b===""?1:b}}},getPageSize:function(){var f=document,b=window,e=f.compatMode&&f.compatMode!="BackCompat"?f.documentElement:f.body;var c=hs.ie?e.clientWidth:(f.documentElement.clientWidth||self.innerWidth),a=hs.ie?e.clientHeight:self.innerHeight;hs.page={width:c,height:a,scrollLeft:hs.ie?e.scrollLeft:pageXOffset,scrollTop:hs.ie?e.scrollTop:pageYOffset};return hs.page},getPosition:function(c){if(/area/i.test(c.tagName)){var e=document.getElementsByTagName("img");for(var b=0;b<e.length;b++){var a=e[b].useMap;if(a&&a.replace(/^.*?#/,"")==c.parentNode.name){c=e[b];break}}}var d={x:c.offsetLeft,y:c.offsetTop};while(c.offsetParent){c=c.offsetParent;d.x+=c.offsetLeft;d.y+=c.offsetTop;if(c!=document.body&&c!=document.documentElement){d.x-=c.scrollLeft;d.y-=c.scrollTop}}return d},expand:function(b,h,f,d){if(!b){b=hs.createElement("a",null,{display:"none"},hs.container)}if(typeof b.getParams=="function"){return h}if(d=="html"){for(var c=0;c<hs.sleeping.length;c++){if(hs.sleeping[c]&&hs.sleeping[c].a==b){hs.sleeping[c].awake();hs.sleeping[c]=null;return false}}hs.hasHtmlExpanders=true}try{new hs.Expander(b,h,f,d);return false}catch(g){return true}},htmlExpand:function(b,d,c){return hs.expand(b,d,c,"html")},getSelfRendered:function(){return hs.createElement("div",{className:"highslide-html-content",innerHTML:hs.replaceLang(hs.skin.contentWrapper)})},getElementByClass:function(e,c,d){var b=e.getElementsByTagName(c);for(var a=0;a<b.length;a++){if((new RegExp(d)).test(b[a].className)){return b[a]}}return null},replaceLang:function(c){c=c.replace(/\s/g," ");var b=/{hs\.lang\.([^}]+)\}/g,d=c.match(b),e;if(d){for(var a=0;a<d.length;a++){e=d[a].replace(b,"$1");if(typeof hs.lang[e]!="undefined"){c=c.replace(d[a],hs.lang[e])}}}return c},setClickEvents:function(){var b=document.getElementsByTagName("a");for(var a=0;a<b.length;a++){var c=hs.isUnobtrusiveAnchor(b[a]);if(c&&!b[a].hsHasSetClick){(function(){var d=c;if(hs.fireEvent(hs,"onSetClickEvent",{element:b[a],type:d})){b[a].onclick=(c=="image")?function(){return hs.expand(this)}:function(){return hs.htmlExpand(this,{objectType:d})}}})();b[a].hsHasSetClick=true}}hs.getAnchors()}
26,isUnobtrusiveAnchor:function(a){if(a.rel=="highslide"){return"image"}else{if(a.rel=="highslide-ajax"){return"ajax"}else{if(a.rel=="highslide-iframe"){return"iframe"}else{if(a.rel=="highslide-swf"){return"swf"}}}}},getCacheBinding:function(b){for(var d=0;d<hs.cacheBindings.length;d++){if(hs.cacheBindings[d][0]==b){var e=hs.cacheBindings[d][1];hs.cacheBindings[d][1]=e.cloneNode(1);return e}}return null},preloadAjax:function(f){var b=hs.getAnchors();for(var d=0;d<b.htmls.length;d++){var c=b.htmls[d];if(hs.getParam(c,"objectType")=="ajax"&&hs.getParam(c,"cacheAjax")){hs.push(hs.preloadTheseAjax,c)}}hs.preloadAjaxElement(0)},preloadAjaxElement:function(d){if(!hs.preloadTheseAjax[d]){return}var b=hs.preloadTheseAjax[d];var c=hs.getNode(hs.getParam(b,"contentId"));if(!c){c=hs.getSelfRendered()}var e=new hs.Ajax(b,c,1);e.onError=function(){};e.onLoad=function(){hs.push(hs.cacheBindings,[b,c]);hs.preloadAjaxElement(d+1)};e.run()},focusTopmost:function(){var c=0,b=-1,a=hs.expanders,e,f;for(var d=0;d<a.length;d++){e=a[d];if(e){f=e.wrapper.style.zIndex;if(f&&f>c){c=f;b=d}}}if(b==-1){hs.focusKey=-1}else{a[b].focus()}},getParam:function(b,d){b.getParams=b.onclick;var c=b.getParams?b.getParams():null;b.getParams=null;return(c&&typeof c[d]!="undefined")?c[d]:(typeof hs[d]!="undefined"?hs[d]:null)},getSrc:function(b){var c=hs.getParam(b,"src");if(c){return c}return b.href},getNode:function(e){var c=hs.$(e),d=hs.clones[e],b={};if(!c&&!d){return null}if(!d){d=c.cloneNode(true);d.id="";hs.clones[e]=d;return c}else{return d.cloneNode(true)}},discardElement:function(a){if(a){hs.garbageBin.appendChild(a)}hs.garbageBin.innerHTML=""},dim:function(a){if(!hs.dimmer){hs.dimmer=hs.createElement("div",{className:"highslide-dimming highslide-viewport-size",owner:"",onclick:function(){if(hs.fireEvent(hs,"onDimmerClick")){hs.close()}}},{visibility:"visible",opacity:0},hs.container,true)}hs.dimmer.style.display="";hs.dimmer.owner+="|"+a.key;if(hs.geckoMac&&hs.dimmingGeckoFix){hs.setStyles(hs.dimmer,{background:"url("+hs.graphicsDir+"geckodimmer.png)",opacity:1})}else{hs.animate(hs.dimmer,{opacity:a.dimmingOpacity},hs.dimmingDuration)}},undim:function(a){if(!hs.dimmer){return}if(typeof a!="undefined"){hs.dimmer.owner=hs.dimmer.owner.replace("|"+a,"")}if((typeof a!="undefined"&&hs.dimmer.owner!="")||(hs.upcoming&&hs.getParam(hs.upcoming,"dimmingOpacity"))){return}if(hs.geckoMac&&hs.dimmingGeckoFix){hs.dimmer.style.display="none"}else{hs.animate(hs.dimmer,{opacity:0},hs.dimmingDuration,null,function(){hs.dimmer.style.display="none"})}},transit:function(a,d){var b=d||hs.getExpander();d=b;if(hs.upcoming){return false}else{hs.last=b}hs.removeEventListener(document,window.opera?"keypress":"keydown",hs.keyHandler);try{hs.upcoming=a;a.onclick()}catch(c){hs.last=hs.upcoming=null}try{if(!a||d.transitions[1]!="crossfade"){d.close()}}catch(c){}return false},previousOrNext:function(a,c){var b=hs.getExpander(a);if(b){return hs.transit(b.getAdjacentAnchor(c),b)}else{return false}},previous:function(a){return hs.previousOrNext(a,-1)},next:function(a){return hs.previousOrNext(a,1)},keyHandler:function(a){if(!a){a=window.event}if(!a.target){a.target=a.srcElement}if(typeof a.target.form!="undefined"){return true}if(!hs.fireEvent(hs,"onKeyDown",a)){return true}var b=hs.getExpander();var c=null;switch(a.keyCode){case 70:if(b){b.doFullExpand()}return true;case 32:c=2;break;case 34:case 39:case 40:c=1;break;case 8:case 33:case 37:case 38:c=-1;break;case 27:case 13:c=0}if(c!==null){hs.removeEventListener(document,window.opera?"keypress":"keydown",hs.keyHandler);if(!hs.enableKeyListener){return true}if(a.preventDefault){a.preventDefault()}else{a.returnValue=false}if(b){if(c==0){b.close()}else{if(c==2){if(b.slideshow){b.slideshow.hitSpace()}}else{if(b.slideshow){b.slideshow.pause()}hs.previousOrNext(b.key,c)}}return false}}return true},registerOverlay:function(a){hs.push(hs.overlays,hs.extend(a,{hsId:"hsId"+hs.idCounter++}))},addSlideshow:function(b){var d=b.slideshowGroup;if(typeof d=="object"){for(var c=0;c<d.length;c++){var e={};for(var a in b){e[a]=b[a]}e.slideshowGroup=d[c];hs.push(hs.slideshows,e)}}else{hs.push(hs.slideshows,b)}},getWrapperKey:function(c,b){var e,d=/^highslide-wrapper-([0-9]+)$/;e=c;while(e.parentNode){if(e.hsKey!==undefined){return e.hsKey}if(e.id&&d.test(e.id)){return e.id.replace(d,"$1")}e=e.parentNode}if(!b){e=c;while(e.parentNode){if(e.tagName&&hs.isHsAnchor(e)){for(var a=0;a<hs.expanders.length;
26a++){var f=hs.expanders[a];if(f&&f.a==e){return a}}}e=e.parentNode}}return null},getExpander:function(b,a){if(typeof b=="undefined"){return hs.expanders[hs.focusKey]||null}if(typeof b=="number"){return hs.expanders[b]||null}if(typeof b=="string"){b=hs.$(b)}return hs.expanders[hs.getWrapperKey(b,a)]||null},isHsAnchor:function(b){return(b.onclick&&b.onclick.toString().replace(/\s/g," ").match(/hs.(htmlE|e)xpand/))},reOrder:function(){for(var a=0;a<hs.expanders.length;a++){if(hs.expanders[a]&&hs.expanders[a].isExpanded){hs.focusTopmost()}}},fireEvent:function(c,a,b){return c&&c[a]?(c[a](c,b)!==false):true},mouseClickHandler:function(d){if(!d){d=window.event}if(d.button>1){return true}if(!d.target){d.target=d.srcElement}var b=d.target;while(b.parentNode&&!(/highslide-(image|move|html|resize)/.test(b.className))){b=b.parentNode}var f=hs.getExpander(b);if(f&&(f.isClosing||!f.isExpanded)){return true}if(f&&d.type=="mousedown"){if(d.target.form){return true}var a=b.className.match(/highslide-(image|move|resize)/);if(a){hs.dragArgs={exp:f,type:a[1],left:f.x.pos,width:f.x.size,top:f.y.pos,height:f.y.size,clickX:d.clientX,clickY:d.clientY};hs.addEventListener(document,"mousemove",hs.dragHandler);if(d.preventDefault){d.preventDefault()}if(/highslide-(image|html)-blur/.test(f.content.className)){f.focus();hs.hasFocused=true}return false}else{if(/highslide-html/.test(b.className)&&hs.focusKey!=f.key){f.focus();f.doShowHide("hidden")}}}else{if(d.type=="mouseup"){hs.removeEventListener(document,"mousemove",hs.dragHandler);if(hs.dragArgs){if(hs.styleRestoreCursor&&hs.dragArgs.type=="image"){hs.dragArgs.exp.content.style.cursor=hs.styleRestoreCursor}var c=hs.dragArgs.hasDragged;if(!c&&!hs.hasFocused&&!/(move|resize)/.test(hs.dragArgs.type)){if(hs.fireEvent(f,"onImageClick")){f.close()}}else{if(c||(!c&&hs.hasHtmlExpanders)){hs.dragArgs.exp.doShowHide("hidden")}}if(hs.dragArgs.exp.releaseMask){hs.dragArgs.exp.releaseMask.style.display="none"}if(c){hs.fireEvent(hs.dragArgs.exp,"onDrop",hs.dragArgs)}hs.hasFocused=false;hs.dragArgs=null}else{if(/highslide-image-blur/.test(b.className)){b.style.cursor=hs.styleRestoreCursor}}}}return false},dragHandler:function(c){if(!hs.dragArgs){return true}if(!c){c=window.event}var b=hs.dragArgs,d=b.exp;if(d.iframe){if(!d.releaseMask){d.releaseMask=hs.createElement("div",null,{position:"absolute",width:d.x.size+"px",height:d.y.size+"px",left:d.x.cb+"px",top:d.y.cb+"px",zIndex:4,background:(hs.ie?"white":"none"),opacity:"0.01"},d.wrapper,true)}if(d.releaseMask.style.display=="none"){d.releaseMask.style.display=""}}b.dX=c.clientX-b.clickX;b.dY=c.clientY-b.clickY;var f=Math.sqrt(Math.pow(b.dX,2)+Math.pow(b.dY,2));if(!b.hasDragged){b.hasDragged=(b.type!="image"&&f>0)||(f>(hs.dragSensitivity||5))}if(b.hasDragged&&c.clientX>5&&c.clientY>5){if(!hs.fireEvent(d,"onDrag",b)){return false}if(b.type=="resize"){d.resize(b)}else{d.moveTo(b.left+b.dX,b.top+b.dY);if(b.type=="image"){d.content.style.cursor="move"}}}return false},wrapperMouseHandler:function(c){try{if(!c){c=window.event}var b=/mouseover/i.test(c.type);if(!c.target){c.target=c.srcElement}if(hs.ie){c.relatedTarget=b?c.fromElement:c.toElement}var d=hs.getExpander(c.target);if(!d.isExpanded){return}if(!d||!c.relatedTarget||hs.getExpander(c.relatedTarget,true)==d||hs.dragArgs){return}hs.fireEvent(d,b?"onMouseOver":"onMouseOut",c);for(var a=0;a<d.overlays.length;a++){(function(){var e=hs.$("hsId"+d.overlays[a]);if(e&&e.hideOnMouseOut){if(b){hs.setStyles(e,{visibility:"visible",display:""})}hs.animate(e,{opacity:b?e.opacity:0},e.dur)}})()}}catch(c){}},addEventListener:function(a,c,b){if(a==document&&c=="ready"){hs.push(hs.onReady,b)}try{a.addEventListener(c,b,false)}catch(d){try{a.detachEvent("on"+c,b);a.attachEvent("on"+c,b)}catch(d){a["on"+c]=b}}},removeEventListener:function(a,c,b){try{a.removeEventListener(c,b,false)}catch(d){try{a.detachEvent("on"+c,b)}catch(d){a["on"+c]=null}}},preloadFullImage:function(b){if(hs.continuePreloading&&hs.preloadTheseImages[b]&&hs.preloadTheseImages[b]!="undefined"){var a=document.createElement("img");a.onload=function(){a=null;hs.preloadFullImage(b+1)};a.src=hs.preloadTheseImages[b]}},preloadImages:function(c){if(c&&typeof c!="object"){hs.numberOfImagesToPreload=c}var a=hs.getAnchors();for(var b=0;b<a.images.length&&b<hs.numberOfImagesToPreload;b++){hs.push(hs.preloadTheseImages,hs.getSrc(a.images[b]))}if(hs.outlineType){new hs.Outline(hs.outlineType,function(){hs.preloadFullImage(0)})}else{hs.preloadFullImage(0)}if(hs.restoreCursor){var d=hs.createElement("img",{src:hs.graphicsDir+hs.restoreCursor})}},init:function(){if(!hs.container){hs.getPageSize();hs.ieLt7=hs.ie&&hs.uaVersion<7;hs.ie6SSL=hs.ieLt7&&location.protocol=="https:";for(var a in hs.langDefaults){if(typeof hs[a]!="undefined"){hs.lang[a]=hs[a]}else{if(typeof hs.lang[a]=="undefined"&&typeof hs.langDefaults[a]!="undefined"){hs.lang[a]=hs.langDefaults[a]}}}
26hs.container=hs.createElement("div",{className:"highslide-container"},{position:"absolute",left:0,top:0,width:"100%",zIndex:hs.zIndexCounter,direction:"ltr"},document.body,true);hs.loading=hs.createElement("a",{className:"highslide-loading",title:hs.lang.loadingTitle,innerHTML:hs.lang.loadingText,href:"javascript:;"},{position:"absolute",top:"-9999px",opacity:hs.loadingOpacity,zIndex:1},hs.container);hs.garbageBin=hs.createElement("div",null,{display:"none"},hs.container);hs.viewport=hs.createElement("div",{className:"highslide-viewport highslide-viewport-size"},{visibility:(hs.safari&&hs.uaVersion<525)?"visible":"hidden"},hs.container,1);hs.clearing=hs.createElement("div",null,{clear:"both",paddingTop:"1px"},null,true);Math.linearTween=function(e,b,g,f){return g*e/f+b};Math.easeInQuad=function(e,b,g,f){return g*(e/=f)*e+b};Math.easeOutQuad=function(e,b,g,f){return -g*(e/=f)*(e-2)+b};hs.hideSelects=hs.ieLt7;hs.hideIframes=((window.opera&&hs.uaVersion<9)||navigator.vendor=="KDE"||(hs.ie&&hs.uaVersion<5,5));hs.fireEvent(this,"onActivate")}},ready:function(){if(hs.isReady){return}hs.isReady=true;for(var a=0;a<hs.onReady.length;a++){hs.onReady[a]()}},updateAnchors:function(){var a,d,l=[],h=[],k=[],b={},m;for(var e=0;e<hs.openerTagNames.length;e++){d=document.getElementsByTagName(hs.openerTagNames[e]);for(var c=0;c<d.length;c++){a=d[c];m=hs.isHsAnchor(a);if(m){hs.push(l,a);if(m[0]=="hs.expand"){hs.push(h,a)}else{if(m[0]=="hs.htmlExpand"){hs.push(k,a)}}var f=hs.getParam(a,"slideshowGroup")||"none";if(!b[f]){b[f]=[]}hs.push(b[f],a)}}}hs.anchors={all:l,groups:b,images:h,htmls:k};return hs.anchors},getAnchors:function(){return hs.anchors||hs.updateAnchors()},close:function(a){var b=hs.getExpander(a);if(b){b.close()}return false}};hs.fx=function(b,a,c){this.options=a;this.elem=b;this.prop=c;if(!a.orig){a.orig={}}};hs.fx.prototype={update:function(){(hs.fx.step[this.prop]||hs.fx.step._default)(this);if(this.options.step){this.options.step.call(this.elem,this.now,this)}},custom:function(e,d,c){this.startTime=(new Date()).getTime();this.start=e;this.end=d;this.unit=c;this.now=this.start;this.pos=this.state=0;var a=this;function b(f){return a.step(f)}b.elem=this.elem;if(b()&&hs.timers.push(b)==1){hs.timerId=setInterval(function(){var g=hs.timers;for(var f=0;f<g.length;f++){if(!g[f]()){g.splice(f--,1)}}if(!g.length){clearInterval(hs.timerId)}},13)}},step:function(d){var c=(new Date()).getTime();if(d||c>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var a=true;for(var b in this.options.curAnim){if(this.options.curAnim[b]!==true){a=false}}if(a){if(this.options.complete){this.options.complete.call(this.elem)}}return false}else{var e=c-this.startTime;this.state=e/this.options.duration;this.pos=this.options.easing(e,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};hs.extend(hs.fx,{step:{opacity:function(a){hs.setStyles(a.elem,{opacity:a.now})},_default:function(a){try{if(a.elem.style&&a.elem.style[a.prop]!=null){a.elem.style[a.prop]=a.now+a.unit}else{a.elem[a.prop]=a.now}}catch(b){}}}});hs.Outline=function(g,e){this.onLoad=e;this.outlineType=g;var a=hs.uaVersion,f;this.hasAlphaImageLoader=hs.ie&&a>=5,5&&a<7;if(!g){if(e){e()}return}hs.init();this.table=hs.createElement("table",{cellSpacing:0},{visibility:"hidden",position:"absolute",borderCollapse:"collapse",width:0},hs.container,true);var b=hs.createElement("tbody",null,null,this.table,1);this.td=[];for(var c=0;c<=8;c++){if(c%3==0){f=hs.createElement("tr",null,{height:"auto"},b,true)}this.td[c]=hs.createElement("td",null,null,f,true);var d=c!=4?{lineHeight:0,fontSize:0}:{position:"relative"};hs.setStyles(this.td[c],d)}this.td[4].className=g+" highslide-outline";this.preloadGraphic()};hs.Outline.prototype={preloadGraphic:function(){var b=hs.graphicsDir+(hs.outlinesDir||"outlines/")+this.outlineType+".png";var a=hs.safari&&hs.uaVersion<525?hs.container:null;this.graphic=hs.createElement("img",null,{position:"absolute",top:"-9999px"},a,true);var c=this;this.graphic.onload=function(){c.onGraphicLoad()};this.graphic.src=b},onGraphicLoad:function(){var d=this.offset=this.graphic.width/4,f=[[0,0],[0,-4],[-2,0],[0,-8],0,[-2,-8],[0,-2],[0,-6],[-2,-2]],c={height:(2*d)+"px",width:(2*d)+"px"};for(var b=0;b<=8;b++){if(f[b]){if(this.hasAlphaImageLoader){var a=(b==1||b==7)?"100%":this.graphic.width+"px";var e=hs.createElement("div",null,{width:"100%",height:"100%",position:"relative",overflow:"hidden"},this.td[b],true);hs.createElement("div",null,{filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale, src='"+this.graphic.src+"')",position:"absolute",width:a,height:this.graphic.height+"px",left:(f[b][0]*d)+"px",top:(f[b][1]*d)+"px"},e,true)}else{hs.setStyles(this.td[b],{background:"url("+this.graphic.src+") "+(f[b][0]*d)+"px "+(f[b][1]*d)+"px"})}if(window.opera&&(b==3||b==5)){hs.createElement("div",null,c,this.td[b],true)}hs.setStyles(this.td[b],c)}}this.graphic=null;if(hs.pendingOutlines[this.outlineType]){hs.pendingOutlines[this.outlineType].destroy()}hs.pendingOutlines[this.outlineType]=this;if(this.onLoad){this.onLoad()}},setPosition:function(g,e,c,b,f){var d=this.exp,a=d.wrapper.style,e=e||0,g=g||{x:d.x.pos+e,y:d.y.pos+e,w:d.x.get("wsize")-2*e,h:d.y.get("wsize")-2*e};if(c){this.table.style.visibility=(g.h>=4*this.offset)?"visible":"hidden"}hs.setStyles(this.table,{left:(g.x-this.offset)+"px",top:(g.y-this.offset)+"px",width:(g.w+2*this.offset)+"px"});g.w-=2*this.offset;g.h-=2*this.offset;hs.setStyles(this.td[4],{width:g.w>=0?g.w+"px":0,height:g.h>=0?g.h+"px":0});if(this.hasAlphaImageLoader){this.td[3].style.height=this.td[5].style.height=this.td[4].style.height}}
26,destroy:function(a){if(a){this.table.style.visibility="hidden"}else{hs.discardElement(this.table)}}};hs.Dimension=function(b,a){this.exp=b;this.dim=a;this.ucwh=a=="x"?"Width":"Height";this.wh=this.ucwh.toLowerCase();this.uclt=a=="x"?"Left":"Top";this.lt=this.uclt.toLowerCase();this.ucrb=a=="x"?"Right":"Bottom";this.rb=this.ucrb.toLowerCase();this.p1=this.p2=0};hs.Dimension.prototype={get:function(a){switch(a){case"loadingPos":return this.tpos+this.tb+(this.t-hs.loading["offset"+this.ucwh])/2;case"loadingPosXfade":return this.pos+this.cb+this.p1+(this.size-hs.loading["offset"+this.ucwh])/2;case"wsize":return this.size+2*this.cb+this.p1+this.p2;case"fitsize":return this.clientSize-this.marginMin-this.marginMax;case"maxsize":return this.get("fitsize")-2*this.cb-this.p1-this.p2;case"opos":return this.pos-(this.exp.outline?this.exp.outline.offset:0);case"osize":return this.get("wsize")+(this.exp.outline?2*this.exp.outline.offset:0);case"imgPad":return this.imgSize?Math.round((this.size-this.imgSize)/2):0}},calcBorders:function(){this.cb=(this.exp.content["offset"+this.ucwh]-this.t)/2;this.marginMax=hs["margin"+this.ucrb]},calcThumb:function(){this.t=this.exp.el[this.wh]?parseInt(this.exp.el[this.wh]):this.exp.el["offset"+this.ucwh];this.tpos=this.exp.tpos[this.dim];this.tb=(this.exp.el["offset"+this.ucwh]-this.t)/2;if(this.tpos==0||this.tpos==-1){this.tpos=(hs.page[this.wh]/2)+hs.page["scroll"+this.uclt]}},calcExpanded:function(){var a=this.exp;this.justify="auto";if(a.align=="center"){this.justify="center"}else{if(new RegExp(this.lt).test(a.anchor)){this.justify=null}else{if(new RegExp(this.rb).test(a.anchor)){this.justify="max"}}}this.pos=this.tpos-this.cb+this.tb;if(this.maxHeight&&this.dim=="x"){a.maxWidth=Math.min(a.maxWidth||this.full,a.maxHeight*this.full/a.y.full)}this.size=Math.min(this.full,a["max"+this.ucwh]||this.full);this.minSize=a.allowSizeReduction?Math.min(a["min"+this.ucwh],this.full):this.full;if(a.isImage&&a.useBox){this.size=a[this.wh];this.imgSize=this.full}if(this.dim=="x"&&hs.padToMinWidth){this.minSize=a.minWidth}this.target=a["target"+this.dim.toUpperCase()];this.marginMin=hs["margin"+this.uclt];this.scroll=hs.page["scroll"+this.uclt];this.clientSize=hs.page[this.wh]},setSize:function(a){var f=this.exp;if(f.isImage&&(f.useBox||hs.padToMinWidth)){this.imgSize=a;this.size=Math.max(this.size,this.imgSize);f.content.style[this.lt]=this.get("imgPad")+"px"}else{this.size=a}f.content.style[this.wh]=a+"px";f.wrapper.style[this.wh]=this.get("wsize")+"px";if(f.outline){f.outline.setPosition()}if(f.releaseMask){f.releaseMask.style[this.wh]=a+"px"}if(this.dim=="y"&&f.iDoc&&f.body.style.height!="auto"){try{f.iDoc.body.style.overflow="auto"}catch(b){}}if(f.isHtml){var c=f.scrollerDiv;if(this.sizeDiff===undefined){this.sizeDiff=f.innerContent["offset"+this.ucwh]-c["offset"+this.ucwh]}c.style[this.wh]=(this.size-this.sizeDiff)+"px";if(this.dim=="x"){f.mediumContent.style.width="auto"}if(f.body){f.body.style[this.wh]="auto"}}if(this.dim=="x"&&f.overlayBox){f.sizeOverlayBox(true)}if(this.dim=="x"&&f.slideshow&&f.isImage){if(a==this.full){f.slideshow.disable("full-expand")}else{f.slideshow.enable("full-expand")}}},setPos:function(a){this.pos=a;this.exp.wrapper.style[this.lt]=a+"px";if(this.exp.outline){this.exp.outline.setPosition()}}};hs.Expander=function(k,f,b,l){if(document.readyState&&hs.ie&&!hs.isReady){hs.addEventListener(document,"ready",function(){new hs.Expander(k,f,b,l)});return}this.a=k;this.custom=b;this.contentType=l||"image";this.isHtml=(l=="html");this.isImage=!this.isHtml;hs.continuePreloading=false;this.overlays=[];this.last=hs.last;hs.last=null;hs.init();var m=this.key=hs.expanders.length;for(var g=0;g<hs.overrides.length;g++){var c=hs.overrides[g];this[c]=f&&typeof f[c]!="undefined"?f[c]:hs[c]}if(!this.src){this.src=k.href}var d=(f&&f.thumbnailId)?hs.$(f.thumbnailId):k;d=this.thumb=d.getElementsByTagName("img")[0]||d;this.thumbsUserSetId=d.id||k.id;if(!hs.fireEvent(this,"onInit")){return true}for(var g=0;g<hs.expanders.length;g++){if(hs.expanders[g]&&hs.expanders[g].a==k&&!(this.last&&this.transitions[1]=="crossfade")){hs.expanders[g].focus();return false}}if(!hs.allowSimultaneousLoading){for(var g=0;g<hs.expanders.length;
26g++){if(hs.expanders[g]&&hs.expanders[g].thumb!=d&&!hs.expanders[g].onLoadStarted){hs.expanders[g].cancelLoading()}}}hs.expanders[m]=this;if(!hs.allowMultipleInstances&&!hs.upcoming){if(hs.expanders[m-1]){hs.expanders[m-1].close()}if(typeof hs.focusKey!="undefined"&&hs.expanders[hs.focusKey]){hs.expanders[hs.focusKey].close()}}this.el=d;this.tpos=this.pageOrigin||hs.getPosition(d);hs.getPageSize();var j=this.x=new hs.Dimension(this,"x");j.calcThumb();var h=this.y=new hs.Dimension(this,"y");h.calcThumb();if(/area/i.test(d.tagName)){this.getImageMapAreaCorrection(d)}this.wrapper=hs.createElement("div",{id:"highslide-wrapper-"+this.key,className:"highslide-wrapper "+this.wrapperClassName},{visibility:"hidden",position:"absolute",zIndex:hs.zIndexCounter+=2},null,true);this.wrapper.onmouseover=this.wrapper.onmouseout=hs.wrapperMouseHandler;if(this.contentType=="image"&&this.outlineWhileAnimating==2){this.outlineWhileAnimating=0}if(!this.outlineType||(this.last&&this.isImage&&this.transitions[1]=="crossfade")){this[this.contentType+"Create"]()}else{if(hs.pendingOutlines[this.outlineType]){this.connectOutline();this[this.contentType+"Create"]()}else{this.showLoading();var e=this;new hs.Outline(this.outlineType,function(){e.connectOutline();e[e.contentType+"Create"]()})}}return true};hs.Expander.prototype={error:function(a){if(hs.debug){alert("Line "+a.lineNumber+": "+a.message)}else{window.location.href=this.src}},connectOutline:function(){var a=this.outline=hs.pendingOutlines[this.outlineType];a.exp=this;a.table.style.zIndex=this.wrapper.style.zIndex-1;hs.pendingOutlines[this.outlineType]=null},showLoading:function(){if(this.onLoadStarted||this.loading){return}this.loading=hs.loading;var c=this;this.loading.onclick=function(){c.cancelLoading()};if(!hs.fireEvent(this,"onShowLoading")){return}var c=this,a=this.x.get("loadingPos")+"px",b=this.y.get("loadingPos")+"px";if(!d&&this.last&&this.transitions[1]=="crossfade"){var d=this.last}if(d){a=d.x.get("loadingPosXfade")+"px";b=d.y.get("loadingPosXfade")+"px";this.loading.style.zIndex=hs.zIndexCounter++}setTimeout(function(){if(c.loading){hs.setStyles(c.loading,{left:a,top:b,zIndex:hs.zIndexCounter++})}},100)},imageCreate:function(){var b=this;var a=document.createElement("img");this.content=a;a.onload=function(){if(hs.expanders[b.key]){b.contentLoaded()}};if(hs.blockRightClick){a.oncontextmenu=function(){return false}}a.className="highslide-image";hs.setStyles(a,{visibility:"hidden",display:"block",position:"absolute",maxWidth:"9999px",zIndex:3});a.title=hs.lang.restoreTitle;if(hs.safari&&hs.uaVersion<525){hs.container.appendChild(a)}if(hs.ie&&hs.flushImgSize){a.src=null}a.src=this.src;this.showLoading()},htmlCreate:function(){if(!hs.fireEvent(this,"onBeforeGetContent")){return}this.content=hs.getCacheBinding(this.a);if(!this.content){this.content=hs.getNode(this.contentId)}if(!this.content){this.content=hs.getSelfRendered()}this.getInline(["maincontent"]);if(this.maincontent){var a=hs.getElementByClass(this.content,"div","highslide-body");if(a){a.appendChild(this.maincontent)}this.maincontent.style.display="block"}hs.fireEvent(this,"onAfterGetContent");var d=this.innerContent=this.content;if(/(swf|iframe)/.test(this.objectType)){this.setObjContainerSize(d)}hs.container.appendChild(this.wrapper);hs.setStyles(this.wrapper,{position:"static",padding:"0 "+hs.marginRight+"px 0 "+hs.marginLeft+"px"});this.content=hs.createElement("div",{className:"highslide-html"},{position:"relative",zIndex:3,height:0,overflow:"hidden"},this.wrapper);this.mediumContent=hs.createElement("div",null,null,this.content,1);this.mediumContent.appendChild(d);hs.setStyles(d,{position:"relative",display:"block",direction:hs.lang.cssDirection||""});if(this.width){d.style.width=this.width+"px"}if(this.height){hs.setStyles(d,{height:this.height+"px",overflow:"hidden"})}if(d.offsetWidth<this.minWidth){d.style.width=this.minWidth+"px"}if(this.objectType=="ajax"&&!hs.getCacheBinding(this.a)){this.showLoading();var c=this;var b=new hs.Ajax(this.a,d);b.src=this.src;b.onLoad=function(){if(hs.expanders[c.key]){c.contentLoaded()}};b.onError=function(){location.href=c.src};b.run()}else{if(this.objectType=="iframe"&&this.objectLoadTime=="before"){this.writeE
26xtendedContent()}else{this.contentLoaded()}}},contentLoaded:function(){try{if(!this.content){return}this.content.onload=null;if(this.onLoadStarted){return}else{this.onLoadStarted=true}var j=this.x,g=this.y;if(this.loading){hs.setStyles(this.loading,{top:"-9999px"});this.loading=null;hs.fireEvent(this,"onHideLoading")}if(this.isImage){j.full=this.content.width;g.full=this.content.height;hs.setStyles(this.content,{width:j.t+"px",height:g.t+"px"});this.wrapper.appendChild(this.content);hs.container.appendChild(this.wrapper)}else{if(this.htmlGetSize){this.htmlGetSize()}}j.calcBorders();g.calcBorders();hs.setStyles(this.wrapper,{left:(j.tpos+j.tb-j.cb)+"px",top:(g.tpos+j.tb-g.cb)+"px"});this.initSlideshow();this.getOverlays();var f=j.full/g.full;j.calcExpanded();this.justify(j);g.calcExpanded();this.justify(g);if(this.isHtml){this.htmlSizeOperations()}if(this.overlayBox){this.sizeOverlayBox(0,1)}if(this.allowSizeReduction){if(this.isImage){this.correctRatio(f)}else{this.fitOverlayBox()}var k=this.slideshow;if(k&&this.last&&k.controls&&k.fixedControls){var h=k.overlayOptions.position||"",a;for(var c in hs.oPos){for(var b=0;b<5;b++){a=this[c];if(h.match(hs.oPos[c][b])){a.pos=this.last[c].pos+(this.last[c].p1-a.p1)+(this.last[c].size-a.size)*[0,0,0,5,1,1][b];if(k.fixedControls=="fit"){if(a.pos+a.size+a.p1+a.p2>a.scroll+a.clientSize-a.marginMax){a.pos=a.scroll+a.clientSize-a.size-a.marginMin-a.marginMax-a.p1-a.p2}if(a.pos<a.scroll+a.marginMin){a.pos=a.scroll+a.marginMin}}}}}}if(this.isImage&&this.x.full>(this.x.imgSize||this.x.size)){this.createFullExpand();if(this.overlays.length==1){this.sizeOverlayBox()}}}this.show()}catch(d){this.error(d)}},setObjContainerSize:function(a,d){var b=hs.getElementByClass(a,"DIV","highslide-body");if(/(iframe|swf)/.test(this.objectType)){if(this.objectWidth){b.style.width=this.objectWidth+"px"}if(this.objectHeight){b.style.height=this.objectHeight+"px"}}},writeExtendedContent:function(){if(this.hasExtendedContent){return}var f=this;this.body=hs.getElementByClass(this.innerContent,"DIV","highslide-body");if(this.objectType=="iframe"){this.showLoading();var g=hs.clearing.cloneNode(1);this.body.appendChild(g);this.newWidth=this.innerContent.offsetWidth;if(!this.objectWidth){this.objectWidth=g.offsetWidth}var c=this.innerContent.offsetHeight-this.body.offsetHeight,d=this.objectHeight||hs.page.height-c-hs.marginTop-hs.marginBottom,e=this.objectLoadTime=="before"?' onload="if (hs.expanders['+this.key+"]) hs.expanders["+this.key+'].contentLoaded()" ':"";this.body.innerHTML+='<iframe name="hs'+(new Date()).getTime()+'" frameborder="0" key="'+this.key+'"  style="width:'+this.objectWidth+"px; height:"+d+'px" '+e+' src="'+this.src+'" allowfullscreen ></iframe>';this.ruler=this.body.getElementsByTagName("div")[0];this.iframe=this.body.getElementsByTagName("iframe")[0];if(this.objectLoadTime=="after"){this.correctIframeSize()}}if(this.objectType=="swf"){this.body.id=this.body.id||"hs-flash-id-"+this.key;var b=this.swfOptions;if(!b.params){b.params={}}if(typeof b.params.wmode=="undefined"){b.params.wmode="transparent"}if(swfobject){swfobject.embedSWF(this.src,this.body.id,this.objectWidth,this.objectHeight,b.version||"7",b.expressInstallSwfurl,b.flashvars,b.params,b.attributes)}}this.hasExtendedContent=true},htmlGetSize:function(){if(this.iframe&&!this.objectHeight){this.iframe.style.height=this.body.style.height=this.getIframePageHeight()+"px"}this.innerContent.appendChild(hs.clearing);if(!this.x.full){this.x.full=this.innerContent.offsetWidth}this.y.full=this.innerContent.offsetHeight;this.innerContent.removeChild(hs.clearing);if(hs.ie&&this.newHeight>parseInt(this.innerContent.currentStyle.height)){this.newHeight=parseInt(this.innerContent.currentStyle.height)}hs.setStyles(this.wrapper,{position:"absolute",padding:"0"});hs.setStyles(this.content,{width:this.x.t+"px",height:this.y.t+"px"})},getIframePageHeight:function(){var a;try{var d=this.iDoc=this.iframe.contentDocument||this.iframe.contentWindow.document;var b=d.createElement("div");b.style.clear="both";d.body.appendChild(b);a=b.offsetTop;if(hs.ie){a+=parseInt(d.body.currentStyle.marginTop)+parseInt(d.body.currentStyle.marginBottom)-1}}catch(c){a=300}return a},correctIframeSize:function(){var b=this.innerContent.offsetWidth-this.ruler.offsetWidth;hs.discardElement(this.ruler);if(b<0){b=0}var a=this.innerContent.offsetHeight-this.iframe.offsetHeight;if(this.iDoc&&!this.objectHeight&&!this.height&&this.y.size==this.y.full){try{this.iDoc.body.style.overflow="hidden"}catch(c){}}hs.setStyles(this.iframe,{width:Math.abs(this.x.size-b)+"px",height:Math.abs(this.y.size-a)+"px"});hs.setStyles(this.body,{width:this.iframe.style.width,height:this.iframe.style.height});this.scrollingContent=this.iframe;this.scrollerDiv=this.scrollingContent},htmlSizeOperations:function(){this.setObjContainerSize(this.innerContent);if(this.objectType=="swf"&&this.objectLoadTime=="before"){this.writeE
26xtendedContent()}if(this.x.size<this.x.full&&!this.allowWidthReduction){this.x.size=this.x.full}if(this.y.size<this.y.full&&!this.allowHeightReduction){this.y.size=this.y.full}this.scrollerDiv=this.innerContent;hs.setStyles(this.mediumContent,{position:"relative",width:this.x.size+"px"});hs.setStyles(this.innerContent,{border:"none",width:"auto",height:"auto"});var e=hs.getElementByClass(this.innerContent,"DIV","highslide-body");if(e&&!/(iframe|swf)/.test(this.objectType)){var b=e;e=hs.createElement(b.nodeName,null,{overflow:"hidden"},null,true);b.parentNode.insertBefore(e,b);e.appendChild(hs.clearing);e.appendChild(b);var c=this.innerContent.offsetWidth-e.offsetWidth;var a=this.innerContent.offsetHeight-e.offsetHeight;e.removeChild(hs.clearing);var d=hs.safari||navigator.vendor=="KDE"?1:0;hs.setStyles(e,{width:(this.x.size-c-d)+"px",height:(this.y.size-a)+"px",overflow:"auto",position:"relative"});if(d&&b.offsetHeight>e.offsetHeight){e.style.width=(parseInt(e.style.width)+d)+"px"}this.scrollingContent=e;this.scrollerDiv=this.scrollingContent}if(this.iframe&&this.objectLoadTime=="before"){this.correctIframeSize()}if(!this.scrollingContent&&this.y.size<this.mediumContent.offsetHeight){this.scrollerDiv=this.content}if(this.scrollerDiv==this.content&&!this.allowWidthReduction&&!/(iframe|swf)/.test(this.objectType)){this.x.size+=17}if(this.scrollerDiv&&this.scrollerDiv.offsetHeight>this.scrollerDiv.parentNode.offsetHeight){setTimeout("try { hs.expanders["+this.key+"].scrollerDiv.style.overflow = 'auto'; } catch(e) {}",hs.expandDuration)}},getImageMapAreaCorrection:function(d){var h=d.coords.split(",");for(var b=0;b<h.length;b++){h[b]=parseInt(h[b])}if(d.shape.toLowerCase()=="circle"){this.x.tpos+=h[0]-h[2];this.y.tpos+=h[1]-h[2];this.x.t=this.y.t=2*h[2]}else{var f,e,a=f=h[0],g=e=h[1];for(var b=0;b<h.length;b++){if(b%2==0){a=Math.min(a,h[b]);f=Math.max(f,h[b])}else{g=Math.min(g,h[b]);e=Math.max(e,h[b])}}this.x.tpos+=a;this.x.t=f-a;this.y.tpos+=g;this.y.t=e-g}},justify:function(f,b){var g,h=f.target,e=f==this.x?"x":"y";if(h&&h.match(/ /)){g=h.split(" ");h=g[0]}if(h&&hs.$(h)){f.pos=hs.getPosition(hs.$(h))[e];if(g&&g[1]&&g[1].match(/^[-]?[0-9]+px$/)){f.pos+=parseInt(g[1])}if(f.size<f.minSize){f.size=f.minSize}}else{if(f.justify=="auto"||f.justify=="center"){var d=false;var a=f.exp.allowSizeReduction;if(f.justify=="center"){f.pos=Math.round(f.scroll+(f.clientSize+f.marginMin-f.marginMax-f.get("wsize"))/2)}else{f.pos=Math.round(f.pos-((f.get("wsize")-f.t)/2))}if(f.pos<f.scroll+f.marginMin){f.pos=f.scroll+f.marginMin;d=true}if(!b&&f.size<f.minSize){f.size=f.minSize;a=false}if(f.pos+f.get("wsize")>f.scroll+f.clientSize-f.marginMax){if(!b&&d&&a){f.size=Math.min(f.size,f.get(e=="y"?"fitsize":"maxsize"))}else{if(f.get("wsize")<f.get("fitsize")){f.pos=f.scroll+f.clientSize-f.marginMax-f.get("wsize")}else{f.pos=f.scroll+f.marginMin;if(!b&&a){f.size=f.get(e=="y"?"fitsize":"maxsize")}}}}if(!b&&f.size<f.minSize){f.size=f.minSize;a=false}}else{if(f.justify=="max"){f.pos=Math.floor(f.pos-f.size+f.t)}}}if(f.pos<f.marginMin){var c=f.pos;f.pos=f.marginMin;if(a&&!b){f.size=f.size-(f.pos-c)}}},correctRatio:function(c){var a=this.x,g=this.y,e=false,d=Math.min(a.full,a.size),b=Math.min(g.full,g.size),f=(this.useBox||hs.padToMinWidth);if(d/b>c){d=b*c;if(d<a.minSize){d=a.minSize;b=d/c}e=true}else{if(d/b<c){b=d/c;e=true}}if(hs.padToMinWidth&&a.full<a.minSize){a.imgSize=a.full;g.size=g.imgSize=g.full}else{if(this.useBox){a.imgSize=d;g.imgSize=b}else{a.size=d;g.size=b}}e=this.fitOverlayBox(this.useBox?null:c,e);if(f&&g.size<g.imgSize){g.imgSize=g.size;a.imgSize=g.size*c}if(e||f){a.pos=a.tpos-a.cb+a.tb;a.minSize=a.size;this.justify(a,true);g.pos=g.tpos-g.cb+g.tb;g.minSize=g.size;this.justify(g,true);if(this.overlayBox){this.sizeOverlayBox()}}},fitOverlayBox:function(b,c){var a=this.x,d=this.y;if(this.overlayBox&&(this.isImage||this.allowHeightReduction)){while(d.size>this.minHeight&&a.size>this.minWidth&&d.get("wsize")>d.get("fitsize")){d.size-=10;if(b){a.size=d.size*b}this.sizeOverlayBox(0,1);c=true}}return c},reflow:function(){if(this.scrollerDiv){var a=/iframe/i.test(this.scrollerDiv.tagName)?(this.getIframePageHeight()+1)+"px":"auto";if(this.body){this.body.style.height=a}this.scrollerDiv.style.height=a;this.y.setSize(this.innerContent.offsetHeight)}},show:function(){var a=this.x,b=this.y;this.doShowHide("hidden");hs.fireEvent(this,"onBeforeExpand");if(this.slideshow&&this.slideshow.thumbstrip){this.slideshow.thumbstrip.selectThumb()}this.changeSize(1,{wrapper:{width:a.get("wsize"),height:b.get("wsize"),left:a.pos,top:b.pos},content:{left:a.p1+a.get("imgPad"),top:b.p1+b.get("imgPad"),width:a.imgSize||a.size,height:b.imgSize||b.size}},hs.expandDuration)},changeSize:function(d,i,b){var k=this.transitions,e=d?(this.last?this.last.a:null):hs.upcoming,j=(k[1]&&e&&hs.getParam(e,"transitions")[1]==k[1])?k[1]:k[0];if(this[j]&&j!="expand"){this[j](d,i);return}if(this.outline&&!this.outlineWhileAnimating){if(d){this.outline.setPosition()}else{this.outline.destroy((this.isHtml&&this.preserveContent))}}if(!d){this.destroyOverlays()}var c=this,h=c.x,g=c.y,f=this.easing;if(!d){f=this.easingClose||f}var a=d?function(){if(c.outline){c.outline.table.style.visibility="visible"}setTimeout(function(){c.afterExpand()},50)}:function(){c.afterClose()};if(d){hs.setStyles(this.wrapper,{width:h.t+"px",height:g.t+"px"})}
26if(d&&this.isHtml){hs.setStyles(this.wrapper,{left:(h.tpos-h.cb+h.tb)+"px",top:(g.tpos-g.cb+g.tb)+"px"})}if(this.fadeInOut){hs.setStyles(this.wrapper,{opacity:d?0:1});hs.extend(i.wrapper,{opacity:d})}hs.animate(this.wrapper,i.wrapper,{duration:b,easing:f,step:function(n,l){if(c.outline&&c.outlineWhileAnimating&&l.prop=="top"){var m=d?l.pos:1-l.pos;var o={w:h.t+(h.get("wsize")-h.t)*m,h:g.t+(g.get("wsize")-g.t)*m,x:h.tpos+(h.pos-h.tpos)*m,y:g.tpos+(g.pos-g.tpos)*m};c.outline.setPosition(o,0,1)}if(c.isHtml){if(l.prop=="left"){c.mediumContent.style.left=(h.pos-n)+"px"}if(l.prop=="top"){c.mediumContent.style.top=(g.pos-n)+"px"}}}});hs.animate(this.content,i.content,b,f,a);if(d){this.wrapper.style.visibility="visible";this.content.style.visibility="visible";if(this.isHtml){this.innerContent.style.visibility="visible"}this.a.className+=" highslide-active-anchor"}},fade:function(f,h){this.outlineWhileAnimating=false;var c=this,j=f?hs.expandDuration:0;if(f){hs.animate(this.wrapper,h.wrapper,0);hs.setStyles(this.wrapper,{opacity:0,visibility:"visible"});hs.animate(this.content,h.content,0);this.content.style.visibility="visible";hs.animate(this.wrapper,{opacity:1},j,null,function(){c.afterExpand()})}if(this.outline){this.outline.table.style.zIndex=this.wrapper.style.zIndex;var b=f||-1,d=this.outline.offset,a=f?3:d,g=f?d:3;for(var e=a;b*e<=b*g;e+=b,j+=25){(function(){var i=f?g-e:a-e;setTimeout(function(){c.outline.setPosition(0,i,1)},j)})()}}if(f){}else{setTimeout(function(){if(c.outline){c.outline.destroy(c.preserveContent)}c.destroyOverlays();hs.animate(c.wrapper,{opacity:0},hs.restoreDuration,null,function(){c.afterClose()})},j)}},crossfade:function(k,b,c){if(!k){return}var j=this,d=this.last,a=this.x,p=this.y,h=d.x,f=d.y,e=this.wrapper,m=this.content,g=this.overlayBox;hs.removeEventListener(document,"mousemove",hs.dragHandler);hs.setStyles(m,{width:(a.imgSize||a.size)+"px",height:(p.imgSize||p.size)+"px"});if(g){g.style.overflow="visible"}this.outline=d.outline;if(this.outline){this.outline.exp=j}d.outline=null;var l=hs.createElement("div",{className:"highslide-"+this.contentType},{position:"absolute",zIndex:4,overflow:"hidden",display:"none"});var o={oldImg:d,newImg:this};for(var i in o){this[i]=o[i].content.cloneNode(1);hs.setStyles(this[i],{position:"absolute",border:0,visibility:"visible"});l.appendChild(this[i])}e.appendChild(l);if(this.isHtml){hs.setStyles(this.mediumContent,{left:0,top:0})}if(g){g.className="";e.appendChild(g)}l.style.display="";d.content.style.display="none";if(hs.safari&&hs.uaVersion<525){this.wrapper.style.visibility="visible"}hs.animate(e,{width:a.size},{duration:hs.transitionDuration,step:function(t,q){var w=q.pos,n=1-w;var v,r={},s=["pos","size","p1","p2"];for(var u in s){v=s[u];r["x"+v]=Math.round(n*h[v]+w*a[v]);r["y"+v]=Math.round(n*f[v]+w*p[v]);r.ximgSize=Math.round(n*(h.imgSize||h.size)+w*(a.imgSize||a.size));r.ximgPad=Math.round(n*h.get("imgPad")+w*a.get("imgPad"));r.yimgSize=Math.round(n*(f.imgSize||f.size)+w*(p.imgSize||p.size));r.yimgPad=Math.round(n*f.get("imgPad")+w*p.get("imgPad"))}if(j.outline){j.outline.setPosition({x:r.xpos,y:r.ypos,w:r.xsize+r.xp1+r.xp2+2*a.cb,h:r.ysize+r.yp1+r.yp2+2*p.cb})}d.wrapper.style.clip="rect("+(r.ypos-f.pos)+"px, "+(r.xsize+r.xp1+r.xp2+r.xpos+2*h.cb-h.pos)+"px, "+(r.ysize+r.yp1+r.yp2+r.ypos+2*f.cb-f.pos)+"px, "+(r.xpos-h.pos)+"px)";hs.setStyles(m,{top:(r.yp1+p.get("imgPad"))+"px",left:(r.xp1+a.get("imgPad"))+"px",marginTop:(p.pos-r.ypos)+"px",marginLeft:(a.pos-r.xpos)+"px"});hs.setStyles(e,{top:r.ypos+"px",left:r.xpos+"px",width:(r.xp1+r.xp2+r.xsize+2*a.cb)+"px",height:(r.yp1+r.yp2+r.ysize+2*p.cb)+"px"});hs.setStyles(l,{width:(r.ximgSize||r.xsize)+"px",height:(r.yimgSize||r.ysize)+"px",left:(r.xp1+r.ximgPad)+"px",top:(r.yp1+r.yimgPad)+"px",visibility:"visible"});hs.setStyles(j.oldImg,{top:(f.pos-r.ypos+f.p1-r.yp1+f.get("imgPad")-r.yimgPad)+"px",left:(h.pos-r.xpos+h.p1-r.xp1+h.get("imgPad")-r.ximgPad)+"px"});hs.setStyles(j.newImg,{opacity:w,top:(p.pos-r.ypos+p.p1-r.yp1+p.get("imgPad")-r.yimgPad)+"px",left:(a.pos-r.xpos+a.p1-r.xp1+a.get("imgPad")-r.ximgPad)+"px"});if(g){hs.setStyles(g,{width:r.xsize+"px",height:r.ysize+"px",left:(r.xp1+a.cb)+"px",top:(r.yp1+p.cb)+"px"})}},complete:function(){e.style.visibility=m.style.visibility="visible";m.style.display="block";hs.discardElement(l);j.afterExpand();d.afterClose();j.last=null}})},reuseOverlay:function(d,c){if(!this.last){return false}for(var b=0;b<this.last.overlays.length;b++){var a=hs.$("hsId"+this.last.overlays[b]);if(a&&a.hsId==d.hsId){this.genOverlayBox();a.reuse=this.key;hs.push(this.overlays,this.last.overlays[b]);return true}}return false}
26,afterExpand:function(){this.isExpanded=true;this.focus();if(this.isHtml&&this.objectLoadTime=="after"){this.writeExtendedContent()}if(this.iframe){try{var g=this,f=this.iframe.contentDocument||this.iframe.contentWindow.document;hs.addEventListener(f,"mousedown",function(){if(hs.focusKey!=g.key){g.focus()}})}catch(d){}if(hs.ie&&typeof this.isClosing!="boolean"){this.iframe.style.width=(this.objectWidth-1)+"px"}}if(this.dimmingOpacity){hs.dim(this)}if(hs.upcoming&&hs.upcoming==this.a){hs.upcoming=null}this.prepareNextOutline();var c=hs.page,b=hs.mouse.x+c.scrollLeft,a=hs.mouse.y+c.scrollTop;this.mouseIsOver=this.x.pos<b&&b<this.x.pos+this.x.get("wsize")&&this.y.pos<a&&a<this.y.pos+this.y.get("wsize");if(this.overlayBox){this.showOverlays()}hs.fireEvent(this,"onAfterExpand")},prepareNextOutline:function(){var a=this.key;var b=this.outlineType;new hs.Outline(b,function(){try{hs.expanders[a].preloadNext()}catch(c){}})},preloadNext:function(){var b=this.getAdjacentAnchor(1);if(b&&b.onclick.toString().match(/hs\.expand/)){var a=hs.createElement("img",{src:hs.getSrc(b)})}},getAdjacentAnchor:function(c){var b=this.getAnchorIndex(),a=hs.anchors.groups[this.slideshowGroup||"none"];if(a&&!a[b+c]&&this.slideshow&&this.slideshow.repeat){if(c==1){return a[0]}else{if(c==-1){return a[a.length-1]}}}return(a&&a[b+c])||null},getAnchorIndex:function(){var a=hs.getAnchors().groups[this.slideshowGroup||"none"];if(a){for(var b=0;b<a.length;b++){if(a[b]==this.a){return b}}}return null},getNumber:function(){if(this[this.numberPosition]){var a=hs.anchors.groups[this.slideshowGroup||"none"];if(a){var b=hs.lang.number.replace("%1",this.getAnchorIndex()+1).replace("%2",a.length);this[this.numberPosition].innerHTML='<div class="highslide-number">'+b+"</div>"+this[this.numberPosition].innerHTML}}},initSlideshow:function(){if(!this.last){for(var c=0;c<hs.slideshows.length;c++){var b=hs.slideshows[c],d=b.slideshowGroup;if(typeof d=="undefined"||d===null||d===this.slideshowGroup){this.slideshow=new hs.Slideshow(this.key,b)}}}else{this.slideshow=this.last.slideshow}var b=this.slideshow;if(!b){return}var a=b.expKey=this.key;b.checkFirstAndLast();b.disable("full-expand");if(b.controls){this.createOverlay(hs.extend(b.overlayOptions||{},{overlayId:b.controls,hsId:"controls",zIndex:5}))}if(b.thumbstrip){b.thumbstrip.add(this)}if(!this.last&&this.autoplay){b.play(true)}if(b.autoplay){b.autoplay=setTimeout(function(){hs.next(a)},(b.interval||500))}},cancelLoading:function(){hs.discardElement(this.wrapper);hs.expanders[this.key]=null;if(hs.upcoming==this.a){hs.upcoming=null}hs.undim(this.key);if(this.loading){hs.loading.style.left="-9999px"}hs.fireEvent(this,"onHideLoading")},writeCredits:function(){if(this.credits){return}this.credits=hs.createElement("a",{href:hs.creditsHref,target:hs.creditsTarget,className:"highslide-credits",innerHTML:hs.lang.creditsText,title:hs.lang.creditsTitle});this.createOverlay({overlayId:this.credits,position:this.creditsPosition||"top left",hsId:"credits"})},getInline:function(types,addOverlay){for(var i=0;i<types.length;i++){var type=types[i],s=null;if(type=="caption"&&!hs.fireEvent(this,"onBeforeGetCaption")){return}else{if(type=="heading"&&!hs.fireEvent(this,"onBeforeGetHeading")){return}}if(!this[type+"Id"]&&this.thumbsUserSetId){this[type+"Id"]=type+"-for-"+this.thumbsUserSetId}if(this[type+"Id"]){this[type]=hs.getNode(this[type+"Id"])}if(!this[type]&&!this[type+"Text"]&&this[type+"Eval"]){try{s=eval(this[type+"Eval"])}catch(e){}}if(!this[type]&&this[type+"Text"]){s=this[type+"Text"]}if(!this[type]&&!s){this[type]=hs.getNode(this.a["_"+type+"Id"]);if(!this[type]){var next=this.a.nextSibling;while(next&&!hs.isHsAnchor(next)){if((new RegExp("highslide-"+type)).test(next.className||null)){if(!next.id){this.a["_"+type+"Id"]=next.id="hsId"+hs.idCounter++}this[type]=hs.getNode(next.id);break}next=next.nextSibling}}}if(!this[type]&&!s&&this.numberPosition==type){s="\n"}if(!this[type]&&s){this[type]=hs.createElement("div",{className:"highslide-"+type,innerHTML:s})}if(addOverlay&&this[type]){var o={position:(type=="heading")?"above":"below"};for(var x in this[type+"Overlay"]){o[x]=this[type+"Overlay"][x]}o.overlayId=this[type];this.createOverlay(o)}}}
26,doShowHide:function(a){if(hs.hideSelects){this.showHideElements("SELECT",a)}if(hs.hideIframes){this.showHideElements("IFRAME",a)}if(hs.geckoMac){this.showHideElements("*",a)}},showHideElements:function(c,b){var e=document.getElementsByTagName(c);var a=c=="*"?"overflow":"visibility";for(var f=0;f<e.length;f++){if(a=="visibility"||(document.defaultView.getComputedStyle(e[f],"").getPropertyValue("overflow")=="auto"||e[f].getAttribute("hidden-by")!=null)){var h=e[f].getAttribute("hidden-by");if(b=="visible"&&h){h=h.replace("["+this.key+"]","");e[f].setAttribute("hidden-by",h);if(!h){e[f].style[a]=e[f].origProp}}else{if(b=="hidden"){var k=hs.getPosition(e[f]);k.w=e[f].offsetWidth;k.h=e[f].offsetHeight;if(!this.dimmingOpacity){var j=(k.x+k.w<this.x.get("opos")||k.x>this.x.get("opos")+this.x.get("osize"));var g=(k.y+k.h<this.y.get("opos")||k.y>this.y.get("opos")+this.y.get("osize"))}var d=hs.getWrapperKey(e[f]);if(!j&&!g&&d!=this.key){if(!h){e[f].setAttribute("hidden-by","["+this.key+"]");e[f].origProp=e[f].style[a];e[f].style[a]="hidden"}else{if(h.indexOf("["+this.key+"]")==-1){e[f].setAttribute("hidden-by",h+"["+this.key+"]")}}}else{if((h=="["+this.key+"]"||hs.focusKey==d)&&d!=this.key){e[f].setAttribute("hidden-by","");e[f].style[a]=e[f].origProp||""}else{if(h&&h.indexOf("["+this.key+"]")>-1){e[f].setAttribute("hidden-by",h.replace("["+this.key+"]",""))}}}}}}}},focus:function(){this.wrapper.style.zIndex=hs.zIndexCounter+=2;for(var a=0;a<hs.expanders.length;a++){if(hs.expanders[a]&&a==hs.focusKey){var b=hs.expanders[a];b.content.className+=" highslide-"+b.contentType+"-blur";if(b.isImage){b.content.style.cursor=hs.ie?"hand":"pointer";b.content.title=hs.lang.focusTitle}hs.fireEvent(b,"onBlur")}}if(this.outline){this.outline.table.style.zIndex=this.wrapper.style.zIndex-1}this.content.className="highslide-"+this.contentType;if(this.isImage){this.content.title=hs.lang.restoreTitle;if(hs.restoreCursor){hs.styleRestoreCursor=window.opera?"pointer":"url("+hs.graphicsDir+hs.restoreCursor+"), pointer";if(hs.ie&&hs.uaVersion<6){hs.styleRestoreCursor="hand"}this.content.style.cursor=hs.styleRestoreCursor}}hs.focusKey=this.key;hs.addEventListener(document,window.opera?"keypress":"keydown",hs.keyHandler);hs.fireEvent(this,"onFocus")},moveTo:function(a,b){this.x.setPos(a);this.y.setPos(b)},resize:function(d){var a,b,c=d.width/d.height;a=Math.max(d.width+d.dX,Math.min(this.minWidth,this.x.full));if(this.isImage&&Math.abs(a-this.x.full)<12){a=this.x.full}b=this.isHtml?d.height+d.dY:a/c;if(b<Math.min(this.minHeight,this.y.full)){b=Math.min(this.minHeight,this.y.full);if(this.isImage){a=b*c}}this.resizeTo(a,b)},resizeTo:function(a,b){this.y.setSize(b);this.x.setSize(a);this.wrapper.style.height=this.y.get("wsize")+"px"},close:function(){if(this.isClosing||!this.isExpanded){return}if(this.transitions[1]=="crossfade"&&hs.upcoming){hs.getExpander(hs.upcoming).cancelLoading();hs.upcoming=null}if(!hs.fireEvent(this,"onBeforeClose")){return}this.isClosing=true;if(this.slideshow&&!hs.upcoming){this.slideshow.pause()}hs.removeEventListener(document,window.opera?"keypress":"keydown",hs.keyHandler);try{if(this.isHtml){this.htmlPrepareClose()}this.content.style.cursor="default";this.changeSize(0,{wrapper:{width:this.x.t,height:this.y.t,left:this.x.tpos-this.x.cb+this.x.tb,top:this.y.tpos-this.y.cb+this.y.tb},content:{left:0,top:0,width:this.x.t,height:this.y.t}},hs.restoreDuration)}catch(a){this.afterClose()}}
26,htmlPrepareClose:function(){if(hs.geckoMac){if(!hs.mask){hs.mask=hs.createElement("div",null,{position:"absolute"},hs.container)}hs.setStyles(hs.mask,{width:this.x.size+"px",height:this.y.size+"px",left:this.x.pos+"px",top:this.y.pos+"px",display:"block"})}if(this.objectType=="swf"){try{hs.$(this.body.id).StopPlay()}catch(a){}}if(this.objectLoadTime=="after"&&!this.preserveContent){this.destroyObject()}if(this.scrollerDiv&&this.scrollerDiv!=this.scrollingContent){this.scrollerDiv.style.overflow="hidden"}},destroyObject:function(){if(hs.ie&&this.iframe){try{this.iframe.contentWindow.document.body.innerHTML=""}catch(a){}}if(this.objectType=="swf"){swfobject.removeSWF(this.body.id)}this.body.innerHTML=""},sleep:function(){if(this.outline){this.outline.table.style.display="none"}this.releaseMask=null;this.wrapper.style.display="none";this.isExpanded=false;hs.push(hs.sleeping,this)},awake:function(){try{hs.expanders[this.key]=this;if(!hs.allowMultipleInstances&&hs.focusKey!=this.key){try{hs.expanders[hs.focusKey].close()}catch(b){}}var d=hs.zIndexCounter++,a={display:"",zIndex:d};hs.setStyles(this.wrapper,a);this.isClosing=false;var c=this.outline||0;if(c){if(!this.outlineWhileAnimating){a.visibility="hidden"}hs.setStyles(c.table,a)}if(this.slideshow){this.initSlideshow()}this.show()}catch(b){}},createOverlay:function(e){var d=e.overlayId,a=(e.relativeTo=="viewport"&&!/panel$/.test(e.position));if(typeof d=="string"){d=hs.getNode(d)}if(e.html){d=hs.createElement("div",{innerHTML:e.html})}if(!d||typeof d=="string"){return}if(!hs.fireEvent(this,"onCreateOverlay",{overlay:d})){return}d.style.display="block";e.hsId=e.hsId||e.overlayId;if(this.transitions[1]=="crossfade"&&this.reuseOverlay(e,d)){return}this.genOverlayBox();var c=e.width&&/^[0-9]+(px|%)$/.test(e.width)?e.width:"auto";if(/^(left|right)panel$/.test(e.position)&&!/^[0-9]+px$/.test(e.width)){c="200px"}var b=hs.createElement("div",{id:"hsId"+hs.idCounter++,hsId:e.hsId},{position:"absolute",visibility:"hidden",width:c,direction:hs.lang.cssDirection||"",opacity:0},a?hs.viewport:this.overlayBox,true);if(a){b.hsKey=this.key}b.appendChild(d);hs.extend(b,{opacity:1,offsetX:0,offsetY:0,dur:(e.fade===0||e.fade===false||(e.fade==2&&hs.ie))?0:250});hs.extend(b,e);if(this.gotOverlays){this.positionOverlay(b);if(!b.hideOnMouseOut||this.mouseIsOver){hs.animate(b,{opacity:b.opacity},b.dur)}}hs.push(this.overlays,hs.idCounter-1)},positionOverlay:function(e){var f=e.position||"middle center",c=(e.relativeTo=="viewport"),b=e.offsetX,a=e.offsetY;if(c){hs.viewport.style.display="block";e.hsKey=this.key;if(e.offsetWidth>e.parentNode.offsetWidth){e.style.width="100%"}}else{if(e.parentNode!=this.overlayBox){this.overlayBox.appendChild(e)}}if(/left$/.test(f)){e.style.left=b+"px"}if(/center$/.test(f)){hs.setStyles(e,{left:"50%",marginLeft:(b-Math.round(e.offsetWidth/2))+"px"})}if(/right$/.test(f)){e.style.right=-b+"px"}if(/^leftpanel$/.test(f)){hs.setStyles(e,{right:"100%",marginRight:this.x.cb+"px",top:-this.y.cb+"px",bottom:-this.y.cb+"px",overflow:"auto"});this.x.p1=e.offsetWidth}else{if(/^rightpanel$/.test(f)){hs.setStyles(e,{left:"100%",marginLeft:this.x.cb+"px",top:-this.y.cb+"px",bottom:-this.y.cb+"px",overflow:"auto"});this.x.p2=e.offsetWidth}}var d=e.parentNode.offsetHeight;e.style.height="auto";if(c&&e.offsetHeight>d){e.style.height=hs.ieLt7?d+"px":"100%"}if(/^top/.test(f)){e.style.top=a+"px"}if(/^middle/.test(f)){hs.setStyles(e,{top:"50%",marginTop:(a-Math.round(e.offsetHeight/2))+"px"})}if(/^bottom/.test(f)){e.style.bottom=-a+"px"}if(/^above$/.test(f)){hs.setStyles(e,{left:(-this.x.p1-this.x.cb)+"px",right:(-this.x.p2-this.x.cb)+"px",bottom:"100%",marginBottom:this.y.cb+"px",width:"auto"});this.y.p1=e.offsetHeight}else{if(/^below$/.test(f)){hs.setStyles(e,{position:"relative",left:(-this.x.p1-this.x.cb)+"px",right:(-this.x.p2-this.x.cb)+"px",top:"100%",marginTop:this.y.cb+"px",width:"auto"});this.y.p2=e.offsetHeight;e.style.position="absolute"}}},getOverlays:function(){this.getInline(["heading","caption"],true);this.getNumber();if(this.caption){hs.fireEvent(this,"onAfterGetCaption")}if(this.heading){hs.fireEvent(this,"onAfterGetHeading")}if(this.heading&&this.dragByHeading){this.heading.className+=" highsli
26de-move"}if(hs.showCredits){this.writeCredits()}for(var a=0;a<hs.overlays.length;a++){var d=hs.overlays[a],e=d.thumbnailId,b=d.slideshowGroup;if((!e&&!b)||(e&&e==this.thumbsUserSetId)||(b&&b===this.slideshowGroup)){if(this.isImage||(this.isHtml&&d.useOnHtml)){this.createOverlay(d)}}}var c=[];for(var a=0;a<this.overlays.length;a++){var d=hs.$("hsId"+this.overlays[a]);if(/panel$/.test(d.position)){this.positionOverlay(d)}else{hs.push(c,d)}}for(var a=0;a<c.length;a++){this.positionOverlay(c[a])}this.gotOverlays=true},genOverlayBox:function(){if(!this.overlayBox){this.overlayBox=hs.createElement("div",{className:this.wrapperClassName},{position:"absolute",width:(this.x.size||(this.useBox?this.width:null)||this.x.full)+"px",height:(this.y.size||this.y.full)+"px",visibility:"hidden",overflow:"hidden",zIndex:hs.ie?4:"auto"},hs.container,true)}},sizeOverlayBox:function(f,d){var c=this.overlayBox,a=this.x,h=this.y;hs.setStyles(c,{width:a.size+"px",height:h.size+"px"});if(f||d){for(var e=0;e<this.overlays.length;e++){var g=hs.$("hsId"+this.overlays[e]);var b=(hs.ieLt7||document.compatMode=="BackCompat");if(g&&/^(above|below)$/.test(g.position)){if(b){g.style.width=(c.offsetWidth+2*a.cb+a.p1+a.p2)+"px"}h[g.position=="above"?"p1":"p2"]=g.offsetHeight}if(g&&b&&/^(left|right)panel$/.test(g.position)){g.style.height=(c.offsetHeight+2*h.cb)+"px"}}}if(f){hs.setStyles(this.content,{top:h.p1+"px"});hs.setStyles(c,{top:(h.p1+h.cb)+"px"})}},showOverlays:function(){var a=this.overlayBox;a.className="";hs.setStyles(a,{top:(this.y.p1+this.y.cb)+"px",left:(this.x.p1+this.x.cb)+"px",overflow:"visible"});if(hs.safari){a.style.visibility="visible"}this.wrapper.appendChild(a);for(var c=0;c<this.overlays.length;c++){var d=hs.$("hsId"+this.overlays[c]);d.style.zIndex=d.zIndex||4;if(!d.hideOnMouseOut||this.mouseIsOver){d.style.visibility="visible";hs.setStyles(d,{visibility:"visible",display:""});hs.animate(d,{opacity:d.opacity},d.dur)}}},destroyOverlays:function(){if(!this.overlays.length){return}if(this.slideshow){var d=this.slideshow.controls;if(d&&hs.getExpander(d)==this){d.parentNode.removeChild(d)}}for(var a=0;a<this.overlays.length;a++){var b=hs.$("hsId"+this.overlays[a]);if(b&&b.parentNode==hs.viewport&&hs.getExpander(b)==this){hs.discardElement(b)}}if(this.isHtml&&this.preserveContent){this.overlayBox.style.top="-9999px";hs.container.appendChild(this.overlayBox)}else{hs.discardElement(this.overlayBox)}},createFullExpand:function(){if(this.slideshow&&this.slideshow.controls){this.slideshow.enable("full-expand");return}this.fullExpandLabel=hs.createElement("a",{href:"javascript:hs.expanders["+this.key+"].doFullExpand();",title:hs.lang.fullExpandTitle,className:"highslide-full-expand"});if(!hs.fireEvent(this,"onCreateFullExpand")){return}this.createOverlay({overlayId:this.fullExpandLabel,position:hs.fullExpandPosition,hideOnMouseOut:true,opacity:hs.fullExpandOpacity})},doFullExpand:function(){try{if(!hs.fireEvent(this,"onDoFullExpand")){return}if(this.fullExpandLabel){hs.discardElement(this.fullExpandLabel)}this.focus();var b=this.x.size;this.resizeTo(this.x.full,this.y.full);var a=this.x.pos-(this.x.size-b)/2;if(a<hs.marginLeft){a=hs.marginLeft}this.moveTo(a,this.y.pos);this.doShowHide("hidden")}catch(c){this.error(c)}},afterClose:function(){this.a.className=this.a.className.replace("highslide-active-anchor","");this.doShowHide("visible");if(this.isHtml&&this.preserveContent&&this.transitions[1]!="crossfade"){this.sleep()}else{if(this.outline&&this.outlineWhileAnimating){this.outline.destroy()}hs.discardElement(this.wrapper)}if(hs.mask){hs.mask.style.display="none"}this.destroyOverlays();if(!hs.viewport.childNodes.length){hs.viewport.style.display="none"}if(this.dimmingOpacity){hs.undim(this.key)}hs.fireEvent(this,"onAfterClose");hs.expanders[this.key]=null;hs.reOrder()}};hs.Ajax=function(b,c,d){this.a=b;this.content=c;this.pre=d};hs.Ajax.prototype={run:function(){var d;if(!this.src){this.src=hs.getSrc(this.a)}if(this.src.match("#")){var a=this.src.split("#");this.src=a[0];this.id=a[1]}if(hs.cachedGets[this.src]){this.cachedGet=hs.cachedGets[this.src];
26if(this.id){this.getElementContent()}else{this.loadHTML()}return}try{d=new XMLHttpRequest()}catch(b){try{d=new ActiveXObject("Msxml2.XMLHTTP")}catch(b){try{d=new ActiveXObject("Microsoft.XMLHTTP")}catch(b){this.onError()}}}var f=this;d.onreadystatechange=function(){if(f.xhr.readyState==4){if(f.id){f.getElementContent()}else{f.loadHTML()}}};var c=this.src;this.xhr=d;if(hs.forceAjaxReload){c=c.replace(/$/,(/\?/.test(c)?"&":"?")+"dummy="+(new Date()).getTime())}d.open("GET",c,true);d.setRequestHeader("X-Requested-With","XMLHttpRequest");d.setRequestHeader("Content-Type","application/x-www-form-urlencoded");d.send(null)},getElementContent:function(){hs.init();var a=window.opera||hs.ie6SSL?{src:"about:blank"}:null;this.iframe=hs.createElement("iframe",a,{position:"absolute",top:"-9999px"},hs.container);this.loadHTML()},loadHTML:function(){var c=this.cachedGet||this.xhr.responseText,b;if(this.pre){hs.cachedGets[this.src]=c}if(!hs.ie||hs.uaVersion>=5,5){c=c.replace(new RegExp("<link[^>]*>","gi"),"").replace(new RegExp("<script[^>]*>.*?</script>","gi"),"");if(this.iframe){var f=this.iframe.contentDocument;if(!f&&this.iframe.contentWindow){f=this.iframe.contentWindow.document}if(!f){var g=this;setTimeout(function(){g.loadHTML()},25);return}f.open();f.write(c);f.close();try{c=f.getElementById(this.id).innerHTML}catch(d){try{c=this.iframe.document.getElementById(this.id).innerHTML}catch(d){}}hs.discardElement(this.iframe)}else{b=/(<body[^>]*>|<\/body>)/ig;if(b.test(c)){c=c.split(b)[hs.ie?1:2]}}}hs.getElementByClass(this.content,"DIV","highslide-body").innerHTML=c;this.onLoad();for(var a in this){this[a]=null}}};hs.Slideshow=function(c,b){if(hs.dynamicallyUpdateAnchors!==false){hs.updateAnchors()}this.expKey=c;for(var a in b){this[a]=b[a]}if(this.useControls){this.getControls()}if(this.thumbstrip){this.thumbstrip=hs.Thumbstrip(this)}};hs.Slideshow.prototype={getControls:function(){this.controls=hs.createElement("div",{innerHTML:hs.replaceLang(hs.skin.controls)},null,hs.container);var b=["play","pause","previous","next","move","full-expand","close"];this.btn={};var c=this;for(var a=0;a<b.length;a++){this.btn[b[a]]=hs.getElementByClass(this.controls,"li","highslide-"+b[a]);this.enable(b[a])}this.btn.pause.style.display="none"},checkFirstAndLast:function(){if(this.repeat||!this.controls){return}var c=hs.expanders[this.expKey],b=c.getAnchorIndex(),a=/disabled$/;if(b==0){this.disable("previous")}else{if(a.test(this.btn.previous.getElementsByTagName("a")[0].className)){this.enable("previous")}}if(b+1==hs.anchors.groups[c.slideshowGroup||"none"].length){this.disable("next");this.disable("play")}else{if(a.test(this.btn.next.getElementsByTagName("a")[0].className)){this.enable("next");this.enable("play")}}},enable:function(d){if(!this.btn){return}var c=this,b=this.btn[d].getElementsByTagName("a")[0],e=/disabled$/;b.onclick=function(){c[d]();return false};if(e.test(b.className)){b.className=b.className.replace(e,"")}},disable:function(c){if(!this.btn){return}var b=this.btn[c].getElementsByTagName("a")[0];b.onclick=function(){return false};if(!/disabled$/.test(b.className)){b.className+=" disabled"}},hitSpace:function(){if(this.autoplay){this.pause()}else{this.play()}},play:function(a){if(this.btn){this.btn.play.style.display="none";this.btn.pause.style.display=""}this.autoplay=true;if(!a){hs.next(this.expKey)}},pause:function(){if(this.btn){this.btn.pause.style.display="none";this.btn.play.style.display=""}clearTimeout(this.autoplay);this.autoplay=null},previous:function(){this.pause();hs.previous(this.btn.previous)},next:function(){this.pause();hs.next(this.btn.next)},move:function(){},"full-expand":function(){hs.getExpander().doFullExpand()},close:function(){hs.close(this.btn.close)}};hs.Thumbstrip=function(d){function k(i){hs.extend(u||{},{overlayId:m,hsId:"thumbstrip",className:"highslide-thumbstrip-"+f+"-overlay "+(u.className||"")});if(hs.ieLt7){u.fade=0}i.createOverlay(u);hs.setStyles(m.parentNode,{overflow:"hidden"})}function r(i){s(undefined,Math.round(i*m[b?"offsetWidth":"offsetHeight"]*0,7))}function s(F,G){if(F===undefined){for(var E=0;E<c.length;E++){if(c[E]==hs.expanders[d.expKey].a){F=E;break}}}if(F===undefined){return}
26var A=m.getElementsByTagName("a"),M=A[F],J=M.parentNode,L=b?"Left":"Top",H=b?"Right":"Bottom",C=b?"Width":"Height",v="offset"+L,B="offset"+C,K=g.parentNode.parentNode[B],z=K-n[B],I=parseInt(n.style[b?"left":"top"])||0,w=I,x=20;if(G!==undefined){w=I-G;if(z>0){z=0}if(w>0){w=0}if(w<z){w=z}}else{for(var E=0;E<A.length;E++){A[E].className=""}M.className="highslide-active-anchor";var D=F>0?A[F-1].parentNode[v]:J[v],i=J[v]+J[B]+(A[F+1]?A[F+1].parentNode[B]:0);if(i>K-I){w=K-i}else{if(D<-I){w=-D}}}var y=J[v]+(J[B]-a[B])/2+w;hs.animate(n,b?{left:w}:{top:w},null,"easeOutQuad");hs.animate(a,b?{left:y}:{top:y},null,"easeOutQuad");e.style.display=w<0?"block":"none";o.style.display=(w>z)?"block":"none"}var c=hs.anchors.groups[hs.expanders[d.expKey].slideshowGroup||"none"],u=d.thumbstrip,f=u.mode||"horizontal",p=(f=="float"),h=p?["div","ul","li","span"]:["table","tbody","tr","td"],b=(f=="horizontal"),m=hs.createElement("div",{className:"highslide-thumbstrip highslide-thumbstrip-"+f,innerHTML:'<div class="highslide-thumbstrip-inner"><'+h[0]+"><"+h[1]+"></"+h[1]+"></"+h[0]+'></div><div class="highslide-scroll-up"><div></div></div><div class="highslide-scroll-down"><div></div></div><div class="highslide-marker"><div></div></div>'},{display:"none"},hs.container),t=m.childNodes,g=t[0],e=t[1],o=t[2],a=t[3],n=g.firstChild,j=m.getElementsByTagName(h[1])[0],q;for(var l=0;l<c.length;l++){if(l==0||!b){q=hs.createElement(h[2],null,null,j)}(function(){var v=c[l],i=hs.createElement(h[3],null,null,q),w=l;hs.createElement("a",{href:v.href,onclick:function(){if(/highslide-active-anchor/.test(this.className)){return false}hs.getExpander(this).focus();return hs.transit(v)},innerHTML:hs.stripItemFormatter?hs.stripItemFormatter(v):v.innerHTML},null,i)})()}if(!p){e.onclick=function(){r(-1)};o.onclick=function(){r(1)};hs.addEventListener(j,document.onmousewheel!==undefined?"mousewheel":"DOMMouseScroll",function(i){var v=0;i=i||window.event;if(i.wheelDelta){v=i.wheelDelta/120;if(hs.opera){v=-v}}else{if(i.detail){v=-i.detail/3}}if(v){r(-v*0,2)}if(i.preventDefault){i.preventDefault()}i.returnValue=false})}return{add:k,selectThumb:s}};hs.langDefaults=hs.lang;var HsExpander=hs.Expander;if(hs.ie&&window==window.top){(function(){try{document.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,50);return}hs.ready()})()}hs.addEventListener(document,"DOMContentLoaded",hs.ready);hs.addEventListener(window,"load",hs.ready);hs.addEventListener(document,"ready",function(){if(hs.expandCursor||hs.dimmingOpacity){var c=hs.createElement("style",{type:"text/css"},null,document.getElementsByTagName("HEAD")[0]);function b(e,f){if(hs.ie&&hs.uaVersion<9){var d=document.styleSheets[document.styleSheets.length-1];if(typeof(d.addRule)=="object"){d.addRule(e,f)}}else{c.appendChild(document.createTextNode(e+" {"+f+"}"))}}function a(d){return"expression( ( ( ignoreMe = document.documentElement."+d+" ? document.documentElement."+d+" : document.body."+d+" ) ) + 'px' );"}if(hs.expandCursor){b(".highslide img","cursor: url("+hs.graphicsDir+hs.expandCursor+"), pointer !important;")}b(".highslide-viewport-size",hs.ie&&(hs.uaVersion<7||document.compatMode=="BackCompat")?"position: absolute; left:"+a("scrollLeft")+"top:"+a("scrollTop")+"width:"+a("clientWidth")+"height:"+a("clientHeight"):"position: fixed; width: 100%; height: 100%; left: 0; top: 0")}});hs.addEventListener(window,"resize",function(){hs.getPageSize();if(hs.viewport){for(var a=0;a<hs.viewport.childNodes.length;a++){var b=hs.viewport.childNodes[a],c=hs.getExpander(b);c.positionOverlay(b);if(b.hsId=="thumbstrip"){c.slideshow.thumbstrip.selectThumb()}}}});hs.addEventListener(document,"mousemove",function(a){hs.mouse={x:a.clientX,y:a.clientY}});hs.addEventListener(document,"mousedown",hs.mouseClickHandler);hs.addEventListener(document,"mouseup",hs.mouseClickHandler);hs.addEventListener(document,"ready",hs.setClickEvents);hs.addEventListener(window,"load",hs.preloadImages);hs.addEventListener(window,"load",hs.preloadAjax)}hs.graphicsDir="/Highslide/Images/";hs.showCredits=false;$(document).ready(function(){if(SiCenter.Language==1){hs.lang={cssDirection:"ltr",loadingText:"Lade ...",loadingTitle:"Klicken, um abzubrechen",focusTitle:"Klicken, um nach vorne zu bringen",fullExpandTitle:"Auf Originalgr&ouml;&szlig;e erweitern",fullExpandText:"Vollbild",creditsText:"",creditsTitle:"",previousText:"Voriges Bild",previousTitle:"Voriges Bild (Pfeiltaste links)",nextText:"N&auml;chstes Bild",nextTitle:"N&auml;chstes Bild (Pfeiltaste rechts)",moveTitle:"Verschieben",moveText:"Verschieben",closeText:"Schlie&szlig;en",closeTitle:"Schlie&szlig;en (Esc)",resizeTitle:"Gr&ouml;&szlig;
26e wiederherstellen",playText:"Abspielen",playTitle:"Slideshow abspielen (Leertaste)",pauseText:"Pause",pauseTitle:"Slideshow anhalten (Leertaste)",number:"Bild %1/%2",restoreTitle:unescape("Klicken, um Bild zu schlie%DFen; klicken und ziehen, um Bild zu verschieben. Pfeiltasten f%FCr vor und zur%FCck.")}}else{if(SiCenter.Language==2){hs.lang={loadingText:"Caricamento in corso",loadingTitle:"Cliccare per annullare",focusTitle:"Cliccare per portare in avanti",fullExpandTitle:"Visualizzare dimensioni originali",fullExpandText:"Dimensione massima",creditsText:"",creditsTitle:"",previousText:"Precedente",previousTitle:"Precedente (freccia sinistra)",nextText:"Successiva",nextTitle:"Successiva (freccia destra)",moveTitle:"Spostare",moveText:"Spostare",closeText:"Chiudere",closeTitle:"Chiudere (Esc)",resizeTitle:"Ridimensionare",playText:"Avviare",playTitle:"Avviare slideshow (barra spaziatrice)",pauseText:"Pausa",pauseTitle:"Pausa slideshow (barra spaziatrice)",number:"Immagine %1/%2",restoreTitle:"Fare clic per chiudere l'immagine, trascinare per spostare. Frecce per andare avanti e indietro."}}}});hs.graphicsDir="/Highslide/Images/";hs.zIndexCounter="1000";hs.dimmingOpacity=0.25;hs.showCredits=false;$(document).ready(function(){$.each($("a"),function(c,d){var b=$(this).attr("href");if(b&&b.indexOf("/Images/")>0){$(this).bind("click",function(){return hs.expand(this)})}});$(".sc-slideshow").cycle({fx:"scrollHorz",timeout:6000,speed:3500,delay:1000,slides:"img",swipe:true,log:false,});$(window).scroll(function(){$(".sc-menu").css("top",Math.max(0,511-$(this).scrollTop()))});var a=$(".sc-menu a.sc-active:last").attr("href");$(".header").append("<select id='menu-select'></select>");$.each($(".sc-menu li a"),function(c,g){var e=$(this).text();var d=$(this).attr("href");var f=a===d?" selected=selected":"";var b=$(this).parent().parent().hasClass("sc-menu");$("#menu-select").append("<option value='"+d+"'"+f+">"+(b?"":"- ")+e+"</option>")});$("#menu-select").change(function(){window.location=$(this).find("option:selected").val()})});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.