hs.push(hs.overrides,"contentId");hs.push(hs.overrides,"allowWidthReduction");hs.push(hs.overrides,"allowHeightReduction");hs.push(hs.overrides,"objectType");hs.push(hs.overrides,"objectWidth");hs.push(hs.overrides,"objectHeight");hs.push(hs.overrides,"objectLoadTime");hs.push(hs.overrides,"swfObject");hs.allowWidthReduction=false;hs.allowHeightReduction=true;hs.objectLoadTime="before";hs.htmlExpand=function(A,C){if(!hs.$(C.contentId)&&!hs.origNodes[C.contentId]){return true}try{hs.hasHtmlExpanders=true;new HsExpander(A,C,"html");return false}catch(B){return true}};hs.identifyContainer=function(B,A){for(i=0;i<B.childNodes.length;i++){if(B.childNodes[i].className==A){return B.childNodes[i]}}};hs.geckoBug=function(A){return(!hs.ie&&A.className&&A.className=="highslide-body"&&hs.expanders[hs.getWrapperKey(A)]&&hs.expanders[hs.getWrapperKey(A)].swfObject)};HsExpander.prototype.htmlCreate=function(){this.origContent=hs.origNodes[this.contentId]?hs.origNodes[this.contentId]:hs.$(this.contentId);hs.setStyles(this.origContent,{position:"relative",visibility:"hidden"});this.origContent.className+=" highslide-display-block";var A=hs.createElement("div",null,{padding:"0 "+hs.marginRight+"px 0 "+hs.marginLeft+"px",position:"absolute",left:0,top:0},document.body);this.innerContent=hs.cloneNode(this.contentId);hs.setStyles(this.innerContent,{border:"none",width:"auto",height:"auto"});this.setObjContainerSize(this.origContent);this.setObjContainerSize(this.innerContent,1);A.appendChild(this.origContent);this.content=hs.createElement("div",{className:"highslide-html"},{position:"relative",zIndex:3,overflow:"hidden",width:this.thumbWidth+"px",height:this.thumbHeight+"px"});this.content.appendChild(this.innerContent);this.newWidth=this.origContent.offsetWidth;this.newHeight=this.origContent.offsetHeight;if(hs.ie&&this.newHeight>parseInt(this.origContent.currentStyle.height)){this.newHeight=parseInt(this.origContent.currentStyle.height)}this.origContent.className=this.origContent.className.replace(" highslide-display-block","");this.onLoad()};HsExpander.prototype.setObjContainerSize=function(A,C){if(this.swfObject||this.objectType=="iframe"){var B=hs.identifyContainer(A,"highslide-body");if(C){B.style.width="auto";B.style.height="auto"}else{B.style.width=this.swfObject?this.swfObject.attributes.width+"px":this.objectWidth+"px";B.style.height=this.swfObject?this.swfObject.attributes.height+"px":this.objectHeight+"px"}}};HsExpander.prototype.writeExtendedContent=function(){if(this.objectType=="iframe"){this.objContainer=hs.identifyContainer(this.innerContent,"highslide-body");var A=this.key;this.iframe=hs.createElement("iframe",{frameBorder:0,src:hs.getSrc(this.a)},{width:this.objectWidth+"px",height:this.objectHeight+"px"},this.objContainer);if(this.objectLoadTime=="after"){this.correctIframeSize()}}else{if(this.swfObject){this.objContainer=hs.identifyContainer(this.innerContent,"highslide-body");this.objContainer.id=this.objContainer.id||"hs-flash-id-"+this.key;this.swfObject.write(this.objContainer.id)}}};HsExpander.prototype.correctIframeSize=function(){var B=this.innerContent.offsetWidth-this.objContainer.offsetWidth;if(B<0){B=0}var A=this.innerContent.offsetHeight-this.objContainer.offsetHeight;hs.setStyles(this.iframe,{width:(this.x.span-B)+"px",height:(this.y.span-A)+"px"});hs.setStyles(this.objContainer,{width:this.iframe.style.width,height:this.iframe.style.height});this.scrollingContent=this.iframe;this.scrollerDiv="scrollingContent"};HsExpander.prototype.htmlSizeOperations=function(){this.setObjContainerSize(this.innerContent);if(this.objectLoadTime=="before"){this.writeExtendedContent()}this.finalLeft=this.x.min;this.finalTop=this.y.min;if(this.x.span<this.newWidth&&!this.allowWidthReduction){this.x.span=this.newWidth}if(this.y.span<this.newHeight&&!this.allowHeightReduction){this.y.span=this.newHeight}this.scrollerDiv="innerContent";this.mediumContent=hs.createElement("div",null,{width:this.x.span+"px",position:"relative",left:(this.finalLeft-this.thumbLeft)+"px",top:(this.finalTop-this.thumbTop)+"px"},this.content);this.mediumContent.appendChild(this.innerContent);var E=hs.identifyContainer(this.innerContent,"highslide-body");if(E&&!this.swfObject&&this.objectType!="iframe"){var B=E.cloneNode(true);E.innerHTML="";E.id=null;hs.setStyles(E,{margin:0,border:"none",padding:0,overflow:"hidden"});E.appendChild(B);var C=this.innerContent.offsetWidth-E.offsetWidth;var A=this.innerContent.offsetHeight-E.offsetHeight;var D=hs.safari||navigator.vendor=="KDE"?1:0;hs.setStyles(E,{width:(this.x.span-C-D)+"px",height:(this.y.span-A)+"px",overflow:"auto",position:"relative"});if(B.offsetHeight>E.offsetHeight){if(D){E.style.width=(parseInt(E.style.width)+D)+"px"}}this.scrollingContent=E;this.scrollerDiv="scrollingContent"}if(this.iframe&&this.objectLoadTime=="before"){this.correctIframeSize()}if(!this.scrollingContent&&this.y.span<this.mediumContent.offsetHeight){this.scrollerDiv="content"}if(this.scrollerDiv=="content"&&!this.allowWidthReduction&&this.objectType!="iframe"){this.x.span+=17}if(this.scrollerDiv&&this[this.scrollerDiv].offsetHeight>this[this.scrollerDiv].parentNode.offsetHeight){setTimeout("hs.expanders["+this.key+"]."+this.scrollerDiv+".style.overflow = 'auto'",hs.expandDuration)}};HsExpander.prototype.htmlSetSize=function(C,D,A,H,G,B){try{hs.setStyles(this.content,{width:C+"px",height:D+"px"});hs.setStyles(this.wrapper,{visibility:"visible",left:A+"px",top:H+"px"});hs.setStyles(this.mediumContent,{left:(this.finalLeft-A)+"px",top:(this.finalTop-H)+"px"});this.innerContent.style.visibility="visible";if(this.objOutline&&this.outlineWhileAnimating){var F=this.objOutline.offset-G;this.positionOutline(A+F,H+F,C-2*F,D-2*F,1)}if(B==1){this.onExpanded()}else{if(B==-1){this.onEndClose()}}}catch(E){window.location.href=hs.expanders[key].a.href}};HsExpander.prototype.htmlOnClose=function(){if(this.objectLoadTime=="after"){this.destroyObject()}if(this.scrollerDiv&&this.scrollerDiv!="scrollingContent"){this[this.scrollerDiv].style.overflow="hidden"}if(this.swfObject){hs.$(this.swfObject.getAttribute("id")).StopPlay()}};HsExpander.prototype.destroyObject=function(){this.objContainer.innerHTML=""}