hs.allowWidthReduction=false;hs.allowHeightReduction=false;hs.objectLoadTime="before";hs.cacheAjax=false;hs.preserveContent=false;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.push(hs.overrides,"cacheAjax");hs.push(hs.overrides,"preserveContent");hs.preloadTheseAjax=new Array;hs.cacheBindings=new Array;hs.sleeping=new Array;hs.cacheCounter=0;hs.clearing=hs.createElement("div",null,{clear:"both",borderTop:"1px solid white"},null,true);hs.htmlExpand=function(b,g,d){if(!hs.$(g.contentId)&&!hs.origNodes[g.contentId]){return true}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}}try{hs.hasHtmlexpanders=true;new HsExpander(b,g,d,"html");return false}catch(f){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)};hs.cloneFix=function(d,c){var a=d.getElementsByTagName("SELECT");var b=c.getElementsByTagName("SELECT");for(i=0;i<a.length;i++){b[i].selectedIndex=a[i].selectedIndex}return c};hs.preloadAjax=function(f){var g=document.getElementsByTagName("A");var b,d,c=0;for(i=0;i<g.length;i++){b=g[i];d=hs.isHsAnchor(b);if(d&&d[0]=="hs.htmlExpand"&&hs.getParam(b,"objectType")=="ajax"&&hs.getParam(b,"cacheAjax")){hs.preloadTheseAjax[c]=b;c++}}hs.preloadAjaxElement(0)};hs.preloadAjaxElement=function(d){if(!hs.preloadTheseAjax[d]){return}var b=hs.preloadTheseAjax[d];var c=hs.cloneNode(hs.getParam(b,"contentId"));var e=new HsAjax(b,c);e.onError=function(){};e.onLoad=function(){hs.setId(c,/-hsOrig$/,1);hs.setId(c,"-hsCache"+hs.cacheCounter);hs.genContainer();hs.container.appendChild(c);hs.cacheBindings[c.id]=b;hs.cacheCounter++;hs.preloadAjaxElement(d+1)};e.run()};hs.getCacheBinding=function(c){for(var b in hs.cacheBindings){if(hs.cacheBindings[b]==c){return hs.$(b)}}return false};HsExpander.prototype.htmlCreate=function(){this.tempContainer=hs.createElement("div",null,{padding:"0 "+hs.marginRight+"px 0 "+hs.marginLeft+"px",position:"absolute",left:0,top:0},document.body);this.innerContent=hs.getCacheBinding(this.a);if(this.innerContent){hs.setId(this.innerContent,/-hsCache[0-9]+/,1)}else{this.innerContent=hs.cloneNode(this.contentId)}this.setObjContainerSize(this.innerContent);this.tempContainer.appendChild(this.innerContent);hs.setStyles(this.innerContent,{position:"relative",visibility:"hidden"});this.innerContent.className+=" highslide-display-block";this.content=hs.createElement("div",{className:"highslide-html"},{position:"relative",zIndex:3,overflow:"hidden",width:this.thumbWidth+"px",height:this.thumbHeight+"px"},null);if(this.objectType=="ajax"&&!hs.getCacheBinding(this.a)){var a=new HsAjax(this.a,this.innerContent);var b=this;a.onLoad=function(){b.onLoad()};a.onError=function(){location.href=hs.getSrc(this.a)};a.run()}else{this.onLoad()}};HsExpander.prototype.htmlGetSize=function(){this.innerContent.appendChild(hs.clearing);this.newWidth=this.innerContent.offsetWidth;this.newHeight=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)}};HsExpander.prototype.setObjContainerSize=function(a,d){if(this.swfObject||this.objectType=="iframe"){var b=hs.identifyContainer(a,"highslide-body");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.hasExtendedContent){return}this.objContainer=hs.identifyContainer(this.innerContent,"highslide-body");if(this.objectType=="iframe"){if(hs.ie&&hs.ieVersion()<5.5){window.location.href=hs.getSrc(this.a)}var a=this.key;this.iframe=hs.createElement("iframe",{frameBorder:0},{width:this.objectWidth+"px",height:this.objectHeight+"px"},this.objContainer);if(hs.safari){this.iframe.src=null}this.iframe.src=hs.getSrc(this.a);if(this.objectLoadTime=="after"){this.correctIframeSize()}}else{if(this.swfObject){this.objContainer.id=this.objContainer.id||"hs-flash-id-"+this.key;this.swfObject.write(this.objContainer.id)}}this.hasExtendedContent=true};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=this.scrollingContent};HsExpander.prototype.htmlSizeOperations=function(){this.setObjContainerSize(this.innerContent);if(this.objectLoadTime=="before"){this.writeExtendedContent()}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=this.innerContent;this.mediumContent=hs.createElement("div",null,{width:this.x.span+"px",position:"relative",left:(this.x.min-this.thumbLeft)+"px",top:(this.y.min-this.thumbTop)+"px"},this.content,true);this.mediumContent.appendChild(this.innerContent);document.body.removeChild(this.tempContainer);hs.setStyles(this.innerContent,{border:"none",width:"auto",height:"auto"});var e=hs.identifyContainer(this.innerContent,"highslide-body");if(e&&!this.swfObject&&this.objectType!="iframe"){var b=e.cloneNode(true);if(hs.ie){b=hs.cloneFix(e,b)}e.innerHTML="";e.id=null;hs.setStyles(e,{margin:0,border:"none",padding:0,overflow:"hidden"});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.span-c-d)+"px",height:(this.y.span-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.span<this.mediumContent.offsetHeight){this.scrollerDiv=this.content}if(this.scrollerDiv==this.content&&!this.allowWidthReduction&&this.objectType!="iframe"){this.x.span+=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)}};HsExpander.prototype.htmlSetSize=function(c,d,a,k,j,b){try{hs.setStyles(this.wrapper,{visibility:"visible",left:a+"px",top:k+"px"});hs.setStyles(this.content,{width:c+"px",height:d+"px"});hs.setStyles(this.mediumContent,{left:(this.x.min-a)+"px",top:(this.y.min-k)+"px"});this.innerContent.style.visibility="visible";if(this.objOutline&&this.outlineWhileAnimating){var g=this.objOutline.offset-j;this.positionOutline(a+g,k+g,c-2*g,d-2*g,1)}}catch(f){window.location.href=hs.getSrc(this.a)}};HsExpander.prototype.reflow=function(){hs.setStyles(this.scrollerDiv,{height:"auto",width:"auto"});this.x.span=this.innerContent.offsetWidth;this.y.span=this.innerContent.offsetHeight;var a={width:this.x.span+"px",height:this.y.span+"px"};hs.setStyles(this.content,a);this.positionOutline(this.x.min,this.y.min,this.x.span,this.y.span)};HsExpander.prototype.htmlOnClose=function(){if(this.objectLoadTime=="after"&&!this.preserveContent){this.destroyObject()}if(this.scrollerDiv&&this.scrollerDiv!=this.scrollingContent){this.scrollerDiv.style.overflow="hidden"}if(this.swfObject){hs.$(this.swfObject.getAttribute("id")).StopPlay()}};HsExpander.prototype.destroyObject=function(){this.objContainer.innerHTML=""};HsExpander.prototype.sleep=function(){if(this.objOutline){this.objOutline.table.className="highslide-display-none"}this.wrapper.className+=" highslide-display-none";hs.setId(this.content,"-hsSleeping"+this.key);hs.push(hs.sleeping,this)};HsExpander.prototype.awake=function(){hs.expanders[this.key]=this;this.wrapper.className=this.wrapper.className.replace(/highslide-display-none/,"");var a=hs.zIndexCounter++;this.wrapper.style.zIndex=a;if(o=this.objOutline){if(!this.outlineWhileAnimating){o.table.style.visibility="hidden"}o.table.className=null;o.table.style.zIndex=a}hs.setId(this.content,"-hsSleeping"+this.key,1);this.show()};HsAjax=function(b,c){this.a=b;this.content=c};HsAjax.prototype.run=function(){try{this.xmlHttp=new XMLHttpRequest()}catch(b){try{this.xmlHttp=new ActiveXObject("Msxml2.XMLHTTP")}catch(b){try{this.xmlHttp=new ActiveXObject("Microsoft.XMLHTTP")}catch(b){this.onError()}}}this.src=hs.getSrc(this.a);if(this.src.match("#")){var a=this.src.split("#");this.src=a[0];this.id=a[1]}var c=this;this.xmlHttp.onreadystatechange=function(){if(c.xmlHttp.readyState==4){if(c.id){c.getElementContent()}else{c.loadHTML()}}};this.xmlHttp.open("GET",this.src,true);this.xmlHttp.send(null)};HsAjax.prototype.getElementContent=function(){hs.genContainer();var b=window.opera?{src:this.src}:null;this.iframe=hs.createElement("iframe",b,{position:"absolute",left:"-9999px"},hs.container);try{this.loadHTML()}catch(a){var c=this;setTimeout(function(){c.loadHTML()},1)}};HsAjax.prototype.loadHTML=function(){var a=this.xmlHttp.responseText;if(!hs.ie||hs.ieVersion()>=5.5){a=a.replace(/\s/g," ");if(this.iframe){a=a.replace(new RegExp("<link[^>]*>","gi"),"");a=a.replace(new RegExp("<script[^>]*>.*?<\/script>","gi"),"");var c=this.iframe.contentDocument||this.iframe.contentWindow.document;c.open();c.write(a);c.close();try{a=c.getElementById(this.id).innerHTML}catch(b){}hs.container.removeChild(this.iframe)}else{a=a.replace(new RegExp("^.*?<body[^>]*>(.*?)</body>.*?$","i"),"$1")}}hs.identifyContainer(this.content,"highslide-body").innerHTML=a;this.onLoad()};hs.addEventListener(window,"load",hs.preloadAjax);