var cssNode=document.createElement("link");cssNode.type="text/css";cssNode.rel="stylesheet";cssNode.href="/forums/includes/highslide/highslide.css";cssNode.media="screen";document.getElementsByTagName("head")[0].appendChild(cssNode);if(!hs){var hs={lang:{cssDirection:"ltr",loadingText:"Loading...",loadingTitle:"Click to cancel",fullExpandTitle:"Expand to actual size",restoreTitle:"Click to close image. Use arrow keys for next and previous."},graphicsDir:"/forums/includes/highslide/graphics/",expandCursor:"zoomin.cur",restoreCursor:"zoomout.cur",expandDuration:250,restoreDuration:250,marginLeft:15,marginRight:15,marginTop:15,marginBottom:15,zIndexCounter:1000000,loadingOpacity:0.75,numberOfImagesToPreload:0,padToMinWidth:false,fullExpandPosition:"bottom right",fullExpandOpacity:1,enableKeyListener:true,openerTagNames:["a"],minWidth:200,minHeight:200,allowSizeReduction:true,preloadTheseImages:[],continuePreloading:true,expanders:[],overrides:["allowSizeReduction","useBox","captionId","captionText","captionEval","captionOverlay","headingId","headingText","headingEval","headingOverlay","width","height","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:{},timers:[],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),$:function(id){if(id){return document.getElementById(id);}},push:function(_2,_3){_2[_2.length]=_3;},createElement:function(_4,_5,_6,_7,_8){var el=document.createElement(_4);if(_5){hs.extend(el,_5);}if(_8){hs.setStyles(el,{padding:0,border:"none",margin:0});}if(_6){hs.setStyles(el,_6);}if(_7){_7.appendChild(el);}return el;},extend:function(el,_b){for(var x in _b){el[x]=_b[x];}return el;},setStyles:function(el,_e){for(var x in _e){if(hs.ie&&x=="opacity"){if(_e[x]>0.99){el.style.removeAttribute("filter");}else{el.style.filter="alpha(opacity="+(_e[x]*100)+")";}}else{el.style[x]=_e[x];}}},animate:function(el,_11,opt){var _13,end,_15;if(typeof opt!="object"||opt===null){var _16=arguments;opt={duration:_16[2],easing:_16[3],complete:_16[4]};}if(typeof opt.duration!="number"){opt.duration=250;}opt.easing=Math[opt.easing]||Math.easeInQuad;opt.curAnim=hs.extend({},_11);for(var _17 in _11){var e=new hs.fx(el,opt,_17);_13=parseFloat(hs.css(el,_17))||0;end=parseFloat(_11[_17]);_15=_17!="opacity"?"px":"";e.custom(_13,end,_15);}},css:function(el,_1a){if(el.style[_1a]){return el.style[_1a];}else{if(document.defaultView){return document.defaultView.getComputedStyle(el,null).getPropertyValue(_1a);}else{if(_1a=="opacity"){_1a="filter";}var val=el.currentStyle[_1a.replace(/\-(\w)/g,function(a,b){return b.toUpperCase();})];if(_1a=="filter"){val=val.replace(/alpha\(opacity=([0-9]+)\)/,function(a,b){return b/100;});}return val===""?1:val;}}},getPageSize:function(){var d=document,w=window,_22=d.compatMode&&d.compatMode!="BackCompat"?d.documentElement:d.body;var _23=hs.ie?_22.clientWidth:(d.documentElement.clientWidth||self.innerWidth),_24=hs.ie?_22.clientHeight:self.innerHeight;hs.page={width:_23,height:_24,scrollLeft:hs.ie?_22.scrollLeft:pageXOffset,scrollTop:hs.ie?_22.scrollTop:pageYOffset};return hs.page;},getPosition:function(el){var p={x:el.offsetLeft,y:el.offsetTop};while(el.offsetParent){el=el.offsetParent;p.x+=el.offsetLeft;p.y+=el.offsetTop;if(el!=document.body&&el!=document.documentElement){p.x-=el.scrollLeft;p.y-=el.scrollTop;}}return p;},expand:function(a,_28,_29,_2a){if(!a){a=hs.createElement("a",null,{display:"none"},hs.container);}if(typeof a.getParams=="function"){return _28;}try{new hs.Expander(a,_28,_29);return false;}catch(e){return true;}},getParam:function(a,_2c){a.getParams=a.onclick;var p=a.getParams?a.getParams():null;a.getParams=null;return (p&&typeof p[_2c]!="undefined")?p[_2c]:(typeof hs[_2c]!="undefined"?hs[_2c]:null);},getSrc:function(a){var src=hs.getParam(a,"src");if(src){return src;}return a.href;},getNode:function(id){var _31=hs.$(id),_32=hs.clones[id],a={};if(!_31&&!_32){return null;}if(!_32){_32=_31.cloneNode(true);_32.id="";hs.clones[id]=_32;return _31;}else{return _32.cloneNode(true);}},discardElement:function(d){if(d){hs.garbageBin.appendChild(d);}hs.garbageBin.innerHTML="";},transit:function(adj,exp){var _37=exp||hs.getExpander();exp=_37;if(hs.upcoming){return false;}else{hs.last=_37;}hs.removeEventListener(document,window.opera?"keypress":"keydown",hs.keyHandler);try{hs.upcoming=adj;adj.onclick();}catch(e){hs.last=hs.upcoming=null;}try{exp.close();}catch(e){}return false;},previousOrNext:function(el,op){var exp=hs.getExpander(el);if(exp){return hs.transit(exp.getAdjacentAnchor(op),exp);}else{return false;}},previous:function(el){return hs.previousOrNext(el,-1);},next:function(el){return hs.previousOrNext(el,1);},keyHandler:function(e){if(!e){e=window.event;}if(!e.target){e.target=e.srcElement;}if(typeof e.target.form!="undefined"){return true;}var exp=hs.getExpander();var op=null;switch(e.keyCode){case 70:if(exp){exp.doFullExpand();}return true;case 32:case 34:case 39:case 40:op=1;break;case 8:case 33:case 37:case 38:op=-1;break;case 27:case 13:op=0;}if(op!==null){hs.removeEventListener(document,window.opera?"keypress":"keydown",hs.keyHandler);if(!hs.enableKeyListener){return true;}if(e.preventDefault){e.preventDefault();}else{e.returnValue=false;}if(exp){if(op==0){exp.close();}else{hs.previousOrNext(exp.key,op);}return false;}}return true;},registerOverlay:function(_40){hs.push(hs.overlays,hs.extend(_40,{hsId:"hsId"+hs.idCounter++}));},getWrapperKey:function(_41,_42){var el,re=/^highslide-wrapper-([0-9]+)$/;el=_41;while(el.parentNode){if(el.id&&re.test(el.id)){return el.id.replace(re,"$1");}el=el.parentNode;}if(!_42){el=_41;while(el.parentNode){if(el.tagName&&hs.isHsAnchor(el)){for(var key=0;key<hs.expanders.length;key++){var exp=hs.expanders[key];if(exp&&exp.a==el){return key;}}}el=el.parentNode;}}return null;},getExpander:function(el,_48){if(typeof el=="undefined"){return hs.expanders[hs.focusKey]||null;}if(typeof el=="number"){return hs.expanders[el]||null;}if(typeof el=="string"){el=hs.$(el);}return hs.expanders[hs.getWrapperKey(el,_48)]||null;},isHsAnchor:function(a){return (a.onclick&&a.onclick.toString().replace(/\s/g," ").match(/hs.(htmlE|e)xpand/));},wrapperMouseHandler:function(e){try{if(!e){e=window.event;}var _4b=/mouseover/i.test(e.type);if(!e.target){e.target=e.srcElement;}if(hs.ie){e.relatedTarget=_4b?e.fromElement:e.toElement;}var exp=hs.getExpander(e.target);if(!exp.isExpanded){return;}if(!exp||!e.relatedTarget||hs.getExpander(e.relatedTarget,true)==exp||hs.dragArgs){return;}for(var i=0;i<exp.overlays.length;i++){(function(){var o=hs.$("hsId"+exp.overlays[i]);if(o&&o.hideOnMouseOut){if(_4b){hs.setStyles(o,{visibility:"visible",display:""});}hs.animate(o,{opacity:_4b?o.opacity:0},o.dur);}})();}}catch(e){}},addEventListener:function(el,_50,_51){if(el==document&&_50=="ready"){hs.push(hs.onReady,_51);}try{el.addEventListener(_50,_51,false);}catch(e){try{el.detachEvent("on"+_50,_51);el.attachEvent("on"+_50,_51);}catch(e){el["on"+_50]=_51;}}},removeEventListener:function(el,_53,_54){try{el.removeEventListener(_53,_54,false);}catch(e){try{el.detachEvent("on"+_53,_54);}catch(e){el["on"+_53]=null;}}},preloadFullImage:function(i){if(hs.continuePreloading&&hs.preloadTheseImages[i]&&hs.preloadTheseImages[i]!="undefined"){var img=document.createElement("img");img.onload=function(){img=null;hs.preloadFullImage(i+1);};img.src=hs.preloadTheseImages[i];}},preloadImages:function(_57){if(_57&&typeof _57!="object"){hs.numberOfImagesToPreload=_57;}var arr=hs.getAnchors();for(var i=0;i<arr.images.length&&i<hs.numberOfImagesToPreload;i++){hs.push(hs.preloadTheseImages,hs.getSrc(arr.images[i]));}hs.preloadFullImage(0);if(hs.restoreCursor){var cur=hs.createElement("img",{src:hs.graphicsDir+hs.restoreCursor});}},init:function(){if(!hs.container){hs.getPageSize();hs.ieLt7=hs.ie&&hs.uaVersion<7;for(var x in hs.langDefaults){if(typeof hs[x]!="undefined"){hs.lang[x]=hs[x];}else{if(typeof hs.lang[x]=="undefined"&&typeof hs.langDefaults[x]!="undefined"){hs.lang[x]=hs.langDefaults[x];}}}hs.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);Math.linearTween=function(t,b,c,d){return c*t/d+b;};Math.easeInQuad=function(t,b,c,d){return c*(t/=d)*t+b;};}},ready:function(){if(hs.isReady){return;}hs.isReady=true;for(var i=0;i<hs.onReady.length;i++){hs.onReady[i]();}},updateAnchors:function(){var el,els,all=[],_68=[],_69={},re;for(var i=0;i<hs.openerTagNames.length;i++){els=document.getElementsByTagName(hs.openerTagNames[i]);for(var j=0;j<els.length;j++){el=els[j];re=hs.isHsAnchor(el);if(re){hs.push(all,el);if(re[0]=="hs.expand"){hs.push(_68,el);}var g=hs.getParam(el,"slideshowGroup")||"none";if(!_69[g]){_69[g]=[];}hs.push(_69[g],el);}}}hs.anchors={all:all,groups:_69,images:_68};return hs.anchors;},getAnchors:function(){return hs.anchors||hs.updateAnchors();},close:function(el){var exp=hs.getExpander(el);if(exp){exp.close();}return false;}};hs.fx=function(_70,_71,_72){this.options=_71;this.elem=_70;this.prop=_72;if(!_71.orig){_71.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(_73,to,_75){this.startTime=(new Date()).getTime();this.start=_73;this.end=to;this.unit=_75;this.now=this.start;this.pos=this.state=0;var _76=this;function t(_77){return _76.step(_77);}t.elem=this.elem;if(t()&&hs.timers.push(t)==1){hs.timerId=setInterval(function(){var _78=hs.timers;for(var i=0;i<_78.length;i++){if(!_78[i]()){_78.splice(i--,1);}}if(!_78.length){clearInterval(hs.timerId);}},13);}},step:function(_7a){var t=(new Date()).getTime();if(_7a||t>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var _7c=true;for(var i in this.options.curAnim){if(this.options.curAnim[i]!==true){_7c=false;}}if(_7c){if(this.options.complete){this.options.complete.call(this.elem);}}return false;}else{var n=t-this.startTime;this.state=n/this.options.duration;this.pos=this.options.easing(n,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(fx){hs.setStyles(fx.elem,{opacity:fx.now});},_default:function(fx){try{if(fx.elem.style&&fx.elem.style[fx.prop]!=null){fx.elem.style[fx.prop]=fx.now+fx.unit;}else{fx.elem[fx.prop]=fx.now;}}catch(e){}}}});hs.Dimension=function(exp,dim){this.exp=exp;this.dim=dim;this.ucwh=dim=="x"?"Width":"Height";this.wh=this.ucwh.toLowerCase();this.uclt=dim=="x"?"Left":"Top";this.lt=this.uclt.toLowerCase();this.ucrb=dim=="x"?"Right":"Bottom";this.rb=this.ucrb.toLowerCase();this.p1=this.p2=0;};hs.Dimension.prototype={get:function(key){switch(key){case "loadingPos":return this.tpos+this.tb+(this.t-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;case "osize":return this.get("wsize");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 exp=this.exp;this.justify="auto";this.pos=this.tpos-this.cb+this.tb;if(this.maxHeight&&this.dim=="x"){exp.maxWidth=Math.min(exp.maxWidth||this.full,exp.maxHeight*this.full/exp.y.full);}this.size=Math.min(this.full,exp["max"+this.ucwh]||this.full);this.minSize=exp.allowSizeReduction?Math.min(exp["min"+this.ucwh],this.full):this.full;if(exp.isImage&&exp.useBox){this.size=exp[this.wh];this.imgSize=this.full;}if(this.dim=="x"&&hs.padToMinWidth){this.minSize=exp.minWidth;}this.marginMin=hs["margin"+this.uclt];this.scroll=hs.page["scroll"+this.uclt];this.clientSize=hs.page[this.wh];},setSize:function(i){var exp=this.exp;if(exp.isImage&&(exp.useBox||hs.padToMinWidth)){this.imgSize=i;this.size=Math.max(this.size,this.imgSize);exp.content.style[this.lt]=this.get("imgPad")+"px";}else{this.size=i;}exp.content.style[this.wh]=i+"px";exp.wrapper.style[this.wh]=this.get("wsize")+"px";if(this.dim=="x"&&exp.overlayBox){exp.sizeOverlayBox(true);}},setPos:function(i){this.pos=i;this.exp.wrapper.style[this.lt]=i+"px";}};hs.Expander=function(a,_89,_8a,_8b){if(document.readyState&&hs.ie&&!hs.isReady){hs.addEventListener(document,"ready",function(){new hs.Expander(a,_89,_8a,_8b);});return;}this.a=a;this.custom=_8a;this.contentType=_8b||"image";this.isImage=!this.isHtml;hs.continuePreloading=false;this.overlays=[];hs.init();var key=this.key=hs.expanders.length;for(var i=0;i<hs.overrides.length;i++){var _8e=hs.overrides[i];this[_8e]=_89&&typeof _89[_8e]!="undefined"?_89[_8e]:hs[_8e];}if(!this.src){this.src=a.href;}var el=(_89&&_89.thumbnailId)?hs.$(_89.thumbnailId):a;el=this.thumb=el.getElementsByTagName("img")[0]||el;this.thumbsUserSetId=el.id||a.id;for(var i=0;i<hs.expanders.length;i++){if(hs.expanders[i]&&hs.expanders[i].a==a){hs.expanders[i].focus();return false;}}if(!hs.allowSimultaneousLoading){for(var i=0;i<hs.expanders.length;i++){if(hs.expanders[i]&&hs.expanders[i].thumb!=el&&!hs.expanders[i].onLoadStarted){hs.expanders[i].cancelLoading();}}}hs.expanders[key]=this;if(hs.expanders[key-1]){hs.expanders[key-1].close();}if(typeof hs.focusKey!="undefined"&&hs.expanders[hs.focusKey]){hs.expanders[hs.focusKey].close();}this.el=el;this.tpos=this.pageOrigin||hs.getPosition(el);hs.getPageSize();var x=this.x=new hs.Dimension(this,"x");x.calcThumb();var y=this.y=new hs.Dimension(this,"y");y.calcThumb();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;this[this.contentType+"Create"]();return true;};hs.Expander.prototype={error:function(e){if(hs.debug){alert("Line "+e.lineNumber+": "+e.message);}else{window.location.href=this.src;}},showLoading:function(){if(this.onLoadStarted||this.loading){return;}this.loading=hs.loading;var exp=this;this.loading.onclick=function(){exp.cancelLoading();};var exp=this,l=this.x.get("loadingPos")+"px",t=this.y.get("loadingPos")+"px";setTimeout(function(){if(exp.loading){hs.setStyles(exp.loading,{left:l,top:t,zIndex:hs.zIndexCounter++});}},100);},imageCreate:function(){var exp=this;var img=document.createElement("img");this.content=img;img.onload=function(){if(hs.expanders[exp.key]){exp.contentLoaded();}};img.onclick=function(){try{exp.close();}catch(e){}};if(hs.blockRightClick){img.oncontextmenu=function(){return false;};}img.className="highslide-image";hs.setStyles(img,{visibility:"hidden",display:"block",position:"absolute",maxWidth:"9999px",zIndex:3});img.title=hs.lang.restoreTitle;if(hs.safari&&hs.uaVersion<525){hs.container.appendChild(img);}if(hs.ie&&hs.flushImgSize){img.src=null;}img.src=this.src;this.showLoading();},contentLoaded:function(){try{if(!this.content){return;}this.content.onload=null;if(this.onLoadStarted){return;}else{this.onLoadStarted=true;}var x=this.x,y=this.y;if(this.loading){hs.setStyles(this.loading,{top:"-9999px"});this.loading=null;}x.full=this.content.width;y.full=this.content.height;hs.setStyles(this.content,{width:x.t+"px",height:y.t+"px"});this.wrapper.appendChild(this.content);hs.container.appendChild(this.wrapper);x.calcBorders();y.calcBorders();hs.setStyles(this.wrapper,{left:(x.tpos+x.tb-x.cb)+"px",top:(y.tpos+x.tb-y.cb)+"px"});this.getOverlays();var _9a=x.full/y.full;x.calcExpanded();this.justify(x);y.calcExpanded();this.justify(y);if(this.overlayBox){this.sizeOverlayBox(0,1);}if(this.allowSizeReduction){this.correctRatio(_9a);if(this.isImage&&this.x.full>(this.x.imgSize||this.x.size)){this.createFullExpand();if(this.overlays.length==1){this.sizeOverlayBox();}}}this.show();}catch(e){this.error(e);}},justify:function(p,_9c){var _9d,tgt=p.target,dim=p==this.x?"x":"y";var _a0=false;var _a1=p.exp.allowSizeReduction;p.pos=Math.round(p.pos-((p.get("wsize")-p.t)/2));if(p.pos<p.scroll+p.marginMin){p.pos=p.scroll+p.marginMin;_a0=true;}if(!_9c&&p.size<p.minSize){p.size=p.minSize;_a1=false;}if(p.pos+p.get("wsize")>p.scroll+p.clientSize-p.marginMax){if(!_9c&&_a0&&_a1){p.size=Math.min(p.size,p.get(dim=="y"?"fitsize":"maxsize"));}else{if(p.get("wsize")<p.get("fitsize")){p.pos=p.scroll+p.clientSize-p.marginMax-p.get("wsize");}else{p.pos=p.scroll+p.marginMin;if(!_9c&&_a1){p.size=p.get(dim=="y"?"fitsize":"maxsize");}}}}if(!_9c&&p.size<p.minSize){p.size=p.minSize;_a1=false;}if(p.pos<p.marginMin){var _a2=p.pos;p.pos=p.marginMin;if(_a1&&!_9c){p.size=p.size-(p.pos-_a2);}}},correctRatio:function(_a3){var x=this.x,y=this.y,_a6=false,_a7=Math.min(x.full,x.size),_a8=Math.min(y.full,y.size),_a9=(this.useBox||hs.padToMinWidth);if(_a7/_a8>_a3){_a7=_a8*_a3;if(_a7<x.minSize){_a7=x.minSize;_a8=_a7/_a3;}_a6=true;}else{if(_a7/_a8<_a3){_a8=_a7/_a3;_a6=true;}}if(hs.padToMinWidth&&x.full<x.minSize){x.imgSize=x.full;y.size=y.imgSize=y.full;}else{if(this.useBox){x.imgSize=_a7;y.imgSize=_a8;}else{x.size=_a7;y.size=_a8;}}_a6=this.fitOverlayBox(this.useBox?null:_a3,_a6);if(_a9&&y.size<y.imgSize){y.imgSize=y.size;x.imgSize=y.size*_a3;}if(_a6||_a9){x.pos=x.tpos-x.cb+x.tb;x.minSize=x.size;this.justify(x,true);y.pos=y.tpos-y.cb+y.tb;y.minSize=y.size;this.justify(y,true);if(this.overlayBox){this.sizeOverlayBox();}}},fitOverlayBox:function(_aa,_ab){var x=this.x,y=this.y;if(this.overlayBox){while(y.size>this.minHeight&&x.size>this.minWidth&&y.get("wsize")>y.get("fitsize")){y.size-=10;if(_aa){x.size=y.size*_aa;}this.sizeOverlayBox(0,1);_ab=true;}}return _ab;},show:function(){var x=this.x,y=this.y;this.changeSize(1,{wrapper:{width:x.get("wsize"),height:y.get("wsize"),left:x.pos,top:y.pos},content:{left:x.p1+x.get("imgPad"),top:y.p1+y.get("imgPad"),width:x.imgSize||x.size,height:y.imgSize||y.size}},hs.expandDuration);},changeSize:function(up,to,dur){if(!up){this.destroyOverlays();}var exp=this,x=exp.x,y=exp.y,_b6=this.easing;if(!up){_b6=this.easingClose||_b6;}var _b7=up?function(){setTimeout(function(){exp.afterExpand();},50);}:function(){exp.afterClose();};if(up){hs.setStyles(this.wrapper,{width:x.t+"px",height:y.t+"px"});}if(this.fadeInOut){hs.setStyles(this.wrapper,{opacity:up?0:1});hs.extend(to.wrapper,{opacity:up});}hs.animate(this.wrapper,to.wrapper,{duration:dur,easing:_b6,step:function(val,_b9){}});hs.animate(this.content,to.content,dur,_b6,_b7);if(up){this.wrapper.style.visibility="visible";this.content.style.visibility="visible";this.a.className+=" highslide-active-anchor";}},afterExpand:function(){this.isExpanded=true;this.focus();if(hs.upcoming&&hs.upcoming==this.a){hs.upcoming=null;}var key=this.key;try{hs.expanders[key].preloadNext();}catch(e){}var p=hs.page,mX=hs.mouse.x+p.scrollLeft,mY=hs.mouse.y+p.scrollTop;this.mouseIsOver=this.x.pos<mX&&mX<this.x.pos+this.x.get("wsize")&&this.y.pos<mY&&mY<this.y.pos+this.y.get("wsize");if(this.overlayBox){this.showOverlays();}},preloadNext:function(){var _be=this.getAdjacentAnchor(1);if(_be&&_be.onclick.toString().match(/hs\.expand/)){var img=hs.createElement("img",{src:hs.getSrc(_be)});}},getAdjacentAnchor:function(op){var _c1=this.getAnchorIndex(),as=hs.anchors.groups[this.slideshowGroup||"none"];return (as&&as[_c1+op])||null;},getAnchorIndex:function(){var arr=hs.getAnchors().groups[this.slideshowGroup||"none"];if(arr){for(var i=0;i<arr.length;i++){if(arr[i]==this.a){return i;}}}return null;},cancelLoading:function(){hs.discardElement(this.wrapper);hs.expanders[this.key]=null;if(this.loading){hs.loading.style.left="-9999px";}},getInline:function(_c5,_c6){for(var i=0;i<_c5.length;i++){var _c8=_c5[i],s=null;if(!this[_c8+"Id"]&&this.thumbsUserSetId){this[_c8+"Id"]=_c8+"-for-"+this.thumbsUserSetId;}if(this[_c8+"Id"]){this[_c8]=hs.getNode(this[_c8+"Id"]);}if(!this[_c8]&&!this[_c8+"Text"]&&this[_c8+"Eval"]){try{s=eval(this[_c8+"Eval"]);}catch(e){}}if(!this[_c8]&&this[_c8+"Text"]){s=this[_c8+"Text"];}if(!this[_c8]&&!s){this[_c8]=hs.getNode(this.a["_"+_c8+"Id"]);if(!this[_c8]){var _ca=this.a.nextSibling;while(_ca&&!hs.isHsAnchor(_ca)){if((new RegExp("highslide-"+_c8)).test(_ca.className||null)){if(!_ca.id){this.a["_"+_c8+"Id"]=_ca.id="hsId"+hs.idCounter++;}this[_c8]=hs.getNode(_ca.id);break;}_ca=_ca.nextSibling;}}}if(!this[_c8]&&s){this[_c8]=hs.createElement("div",{className:"highslide-"+_c8,innerHTML:s});}if(_c6&&this[_c8]){var o={position:(_c8=="heading")?"above":"below"};for(var x in this[_c8+"Overlay"]){o[x]=this[_c8+"Overlay"][x];}o.overlayId=this[_c8];this.createOverlay(o);}}},focus:function(){this.wrapper.style.zIndex=hs.zIndexCounter+=2;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);},moveTo:function(x,y){this.x.setPos(x);this.y.setPos(y);},resize:function(e){var w,h,r=e.width/e.height;w=Math.max(e.width+e.dX,Math.min(this.minWidth,this.x.full));if(this.isImage&&Math.abs(w-this.x.full)<12){w=this.x.full;}h=w/r;if(h<Math.min(this.minHeight,this.y.full)){h=Math.min(this.minHeight,this.y.full);if(this.isImage){w=h*r;}}this.resizeTo(w,h);},resizeTo:function(w,h){this.y.setSize(h);this.x.setSize(w);this.wrapper.style.height=this.y.get("wsize")+"px";},close:function(){if(this.isClosing||!this.isExpanded){return;}this.isClosing=true;hs.removeEventListener(document,window.opera?"keypress":"keydown",hs.keyHandler);try{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(e){this.afterClose();}},createOverlay:function(o){var el=o.overlayId;if(typeof el=="string"){el=hs.getNode(el);}if(o.html){el=hs.createElement("div",{innerHTML:o.html});}if(!el||typeof el=="string"){return;}el.style.display="block";this.genOverlayBox();var _d7=o.width&&/^[0-9]+(px|%)$/.test(o.width)?o.width:"auto";if(/^(left|right)panel$/.test(o.position)&&!/^[0-9]+px$/.test(o.width)){_d7="200px";}var _d8=hs.createElement("div",{id:"hsId"+hs.idCounter++,hsId:o.hsId},{position:"absolute",visibility:"hidden",width:_d7,direction:hs.lang.cssDirection||"",opacity:0},this.overlayBox,true);_d8.appendChild(el);hs.extend(_d8,{opacity:1,offsetX:0,offsetY:0,dur:(o.fade===0||o.fade===false||(o.fade==2&&hs.ie))?0:250});hs.extend(_d8,o);if(this.gotOverlays){this.positionOverlay(_d8);if(!_d8.hideOnMouseOut||this.mouseIsOver){hs.animate(_d8,{opacity:_d8.opacity},_d8.dur);}}hs.push(this.overlays,hs.idCounter-1);},positionOverlay:function(_d9){var p=_d9.position||"middle center",_db=_d9.offsetX,_dc=_d9.offsetY;if(_d9.parentNode!=this.overlayBox){this.overlayBox.appendChild(_d9);}if(/left$/.test(p)){_d9.style.left=_db+"px";}if(/center$/.test(p)){hs.setStyles(_d9,{left:"50%",marginLeft:(_db-Math.round(_d9.offsetWidth/2))+"px"});}if(/right$/.test(p)){_d9.style.right=-_db+"px";}if(/^leftpanel$/.test(p)){hs.setStyles(_d9,{right:"100%",marginRight:this.x.cb+"px",top:-this.y.cb+"px",bottom:-this.y.cb+"px",overflow:"auto"});this.x.p1=_d9.offsetWidth;}else{if(/^rightpanel$/.test(p)){hs.setStyles(_d9,{left:"100%",marginLeft:this.x.cb+"px",top:-this.y.cb+"px",bottom:-this.y.cb+"px",overflow:"auto"});this.x.p2=_d9.offsetWidth;}}if(/^top/.test(p)){_d9.style.top=_dc+"px";}if(/^middle/.test(p)){hs.setStyles(_d9,{top:"50%",marginTop:(_dc-Math.round(_d9.offsetHeight/2))+"px"});}if(/^bottom/.test(p)){_d9.style.bottom=-_dc+"px";}if(/^above$/.test(p)){hs.setStyles(_d9,{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=_d9.offsetHeight;}else{if(/^below$/.test(p)){hs.setStyles(_d9,{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=_d9.offsetHeight;_d9.style.position="absolute";}}},getOverlays:function(){this.getInline(["heading","caption"],true);for(var i=0;i<hs.overlays.length;i++){var o=hs.overlays[i],tId=o.thumbnailId,sg=o.slideshowGroup;if((!tId&&!sg)||(tId&&tId==this.thumbsUserSetId)||(sg&&sg===this.slideshowGroup)){this.createOverlay(o);}}var os=[];for(var i=0;i<this.overlays.length;i++){var o=hs.$("hsId"+this.overlays[i]);if(/panel$/.test(o.position)){this.positionOverlay(o);}else{hs.push(os,o);}}for(var i=0;i<os.length;i++){this.positionOverlay(os[i]);}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(_e2,_e3){var _e4=this.overlayBox,x=this.x,y=this.y;hs.setStyles(_e4,{width:x.size+"px",height:y.size+"px"});if(_e2||_e3){for(var i=0;i<this.overlays.length;i++){var o=hs.$("hsId"+this.overlays[i]);var ie6=(hs.ieLt7||document.compatMode=="BackCompat");if(o&&/^(above|below)$/.test(o.position)){if(ie6){o.style.width=(_e4.offsetWidth+2*x.cb+x.p1+x.p2)+"px";}y[o.position=="above"?"p1":"p2"]=o.offsetHeight;}if(o&&ie6&&/^(left|right)panel$/.test(o.position)){o.style.height=(_e4.offsetHeight+2*y.cb)+"px";}}}if(_e2){hs.setStyles(this.content,{top:y.p1+"px"});hs.setStyles(_e4,{top:(y.p1+y.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 i=0;i<this.overlays.length;i++){var o=hs.$("hsId"+this.overlays[i]);o.style.zIndex=o.zIndex||4;if(!o.hideOnMouseOut||this.mouseIsOver){o.style.visibility="visible";hs.setStyles(o,{visibility:"visible",display:""});hs.animate(o,{opacity:o.opacity},o.dur);}}},destroyOverlays:function(){if(!this.overlays.length){return;}hs.discardElement(this.overlayBox);},createFullExpand:function(){this.fullExpandLabel=hs.createElement("a",{href:"javascript:hs.expanders["+this.key+"].doFullExpand();",title:hs.lang.fullExpandTitle,className:"highslide-full-expand"});this.createOverlay({overlayId:this.fullExpandLabel,position:hs.fullExpandPosition,hideOnMouseOut:true,opacity:hs.fullExpandOpacity});},doFullExpand:function(){try{if(this.fullExpandLabel){hs.discardElement(this.fullExpandLabel);}this.focus();var _ed=this.x.size;this.resizeTo(this.x.full,this.y.full);var _ee=this.x.pos-(this.x.size-_ed)/2;if(_ee<hs.marginLeft){_ee=hs.marginLeft;}this.moveTo(_ee,this.y.pos);}catch(e){this.error(e);}},afterClose:function(){this.a.className=this.a.className.replace("highslide-active-anchor","");hs.discardElement(this.wrapper);hs.expanders[this.key]=null;}};hs.langDefaults=hs.lang;var HsExpander=hs.Expander;if(hs.ie&&window==window.top){(function(){try{document.documentElement.doScroll("left");}catch(e){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){var _ef=hs.createElement("style",{type:"text/css"},null,document.getElementsByTagName("HEAD")[0]);function addRule(sel,dec){if(!hs.ie){_ef.appendChild(document.createTextNode(sel+" {"+dec+"}"));}else{var _f2=document.styleSheets[document.styleSheets.length-1];if(typeof (_f2.addRule)=="object"){_f2.addRule(sel,dec);}}}function fix(_f3){return "expression( ( ( ignoreMe = document.documentElement."+_f3+" ? document.documentElement."+_f3+" : document.body."+_f3+" ) ) + 'px' );";}if(hs.expandCursor){addRule(".highslide img","cursor: url("+hs.graphicsDir+hs.expandCursor+"), pointer !important;");}}});hs.addEventListener(window,"resize",function(){hs.getPageSize();});hs.addEventListener(document,"mousemove",function(e){hs.mouse={x:e.clientX,y:e.clientY};});hs.addEventListener(document,"ready",hs.getAnchors);hs.addEventListener(window,"load",hs.preloadImages);}
