PageSourceSearch

https://www.talschlusshuette.com/scripts/min/highslide.js

js talschlusshuette.com collected 2026-09-24 23:57:36 UTC 72,464 bytes, 1 lines download raw bytes

1if(!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(b){if(b){return document.getElementById(b)}},push:function(c,d){c[c.length]=d},createElement:function(g,l,k,j,i){var h=document.createElement(g);if(l){hs.extend(h,l)}if(i){hs.setStyles(h,{padding:0,border:"none",margin:0})}if(k){hs.setStyles(h,k)}if(j){j.appendChild(h)}return h}
1,extend:function(e,f){for(var d in f){e[d]=f[d]}return e},setStyles:function(e,f){for(var d in f){if(hs.ie&&d=="opacity"){if(f[d]>0,99){e.style.removeAttribute("filter")}else{e.style.filter="alpha(opacity="+(f[d]*100)+")"}}else{e.style[d]=f[d]}}},animate:function(n,e,m){var l,o,r;if(typeof m!="object"||m===null){var q=arguments;m={duration:q[2],easing:q[3],complete:q[4]}}if(typeof m.duration!="number"){m.duration=250}m.easing=Math[m.easing]||Math.easeInQuad;m.curAnim=hs.extend({},e);for(var k in e){var p=new hs.fx(n,m,k);l=parseFloat(hs.css(n,k))||0;o=parseFloat(e[k]);r=k!="opacity"?"px":"";p.custom(l,o,r)}},css:function(d,f){if(d.style[f]){return d.style[f]}else{if(document.defaultView){return document.defaultView.getComputedStyle(d,null).getPropertyValue(f)}else{if(f=="opacity"){f="filter"}var e=d.currentStyle[f.replace(/\-(\w)/g,function(b,a){return a.toUpperCase()})];if(f=="filter"){e=e.replace(/alpha\(opacity=([0-9]+)\)/,function(b,a){return a/100})}return e===""?1:e}}},getPageSize:function(){var j=document,g=window,i=j.compatMode&&j.compatMode!="BackCompat"?j.documentElement:j.body;var h=hs.ie?i.clientWidth:(j.documentElement.clientWidth||self.innerWidth),d=hs.ie?i.clientHeight:self.innerHeight;hs.page={width:h,height:d,scrollLeft:hs.ie?i.scrollLeft:pageXOffset,scrollTop:hs.ie?i.scrollTop:pageYOffset};return hs.page},getPosition:function(h){if(/area/i.test(h.tagName)){var j=document.getElementsByTagName("img");for(var g=0;g<j.length;g++){var f=j[g].useMap;if(f&&f.replace(/^.*?#/,"")==h.parentNode.name){h=j[g];break}}}var i={x:h.offsetLeft,y:h.offsetTop};while(h.offsetParent){h=h.offsetParent;i.x+=h.offsetLeft;i.y+=h.offsetTop;if(h!=document.body&&h!=document.documentElement){i.x-=h.scrollLeft;i.y-=h.scrollTop}}return i},expand:function(a,l,j,i){if(!a){a=hs.createElement("a",null,{display:"none"},hs.container)}if(typeof a.getParams=="function"){return l}if(i=="html"){for(var e=0;e<hs.sleeping.length;e++){if(hs.sleeping[e]&&hs.sleeping[e].a==a){hs.sleeping[e].awake();hs.sleeping[e]=null;return false}}hs.hasHtmlExpanders=true}try{new hs.Expander(a,l,j,i);return false}catch(k){return true}},htmlExpand:function(a,f,e){return hs.expand(a,f,e,"html")},getSelfRendered:function(){return hs.createElement("div",{className:"highslide-html-content",innerHTML:hs.replaceLang(hs.skin.contentWrapper)})},getElementByClass:function(j,h,i){var g=j.getElementsByTagName(h);for(var f=0;f<g.length;f++){if((new RegExp(i)).test(g[f].className)){return g[f]}}return null},replaceLang:function(h){h=h.replace(/\s/g," ");var g=/{hs\.lang\.([^}]+)\}/g,i=h.match(g),j;if(i){for(var f=0;f<i.length;f++){j=i[f].replace(g,"$1");if(typeof hs.lang[j]!="undefined"){h=h.replace(i[f],hs.lang[j])}}}return h},setClickEvents:function(){var e=document.getElementsByTagName("a");for(var d=0;d<e.length;d++){var f=hs.isUnobtrusiveAnchor(e[d]);if(f&&!e[d].hsHasSetClick){(function(){var a=f;if(hs.fireEvent(hs,"onSetClickEvent",{element:e[d],type:a})){e[d].onclick=(f=="image")?function(){return hs.expand(this)}:function(){return hs.htmlExpand(this,{objectType:a})}}})();e[d].hsHasSetClick=true}}hs.getAnchors()}
1,isUnobtrusiveAnchor:function(b){if(b.rel=="highslide"){return"image"}else{if(b.rel=="highslide-ajax"){return"ajax"}else{if(b.rel=="highslide-iframe"){return"iframe"}else{if(b.rel=="highslide-swf"){return"swf"}}}}},getCacheBinding:function(a){for(var c=0;c<hs.cacheBindings.length;c++){if(hs.cacheBindings[c][0]==a){var f=hs.cacheBindings[c][1];hs.cacheBindings[c][1]=f.cloneNode(1);return f}}return null},preloadAjax:function(h){var a=hs.getAnchors();for(var g=0;g<a.htmls.length;g++){var e=a.htmls[g];if(hs.getParam(e,"objectType")=="ajax"&&hs.getParam(e,"cacheAjax")){hs.push(hs.preloadTheseAjax,e)}}hs.preloadAjaxElement(0)},preloadAjaxElement:function(g){if(!hs.preloadTheseAjax[g]){return}var a=hs.preloadTheseAjax[g];var f=hs.getNode(hs.getParam(a,"contentId"));if(!f){f=hs.getSelfRendered()}var h=new hs.Ajax(a,f,1);h.onError=function(){};h.onLoad=function(){hs.push(hs.cacheBindings,[a,f]);hs.preloadAjaxElement(g+1)};h.run()},focusTopmost:function(){var i=0,h=-1,g=hs.expanders,k,l;for(var j=0;j<g.length;j++){k=g[j];if(k){l=k.wrapper.style.zIndex;if(l&&l>i){i=l;h=j}}}if(h==-1){hs.focusKey=-1}else{g[h].focus()}},getParam:function(a,f){a.getParams=a.onclick;var e=a.getParams?a.getParams():null;a.getParams=null;return(e&&typeof e[f]!="undefined")?e[f]:(typeof hs[f]!="undefined"?hs[f]:null)},getSrc:function(a){var d=hs.getParam(a,"src");if(d){return d}return a.href},getNode:function(h){var f=hs.$(h),g=hs.clones[h],a={};if(!f&&!g){return null}if(!g){g=f.cloneNode(true);g.id="";hs.clones[h]=g;return f}else{return g.cloneNode(true)}},discardElement:function(b){if(b){hs.garbageBin.appendChild(b)}hs.garbageBin.innerHTML=""},dim:function(b){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+="|"+b.key;if(hs.geckoMac&&hs.dimmingGeckoFix){hs.setStyles(hs.dimmer,{background:"url("+hs.graphicsDir+"geckodimmer.png)",opacity:1})}else{hs.animate(hs.dimmer,{opacity:b.dimmingOpacity},hs.dimmingDuration)}},undim:function(b){if(!hs.dimmer){return}if(typeof b!="undefined"){hs.dimmer.owner=hs.dimmer.owner.replace("|"+b,"")}if((typeof b!="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(e,h){var f=h||hs.getExpander();h=f;if(hs.upcoming){return false}else{hs.last=f}hs.removeEventListener(document,window.opera?"keypress":"keydown",hs.keyHandler);try{hs.upcoming=e;e.onclick()}catch(g){hs.last=hs.upcoming=null}try{if(!e||h.transitions[1]!="crossfade"){h.close()}}catch(g){}return false},previousOrNext:function(d,f){var e=hs.getExpander(d);if(e){return hs.transit(e.getAdjacentAnchor(f),e)}else{return false}},previous:function(b){return hs.previousOrNext(b,-1)},next:function(b){return hs.previousOrNext(b,1)},keyHandler:function(d){if(!d){d=window.event}if(!d.target){d.target=d.srcElement}if(typeof d.target.form!="undefined"){return true}if(!hs.fireEvent(hs,"onKeyDown",d)){return true}var e=hs.getExpander();var f=null;switch(d.keyCode){case 70:if(e){e.doFullExpand()}return true;case 32:f=2;break;case 34:case 39:case 40:f=1;break;case 8:case 33:case 37:case 38:f=-1;break;case 27:case 13:f=0}if(f!==null){hs.removeEventListener(document,window.opera?"keypress":"keydown",hs.keyHandler);if(!hs.enableKeyListener){return true}if(d.preventDefault){d.preventDefault()}else{d.returnValue=false}if(e){if(f==0){e.close()}else{if(f==2){if(e.slideshow){e.slideshow.hitSpace()}}else{if(e.slideshow){e.slideshow.pause()}hs.previousOrNext(e.key,f)}}return false}}return true},registerOverlay:function(b){hs.push(hs.overlays,hs.extend(b,{hsId:"hsId"+hs.idCounter++}))},addSlideshow:function(g){var i=g.slideshowGroup;if(typeof i=="object"){for(var h=0;h<i.length;h++){var j={};for(var f in g){j[f]=g[f]}j.slideshowGroup=i[h];hs.push(hs.slideshows,j)}}else{hs.push(hs.slideshows,g)}},getWrapperKey:function(i,h){var k,j=/^highslide-wrapper-([0-9]+)$/;k=i;while(k.parentNode){if(k.hsKey!==undefined){return k.hsKey}if(k.id&&j.test(k.id)){return k.id.replace(j,"$1")}k=k.parentNode}if(!h){k=i;while(k.parentNode){if(k.tagName&&hs.isHsAnchor(k)){for(var g=0;g<hs.expanders.length;g++){var l=hs.expanders[g];if(l&&l.a==k){return g}}}k=k.parentNode}}return null},getExpander:function(d,c){if(typeof d=="undefined"){return hs.expanders[hs.focusKey]||null}if(typeof d=="number"){return hs.expanders[d]||null}
1if(typeof d=="string"){d=hs.$(d)}return hs.expanders[hs.getWrapperKey(d,c)]||null},isHsAnchor:function(a){return(a.onclick&&a.onclick.toString().replace(/\s/g," ").match(/hs.(htmlE|e)xpand/))},reOrder:function(){for(var b=0;b<hs.expanders.length;b++){if(hs.expanders[b]&&hs.expanders[b].isExpanded){hs.focusTopmost()}}},fireEvent:function(f,d,e){return f&&f[d]?(f[d](f,e)!==false):true},mouseClickHandler:function(i){if(!i){i=window.event}if(i.button>1){return true}if(!i.target){i.target=i.srcElement}var g=i.target;while(g.parentNode&&!(/highslide-(image|move|html|resize)/.test(g.className))){g=g.parentNode}var j=hs.getExpander(g);if(j&&(j.isClosing||!j.isExpanded)){return true}if(j&&i.type=="mousedown"){if(i.target.form){return true}var e=g.className.match(/highslide-(image|move|resize)/);if(e){hs.dragArgs={exp:j,type:e[1],left:j.x.pos,width:j.x.size,top:j.y.pos,height:j.y.size,clickX:i.clientX,clickY:i.clientY};hs.addEventListener(document,"mousemove",hs.dragHandler);if(i.preventDefault){i.preventDefault()}if(/highslide-(image|html)-blur/.test(j.content.className)){j.focus();hs.hasFocused=true}return false}else{if(/highslide-html/.test(g.className)&&hs.focusKey!=j.key){j.focus();j.doShowHide("hidden")}}}else{if(i.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 h=hs.dragArgs.hasDragged;if(!h&&!hs.hasFocused&&!/(move|resize)/.test(hs.dragArgs.type)){if(hs.fireEvent(j,"onImageClick")){j.close()}}else{if(h||(!h&&hs.hasHtmlExpanders)){hs.dragArgs.exp.doShowHide("hidden")}}if(hs.dragArgs.exp.releaseMask){hs.dragArgs.exp.releaseMask.style.display="none"}if(h){hs.fireEvent(hs.dragArgs.exp,"onDrop",hs.dragArgs)}hs.hasFocused=false;hs.dragArgs=null}else{if(/highslide-image-blur/.test(g.className)){g.style.cursor=hs.styleRestoreCursor}}}}return false},dragHandler:function(e){if(!hs.dragArgs){return true}if(!e){e=window.event}var a=hs.dragArgs,g=a.exp;if(g.iframe){if(!g.releaseMask){g.releaseMask=hs.createElement("div",null,{position:"absolute",width:g.x.size+"px",height:g.y.size+"px",left:g.x.cb+"px",top:g.y.cb+"px",zIndex:4,background:(hs.ie?"white":"none"),opacity:"0.01"},g.wrapper,true)}if(g.releaseMask.style.display=="none"){g.releaseMask.style.display=""}}a.dX=e.clientX-a.clickX;a.dY=e.clientY-a.clickY;var h=Math.sqrt(Math.pow(a.dX,2)+Math.pow(a.dY,2));if(!a.hasDragged){a.hasDragged=(a.type!="image"&&h>0)||(h>(hs.dragSensitivity||5))}if(a.hasDragged&&e.clientX>5&&e.clientY>5){if(!hs.fireEvent(g,"onDrag",a)){return false}if(a.type=="resize"){g.resize(a)}else{g.moveTo(a.left+a.dX,a.top+a.dY);if(a.type=="image"){g.content.style.cursor="move"}}}return false},wrapperMouseHandler:function(g){try{if(!g){g=window.event}var f=/mouseover/i.test(g.type);if(!g.target){g.target=g.srcElement}if(hs.ie){g.relatedTarget=f?g.fromElement:g.toElement}var h=hs.getExpander(g.target);if(!h.isExpanded){return}if(!h||!g.relatedTarget||hs.getExpander(g.relatedTarget,true)==h||hs.dragArgs){return}hs.fireEvent(h,f?"onMouseOver":"onMouseOut",g);for(var e=0;e<h.overlays.length;e++){(function(){var a=hs.$("hsId"+h.overlays[e]);if(a&&a.hideOnMouseOut){if(f){hs.setStyles(a,{visibility:"visible",display:""})}hs.animate(a,{opacity:f?a.opacity:0},a.dur)}})()}}catch(g){}},addEventListener:function(e,g,f){if(e==document&&g=="ready"){hs.push(hs.onReady,f)}try{e.addEventListener(g,f,false)}catch(h){try{e.detachEvent("on"+g,f);e.attachEvent("on"+g,f)}catch(h){e["on"+g]=f}}},removeEventListener:function(e,g,f){try{e.removeEventListener(g,f,false)}catch(h){try{e.detachEvent("on"+g,f)}catch(h){e["on"+g]=null}}},preloadFullImage:function(d){if(hs.continuePreloading&&hs.preloadTheseImages[d]&&hs.preloadTheseImages[d]!="undefined"){var c=document.createElement("img");c.onload=function(){c=null;hs.preloadFullImage(d+1)};c.src=hs.preloadTheseImages[d]}},preloadImages:function(g){if(g&&typeof g!="object"){hs.numberOfImagesToPreload=g}var e=hs.getAnchors();for(var f=0;f<e.images.length&&f<hs.numberOfImagesToPreload;f++){hs.push(hs.preloadTheseImages,hs.getSrc(e.images[f]))}if(hs.outlineType){new hs.Outline(hs.outlineType,function(){hs.preloadFullImage(0)})}else{hs.preloadFullImage(0)}if(hs.restoreCursor){var h=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 b in hs.langDefaults){if(typeof hs[b]!="undefined"){hs.lang[b]=hs[b]}else{if(typeof hs.lang[b]=="undefined"&&typeof hs.langDefaults[b]!="undefined"){hs.lang[b]=hs.langDefaults[b]}}}
1hs.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(c,a,i,d){return i*c/d+a};Math.easeInQuad=function(c,a,i,d){return i*(c/=d)*c+a};Math.easeOutQuad=function(c,a,i,d){return -i*(c/=d)*(c-2)+a};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 b=0;b<hs.onReady.length;b++){hs.onReady[b]()}},updateAnchors:function(){var g,n,s=[],q=[],r=[],i={},t;for(var o=0;o<hs.openerTagNames.length;o++){n=document.getElementsByTagName(hs.openerTagNames[o]);for(var j=0;j<n.length;j++){g=n[j];t=hs.isHsAnchor(g);if(t){hs.push(s,g);if(t[0]=="hs.expand"){hs.push(q,g)}else{if(t[0]=="hs.htmlExpand"){hs.push(r,g)}}var p=hs.getParam(g,"slideshowGroup")||"none";if(!i[p]){i[p]=[]}hs.push(i[p],g)}}}hs.anchors={all:s,groups:i,images:q,htmls:r};return hs.anchors},getAnchors:function(){return hs.anchors||hs.updateAnchors()},close:function(c){var d=hs.getExpander(c);if(d){d.close()}return false}};hs.fx=function(e,d,f){this.options=d;this.elem=e;this.prop=f;if(!d.orig){d.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(j,i,h){this.startTime=(new Date()).getTime();this.start=j;this.end=i;this.unit=h;this.now=this.start;this.pos=this.state=0;var f=this;function g(a){return f.step(a)}g.elem=this.elem;if(g()&&hs.timers.push(g)==1){hs.timerId=setInterval(function(){var b=hs.timers;for(var a=0;a<b.length;a++){if(!b[a]()){b.splice(a--,1)}}if(!b.length){clearInterval(hs.timerId)}},13)}},step:function(i){var h=(new Date()).getTime();if(i||h>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var f=true;for(var g in this.options.curAnim){if(this.options.curAnim[g]!==true){f=false}}if(f){if(this.options.complete){this.options.complete.call(this.elem)}}return false}else{var j=h-this.startTime;this.state=j/this.options.duration;this.pos=this.options.easing(j,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(b){hs.setStyles(b.elem,{opacity:b.now})},_default:function(c){try{if(c.elem.style&&c.elem.style[c.prop]!=null){c.elem.style[c.prop]=c.now+c.unit}else{c.elem[c.prop]=c.now}}catch(d){}}}});hs.Outline=function(n,l){this.onLoad=l;this.outlineType=n;var h=hs.uaVersion,m;this.hasAlphaImageLoader=hs.ie&&h>=5,5&&h<7;if(!n){if(l){l()}return}hs.init();this.table=hs.createElement("table",{cellSpacing:0},{visibility:"hidden",position:"absolute",borderCollapse:"collapse",width:0},hs.container,true);var i=hs.createElement("tbody",null,null,this.table,1);this.td=[];for(var j=0;j<=8;j++){if(j%3==0){m=hs.createElement("tr",null,{height:"auto"},i,true)}this.td[j]=hs.createElement("td",null,null,m,true);var k=j!=4?{lineHeight:0,fontSize:0}:{position:"relative"};hs.setStyles(this.td[j],k)}this.td[4].className=n+" highslide-outline";this.preloadGraphic()};hs.Outline.prototype={preloadGraphic:function(){var e=hs.graphicsDir+(hs.outlinesDir||"outlines/")+this.outlineType+".png";var d=hs.safari&&hs.uaVersion<525?hs.container:null;this.graphic=hs.createElement("img",null,{position:"absolute",top:"-9999px"},d,true);var f=this;this.graphic.onload=function(){f.onGraphicLoad()};this.graphic.src=e},onGraphicLoad:function(){var j=this.offset=this.graphic.width/4,l=[[0,0],[0,-4],[-2,0],[0,-8],0,[-2,-8],[0,-2],[0,-6],[-2,-2]],i={height:(2*j)+"px",width:(2*j)+"px"};for(var h=0;h<=8;h++){if(l[h]){if(this.hasAlphaImageLoader){var g=(h==1||h==7)?"100%":this.graphic.width+"px";var k=hs.createElement("div",null,{width:"100%",height:"100%",position:"relative",overflow:"hidden"},this.td[h],true);hs.createElement("div",null,{filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale, src='"+this.graphic.src+"')",position:"absolute",width:g,height:this.graphic.height+"px",left:(l[h][0]*j)+"px",top:(l[h][1]*j)+"px"},k,true)}else{hs.setStyles(this.td[h],{background:"url("+this.graphic.src+") "+(l[h][0]*j)+"px "+(l[h][1]*j)+"px"})}if(window.opera&&(h==3||h==5)){hs.createElement("div",null,i,this.td[h],true)}hs.setStyles(this.td[h],i)}}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(n,l,j,i,m){var k=this.exp,h=k.wrapper.style,l=l||0,n=n||{x:k.x.pos+l,y:k.y.pos+l,w:k.x.get("wsize")-2*l,h:k.y.get("wsize")-2*l};if(j){this.table.style.visibility=(n.h>=4*this.offset)?"visible":"hidden"}hs.setStyles(this.table,{left:(n.x-this.offset)+"px",top:(n.y-this.offset)+"px",width:(n.w+2*this.offset)+"px"});n.w-=2*this.offset;n.h-=2*this.offset;hs.setStyles(this.td[4],{width:n.w>=0?n.w+"px":0,height:n.h>=0?n.h+"px":0});if(this.hasAlphaImageLoader){this.td[3].style.height=this.td[5].style.height=this.td[4].style.height}},destroy:function(b){if(b){this.table.style.visibility="hidden"}else{hs.discardElement(this.table)}}};hs.Dimension=function(d,c){this.exp=d;this.dim=c;this.ucwh=c=="x"?"Width":"Height";this.wh=this.ucwh.toLowerCase();this.uclt=c=="x"?"Left":"Top";this.lt=this.uclt.toLowerCase();this.ucrb=c=="x"?"Right":"Bottom";this.rb=this.ucrb.toLowerCase();this.p1=this.p2=0};hs.Dimension.prototype={get:function(b){switch(b){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 b=this.exp;this.justify="auto";if(b.align=="center"){this.justify="center"}else{if(new RegExp(this.lt).test(b.anchor)){this.justify=null}else{if(new RegExp(this.rb).test(b.anchor)){this.justify="max"}}}this.pos=this.tpos-this.cb+this.tb;if(this.maxHeight&&this.dim=="x"){b.maxWidth=Math.min(b.maxWidth||this.full,b.maxHeight*this.full/b.y.full)}this.size=Math.min(this.full,b["max"+this.ucwh]||this.full);this.minSize=b.allowSizeReduction?Math.min(b["min"+this.ucwh],this.full):this.full;if(b.isImage&&b.useBox){this.size=b[this.wh];this.imgSize=this.full}if(this.dim=="x"&&hs.padToMinWidth){this.minSize=b.minWidth}this.target=b["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(d){var h=this.exp;if(h.isImage&&(h.useBox||hs.padToMinWidth)){this.imgSize=d;this.size=Math.max(this.size,this.imgSize);h.content.style[this.lt]=this.get("imgPad")+"px"}else{this.size=d}h.content.style[this.wh]=d+"px";h.wrapper.style[this.wh]=this.get("wsize")+"px";if(h.outline){h.outline.setPosition()}if(h.releaseMask){h.releaseMask.style[this.wh]=d+"px"}if(this.dim=="y"&&h.iDoc&&h.body.style.height!="auto"){try{h.iDoc.body.style.overflow="auto"}catch(e){}}if(h.isHtml){var g=h.scrollerDiv;if(this.sizeDiff===undefined){this.sizeDiff=h.innerContent["offset"+this.ucwh]-g["offset"+this.ucwh]}g.style[this.wh]=(this.size-this.sizeDiff)+"px";if(this.dim=="x"){h.mediumContent.style.width="auto"}if(h.body){h.body.style[this.wh]="auto"}}if(this.dim=="x"&&h.overlayBox){h.sizeOverlayBox(true)}if(this.dim=="x"&&h.slideshow&&h.isImage){if(d==this.full){h.slideshow.disable("full-expand")}else{h.slideshow.enable("full-expand")}}},setPos:function(b){this.pos=b;this.exp.wrapper.style[this.lt]=b+"px";if(this.exp.outline){this.exp.outline.setPosition()}}};hs.Expander=function(t,p,a,u){if(document.readyState&&hs.ie&&!hs.isReady){hs.addEventListener(document,"ready",function(){new hs.Expander(t,p,a,u)});return}this.a=t;this.custom=a;this.contentType=u||"image";this.isHtml=(u=="html");this.isImage=!this.isHtml;hs.continuePreloading=false;this.overlays=[];this.last=hs.last;hs.last=null;hs.init();var v=this.key=hs.expanders.length;for(var q=0;q<hs.overrides.length;q++){var i=hs.overrides[q];this[i]=p&&typeof p[i]!="undefined"?p[i]:hs[i]}if(!this.src){this.src=t.href}var n=(p&&p.thumbnailId)?hs.$(p.thumbnailId):t;n=this.thumb=n.getElementsByTagName("img")[0]||n;this.thumbsUserSetId=n.id||t.id;if(!hs.fireEvent(this,"onInit")){return true}for(var q=0;
1q<hs.expanders.length;q++){if(hs.expanders[q]&&hs.expanders[q].a==t&&!(this.last&&this.transitions[1]=="crossfade")){hs.expanders[q].focus();return false}}if(!hs.allowSimultaneousLoading){for(var q=0;q<hs.expanders.length;q++){if(hs.expanders[q]&&hs.expanders[q].thumb!=n&&!hs.expanders[q].onLoadStarted){hs.expanders[q].cancelLoading()}}}hs.expanders[v]=this;if(!hs.allowMultipleInstances&&!hs.upcoming){if(hs.expanders[v-1]){hs.expanders[v-1].close()}if(typeof hs.focusKey!="undefined"&&hs.expanders[hs.focusKey]){hs.expanders[hs.focusKey].close()}}this.el=n;this.tpos=this.pageOrigin||hs.getPosition(n);hs.getPageSize();var s=this.x=new hs.Dimension(this,"x");s.calcThumb();var r=this.y=new hs.Dimension(this,"y");r.calcThumb();if(/area/i.test(n.tagName)){this.getImageMapAreaCorrection(n)}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 o=this;new hs.Outline(this.outlineType,function(){o.connectOutline();o[o.contentType+"Create"]()})}}return true};hs.Expander.prototype={error:function(b){if(hs.debug){alert("Line "+b.lineNumber+": "+b.message)}else{window.location.href=this.src}},connectOutline:function(){var b=this.outline=hs.pendingOutlines[this.outlineType];b.exp=this;b.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 g=this;this.loading.onclick=function(){g.cancelLoading()};if(!hs.fireEvent(this,"onShowLoading")){return}var g=this,e=this.x.get("loadingPos")+"px",f=this.y.get("loadingPos")+"px";if(!h&&this.last&&this.transitions[1]=="crossfade"){var h=this.last}if(h){e=h.x.get("loadingPosXfade")+"px";f=h.y.get("loadingPosXfade")+"px";this.loading.style.zIndex=hs.zIndexCounter++}setTimeout(function(){if(g.loading){hs.setStyles(g.loading,{left:e,top:f,zIndex:hs.zIndexCounter++})}},100)},imageCreate:function(){var d=this;var c=document.createElement("img");this.content=c;c.onload=function(){if(hs.expanders[d.key]){d.contentLoaded()}};if(hs.blockRightClick){c.oncontextmenu=function(){return false}}c.className="highslide-image";hs.setStyles(c,{visibility:"hidden",display:"block",position:"absolute",maxWidth:"9999px",zIndex:3});c.title=hs.lang.restoreTitle;if(hs.safari&&hs.uaVersion<525){hs.container.appendChild(c)}if(hs.ie&&hs.flushImgSize){c.src=null}c.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 e=hs.getElementByClass(this.content,"div","highslide-body");if(e){e.appendChild(this.maincontent)}this.maincontent.style.display="block"}hs.fireEvent(this,"onAfterGetContent");var h=this.innerContent=this.content;if(/(swf|iframe)/.test(this.objectType)){this.setObjContainerSize(h)}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(h);hs.setStyles(h,{position:"relative",display:"block",direction:hs.lang.cssDirection||""});if(this.width){h.style.width=this.width+"px"}if(this.height){hs.setStyles(h,{height:this.height+"px",overflow:"hidden"})}if(h.offsetWidth<this.minWidth){h.style.width=this.minWidth+"px"}if(this.objectType=="ajax"&&!hs.getCacheBinding(this.a)){this.showLoading();var g=this;var f=new hs.Ajax(this.a,h);f.src=this.src;
1f.onLoad=function(){if(hs.expanders[g.key]){g.contentLoaded()}};f.onError=function(){location.href=g.src};f.run()}else{if(this.objectType=="iframe"&&this.objectLoadTime=="before"){this.writeExtendedContent()}else{this.contentLoaded()}}},contentLoaded:function(){try{if(!this.content){return}this.content.onload=null;if(this.onLoadStarted){return}else{this.onLoadStarted=true}var q=this.x,o=this.y;if(this.loading){hs.setStyles(this.loading,{top:"-9999px"});this.loading=null;hs.fireEvent(this,"onHideLoading")}if(this.isImage){q.full=this.content.width;o.full=this.content.height;hs.setStyles(this.content,{width:q.t+"px",height:o.t+"px"});this.wrapper.appendChild(this.content);hs.container.appendChild(this.wrapper)}else{if(this.htmlGetSize){this.htmlGetSize()}}q.calcBorders();o.calcBorders();hs.setStyles(this.wrapper,{left:(q.tpos+q.tb-q.cb)+"px",top:(o.tpos+q.tb-o.cb)+"px"});this.initSlideshow();this.getOverlays();var n=q.full/o.full;q.calcExpanded();this.justify(q);o.calcExpanded();this.justify(o);if(this.isHtml){this.htmlSizeOperations()}if(this.overlayBox){this.sizeOverlayBox(0,1)}if(this.allowSizeReduction){if(this.isImage){this.correctRatio(n)}else{this.fitOverlayBox()}var r=this.slideshow;if(r&&this.last&&r.controls&&r.fixedControls){var p=r.overlayOptions.position||"",e;for(var l in hs.oPos){for(var i=0;i<5;i++){e=this[l];if(p.match(hs.oPos[l][i])){e.pos=this.last[l].pos+(this.last[l].p1-e.p1)+(this.last[l].size-e.size)*[0,0,0,5,1,1][i];if(r.fixedControls=="fit"){if(e.pos+e.size+e.p1+e.p2>e.scroll+e.clientSize-e.marginMax){e.pos=e.scroll+e.clientSize-e.size-e.marginMin-e.marginMax-e.p1-e.p2}if(e.pos<e.scroll+e.marginMin){e.pos=e.scroll+e.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(m){this.error(m)}},setObjContainerSize:function(c,f){var e=hs.getElementByClass(c,"DIV","highslide-body");if(/(iframe|swf)/.test(this.objectType)){if(this.objectWidth){e.style.width=this.objectWidth+"px"}if(this.objectHeight){e.style.height=this.objectHeight+"px"}}},writeExtendedContent:function(){if(this.hasExtendedContent){return}var k=this;this.body=hs.getElementByClass(this.innerContent,"DIV","highslide-body");if(this.objectType=="iframe"){this.showLoading();var l=hs.clearing.cloneNode(1);this.body.appendChild(l);this.newWidth=this.innerContent.offsetWidth;if(!this.objectWidth){this.objectWidth=l.offsetWidth}var h=this.innerContent.offsetHeight-this.body.offsetHeight,i=this.objectHeight||hs.page.height-h-hs.marginTop-hs.marginBottom,j=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:"+i+'px" '+j+' 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 a=this.swfOptions;if(!a.params){a.params={}}if(typeof a.params.wmode=="undefined"){a.params.wmode="transparent"}if(swfobject){swfobject.embedSWF(this.src,this.body.id,this.objectWidth,this.objectHeight,a.version||"7",a.expressInstallSwfurl,a.flashvars,a.params,a.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 e;try{var h=this.iDoc=this.iframe.contentDocument||this.iframe.contentWindow.document;var f=h.createElement("div");f.style.clear="both";h.body.appendChild(f);e=f.offsetTop;if(hs.ie){e+=parseInt(h.body.currentStyle.marginTop)+parseInt(h.body.currentStyle.marginBottom)-1}}catch(g){e=300}return e},correctIframeSize:function(){var e=this.innerContent.offsetWidth-this.ruler.offsetWidth;hs.discardElement(this.ruler);if(e<0){e=0}var d=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(f){}}hs.setStyles(this.iframe,{width:Math.abs(this.x.size-e)+"px",height:Math.abs(this.y.size-d)+"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
1xtendedContent()}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 j=hs.getElementByClass(this.innerContent,"DIV","highslide-body");if(j&&!/(iframe|swf)/.test(this.objectType)){var g=j;j=hs.createElement(g.nodeName,null,{overflow:"hidden"},null,true);g.parentNode.insertBefore(j,g);j.appendChild(hs.clearing);j.appendChild(g);var h=this.innerContent.offsetWidth-j.offsetWidth;var f=this.innerContent.offsetHeight-j.offsetHeight;j.removeChild(hs.clearing);var i=hs.safari||navigator.vendor=="KDE"?1:0;hs.setStyles(j,{width:(this.x.size-h-i)+"px",height:(this.y.size-f)+"px",overflow:"auto",position:"relative"});if(i&&g.offsetHeight>j.offsetHeight){j.style.width=(parseInt(j.style.width)+i)+"px"}this.scrollingContent=j;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(j){var n=j.coords.split(",");for(var i=0;i<n.length;i++){n[i]=parseInt(n[i])}if(j.shape.toLowerCase()=="circle"){this.x.tpos+=n[0]-n[2];this.y.tpos+=n[1]-n[2];this.x.t=this.y.t=2*n[2]}else{var l,k,c=l=n[0],m=k=n[1];for(var i=0;i<n.length;i++){if(i%2==0){c=Math.min(c,n[i]);l=Math.max(l,n[i])}else{m=Math.min(m,n[i]);k=Math.max(k,n[i])}}this.x.tpos+=c;this.x.t=l-c;this.y.tpos+=m;this.y.t=k-m}},justify:function(n,j){var o,p=n.target,m=n==this.x?"x":"y";if(p&&p.match(/ /)){o=p.split(" ");p=o[0]}if(p&&hs.$(p)){n.pos=hs.getPosition(hs.$(p))[m];if(o&&o[1]&&o[1].match(/^[-]?[0-9]+px$/)){n.pos+=parseInt(o[1])}if(n.size<n.minSize){n.size=n.minSize}}else{if(n.justify=="auto"||n.justify=="center"){var l=false;var i=n.exp.allowSizeReduction;if(n.justify=="center"){n.pos=Math.round(n.scroll+(n.clientSize+n.marginMin-n.marginMax-n.get("wsize"))/2)}else{n.pos=Math.round(n.pos-((n.get("wsize")-n.t)/2))}if(n.pos<n.scroll+n.marginMin){n.pos=n.scroll+n.marginMin;l=true}if(!j&&n.size<n.minSize){n.size=n.minSize;i=false}if(n.pos+n.get("wsize")>n.scroll+n.clientSize-n.marginMax){if(!j&&l&&i){n.size=Math.min(n.size,n.get(m=="y"?"fitsize":"maxsize"))}else{if(n.get("wsize")<n.get("fitsize")){n.pos=n.scroll+n.clientSize-n.marginMax-n.get("wsize")}else{n.pos=n.scroll+n.marginMin;if(!j&&i){n.size=n.get(m=="y"?"fitsize":"maxsize")}}}}if(!j&&n.size<n.minSize){n.size=n.minSize;i=false}}else{if(n.justify=="max"){n.pos=Math.floor(n.pos-n.size+n.t)}}}if(n.pos<n.marginMin){var k=n.pos;n.pos=n.marginMin;if(i&&!j){n.size=n.size-(n.pos-k)}}},correctRatio:function(j){var h=this.x,n=this.y,l=false,k=Math.min(h.full,h.size),i=Math.min(n.full,n.size),m=(this.useBox||hs.padToMinWidth);if(k/i>j){k=i*j;if(k<h.minSize){k=h.minSize;i=k/j}l=true}else{if(k/i<j){i=k/j;l=true}}if(hs.padToMinWidth&&h.full<h.minSize){h.imgSize=h.full;n.size=n.imgSize=n.full}else{if(this.useBox){h.imgSize=k;n.imgSize=i}else{h.size=k;n.size=i}}l=this.fitOverlayBox(this.useBox?null:j,l);if(m&&n.size<n.imgSize){n.imgSize=n.size;h.imgSize=n.size*j}if(l||m){h.pos=h.tpos-h.cb+h.tb;h.minSize=h.size;this.justify(h,true);n.pos=n.tpos-n.cb+n.tb;n.minSize=n.size;this.justify(n,true);if(this.overlayBox){this.sizeOverlayBox()}}},fitOverlayBox:function(f,g){var e=this.x,h=this.y;if(this.overlayBox&&(this.isImage||this.allowHeightReduction)){while(h.size>this.minHeight&&e.size>this.minWidth&&h.get("wsize")>h.get("fitsize")){h.size-=10;if(f){e.size=h.size*f}this.sizeOverlayBox(0,1);g=true}}return g},reflow:function(){if(this.scrollerDiv){var b=/iframe/i.test(this.scrollerDiv.tagName)?(this.getIframePageHeight()+1)+"px":"auto";if(this.body){this.body.style.height=b}this.scrollerDiv.style.height=b;this.y.setSize(this.innerContent.offsetHeight)}},show:function(){var c=this.x,d=this.y;this.doShowHide("hidden");hs.fireEvent(this,"onBeforeExpand");if(this.slideshow&&this.slideshow.thumbstrip){this.slideshow.thumbstrip.selectThumb()}this.changeSize(1,{wrapper:{width:c.get("wsize"),height:d.get("wsize"),left:c.pos,top:d.pos},content:{left:c.p1+c.get("imgPad"),top:d.p1+d.get("imgPad"),width:c.imgSize||c.size,height:d.imgSize||d.size}},hs.expandDuration)},changeSize:function(o,t,m){var v=this.transitions,p=o?(this.last?this.last.a:null):hs.upcoming,u=(v[1]&&p&&hs.getParam(p,"transitions")[1]==v[1])?v[1]:v[0];if(this[u]&&u!="expand"){this[u](o,t);return}if(this.outline&&!this.outlineWhileAnimating){if(o){this.outline.setPosition()}else{this.outline.destroy((this.isHtml&&this.preserveContent))}}if(!o){this.destroyOverlays()}var n=this,s=n.x,r=n.y,q=this.easing;if(!o){q=this.easingClose||q}var l=o?function(){if(n.outline){n.outline.table.style.visibility="visible"}setTimeout(function(){n.afterExpand()},50)}:function(){n.afterClose()};if(o){hs.setStyles(this.wrapper,{width:s.t+"px",height:r.t+"px"})}
1if(o&&this.isHtml){hs.setStyles(this.wrapper,{left:(s.tpos-s.cb+s.tb)+"px",top:(r.tpos-r.cb+r.tb)+"px"})}if(this.fadeInOut){hs.setStyles(this.wrapper,{opacity:o?0:1});hs.extend(t.wrapper,{opacity:o})}hs.animate(this.wrapper,t.wrapper,{duration:m,easing:q,step:function(c,a){if(n.outline&&n.outlineWhileAnimating&&a.prop=="top"){var b=o?a.pos:1-a.pos;var d={w:s.t+(s.get("wsize")-s.t)*b,h:r.t+(r.get("wsize")-r.t)*b,x:s.tpos+(s.pos-s.tpos)*b,y:r.tpos+(r.pos-r.tpos)*b};n.outline.setPosition(d,0,1)}if(n.isHtml){if(a.prop=="left"){n.mediumContent.style.left=(s.pos-c)+"px"}if(a.prop=="top"){n.mediumContent.style.top=(r.pos-c)+"px"}}}});hs.animate(this.content,t.content,m,q,l);if(o){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(o,q){this.outlineWhileAnimating=false;var l=this,r=o?hs.expandDuration:0;if(o){hs.animate(this.wrapper,q.wrapper,0);hs.setStyles(this.wrapper,{opacity:0,visibility:"visible"});hs.animate(this.content,q.content,0);this.content.style.visibility="visible";hs.animate(this.wrapper,{opacity:1},r,null,function(){l.afterExpand()})}if(this.outline){this.outline.table.style.zIndex=this.wrapper.style.zIndex;var k=o||-1,m=this.outline.offset,i=o?3:m,p=o?m:3;for(var n=i;k*n<=k*p;n+=k,r+=25){(function(){var a=o?p-n:i-n;setTimeout(function(){l.outline.setPosition(0,a,1)},r)})()}}if(o){}else{setTimeout(function(){if(l.outline){l.outline.destroy(l.preserveContent)}l.destroyOverlays();hs.animate(l.wrapper,{opacity:0},hs.restoreDuration,null,function(){l.afterClose()})},r)}},crossfade:function(v,B,C){if(!v){return}var u=this,D=this.last,A=this.x,z=this.y,s=D.x,q=D.y,n=this.wrapper,x=this.content,r=this.overlayBox;hs.removeEventListener(document,"mousemove",hs.dragHandler);
1hs.setStyles(x,{width:(A.imgSize||A.size)+"px",height:(z.imgSize||z.size)+"px"});if(r){r.style.overflow="visible"}this.outline=D.outline;if(this.outline){this.outline.exp=u}D.outline=null;var w=hs.createElement("div",{className:"highslide-"+this.contentType},{position:"absolute",zIndex:4,overflow:"hidden",display:"none"});var y={oldImg:D,newImg:this};for(var t in y){this[t]=y[t].content.cloneNode(1);hs.setStyles(this[t],{position:"absolute",border:0,visibility:"visible"});w.appendChild(this[t])}n.appendChild(w);if(this.isHtml){hs.setStyles(this.mediumContent,{left:0,top:0})}if(r){r.className="";n.appendChild(r)}w.style.display="";D.content.style.display="none";if(hs.safari&&hs.uaVersion<525){this.wrapper.style.visibility="visible"}hs.animate(n,{width:A.size},{duration:hs.transitionDuration,step:function(e,b){var h=b.pos,a=1-h;var g,c={},d=["pos","size","p1","p2"];for(var f in d){g=d[f];c["x"+g]=Math.round(a*s[g]+h*A[g]);c["y"+g]=Math.round(a*q[g]+h*z[g]);c.ximgSize=Math.round(a*(s.imgSize||s.size)+h*(A.imgSize||A.size));c.ximgPad=Math.round(a*s.get("imgPad")+h*A.get("imgPad"));c.yimgSize=Math.round(a*(q.imgSize||q.size)+h*(z.imgSize||z.size));c.yimgPad=Math.round(a*q.get("imgPad")+h*z.get("imgPad"))}if(u.outline){u.outline.setPosition({x:c.xpos,y:c.ypos,w:c.xsize+c.xp1+c.xp2+2*A.cb,h:c.ysize+c.yp1+c.yp2+2*z.cb})}D.wrapper.style.clip="rect("+(c.ypos-q.pos)+"px, "+(c.xsize+c.xp1+c.xp2+c.xpos+2*s.cb-s.pos)+"px, "+(c.ysize+c.yp1+c.yp2+c.ypos+2*q.cb-q.pos)+"px, "+(c.xpos-s.pos)+"px)";hs.setStyles(x,{top:(c.yp1+z.get("imgPad"))+"px",left:(c.xp1+A.get("imgPad"))+"px",marginTop:(z.pos-c.ypos)+"px",marginLeft:(A.pos-c.xpos)+"px"});hs.setStyles(n,{top:c.ypos+"px",left:c.xpos+"px",width:(c.xp1+c.xp2+c.xsize+2*A.cb)+"px",height:(c.yp1+c.yp2+c.ysize+2*z.cb)+"px"});hs.setStyles(w,{width:(c.ximgSize||c.xsize)+"px",height:(c.yimgSize||c.ysize)+"px",left:(c.xp1+c.ximgPad)+"px",top:(c.yp1+c.yimgPad)+"px",visibility:"visible"});hs.setStyles(u.oldImg,{top:(q.pos-c.ypos+q.p1-c.yp1+q.get("imgPad")-c.yimgPad)+"px",left:(s.pos-c.xpos+s.p1-c.xp1+s.get("imgPad")-c.ximgPad)+"px"});hs.setStyles(u.newImg,{opacity:h,top:(z.pos-c.ypos+z.p1-c.yp1+z.get("imgPad")-c.yimgPad)+"px",left:(A.pos-c.xpos+A.p1-c.xp1+A.get("imgPad")-c.ximgPad)+"px"});if(r){hs.setStyles(r,{width:c.xsize+"px",height:c.ysize+"px",left:(c.xp1+A.cb)+"px",top:(c.yp1+z.cb)+"px"})}},complete:function(){n.style.visibility=x.style.visibility="visible";x.style.display="block";hs.discardElement(w);u.afterExpand();D.afterClose();u.last=null}})},reuseOverlay:function(h,g){if(!this.last){return false}for(var f=0;f<this.last.overlays.length;f++){var e=hs.$("hsId"+this.last.overlays[f]);if(e&&e.hsId==h.hsId){this.genOverlayBox();e.reuse=this.key;hs.push(this.overlays,this.last.overlays[f]);return true}}return false},afterExpand:function(){this.isExpanded=true;this.focus();if(this.isHtml&&this.objectLoadTime=="after"){this.writeExtendedContent()}if(this.iframe){try{var l=this,k=this.iframe.contentDocument||this.iframe.contentWindow.document;hs.addEventListener(k,"mousedown",function(){if(hs.focusKey!=l.key){l.focus()}})}catch(j){}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 i=hs.page,h=hs.mouse.x+i.scrollLeft,e=hs.mouse.y+i.scrollTop;this.mouseIsOver=this.x.pos<h&&h<this.x.pos+this.x.get("wsize")&&this.y.pos<e&&e<this.y.pos+this.y.get("wsize");if(this.overlayBox){this.showOverlays()}hs.fireEvent(this,"onAfterExpand")},prepareNextOutline:function(){var c=this.key;var d=this.outlineType;new hs.Outline(d,function(){try{hs.expanders[c].preloadNext()}catch(a){}})},preloadNext:function(){var d=this.getAdjacentAnchor(1);if(d&&d.onclick.toString().match(/hs\.expand/)){var c=hs.createElement("img",{src:hs.getSrc(d)})}},getAdjacentAnchor:function(f){var e=this.getAnchorIndex(),d=hs.anchors.groups[this.slideshowGroup||"none"];if(d&&!d[e+f]&&this.slideshow&&this.slideshow.repeat){if(f==1){return d[0]}else{if(f==-1){return d[d.length-1]}}}return(d&&d[e+f])||null},getAnchorIndex:function(){var c=hs.getAnchors().groups[this.slideshowGroup||"none"];if(c){for(var d=0;d<c.length;d++){if(c[d]==this.a){return d}}}return null},getNumber:function(){if(this[this.numberPosition]){var c=hs.anchors.groups[this.slideshowGroup||"none"];if(c){var d=hs.lang.number.replace("%1",this.getAnchorIndex()+1).replace("%2",c.length);
1this[this.numberPosition].innerHTML='<div class="highslide-number">'+d+"</div>"+this[this.numberPosition].innerHTML}}},initSlideshow:function(){if(!this.last){for(var g=0;g<hs.slideshows.length;g++){var f=hs.slideshows[g],h=f.slideshowGroup;if(typeof h=="undefined"||h===null||h===this.slideshowGroup){this.slideshow=new hs.Slideshow(this.key,f)}}}else{this.slideshow=this.last.slideshow}var f=this.slideshow;if(!f){return}var e=f.expKey=this.key;f.checkFirstAndLast();f.disable("full-expand");if(f.controls){this.createOverlay(hs.extend(f.overlayOptions||{},{overlayId:f.controls,hsId:"controls",zIndex:5}))}if(f.thumbstrip){f.thumbstrip.add(this)}if(!this.last&&this.autoplay){f.play(true)}if(f.autoplay){f.autoplay=setTimeout(function(){hs.next(e)},(f.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)}}},doShowHide:function(b){if(hs.hideSelects){this.showHideElements("SELECT",b)}if(hs.hideIframes){this.showHideElements("IFRAME",b)}if(hs.geckoMac){this.showHideElements("*",b)}},showHideElements:function(m,l){var o=document.getElementsByTagName(m);var i=m=="*"?"overflow":"visibility";for(var p=0;p<o.length;p++){if(i=="visibility"||(document.defaultView.getComputedStyle(o[p],"").getPropertyValue("overflow")=="auto"||o[p].getAttribute("hidden-by")!=null)){var r=o[p].getAttribute("hidden-by");if(l=="visible"&&r){r=r.replace("["+this.key+"]","");o[p].setAttribute("hidden-by",r);if(!r){o[p].style[i]=o[p].origProp}}else{if(l=="hidden"){var t=hs.getPosition(o[p]);t.w=o[p].offsetWidth;t.h=o[p].offsetHeight;if(!this.dimmingOpacity){var s=(t.x+t.w<this.x.get("opos")||t.x>this.x.get("opos")+this.x.get("osize"));var q=(t.y+t.h<this.y.get("opos")||t.y>this.y.get("opos")+this.y.get("osize"))}var n=hs.getWrapperKey(o[p]);if(!s&&!q&&n!=this.key){if(!r){o[p].setAttribute("hidden-by","["+this.key+"]");o[p].origProp=o[p].style[i];o[p].style[i]="hidden"}else{if(r.indexOf("["+this.key+"]")==-1){o[p].setAttribute("hidden-by",r+"["+this.key+"]")}}}else{if((r=="["+this.key+"]"||hs.focusKey==n)&&n!=this.key){o[p].setAttribute("hidden-by","");o[p].style[i]=o[p].origProp||""}else{if(r&&r.indexOf("["+this.key+"]")>-1){o[p].setAttribute("hidden-by",r.replace("["+this.key+"]",""))}}}}}}}},focus:function(){this.wrapper.style.zIndex=hs.zIndexCounter+=2;for(var c=0;c<hs.expanders.length;c++){if(hs.expanders[c]&&c==hs.focusKey){var d=hs.expanders[c];
1d.content.className+=" highslide-"+d.contentType+"-blur";if(d.isImage){d.content.style.cursor=hs.ie?"hand":"pointer";d.content.title=hs.lang.focusTitle}hs.fireEvent(d,"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(c,d){this.x.setPos(c);this.y.setPos(d)},resize:function(h){var e,f,g=h.width/h.height;e=Math.max(h.width+h.dX,Math.min(this.minWidth,this.x.full));if(this.isImage&&Math.abs(e-this.x.full)<12){e=this.x.full}f=this.isHtml?h.height+h.dY:e/g;if(f<Math.min(this.minHeight,this.y.full)){f=Math.min(this.minHeight,this.y.full);if(this.isImage){e=f*g}}this.resizeTo(e,f)},resizeTo:function(c,d){this.y.setSize(d);this.x.setSize(c);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(b){this.afterClose()}}
1,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(b){}}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(b){}}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(f){}}var h=hs.zIndexCounter++,e={display:"",zIndex:h};hs.setStyles(this.wrapper,e);this.isClosing=false;var g=this.outline||0;if(g){if(!this.outlineWhileAnimating){e.visibility="hidden"}hs.setStyles(g.table,e)}if(this.slideshow){this.initSlideshow()}this.show()}catch(f){}},createOverlay:function(j){var i=j.overlayId,f=(j.relativeTo=="viewport"&&!/panel$/.test(j.position));if(typeof i=="string"){i=hs.getNode(i)}if(j.html){i=hs.createElement("div",{innerHTML:j.html})}if(!i||typeof i=="string"){return}if(!hs.fireEvent(this,"onCreateOverlay",{overlay:i})){return}i.style.display="block";j.hsId=j.hsId||j.overlayId;if(this.transitions[1]=="crossfade"&&this.reuseOverlay(j,i)){return}this.genOverlayBox();var h=j.width&&/^[0-9]+(px|%)$/.test(j.width)?j.width:"auto";if(/^(left|right)panel$/.test(j.position)&&!/^[0-9]+px$/.test(j.width)){h="200px"}var g=hs.createElement("div",{id:"hsId"+hs.idCounter++,hsId:j.hsId},{position:"absolute",visibility:"hidden",width:h,direction:hs.lang.cssDirection||"",opacity:0},f?hs.viewport:this.overlayBox,true);if(f){g.hsKey=this.key}g.appendChild(i);hs.extend(g,{opacity:1,offsetX:0,offsetY:0,dur:(j.fade===0||j.fade===false||(j.fade==2&&hs.ie))?0:250});hs.extend(g,j);if(this.gotOverlays){this.positionOverlay(g);if(!g.hideOnMouseOut||this.mouseIsOver){hs.animate(g,{opacity:g.opacity},g.dur)}}hs.push(this.overlays,hs.idCounter-1)},positionOverlay:function(k){var l=k.position||"middle center",i=(k.relativeTo=="viewport"),h=k.offsetX,g=k.offsetY;if(i){hs.viewport.style.display="block";k.hsKey=this.key;if(k.offsetWidth>k.parentNode.offsetWidth){k.style.width="100%"}}else{if(k.parentNode!=this.overlayBox){this.overlayBox.appendChild(k)}}if(/left$/.test(l)){k.style.left=h+"px"}if(/center$/.test(l)){hs.setStyles(k,{left:"50%",marginLeft:(h-Math.round(k.offsetWidth/2))+"px"})}if(/right$/.test(l)){k.style.right=-h+"px"}if(/^leftpanel$/.test(l)){hs.setStyles(k,{right:"100%",marginRight:this.x.cb+"px",top:-this.y.cb+"px",bottom:-this.y.cb+"px",overflow:"auto"});this.x.p1=k.offsetWidth}else{if(/^rightpanel$/.test(l)){hs.setStyles(k,{left:"100%",marginLeft:this.x.cb+"px",top:-this.y.cb+"px",bottom:-this.y.cb+"px",overflow:"auto"});this.x.p2=k.offsetWidth}}var j=k.parentNode.offsetHeight;k.style.height="auto";if(i&&k.offsetHeight>j){k.style.height=hs.ieLt7?j+"px":"100%"}if(/^top/.test(l)){k.style.top=g+"px"}if(/^middle/.test(l)){hs.setStyles(k,{top:"50%",marginTop:(g-Math.round(k.offsetHeight/2))+"px"})}if(/^bottom/.test(l)){k.style.bottom=-g+"px"}if(/^above$/.test(l)){hs.setStyles(k,{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=k.offsetHeight}else{if(/^below$/.test(l)){hs.setStyles(k,{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=k.offsetHeight;k.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
1de-move"}if(hs.showCredits){this.writeCredits()}for(var f=0;f<hs.overlays.length;f++){var i=hs.overlays[f],j=i.thumbnailId,g=i.slideshowGroup;if((!j&&!g)||(j&&j==this.thumbsUserSetId)||(g&&g===this.slideshowGroup)){if(this.isImage||(this.isHtml&&i.useOnHtml)){this.createOverlay(i)}}}var h=[];for(var f=0;f<this.overlays.length;f++){var i=hs.$("hsId"+this.overlays[f]);if(/panel$/.test(i.position)){this.positionOverlay(i)}else{hs.push(h,i)}}for(var f=0;f<h.length;f++){this.positionOverlay(h[f])}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(n,l){var k=this.overlayBox,i=this.x,p=this.y;hs.setStyles(k,{width:i.size+"px",height:p.size+"px"});if(n||l){for(var m=0;m<this.overlays.length;m++){var o=hs.$("hsId"+this.overlays[m]);var j=(hs.ieLt7||document.compatMode=="BackCompat");if(o&&/^(above|below)$/.test(o.position)){if(j){o.style.width=(k.offsetWidth+2*i.cb+i.p1+i.p2)+"px"}p[o.position=="above"?"p1":"p2"]=o.offsetHeight}if(o&&j&&/^(left|right)panel$/.test(o.position)){o.style.height=(k.offsetHeight+2*p.cb)+"px"}}}if(n){hs.setStyles(this.content,{top:p.p1+"px"});hs.setStyles(k,{top:(p.p1+p.cb)+"px"})}},showOverlays:function(){var b=this.overlayBox;b.className="";hs.setStyles(b,{top:(this.y.p1+this.y.cb)+"px",left:(this.x.p1+this.x.cb)+"px",overflow:"visible"});if(hs.safari){b.style.visibility="visible"}this.wrapper.appendChild(b);for(var e=0;e<this.overlays.length;e++){var f=hs.$("hsId"+this.overlays[e]);f.style.zIndex=f.zIndex||4;if(!f.hideOnMouseOut||this.mouseIsOver){f.style.visibility="visible";hs.setStyles(f,{visibility:"visible",display:""});hs.animate(f,{opacity:f.opacity},f.dur)}}},destroyOverlays:function(){if(!this.overlays.length){return}if(this.slideshow){var f=this.slideshow.controls;if(f&&hs.getExpander(f)==this){f.parentNode.removeChild(f)}}for(var c=0;c<this.overlays.length;c++){var e=hs.$("hsId"+this.overlays[c]);if(e&&e.parentNode==hs.viewport&&hs.getExpander(e)==this){hs.discardElement(e)}}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 e=this.x.size;this.resizeTo(this.x.full,this.y.full);var d=this.x.pos-(this.x.size-e)/2;if(d<hs.marginLeft){d=hs.marginLeft}this.moveTo(d,this.y.pos);this.doShowHide("hidden")}catch(f){this.error(f)}},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(a,e,f){this.a=a;this.content=e;this.pre=f};hs.Ajax.prototype={run:function(){var i;if(!this.src){this.src=hs.getSrc(this.a)}if(this.src.match("#")){var e=this.src.split("#");this.src=e[0];this.id=e[1]}if(hs.cachedGets[this.src]){this.cachedGet=hs.cachedGets[this.src];
1if(this.id){this.getElementContent()}else{this.loadHTML()}return}try{i=new XMLHttpRequest()}catch(g){try{i=new ActiveXObject("Msxml2.XMLHTTP")}catch(g){try{i=new ActiveXObject("Microsoft.XMLHTTP")}catch(g){this.onError()}}}var j=this;i.onreadystatechange=function(){if(j.xhr.readyState==4){if(j.id){j.getElementContent()}else{j.loadHTML()}}};var h=this.src;this.xhr=i;if(hs.forceAjaxReload){h=h.replace(/$/,(/\?/.test(h)?"&":"?")+"dummy="+(new Date()).getTime())}i.open("GET",h,true);i.setRequestHeader("X-Requested-With","XMLHttpRequest");i.setRequestHeader("Content-Type","application/x-www-form-urlencoded");i.send(null)},getElementContent:function(){hs.init();var b=window.opera||hs.ie6SSL?{src:"about:blank"}:null;this.iframe=hs.createElement("iframe",b,{position:"absolute",top:"-9999px"},hs.container);this.loadHTML()},loadHTML:function(){var i=this.cachedGet||this.xhr.responseText,h;if(this.pre){hs.cachedGets[this.src]=i}if(!hs.ie||hs.uaVersion>=5,5){i=i.replace(new RegExp("<link[^>]*>","gi"),"").replace(new RegExp("<script[^>]*>.*?</script>","gi"),"");if(this.iframe){var k=this.iframe.contentDocument;if(!k&&this.iframe.contentWindow){k=this.iframe.contentWindow.document}if(!k){var l=this;setTimeout(function(){l.loadHTML()},25);return}k.open();k.write(i);k.close();try{i=k.getElementById(this.id).innerHTML}catch(j){try{i=this.iframe.document.getElementById(this.id).innerHTML}catch(j){}}hs.discardElement(this.iframe)}else{h=/(<body[^>]*>|<\/body>)/ig;if(h.test(i)){i=i.split(h)[hs.ie?1:2]}}}hs.getElementByClass(this.content,"DIV","highslide-body").innerHTML=i;this.onLoad();for(var e in this){this[e]=null}}};hs.Slideshow=function(f,e){if(hs.dynamicallyUpdateAnchors!==false){hs.updateAnchors()}this.expKey=f;for(var d in e){this[d]=e[d]}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 e=["play","pause","previous","next","move","full-expand","close"];this.btn={};var f=this;for(var d=0;d<e.length;d++){this.btn[e[d]]=hs.getElementByClass(this.controls,"li","highslide-"+e[d]);this.enable(e[d])}this.btn.pause.style.display="none"},checkFirstAndLast:function(){if(this.repeat||!this.controls){return}var f=hs.expanders[this.expKey],e=f.getAnchorIndex(),d=/disabled$/;if(e==0){this.disable("previous")}else{if(d.test(this.btn.previous.getElementsByTagName("a")[0].className)){this.enable("previous")}}if(e+1==hs.anchors.groups[f.slideshowGroup||"none"].length){this.disable("next");this.disable("play")}else{if(d.test(this.btn.next.getElementsByTagName("a")[0].className)){this.enable("next");this.enable("play")}}},enable:function(g){if(!this.btn){return}var f=this,a=this.btn[g].getElementsByTagName("a")[0],h=/disabled$/;a.onclick=function(){f[g]();return false};if(h.test(a.className)){a.className=a.className.replace(h,"")}},disable:function(d){if(!this.btn){return}var a=this.btn[d].getElementsByTagName("a")[0];a.onclick=function(){return false};if(!/disabled$/.test(a.className)){a.className+=" disabled"}},hitSpace:function(){if(this.autoplay){this.pause()}else{this.play()}},play:function(b){if(this.btn){this.btn.play.style.display="none";this.btn.pause.style.display=""}this.autoplay=true;if(!b){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 I(a){hs.extend(z||{},{overlayId:K,hsId:"thumbstrip",className:"highslide-thumbstrip-"+F+"-overlay "+(z.className||"")});if(hs.ieLt7){z.fade=0}a.createOverlay(z);hs.setStyles(K.parentNode,{overflow:"hidden"})}function w(a){x(undefined,Math.round(a*K[B?"offsetWidth":"offsetHeight"]*0,7))}function x(m,n){if(m===undefined){for(var l=0;l<C.length;l++){if(C[l]==hs.expanders[D.expKey].a){m=l;break}}}if(m===undefined){return}var g=K.getElementsByTagName("a"),t=g[m],q=t.parentNode,s=B?"Left":"Top",o=B?"Right":"Bottom",j=B?"Width":"Height",b="offset"+s,h="offset"+j,r=G.parentNode.parentNode[h],f=r-L[h],p=parseInt(L.style[B?"left":"top"])||0,c=p,d=20;
1if(n!==undefined){c=p-n;if(f>0){f=0}if(c>0){c=0}if(c<f){c=f}}else{for(var l=0;l<g.length;l++){g[l].className=""}t.className="highslide-active-anchor";var k=m>0?g[m-1].parentNode[b]:q[b],a=q[b]+q[h]+(g[m+1]?g[m+1].parentNode[h]:0);if(a>r-p){c=r-a}else{if(k<-p){c=-k}}}var e=q[b]+(q[h]-A[h])/2+c;hs.animate(L,B?{left:c}:{top:c},null,"easeOutQuad");hs.animate(A,B?{left:e}:{top:e},null,"easeOutQuad");E.style.display=c<0?"block":"none";M.style.display=(c>f)?"block":"none"}var C=hs.anchors.groups[hs.expanders[D.expKey].slideshowGroup||"none"],z=D.thumbstrip,F=z.mode||"horizontal",N=(F=="float"),H=N?["div","ul","li","span"]:["table","tbody","tr","td"],B=(F=="horizontal"),K=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),y=K.childNodes,G=y[0],E=y[1],M=y[2],A=y[3],L=G.firstChild,i=K.getElementsByTagName(H[1])[0],v;for(var J=0;J<C.length;J++){if(J==0||!B){v=hs.createElement(H[2],null,null,i)}(function(){var b=C[J],a=hs.createElement(H[3],null,null,v),c=J;hs.createElement("a",{href:b.href,onclick:function(){if(/highslide-active-anchor/.test(this.className)){return false}hs.getExpander(this).focus();return hs.transit(b)},innerHTML:hs.stripItemFormatter?hs.stripItemFormatter(b):b.innerHTML},null,a)})()}if(!N){E.onclick=function(){w(-1)};M.onclick=function(){w(1)};hs.addEventListener(i,document.onmousewheel!==undefined?"mousewheel":"DOMMouseScroll",function(a){var b=0;a=a||window.event;if(a.wheelDelta){b=a.wheelDelta/120;if(hs.opera){b=-b}}else{if(a.detail){b=-a.detail/3}}if(b){w(-b*0,2)}if(a.preventDefault){a.preventDefault()}a.returnValue=false})}return{add:I,selectThumb:x}};hs.langDefaults=hs.lang;var HsExpander=hs.Expander;if(hs.ie&&window==window.top){(function(){try{document.documentElement.doScroll("left")}catch(b){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 f=hs.createElement("style",{type:"text/css"},null,document.getElementsByTagName("HEAD")[0]);function e(b,c){if(hs.ie&&hs.uaVersion<9){var a=document.styleSheets[document.styleSheets.length-1];if(typeof(a.addRule)=="object"){a.addRule(b,c)}}else{f.appendChild(document.createTextNode(b+" {"+c+"}"))}}function d(a){return"expression( ( ( ignoreMe = document.documentElement."+a+" ? document.documentElement."+a+" : document.body."+a+" ) ) + 'px' );"}if(hs.expandCursor){e(".highslide img","cursor: url("+hs.graphicsDir+hs.expandCursor+"), pointer !important;")}e(".highslide-viewport-size",hs.ie&&(hs.uaVersion<7||document.compatMode=="BackCompat")?"position: absolute; left:"+d("scrollLeft")+"top:"+d("scrollTop")+"width:"+d("clientWidth")+"height:"+d("clientHeight"):"position: fixed; width: 100%; height: 100%; left: 0; top: 0")}});hs.addEventListener(window,"resize",function(){hs.getPageSize();if(hs.viewport){for(var d=0;d<hs.viewport.childNodes.length;d++){var e=hs.viewport.childNodes[d],f=hs.getExpander(e);f.positionOverlay(e);if(e.hsId=="thumbstrip"){f.slideshow.thumbstrip.selectThumb()}}}});hs.addEventListener(document,"mousemove",function(b){hs.mouse={x:b.clientX,y:b.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;
1e 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."}}}});

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.