var mtCookieName="mt_blog_user";var mtCookieDomain=".log.ineffable.co.za";var mtCookiePath="/";var mtCookieTimeout=14400;function mtHide(id){var el=typeof id=="string"?document.getElementById(id):id;if(el)el.style.display="none"}function mtShow(id){var el=typeof id=="string"?document.getElementById(id):id;if(el)el.style.display="block"}
function mtAttachEvent(eventName,func){var onEventName="on"+eventName;var old=window[onEventName];if(typeof old!="function")window[onEventName]=func;else window[onEventName]=function(evt){old(evt);return func(evt)}}function mtFireEvent(eventName,param){var fn=window["on"+eventName];if(typeof fn=="function")return fn(param);return}
function mtRelativeDate(ts,fds){var now=new Date;var ref=ts;var delta=Math.floor((now.getTime()-ref.getTime())/1E3);var str;if(delta<60)str="moments ago";else if(delta<=86400){var hours=Math.floor(delta/3600);var min=Math.floor(delta%3600/60);if(hours==1)str="1 hour ago";else if(hours>1)str="2 hours ago".replace(/2/,hours);else if(min==1)str="1 minute ago";else str="2 minutes ago".replace(/2/,min)}else if(delta<=604800){var days=Math.floor(delta/86400);var hours=Math.floor(delta%86400/3600);if(days==1)str="1 day ago";else if(days>1)str="2 days ago".replace(/2/,days);else if(hours==1)str="1 hour ago";else str="2 hours ago".replace(/2/,hours)}return str?str:fds}function mtEditLink(entry_id,author_id){var u=mtGetUser();if(!u)return;if(!entry_id)return;if(!author_id)return;if(u.id!=author_id)return;var link='<a href="mt.cgi?__mode=view&amp;_type=entry&amp;id='+entry_id+'">Edit</a>';document.write(link)}function mtCommentFormOnFocus(){mtShowCaptcha()}var mtCaptchaVisible=false;function mtShowCaptcha(){var u=mtGetUser();if(u&&u.is_authenticated)return;if(mtCaptchaVisible)return;var div=document.getElementById("comments-form-captcha");if(div){div.innerHTML='<div id="recaptcha_script" style="display:block"><script type="text/javascript"   src="http://api.recaptcha.net/challenge?k=6LeVkQkAAAAAAB_7mIa4oDHUPs02ks9h1UYb0naz "><\/script><noscript>   <iframe src="http://api.recaptcha.net/noscript?k=6LeVkQkAAAAAAB_7mIa4oDHUPs02ks9h1UYb0naz "       height="300" width="500" frameborder="0"></iframe><br>   <textarea name="recaptcha_challenge_field" rows="3" cols="40">   </textarea>   <input type="hidden" name="recaptcha_response_field"        value="manual_challenge"></noscript></div><script type="text/javascript">if ( typeof(mtCaptchaVisible) != "undefined" )    mtCaptchaVisible = true;else if ( typeof(commenter_name) != "undefined" ) {    var div = document.getElementById("recaptcha_script");    if (commenter_name)        div.style.display = "none";    else        div.style.display = "block";}<\/script>';mtCaptchaVisible=true}}var is_preview;var user;function mtSetUser(u){if(u){user=u;mtSaveUser();mtFireEvent("usersignin")}}function mtEscapeJS(s){s=s.replace(/'/g,"&apos;");return s}function mtUnescapeJS(s){s=s.replace(/&apos;/g,"'");return s}
function mtBakeUserCookie(u){var str="";if(u.name)str+="name:'"+mtEscapeJS(u.name)+"';";if(u.url)str+="url:'"+mtEscapeJS(u.url)+"';";if(u.email)str+="email:'"+mtEscapeJS(u.email)+"';";if(u.is_authenticated)str+="is_authenticated:'1';";if(u.profile)str+="profile:'"+mtEscapeJS(u.profile)+"';";if(u.userpic)str+="userpic:'"+mtEscapeJS(u.userpic)+"';";if(u.sid)str+="sid:'"+mtEscapeJS(u.sid)+"';";str+="is_trusted:'"+(u.is_trusted?"1":"0")+"';";str+="is_author:'"+(u.is_author?"1":"0")+"';";str+="is_banned:'"+
(u.is_banned?"1":"0")+"';";str+="can_post:'"+(u.can_post?"1":"0")+"';";str+="can_comment:'"+(u.can_comment?"1":"0")+"';";str=str.replace(/;$/,"");return str}
function mtUnbakeUserCookie(s){if(!s)return;var u={};var m;while(m=s.match(/^((name|url|email|is_authenticated|profile|userpic|sid|is_trusted|is_author|is_banned|can_post|can_comment):'([^']+?)';?)/)){s=s.substring(m[1].length);if(m[2].match(/^(is|can)_/))u[m[2]]=m[3]=="1"?true:false;else u[m[2]]=mtUnescapeJS(m[3])}if(u.is_authenticated)u.is_anonymous=false;else{u.is_anonymous=true;u.can_post=false;u.is_author=false;u.is_banned=false;u.is_trusted=false}return u}
function mtGetUser(){if(!user){var cookie=mtGetCookie(mtCookieName);if(!cookie)return;user=mtUnbakeUserCookie(cookie);if(!user){user={};user.is_anonymous=true;user.can_post=false;user.is_author=false;user.is_banned=false;user.is_trusted=false}}return user}var mtFetchedUser=false;function mtFetchUser(cb){if(!cb)cb="mtSetUser";if(cb=="mtSetUser"&&mtGetUser()){var url=document.URL;url=url.replace(/#.+$/,"");url+="#comments-open";location.href=url}else{mtFetchedUser=true;var script=document.createElement("script");var ts=(new Date).getTime();script.src="http://log.ineffable.co.za/cgi-bin/mt/mt-comments.cgi?__mode=session_js&blog_id=1&jsonp="+cb+"&ts="+ts;document.getElementsByTagName("head")[0].appendChild(script)}}
function mtRememberMeOnClick(b){if(!b.checked)mtClearUser(b.form);return true}var mtRequestSubmitted=false;function mtCommentOnSubmit(f){if(!mtRequestSubmitted){mtRequestSubmitted=true;if(f.armor)f.armor.value="57375625cf0de65fd3c4f0e561ff58800c315be7";if(f.bakecookie&&f.bakecookie.checked)mtSaveUser(f);if(f.preview_button)f.preview_button.disabled=true;if(f.post)f.post.disabled=true;var u=mtGetUser();if(!is_preview&&u&&u.is_authenticated){mtFetchedUser=false;mtFetchUser("mtCommentSessionVerify");return false}return true}return false}
function mtCommentSessionVerify(app_user){var u=mtGetUser();var f=document["comments_form"];if(u&&app_user&&app_user.sid&&u.sid==app_user.sid)f.submit();else{alert("Your session has expired. Please sign in again to comment.");mtClearUser();mtFireEvent("usersignin")}}
function mtUserOnLoad(){var u=mtGetUser();if(document.getElementById("commentform")){if(u&&u.is_authenticated){mtShow("commentform");mtHide("comment-form-commenter");if(mtCaptchaVisible)mtHide("comments-form-captcha")}else;if(u&&u.is_banned)mtHide("commentform");if(is_preview)mtShowCaptcha();else mtShowGreeting();var cf=document["comments_form"];if(cf){if(u&&u.is_anonymous){if(u.email)cf.email.value=u.email;if(u.name)cf.author.value=u.name;if(u.url)cf.url.value=u.url;if(cf.bakecookie)cf.bakecookie.checked=u.name||u.email}else if(u&&u.sid&&cf.sid)cf.sid.value=u.sid;if(cf.post.disabled)cf.post.disabled=false;if(cf.preview_button.disabled)cf.preview_button.disabled=false;mtRequestSubmitted=false}}}function mtEntryOnLoad(){mtFireEvent("usersignin")}
function mtEntryOnUnload(){if(mtRequestSubmitted){var cf=document["comments_form"];if(cf){if(cf.post&&cf.post.disabled)cf.post.disabled=false;if(cf.preview_button&&cf.preview_button.disabled)cf.preview_button.disabled=false}mtRequestSubmitted=false}return true}mtAttachEvent("usersignin",mtUserOnLoad);function mtSignIn(){var doc_url=document.URL;doc_url=doc_url.replace(/#.+/,"");var url="http://log.ineffable.co.za/cgi-bin/mt/mt-cp.cgi?__mode=login&blog_id=1";if(is_preview)if(document["comments_form"]){var entry_id=document["comments_form"].entry_id.value;url+="&entry_id="+entry_id}else url+="&return_url=http%3A%2F%2Flog.ineffable.co.za%2F";else url+="&return_url="+encodeURIComponent(doc_url);mtClearUser();location.href=url}
function mtSignInOnClick(sign_in_element){var el;if(sign_in_element){el=document.getElementById(sign_in_element);if(!el)el=document.getElementById("comment-form-external-auth")}if(el)el.innerHTML='Signing in... <span class="status-indicator">&nbsp;</span>';mtClearUser();mtFetchUser("mtSetUserOrLogin");return false}function mtSetUserOrLogin(u){if(u&&u.is_authenticated)mtSetUser(u);else mtSignIn()}
function mtSignOut(entry_id){mtClearUser();var doc_url=document.URL;doc_url=doc_url.replace(/#.+/,"");var url="http://log.ineffable.co.za/cgi-bin/mt/mt-cp.cgi?__mode=logout&static=0";if(is_preview)if(document["comments_form"]){var entry_id=document["comments_form"].entry_id.value;url+="&entry_id="+entry_id}else url+="&return_url=http%3A%2F%2Flog.ineffable.co.za%2F";else url+="&return_url="+encodeURIComponent(doc_url);location.href=url}function mtSignOutOnClick(){mtSignOut();return false}
function mtShowGreeting(){var reg_reqd=false;var cf=document["comments_form"];if(!cf)return;var el=document.getElementById("comment-greeting");if(!el)el=document.getElementById("comment-form-external-auth");if(!el)return;var eid=cf.entry_id;var entry_id;if(eid)entry_id=eid.value;var phrase;var u=mtGetUser();if(u&&u.is_authenticated)if(u.is_banned)phrase='<p id="login"><span class="loggedin">You do not have permission to comment on this blog.</span> <span class="logout">(<a href="javascript:void(0);" onclick="return mtSignOutOnClick();">sign out</a>)</span></p>';else{var user_link;if(u.is_author){user_link='<a href="http://log.ineffable.co.za/cgi-bin/mt/mt-comments.cgi?__mode=edit_profile&return_url='+encodeURIComponent(location.href);user_link+='">'+u.name+"</a>"}else if(u.url)user_link='<a href="'+u.url+'">'+u.name+"</a>";else user_link=u.name;phrase='<p id="login"><span class="loggedin">Thanks for signing in, __NAME__.</span> <span class="logout">(<a href="javascript:void(0)" onclick="return mtSignOutOnClick();">sign out</a>)</span></p>';phrase=phrase.replace(/__NAME__/,user_link)}else if(reg_reqd)phrase='<p id="comment-notes"><a href="javascript:void(0)" onclick="return mtSignInOnClick(\'comment-greeting\')">Sign in</a> to comment.</p>';else phrase='<p id="comment-notes"><a href="javascript:void(0)" onclick="return mtSignInOnClick(\'comment-greeting\')">Sign in</a> to comment, or comment anonymously. Your email is <em>never</em> published nor shared. Required fields are marked <span class="required">*</span></p>';el.innerHTML=phrase}
function mtReplyCommentOnClick(parent_id,author){mtShow("comment-form-reply");var checkbox=document.getElementById("comment-reply");var label=document.getElementById("comment-reply-label");var text=document.getElementById("comment-text");var reply_text='Replying to <a href="#comment-__PARENT__" onclick="location.href=this.href; return false">comment from __AUTHOR__</a>';reply_text=reply_text.replace(/__PARENT__/,parent_id);reply_text=reply_text.replace(/__AUTHOR__/,author);label.innerHTML=reply_text;checkbox.value=parent_id;checkbox.checked=true;try{text.focus()}catch(e){}mtSetCommentParentID()}function mtSetCommentParentID(){var checkbox=document.getElementById("comment-reply");var parent_id_field=document.getElementById("comment-parent-id");if(!checkbox||!parent_id_field)return;var pid=0;if(checkbox.checked==true)pid=checkbox.value;parent_id_field.value=pid}
function mtSaveUser(f){if(is_preview)return;var u=mtGetUser();if(f&&(!u||u.is_anonymous)){if(!u){u={};u.is_authenticated=false;u.can_comment=true;u.is_author=false;u.is_banned=false;u.is_anonymous=true;u.is_trusted=false}if(f.author!=undefined)u.name=f.author.value;if(f.email!=undefined)u.email=f.email.value;if(f.url!=undefined)u.url=f.url.value}if(!u)return;var cache_period=mtCookieTimeout*1E3;if(u.is_anonymous&&f&&f.bakecookie&&f.bakecookie.checked)cache_period=365*24*60*60*1E3;var now=new Date;mtFixDate(now);now.setTime(now.getTime()+cache_period);var cmtcookie=mtBakeUserCookie(u);mtSetCookie(mtCookieName,cmtcookie,now,mtCookiePath,mtCookieDomain,location.protocol=="https:")}function mtClearUser(){user=null;mtDeleteCookie(mtCookieName,mtCookiePath,mtCookieDomain,location.protocol=="https:")}
function mtSetCookie(name,value,expires,path,domain,secure){if(domain&&domain.match(/^\.?localhost$/))domain=null;var curCookie=name+"="+escape(value)+(expires?"; expires="+expires.toGMTString():"")+(path?"; path="+path:"")+(domain?"; domain="+domain:"")+(secure?"; secure":"");document.cookie=curCookie}
function mtGetCookie(name){var prefix=name+"=";var c=document.cookie;var cookieStartIndex=c.indexOf(prefix);if(cookieStartIndex==-1)return"";var cookieEndIndex=c.indexOf(";",cookieStartIndex+prefix.length);if(cookieEndIndex==-1)cookieEndIndex=c.length;return unescape(c.substring(cookieStartIndex+prefix.length,cookieEndIndex))}
function mtDeleteCookie(name,path,domain,secure){if(mtGetCookie(name)){if(domain&&domain.match(/^\.?localhost$/))domain=null;document.cookie=name+"="+(path?"; path="+path:"")+(domain?"; domain="+domain:"")+(secure?"; secure":"")+"; expires=Thu, 01-Jan-70 00:00:01 GMT"}}function mtFixDate(date){var skew=(new Date(0)).getTime();if(skew>0)date.setTime(date.getTime()-skew)}
function mtGetXmlHttp(){if(!window.XMLHttpRequest)window.XMLHttpRequest=function(){var types=["Microsoft.XMLHTTP","MSXML2.XMLHTTP.5.0","MSXML2.XMLHTTP.4.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP"];for(var i=0;i<types.length;i++)try{return new ActiveXObject(types[i])}catch(e){}return undefined};if(window.XMLHttpRequest)return new XMLHttpRequest}
function mtInit(){if(arguments.callee.done)return;arguments.callee.done=true;if(window._timer)clearInterval(window._timer);if(window.onload&&window.onload!==window.mtInit){window.onload();window.onload=function(){}}}if(document.addEventListener)document.addEventListener("DOMContentLoaded",mtInit,false);if(/WebKit/i.test(navigator.userAgent))_timer=setInterval(function(){if(/loaded|complete/.test(document.readyState))mtInit()},10);window.onload=mtInit;var clearCookie=window.location.hash&&window.location.hash.match(/^#_log(in|out)/)?true:false;if(clearCookie){mtClearUser();if(RegExp.$1=="in")mtFetchUser()}else if(is_preview&&!user)mtFetchUser();var Cufon=function(){var m=function(){return m.replace.apply(null,arguments)};var x=m.DOM={ready:function(){var C=false,E={loaded:1,complete:1};var B=[],D=function(){if(C)return;C=true;for(var F;F=B.shift();F());};if(document.addEventListener){document.addEventListener("DOMContentLoaded",D,false);window.addEventListener("pageshow",D,false)}if(!window.opera&&document.readyState)(function(){E[document.readyState]?D():setTimeout(arguments.callee,10)})();if(document.readyState&&document.createStyleSheet)(function(){try{document.body.doScroll("left");D()}catch(F){setTimeout(arguments.callee,1)}})();q(window,"load",D);return function(F){if(!arguments.length)D();else C?F():B.push(F)}}(),root:function(){return document.documentElement||document.body}};var n=m.CSS={Size:function(C,B){this.value=parseFloat(C);this.unit=String(C).match(/[a-z%]*$/)[0]||"px";this.convert=function(D){return D/B*this.value};this.convertFrom=function(D){return D/this.value*B};this.toString=function(){return this.value+this.unit}},addClass:function(C,B){var D=C.className;C.className=D+(D&&" ")+B;return C},color:j(function(C){var B={};B.color=C.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(E,D,F){B.opacity=parseFloat(F);return"rgb("+D+")"});return B}),fontStretch:j(function(B){if(typeof B=="number")return B;if(/%$/.test(B))return parseFloat(B)/100;return{"ultra-condensed":0.5,"extra-condensed":0.625,condensed:0.75,"semi-condensed":0.875,"semi-expanded":1.125,expanded:1.25,"extra-expanded":1.5,"ultra-expanded":2}[B]||1}),getStyle:function(C){var B=document.defaultView;if(B&&B.getComputedStyle)return new a(B.getComputedStyle(C,null));if(C.currentStyle)return new a(C.currentStyle);return new a(C.style)},gradient:j(function(F){var G={id:F,type:F.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},C=F.substr(F.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var E=0,B=C.length,D;E<B;++E){D=C[E].split("=",2).reverse();G.stops.push([D[1]||E/(B-1),D[0]])}return G}),quotedList:j(function(E){var D=[],C=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,B;while(B=C.exec(E))D.push(B[3]||B[1]);return D}),recognizesMedia:j(function(G){var E=document.createElement("style"),D,C,B;E.type="text/css";E.media=G;try{E.appendChild(document.createTextNode("/**/"))}catch(F){}C=g("head")[0];C.insertBefore(E,C.firstChild);D=E.sheet||E.styleSheet;B=D&&!D.disabled;C.removeChild(E);return B}),removeClass:function(D,C){var B=RegExp("(?:^|\\s+)"+C+"(?=\\s|$)","g");D.className=D.className.replace(B,"");return D},supports:function(D,C){var B=document.createElement("span").style;if(B[D]===undefined)return false;B[D]=C;return B[D]===C},textAlign:function(E,D,B,C){if(D.get("textAlign")=="right"){if(B>0)E=" "+E}else if(B<C-1)E+=" ";return E},textShadow:j(function(F){if(F=="none")return null;var E=[],G={},B,C=0;var D=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(B=D.exec(F))if(B[0]==","){E.push(G);G={};C=0}else if(B[1])G.color=B[1];else G[["offX","offY","blur"][C++]]=B[2];E.push(G);return E}),textTransform:function(){var B={uppercase:function(C){return C.toUpperCase()},lowercase:function(C){return C.toLowerCase()},capitalize:function(C){return C.replace(/\b./g,function(D){return D.toUpperCase()})}};return function(E,D){var C=B[D.get("textTransform")];return C?C(E):E}}(),whiteSpace:function(){var D={inline:1,"inline-block":1,"run-in":1};var C=/^\s+/,B=/\s+$/;return function(H,F,G,E){if(E)if(E.nodeName.toLowerCase()=="br")H=H.replace(C,"");if(D[F.get("display")])return H;if(!G.previousSibling)H=H.replace(C,"");if(!G.nextSibling)H=H.replace(B,"");return H}}()};n.ready=function(){var B=!n.recognizesMedia("all"),E=false;var D=[],H=function(){B=true;for(var K;K=D.shift();K());};var I=g("link"),J=g("style");function C(K){return K.disabled||G(K.sheet,K.media||"screen")}function G(M,P){if(!n.recognizesMedia(P||"all"))return true;if(!M||M.disabled)return false;try{var Q=M.cssRules,O;if(Q)search:for(var L=0,K=Q.length;O=Q[L],L<K;++L)switch(O.type){case 2:break;case 3:if(!G(O.styleSheet,O.media.mediaText))return false;break;default:break search}}catch(N){}return true}function F(){if(document.createStyleSheet)return true;var L,K;for(K=0;L=I[K];++K)if(L.rel.toLowerCase()=="stylesheet"&&!C(L))return false;for(K=0;L=J[K];++K)if(!C(L))return false;return true}x.ready(function(){if(!E)E=n.getStyle(document.body).isUsable();if(B||E&&F())H();else setTimeout(arguments.callee,10)});return function(K){if(B)K();else D.push(K)}}();function s(D){var C=this.face=D.face,B={" ":1,"\u00a0":1,"\u3000":1};this.glyphs=D.glyphs;this.w=D.w;this.baseSize=parseInt(C["units-per-em"],10);this.family=C["font-family"].toLowerCase();this.weight=C["font-weight"];this.style=C["font-style"]||"normal";this.viewBox=function(){var F=C.bbox.split(/\s+/);var E={minX:parseInt(F[0],10),minY:parseInt(F[1],10),maxX:parseInt(F[2],10),maxY:parseInt(F[3],10)};E.width=E.maxX-E.minX;E.height=E.maxY-E.minY;E.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")};return E}();this.ascent=-parseInt(C.ascent,10);this.descent=-parseInt(C.descent,10);this.height=-this.ascent+this.descent;this.spacing=function(L,N,E){var O=this.glyphs,M,K,G,P=[],F=0,J=-1,I=-1,H;while(H=L[++J]){M=O[H]||this.missingGlyph;if(!M)continue;if(K){F-=G=K[H]||0;P[I]-=G}F+=P[++I]=~~(M.w||this.w)+N+(B[H]?E:0);K=M.k}P.total=F;return P}}function f(){var C={},B={oblique:"italic",italic:"oblique"};this.add=function(D){(C[D.style]||(C[D.style]={}))[D.weight]=D};this.get=function(H,I){var G=C[H]||C[B[H]]||C.normal||C.italic||C.oblique;if(!G)return null;I={normal:400,bold:700}[I]||parseInt(I,10);if(G[I])return G[I];var E={1:1,99:0}[I%100],K=[],F,D;if(E===undefined)E=I>400;if(I==500)I=400;for(var J in G){if(!k(G,J))continue;J=parseInt(J,10);if(!F||J<F)F=J;if(!D||J>D)D=J;K.push(J)}if(I<F)I=F;if(I>D)I=D;K.sort(function(M,L){return(E?M>=I&&L>=I?M<L:M>L:M<=I&&L<=I?M>L:M<L)?-1:1});return G[K[0]]}}function r(){function D(F,G){if(F.contains)return F.contains(G);return F.compareDocumentPosition(G)&16}function B(G){var F=G.relatedTarget;if(!F||D(this,F))return;C(this,G.type=="mouseover")}function E(F){C(this,F.type=="mouseenter")}function C(F,G){setTimeout(function(){var H=d.get(F).options;m.replace(F,G?h(H,H.hover):H,true)},10)}this.attach=function(F){if(F.onmouseenter===undefined){q(F,"mouseover",B);q(F,"mouseout",B)}else{q(F,"mouseenter",E);q(F,"mouseleave",E)}}}function u(){var C=[],D={};function B(H){var E=[],G;for(var F=0;G=H[F];++F)E[F]=C[D[G]];return E}this.add=function(F,E){D[F]=C.push(E)-1};this.repeat=function(){var E=arguments.length?B(arguments):C,F;for(var G=0;F=E[G++];)m.replace(F[0],F[1],true)}}function A(){var D={},B=0;function C(E){return E.cufid||(E.cufid=++B)}this.get=function(E){var F=C(E);return D[F]||(D[F]={})}}function a(B){var D={},C={};this.extend=function(E){for(var F in E)if(k(E,F))D[F]=E[F];return this};this.get=function(E){return D[E]!=undefined?D[E]:B[E]};this.getSize=function(F,E){return C[F]||(C[F]=new n.Size(this.get(F),E))};this.isUsable=function(){return!!B}}function q(C,B,D){if(C.addEventListener)C.addEventListener(B,D,false);else if(C.attachEvent)C.attachEvent("on"+B,function(){return D.call(C,window.event)})}function v(C,B){var D=d.get(C);if(D.options)return C;if(B.hover&&B.hoverables[C.nodeName.toLowerCase()])b.attach(C);D.options=B;return C}function j(B){var C={};return function(D){if(!k(C,D))C[D]=B.apply(null,arguments);return C[D]}}function c(F,E){var B=n.quotedList(E.get("fontFamily").toLowerCase()),D;for(var C=0;D=B[C];++C)if(i[D])return i[D].get(E.get("fontStyle"),E.get("fontWeight"));return null}function g(B){return document.getElementsByTagName(B)}function k(C,B){return C.hasOwnProperty(B)}function h(){var C={},B,F;for(var E=0,D=arguments.length;B=arguments[E],E<D;++E)for(F in B)if(k(B,F))C[F]=B[F];return C}function o(E,M,C,N,F,D){var K=document.createDocumentFragment(),H;if(M==="")return K;var L=N.separate;var I=M.split(p[L]),B=L=="words";if(B&&t){if(/^\s/.test(M))I.unshift("");if(/\s$/.test(M))I.push("")}for(var J=0,G=I.length;J<G;++J){H=z[N.engine](E,B?n.textAlign(I[J],C,J,G):I[J],C,N,F,D,J<G-1);if(H)K.appendChild(H)}return K}function l(D,M){var C=D.nodeName.toLowerCase();if(M.ignore[C])return;var E=!M.textless[C];var B=n.getStyle(v(D,M)).extend(M);var F=c(D,B),G,K,I,H,L,J;if(!F)return;for(G=D.firstChild;G;G=I){K=G.nodeType;I=G.nextSibling;if(E&&K==3){if(H){H.appendData(G.data);D.removeChild(G)}else H=G;if(I)continue}if(H){D.replaceChild(o(F,n.whiteSpace(H.data,B,H,J),B,M,G,D),H);H=null}if(K==1){if(G.firstChild)if(G.nodeName.toLowerCase()=="cufon")z[M.engine](F,null,B,M,G,D);else arguments.callee(G,M);J=G}}}var t=" ".split(/\s+/).length==0;var d=new A;var b=new r;var y=new u;var e=false;var z={},i={},w={autoDetect:false,engine:null,forceHitArea:false,hover:false,hoverables:{a:true},ignore:{applet:1,canvas:1,col:1,colgroup:1,head:1,iframe:1,map:1,optgroup:1,option:1,script:1,select:1,style:1,textarea:1,title:1,pre:1},printable:true,selector:window.Sizzle||window.jQuery&&function(B){return jQuery(B)}||window.dojo&&dojo.query||window.Ext&&Ext.query||window.YAHOO&&YAHOO.util&&YAHOO.util.Selector&&YAHOO.util.Selector.query||window.$$&&function(B){return $$(B)}||window.$&&function(B){return $(B)}||document.querySelectorAll&&function(B){return document.querySelectorAll(B)}||g,separate:"words",textless:{dl:1,html:1,ol:1,table:1,tbody:1,thead:1,tfoot:1,tr:1,ul:1},textShadow:"none"};var p={words:/\s/.test("\u00a0")?/[^\S\u00a0]+/:/\s+/,characters:"",none:/^/};m.now=function(){x.ready();return m};m.refresh=function(){y.repeat.apply(y,arguments);return m};m.registerEngine=function(C,B){if(!B)return m;z[C]=B;return m.set("engine",C)};m.registerFont=function(D){if(!D)return m;var B=new s(D),C=B.family;if(!i[C])i[C]=new f;i[C].add(B);return m.set("fontFamily",'"'+C+'"')};m.replace=function(D,C,B){C=h(w,C);if(!C.engine)return m;if(!e){n.addClass(x.root(),"cufon-active cufon-loading");n.ready(function(){n.addClass(n.removeClass(x.root(),"cufon-loading"),"cufon-ready")});e=true}if(C.hover)C.forceHitArea=true;if(C.autoDetect)delete C.fontFamily;if(typeof C.textShadow=="string")C.textShadow=n.textShadow(C.textShadow);if(typeof C.color=="string"&&/^-/.test(C.color))C.textGradient=n.gradient(C.color);else delete C.textGradient;if(!B)y.add(D,arguments);if(D.nodeType||typeof D=="string")D=[D];n.ready(function(){for(var F=0,E=D.length;F<E;++F){var G=D[F];if(typeof G=="string")m.replace(C.selector(G),C,true);else l(G,C)}});return m};m.set=function(B,C){w[B]=C;return m};return m}();Cufon.registerEngine("canvas",function(){var b=document.createElement("canvas");if(!b||!b.getContext||!b.getContext.apply)return;b=null;var a=Cufon.CSS.supports("display","inline-block");var e=!a&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId));var f=document.createElement("style");f.type="text/css";f.appendChild(document.createTextNode(("cufon{text-indent:0;}@media screen,projection{cufon{display:inline;display:inline-block;position:relative;vertical-align:middle;"+
(e?"":"font-size:1px;line-height:1px;")+"}cufon cufontext{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;text-indent:-10000in;}"+(a?"cufon canvas{position:relative;}":"cufon canvas{position:absolute;}")+"}@media print{cufon{padding:0;}cufon canvas{display:none;}}").replace(/;/g,"!important;")));document.getElementsByTagName("head")[0].appendChild(f);function d(p,h){var n=0,m=0;var g=[],o=/([mrvxe])([^a-z]*)/g,k;generate:for(var j=0;k=o.exec(p);++j){var l=k[2].split(",");switch(k[1]){case"v":g[j]={m:"bezierCurveTo",a:[n+~~l[0],m+~~l[1],n+~~l[2],m+~~l[3],n+=~~l[4],m+=~~l[5]]};break;case"r":g[j]={m:"lineTo",a:[n+=~~l[0],m+=~~l[1]]};break;case"m":g[j]={m:"moveTo",a:[n=~~l[0],m=~~l[1]]};break;case"x":g[j]={m:"closePath"};break;case"e":break generate}h[g[j].m].apply(h,g[j].a)}return g}function c(m,k){for(var j=0,h=m.length;j<h;++j){var g=m[j];k[g.m].apply(k,g.a)}}return function(V,w,P,t,C,W){var k=w===null;if(k)w=C.getAttribute("alt");var A=V.viewBox;var m=P.getSize("fontSize",V.baseSize);var B=0,O=0,N=0,u=0;var z=t.textShadow,L=[];if(z)for(var U=z.length;U--;){var F=z[U];var K=m.convertFrom(parseFloat(F.offX));var I=m.convertFrom(parseFloat(F.offY));L[U]=[K,I];if(I<B)B=I;if(K>O)O=K;if(I>N)N=I;if(K<u)u=K}var Z=Cufon.CSS.textTransform(w,P).split("");var E=V.spacing(Z,~~m.convertFrom(parseFloat(P.get("letterSpacing"))||0),~~m.convertFrom(parseFloat(P.get("wordSpacing"))||0));if(!E.length)return null;var h=E.total;O+=A.width-E[E.length-1];u+=A.minX;var s,n;if(k){s=C;n=C.firstChild}else{s=document.createElement("cufon");s.className="cufon cufon-canvas";s.setAttribute("alt",w);n=document.createElement("canvas");s.appendChild(n);if(t.printable){var S=document.createElement("cufontext");S.appendChild(document.createTextNode(w));s.appendChild(S)}}var aa=s.style;var H=n.style;var j=m.convert(A.height);var Y=Math.ceil(j);var M=Y/j;var G=M*Cufon.CSS.fontStretch(P.get("fontStretch"));var J=h*G;var Q=Math.ceil(m.convert(J+O-u));var o=Math.ceil(m.convert(A.height-B+N));n.width=Q;n.height=o;H.width=Q+"px";H.height=o+"px";B+=A.minY;H.top=Math.round(m.convert(B-V.ascent))+"px";H.left=Math.round(m.convert(u))+"px";var r=Math.max(Math.ceil(m.convert(J)),0)+"px";if(a){aa.width=r;aa.height=m.convert(V.height)+"px"}else{aa.paddingLeft=r;aa.paddingBottom=m.convert(V.height)-1+"px"}var X=n.getContext("2d"),D=j/A.height;X.scale(D,D*M);X.translate(-u,-B);X.save();function T(){var x=V.glyphs,ab,l=-1,g=-1,y;X.scale(G,1);while(y=Z[++l]){var ab=x[Z[l]]||V.missingGlyph;if(!ab)continue;if(ab.d){X.beginPath();if(ab.code)c(ab.code,X);else ab.code=d("m"+ab.d,X);X.fill()}X.translate(E[++g],0)}X.restore()}if(z)for(var U=z.length;U--;){var F=z[U];X.save();X.fillStyle=F.color;X.translate.apply(X,L[U]);T()}var q=t.textGradient;if(q){var v=q.stops,p=X.createLinearGradient(0,A.minY,0,A.maxY);for(var U=0,R=v.length;U<R;++U)p.addColorStop.apply(p,v[U]);X.fillStyle=p}else X.fillStyle=P.get("color");T();return s}}());Cufon.registerEngine("vml",function(){var e=document.namespaces;if(!e)return;e.add("cvml","urn:schemas-microsoft-com:vml");e=null;var b=document.createElement("cvml:shape");b.style.behavior="url(#default#VML)";if(!b.coordsize)return;b=null;var h=(document.documentMode||0)<8;document.write(('<style type="text/css">cufoncanvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}cufoncanvas{position:absolute;text-align:left;}cufon{display:inline-block;position:relative;vertical-align:'+
(h?"middle":"text-bottom")+";}cufon cufontext{position:absolute;left:-10000in;font-size:1px;}a cufon{cursor:pointer}}@media print{cufon cufoncanvas{display:none;}}</style>").replace(/;/g,"!important;"));function c(i,j){return a(i,/(?:em|ex|%)$|^[a-z-]+$/i.test(j)?"1em":j)}function a(l,m){if(m==="0")return 0;if(/px$/i.test(m))return parseFloat(m);var k=l.style.left,j=l.runtimeStyle.left;l.runtimeStyle.left=l.currentStyle.left;l.style.left=m.replace("%","em");var i=l.style.pixelLeft;l.style.left=k;l.runtimeStyle.left=j;return i}function f(l,k,j,n){var i="computed"+n,m=k[i];if(isNaN(m)){m=k.get(n);k[i]=m=m=="normal"?0:~~j.convertFrom(a(l,m))}return m}var g={};function d(p){var q=p.id;if(!g[q]){var n=p.stops,o=document.createElement("cvml:fill"),i=[];o.type="gradient";o.angle=180;o.focus="0";o.method="sigma";o.color=n[0][1];for(var m=1,l=n.length-1;m<l;++m)i.push(n[m][0]*100+"% "+n[m][1]);o.colors=i.join(",");o.color2=n[l][1];g[q]=o}return g[q]}return function(ac,G,Y,C,K,ad,W){var n=G===null;if(n)G=K.alt;var I=ac.viewBox;var p=Y.computedFontSize||(Y.computedFontSize=new Cufon.CSS.Size(c(ad,Y.get("fontSize"))+"px",ac.baseSize));var y,q;if(n){y=K;q=K.firstChild}else{y=document.createElement("cufon");y.className="cufon cufon-vml";y.alt=G;q=document.createElement("cufoncanvas");y.appendChild(q);if(C.printable){var Z=document.createElement("cufontext");Z.appendChild(document.createTextNode(G));y.appendChild(Z)}if(!W)y.appendChild(document.createElement("cvml:shape"))}var ai=y.style;var R=q.style;var l=p.convert(I.height),af=Math.ceil(l);var V=af/l;var P=V*Cufon.CSS.fontStretch(Y.get("fontStretch"));var U=I.minX,T=I.minY;R.height=af;R.top=Math.round(p.convert(T-ac.ascent));R.left=Math.round(p.convert(U));ai.height=p.convert(ac.height)+"px";var F=Y.get("color");var ag=Cufon.CSS.textTransform(G,Y).split("");var L=ac.spacing(ag,f(ad,Y,p,"letterSpacing"),f(ad,Y,p,"wordSpacing"));if(!L.length)return null;var k=L.total;var x=-U+k+(I.width-L[L.length-1]);var ah=p.convert(x*P),X=Math.round(ah);var O=x+","+I.height,m;var J="r"+O+"ns";var u=C.textGradient&&d(C.textGradient);var o=ac.glyphs,S=0;var H=C.textShadow;var ab=-1,aa=0,w;while(w=ag[++ab]){var D=o[ag[ab]]||ac.missingGlyph,v;if(!D)continue;if(n){v=q.childNodes[aa];while(v.firstChild)v.removeChild(v.firstChild)}else{v=document.createElement("cvml:shape");q.appendChild(v)}v.stroked="f";v.coordsize=O;v.coordorigin=m=U-S+","+T;v.path=(D.d?"m"+D.d+"xe":"")+"m"+m+J;v.fillcolor=F;if(u)v.appendChild(u.cloneNode(false));var ae=v.style;ae.width=X;ae.height=af;if(H){var s=H[0],r=H[1];var B=Cufon.CSS.color(s.color),z;var N=document.createElement("cvml:shadow");N.on="t";N.color=B.color;N.offset=s.offX+","+s.offY;if(r){z=Cufon.CSS.color(r.color);N.type="double";N.color2=z.color;N.offset2=r.offX+","+r.offY}N.opacity=B.opacity||z&&z.opacity||1;v.appendChild(N)}S+=L[aa++]}var M=v.nextSibling,t,A;if(C.forceHitArea){if(!M){M=document.createElement("cvml:rect");M.stroked="f";M.className="cufon-vml-cover";t=document.createElement("cvml:fill");t.opacity=0;M.appendChild(t);q.appendChild(M)}A=M.style;A.width=X;A.height=af}else if(M)q.removeChild(M);ai.width=Math.max(Math.ceil(p.convert(k*P)),0);if(h){var Q=Y.computedYAdjust;if(Q===undefined){var E=Y.get("lineHeight");if(E=="normal")E="1em";else if(!isNaN(E))E+="em";Y.computedYAdjust=Q=0.5*(a(ad,E)-parseFloat(ai.height))}if(Q){ai.marginTop=Math.ceil(Q)+"px";ai.marginBottom=Q+"px"}}return y}}());Cufon.registerFont({w:180,face:{"font-family":"notepad","font-weight":500,"font-stretch":"normal","units-per-em":"360","panose-1":"0 0 0 0 0 0 0 0 0 0",ascent:"288",descent:"-72","x-height":"4",bbox:"-66 -288.919 374 112","underline-thickness":"7.2","underline-position":"-44.28","unicode-range":"U+0020-U+201D"},glyphs:{" ":{},"\u00d7":{w:0},"\u0141":{w:0},"\u00fd":{w:0},"\u00a0":{},"!":{d:"86,-287v14,1,7,22,9,38r-49,154v-17,44,-12,49,-40,58v-2,0,-5,-6,-5,-7v32,-74,47,-153,74,-229v3,-10,7,-14,11,-14xm28,-5v4,-7,27,-5,22,9v2,14,-23,23,-24,5v0,-3,1,-8,2,-14",w:101},'"':{d:"77,-151v-18,-3,-6,-22,-3,-31v13,-31,29,-55,46,-82v13,-22,29,-39,38,-8xm48,-266v9,-23,27,-22,33,-3v-18,34,-46,88,-72,114v-14,-11,1,-33,4,-40v15,-41,18,-30,35,-71",w:155},"#":{},$:{d:"14,68v-4,-27,23,-58,28,-76v-2,-8,-50,-31,-20,-40v36,-1,39,15,53,-26r14,-29v-18,-6,-82,-52,-77,-72v8,-28,70,-41,115,-40v18,5,37,-49,45,-61r13,0v4,28,-14,35,-18,57v50,10,19,-72,63,-68v5,24,-13,51,-14,67v5,4,35,15,30,32v-2,17,-61,24,-56,51r-27,74v13,15,15,38,-2,47v-15,8,-36,1,-33,26v-10,15,-21,72,-46,54v-9,-26,15,-34,20,-63r-31,0v-23,3,-41,74,-57,67xm221,-192v-12,1,-14,5,-16,19v14,-9,12,-5,16,-19xm96,-126v6,-6,22,-46,28,-62v-34,1,-80,2,-83,22v16,3,20,23,36,27v6,3,13,7,19,13xm144,-94v4,-20,27,-65,36,-99v-40,1,-38,54,-60,81v1,5,15,14,24,18xm81,-27v13,-1,27,5,35,-3v4,-10,10,-22,17,-35v-11,-4,-14,-12,-21,-18v-11,14,-22,38,-31,56",w:243},"%":{d:"232,-283v13,7,5,17,-6,34r-171,250v-22,34,-18,46,-29,66v-10,-5,-20,-14,-13,-31v41,-97,133,-193,184,-279v17,-28,30,-40,35,-40xm127,-27v0,6,6,8,11,5v58,-29,80,-53,110,-94v6,-2,4,4,4,15v-9,38,-48,66,-75,88v-23,19,-73,28,-73,-14v0,-41,64,-100,103,-98v24,2,14,34,4,45v-2,-7,3,-21,-5,-22v-33,1,-78,42,-79,75xm-66,112r0,-11v1,5,1,7,0,11xm76,-236v15,7,10,35,-13,29v-17,0,-35,46,-36,67v44,7,72,-37,74,-74v-5,-11,-9,-9,-7,-18v18,-1,24,21,25,38v1,43,-43,81,-85,81v-21,-1,-30,-14,-30,-36v0,-34,39,-89,72,-87",w:254},"&":{d:"235,-255v-31,6,-49,20,-59,45v8,0,48,-33,59,-45xm228,-57v-26,-29,-51,-59,-72,-93v-57,39,-103,81,-130,144v57,-1,145,-36,202,-51xm220,-274v22,-7,90,-28,100,5v-45,33,-83,36,-112,72v-9,7,-30,21,-32,27v1,18,29,47,41,61v12,22,45,33,65,49v-58,38,-145,56,-228,78v-26,7,-57,0,-55,-27v5,-55,98,-129,137,-161v4,-4,9,-18,15,-42v7,-35,41,-46,69,-62",w:318},"'":{d:"8,-166v-22,-8,6,-39,10,-52v12,-19,27,-36,34,-57v4,-11,23,-15,27,-4v-18,38,-42,98,-71,113",w:73},"(":{d:"165,-220v-4,6,-4,9,-12,12v8,-3,2,-12,12,-12xm127,-262v8,-8,56,-48,62,-11v1,5,-12,31,-20,44r0,-27v-11,-1,-17,1,-22,8v-32,43,-114,148,-117,228v-1,46,27,74,74,74v36,0,61,-15,95,-16r0,9v-33,7,-67,27,-99,29v-56,4,-102,-41,-97,-96v7,-86,79,-191,124,-242",w:199},")":{d:"102,-283v23,-5,67,55,84,124v-6,85,-34,132,-86,177v-7,11,-23,28,-36,27v-17,15,-37,27,-61,26v0,-23,42,-20,55,-40v56,-51,105,-97,105,-193v0,-33,-14,-41,-28,-69v-10,-22,-16,-30,-31,-20r-14,-14v2,-8,7,-18,12,-18",w:184},"*":{d:"88,-211v1,-9,-29,-40,-6,-43v11,2,14,9,24,18v1,-5,10,-51,29,-46v-1,13,-1,28,1,39v7,-20,9,-40,27,-45v12,6,6,46,-5,55r0,6v28,5,61,-13,76,-11v11,21,-14,21,-57,31v-21,5,-34,8,-39,12v15,18,30,33,51,49v-6,17,-15,14,-32,2r-35,-26v3,33,-6,68,-32,47v-15,6,-31,28,-35,0v8,-23,32,-30,35,-56v-20,2,-54,21,-78,26v-6,-1,-11,-5,-11,-13v0,-9,14,-18,43,-26v29,-8,44,-14,44,-19",w:236},"+":{d:"64,-69v-17,-15,-65,26,-65,-7v0,-19,35,-11,45,-19v33,-8,44,-40,44,-70v0,-18,26,-26,25,-1r-13,52v34,-15,67,-9,102,-15v6,1,10,2,10,9v-1,11,-5,12,-18,12r-90,21v-18,16,-29,86,-47,90v-24,-17,4,-48,7,-72",w:210},",":{d:"102,-82v18,4,24,32,15,55v-10,27,-27,62,-64,78v-19,8,-35,14,-52,16v24,-22,82,-57,85,-87v16,-16,-6,-56,16,-62",w:122},"-":{d:"1,-101v22,-30,103,-28,153,-23v5,2,8,5,8,10v-16,16,-54,15,-87,15r-67,14v-1,0,-7,-14,-7,-16",w:155},"\u00ad":{d:"1,-101v22,-30,103,-28,153,-23v5,2,8,5,8,10v-16,16,-54,15,-87,15r-67,14v-1,0,-7,-14,-7,-16",w:155},".":{d:"1,-20v2,-22,34,-18,33,5v-1,10,-7,13,-18,13v-8,-1,-16,-10,-15,-18",w:34},"/":{},"0":{d:"225,-276v59,0,46,107,27,144v-22,44,-27,65,-85,96v-34,18,-56,29,-68,29v-43,24,-104,-2,-99,-52v5,-57,37,-94,79,-143v39,-30,91,-74,146,-74xm27,-50v0,22,43,27,65,19v67,-26,146,-68,151,-158v3,-52,-40,-65,-81,-40v-56,34,-100,84,-134,147v-1,5,-1,16,-1,32",w:275},"1":{d:"69,-238v4,-25,24,-20,26,-2v-5,54,-49,146,-56,198v-3,21,-9,45,-25,45v-30,-6,5,-75,10,-90v16,-50,37,-95,45,-151",w:93},"2":{d:"13,-37v-12,14,-15,38,8,38v34,0,112,-35,140,-51v26,-15,36,-24,33,-30v-26,0,-112,40,-140,44v26,-33,114,-104,120,-148r-8,-41r3,12v-9,-54,-110,-13,-124,2v4,30,54,-6,81,-2v12,1,25,-1,25,11v-15,71,-98,118,-138,165",w:192},"3":{d:"221,-243v-6,28,-65,79,-95,88v52,24,71,18,74,72v2,46,-75,87,-128,85v-32,-1,-79,-13,-72,-51v6,-4,10,-10,14,-15v-4,43,40,41,85,41v10,0,87,-52,79,-65v-7,-32,-70,-45,-114,-36v-17,-8,-8,-22,13,-30v54,-22,92,-52,116,-91v-17,-13,-80,20,-100,20v-9,0,-15,-6,-16,-15v-1,-10,94,-32,103,-30v25,-1,41,5,41,27",w:220},"4":{d:"207,-253v6,-24,25,-52,38,-21v1,10,-9,5,-9,14v-26,51,-40,115,-65,168v0,3,10,7,9,12v-15,12,-31,25,-31,51r-41,92v-1,3,-6,5,-15,7v-10,-18,5,-12,-4,-33v-1,-23,27,-65,37,-91v-17,-18,-62,9,-92,9v-46,0,-33,-32,-11,-60v23,-29,32,-62,67,-77r0,23v-18,21,-51,64,-51,85r29,0v13,-17,57,-4,76,-18",w:243},"5":{d:"266,-276v24,0,66,-19,80,2v0,4,-5,7,-13,9r-164,37v-10,0,-10,-3,-11,-12v3,-20,79,-36,108,-36xm45,-153v85,-13,169,6,169,81v0,65,-107,132,-174,81v-29,-22,-36,-40,-21,-69v23,51,48,70,105,53v26,-14,60,-36,66,-65v-8,-67,-102,-54,-173,-49v-11,1,-17,-9,-16,-20v2,-18,48,-42,67,-54v2,-2,70,-42,76,-40v7,0,16,12,16,19v0,5,-7,7,-22,7v-15,0,-46,19,-93,56",w:342},"6":{d:"152,-3v-60,32,-140,-9,-99,-76v45,-73,93,-149,177,-177r14,8v11,-13,11,-40,-14,-40v-19,0,-37,19,-51,27v-76,45,-123,100,-160,173v-9,18,-11,40,-11,63v0,35,50,54,90,54v69,0,159,-34,157,-94v0,-31,-51,-47,-88,-47v-34,0,-104,42,-114,65v48,-3,73,-39,123,-39v38,0,73,32,38,50",w:254},"7":{d:"223,-287v19,8,11,35,-2,52v-57,76,-111,151,-144,250v-10,-4,-14,-21,-16,-38v17,-30,25,-67,43,-96r90,-137v-45,-4,-114,28,-153,29v-15,0,-40,-17,-40,-33v0,-22,22,-24,42,-20v2,10,-18,13,-4,18v33,12,90,-17,117,-17v28,0,50,-8,67,-8",w:236},"8":{d:"254,-283v54,-6,88,25,48,57v-4,4,-10,7,-19,13v-6,-21,34,-36,3,-42v-71,-13,-161,31,-202,50v-23,19,-28,32,-4,56v11,11,19,19,26,21v41,-23,99,-66,143,-77v7,-1,3,8,9,7v-29,27,-110,69,-131,93v15,21,33,54,33,76v0,37,-55,88,-94,88v-43,0,-64,-30,-63,-75v11,-46,41,-71,78,-98v-27,-27,-64,-67,-22,-102v37,-30,140,-62,195,-67xm66,32v35,-2,82,-50,56,-93v-7,-11,-13,-22,-23,-31v-23,21,-72,57,-72,88v0,23,13,38,39,36",w:321},"9":{d:"172,-287v43,0,58,58,54,110v-8,14,-10,31,-10,54v-16,35,-61,83,-63,108v-21,8,-25,35,-28,64v-1,11,-7,17,-19,17v-8,0,-15,-11,-15,-20v6,-29,36,-87,54,-109r0,-8v-43,20,-153,63,-144,-27v10,-1,5,-23,11,-32v35,-59,78,-157,160,-157xm153,-267v1,-2,2,-5,0,-7r0,7xm55,-69v71,-10,119,-48,150,-105v6,-51,-14,-110,-57,-77v-20,16,-24,22,-48,34v-10,24,-29,33,-47,73v-12,28,-21,45,-21,57v-1,12,11,20,23,18xm126,9r-4,1",w:225},":":{d:"43,-159v23,0,15,26,5,34v-19,-1,-23,-32,-5,-34xm17,-29v20,-1,19,31,2,32v-20,0,-19,-30,-2,-32",w:60},";":{d:"77,-191v-6,-26,28,-28,27,-6v-2,14,-21,24,-27,6xm99,-76v7,0,14,11,14,20v-3,55,-57,114,-103,128v-10,-1,-7,-2,-12,-12v35,-23,87,-73,88,-119v1,-9,4,-17,13,-17",w:111},"<":{d:"172,-217v36,-2,47,21,44,61v-10,9,-8,22,-13,35v-17,10,-17,10,-53,34r-7,0r0,-9v33,-21,48,-28,51,-70v1,-25,-21,-27,-35,-10v-5,7,-9,12,-10,20r-80,130v35,5,66,-34,89,-30v2,35,-55,54,-94,59v-23,2,-41,42,-52,65v-4,-2,-3,-1,-6,0v-6,-27,8,-41,13,-58v13,-12,-13,-25,-9,-45v11,-50,64,-102,95,-139v9,-10,22,-16,35,-25v13,-24,28,-58,28,-81v13,-14,20,1,22,16xm44,-27v12,-32,38,-58,52,-94v-29,30,-46,51,-57,94r5,0",w:215},"=":{d:"45,-138v53,-16,102,-38,163,-30v5,2,8,6,8,13v-1,6,-19,6,-27,7v-48,3,-109,25,-157,38v-16,-7,-8,-22,13,-28xm1,-38v1,-19,163,-84,226,-79v2,0,4,2,4,3v-33,30,-124,40,-181,72r-41,22",w:225},">":{d:"286,-47v41,-13,96,-69,57,-118v-5,-6,-13,-13,-25,-21r-8,18v-21,-4,-3,-43,-13,-60v-8,-13,-23,-23,-36,-32v-116,12,-222,54,-233,171v8,63,62,61,146,65xm223,-162v-37,-19,-100,-5,-126,14v-5,-4,-9,-11,-9,-18v11,-22,69,-32,110,-31v27,0,54,12,54,35v0,39,-72,60,-103,81v1,6,12,13,22,12r119,0v-29,16,-173,66,-170,-14v9,-22,31,-93,42,-40v20,0,58,-23,61,-39xm147,2v-102,6,-176,-57,-133,-150v18,-40,47,-62,75,-86v20,-16,36,-24,46,-24v54,-39,180,-44,180,45v0,14,41,32,44,42v10,13,15,31,15,52v0,97,-124,115,-227,121",w:375},"?":{d:"187,-238v-7,75,-97,118,-135,160r-33,38v-21,-60,46,-84,77,-113v33,-31,52,-50,66,-89v-1,-14,-7,-19,-24,-18v-43,3,-87,35,-123,53v-7,1,-12,-13,-12,-19v30,-25,91,-61,148,-61v20,0,37,26,36,49xm24,18v19,2,22,31,-1,32v-16,-2,-19,-33,1,-32",w:181},"@":{d:"166,-237v56,-40,123,-30,125,42v2,81,-34,102,-77,142v-28,6,-51,31,-76,36v-24,0,-43,-9,-43,-32v-2,-39,29,-61,47,-79v37,-38,96,-38,99,20v21,-12,28,-42,30,-78v0,-24,-14,-54,-37,-52v-69,7,-114,78,-153,122v-26,30,-55,75,-57,116v11,52,84,29,121,9r65,-33v-35,42,-90,74,-162,74v-60,0,-55,-73,-27,-119v36,-58,90,-128,145,-168xm120,-54v4,25,28,-3,43,-2v13,-26,49,-28,54,-63v1,0,5,-6,5,-8v-4,-10,-23,-6,-37,-5v-27,20,-64,54,-65,78",w:360},A:{d:"239,-284v36,21,24,96,13,139v0,23,31,-8,27,15v-4,10,-39,24,-35,30v-4,18,-12,31,-10,53v-3,-2,-6,-1,-6,2v-1,27,-18,63,-33,30v-4,-10,19,-81,23,-85v-6,-4,-15,11,-16,0v-4,0,-2,4,-2,7r-116,30v-13,5,-42,62,-57,94v-7,4,-29,4,-23,-9v-5,-24,31,-65,32,-80v0,-8,-25,-18,-5,-22v30,-6,47,-42,71,-70v37,-43,74,-86,117,-123v9,-8,15,-12,20,-11xm223,-127v7,-34,21,-85,14,-123v-58,48,-88,93,-133,139v-9,9,-17,16,-6,18v36,-6,78,-20,125,-34",w:282},B:{d:"98,-269v45,-14,129,-35,113,45v-11,21,-61,54,-82,72v52,13,82,58,55,108v-18,32,-50,60,-94,60v-26,0,-95,-10,-89,-41v26,8,44,14,83,14v40,0,84,-36,85,-72v1,-42,-44,-43,-84,-48v-3,0,-7,1,-13,3v-6,24,-21,56,-26,83v-3,12,-19,11,-23,1v-10,-20,3,-32,9,-49v10,-27,20,-48,25,-62v13,-37,15,-34,7,-56v10,-11,28,-4,22,18r-1,31v38,-16,68,-40,89,-59v10,-9,15,-20,15,-32v-2,-9,-20,-9,-33,-9v-27,10,-87,24,-112,44v-6,0,-14,-12,-14,-19v6,-7,56,-28,68,-32",w:215,k:{y:36,",":33}},C:{d:"146,-265v27,-18,80,-28,79,16v1,62,-28,101,-63,132v-8,2,-4,-8,-5,-13v16,-16,50,-88,48,-116v-1,-7,-2,-9,-12,-9v-28,-1,-77,50,-98,73v-13,15,-66,90,-63,121v9,81,102,6,148,7v-22,25,-69,58,-119,58v-38,0,-66,-40,-58,-89v38,-70,80,-138,143,-180",w:228,k:{r:21,o:23,l:18,i:28,e:21,a:39}},D:{d:"35,-235v62,-61,229,-37,216,60v-14,105,-125,178,-237,183v-7,-1,-15,-6,-13,-10v44,-12,71,-164,92,-223v6,-17,27,-8,27,3r0,20v-30,40,-42,126,-63,171r0,9v26,1,112,-55,124,-71v20,-27,43,-54,43,-91v2,-79,-137,-69,-182,-40v-4,1,-7,-8,-7,-11",w:256,k:{a:31,",":54}},E:{d:"84,-208v37,-18,104,-35,163,-24v2,2,4,3,6,6v-36,25,-129,22,-160,47v-11,10,-22,32,-31,65v39,5,85,-34,117,-16v-5,22,-8,16,-40,27v-19,7,-63,18,-91,23v-9,19,-32,58,3,54v38,-4,86,2,107,-22v23,21,-20,30,-32,40v-18,6,-46,7,-73,7v-43,0,-52,-9,-50,-48r38,-85v18,-26,13,-67,43,-74",w:251,k:{z:44,y:59,x:49,w:41,v:39,u:26,t:41,s:57,r:59,p:26,o:62,n:57,m:59,l:54,k:39,j:46,i:26,h:31,f:59,e:46,d:69,c:49,b:36,a:57,",":57}},F:{d:"239,-267v21,-3,36,4,27,21r-168,29v-5,3,-5,12,-3,18v-20,21,-19,54,-33,78v30,3,56,-15,79,-18v15,9,6,17,-15,26v-28,12,-35,12,-67,20v-18,-1,-29,147,-58,78r23,-79v-5,-3,-9,-7,-9,-13v28,-14,34,-68,49,-99v-3,-12,-31,9,-32,-9v0,-11,7,-16,18,-16v54,-21,125,-27,189,-36",w:267,k:{z:93,y:82,x:80,w:103,v:72,u:80,t:54,s:106,r:111,p:108,o:95,n:106,m:111,l:54,k:39,j:111,i:51,h:69,g:51,f:54,e:88,d:103,c:88,b:49,a:90,",":113}},G:{d:"231,-215v5,39,-49,55,-73,65v-2,-15,10,-13,31,-33r19,-21v-80,-5,-129,54,-166,100v-13,16,-17,32,-17,44v23,65,193,36,212,-15v-16,-40,-92,-27,-140,-21v-7,1,-20,-7,-18,-15v6,-21,41,-15,77,-18v75,-7,151,58,68,99v-56,28,-215,65,-224,-30v-5,-51,46,-91,75,-119v15,-15,100,-54,129,-54v10,0,28,6,27,18",w:267,k:{y:31,",":64}},H:{d:"196,-210v14,-6,14,-75,38,-34r-24,98v9,2,23,-4,20,11v-24,15,-31,13,-45,49v-12,30,-11,53,-19,76v-4,10,-8,15,-13,15v-25,-31,12,-91,16,-113v-30,-1,-93,18,-117,28v-22,9,-10,78,-38,81v-25,-15,-12,-38,2,-77v19,-57,52,-108,63,-171v34,-3,22,25,12,53v-10,27,-25,56,-28,80v40,-3,76,-18,112,-25v9,-23,20,-53,21,-71",w:238,k:{y:26,f:33,a:15,",":46}},I:{d:"36,-31v0,34,-26,46,-33,20v8,-73,41,-141,59,-211v5,-18,22,-4,24,7v-16,64,-50,114,-50,184",w:86,k:{",":23}},J:{d:"202,-287v13,0,6,22,7,36r-27,136v-16,46,-42,99,-71,128r-30,5v-40,-17,-60,-40,-80,-80v1,-3,4,-12,8,-11v10,-3,58,74,73,66v63,-29,71,-130,94,-199v8,-24,9,-42,12,-67v2,-10,7,-14,14,-14",w:212,k:{y:28,p:26,a:18,",":46}},K:{d:"214,-244v13,-10,43,-52,59,-21v-20,29,-79,76,-110,99v-4,11,-32,32,-40,43v25,30,57,84,96,103v8,7,1,21,-14,18v-50,-27,-92,-77,-114,-121v0,-9,25,-37,77,-83xm77,-244v26,10,1,55,-1,74v-14,42,-33,112,-43,166v-5,13,-32,7,-28,-11v13,-69,37,-134,54,-198v5,-20,13,-31,18,-31",w:285,k:{z:28,y:57,x:23,w:62,v:26,u:33,t:59,r:62,p:49,o:54,n:39,m:28,l:21,j:57,i:59,h:39,g:51,e:64,c:39,b:33,",":54}},L:{d:"138,-233v-41,56,-90,132,-110,207v41,1,116,-32,159,-36v12,17,-5,21,-29,31v-44,18,-75,28,-123,32v-14,0,-36,-7,-34,-19v16,-84,63,-156,101,-214v11,-17,28,-22,36,-1",w:199},M:{d:"187,-211v26,7,5,49,7,77v38,-34,90,-90,127,-106v40,25,-13,97,-20,130v-6,30,-27,60,-33,93v-5,25,-25,6,-27,-5v17,-49,36,-110,58,-151v3,-5,1,-13,0,-18v-57,44,-68,54,-116,127v-14,21,-33,32,-38,3v11,-29,27,-66,24,-105v-56,33,-92,79,-129,143v-14,25,-30,35,-39,14v20,-60,74,-128,99,-191v7,-17,26,-4,26,7v-8,5,-10,17,-13,32v16,-5,64,-53,74,-50",w:336,k:{y:41,",":44}},N:{d:"172,-20v-34,-11,-46,-83,-54,-127v-24,7,-36,56,-54,76v-10,11,-39,75,-50,72v-20,-6,-10,-21,-1,-41v14,-29,60,-108,85,-140v12,-15,21,-22,27,-22v11,0,13,10,13,23v9,42,13,103,34,126v47,-35,91,-145,116,-208v9,-23,26,-25,27,-1v-19,68,-64,154,-102,208v-16,23,-30,34,-41,34",w:316,k:{y:36,u:21,s:18,r:39,p:28,o:18,n:33,m:26,l:13,k:41,i:5,f:36,e:18,d:33,b:13,a:36,",":51}},O:{d:"221,-251v44,10,63,94,29,133v-40,46,-129,112,-202,119v-32,3,-51,-27,-40,-59v26,-73,101,-138,156,-173v22,-13,42,-20,57,-20xm28,-38v-3,14,19,12,25,8v85,-30,190,-54,191,-167v-4,4,-5,11,-14,9v4,-35,-13,-41,-36,-27v-58,35,-150,108,-166,177",w:267,k:{y:44,x:23,r:23,p:26,m:15,j:28,f:15,d:23,",":39}},P:{d:"61,-219v-19,-32,32,-49,50,-56v55,-21,152,-7,152,59v0,65,-48,85,-87,117v-22,10,-87,37,-117,19v-13,-1,-36,144,-58,76v4,-7,52,-174,80,-182v36,8,-17,71,-13,87v78,-5,156,-46,170,-118v-1,-29,-38,-42,-62,-47v-52,7,-91,16,-112,44v-1,0,-2,1,-3,1",w:267,k:{y:28,x:41,w:39,v:26,r:33,p:39,o:21,n:31,m:54,l:31,k:21,i:36,h:31,f:31,e:10,d:49,c:39,b:36,a:51,",":82}},Q:{d:"163,70v-31,-9,0,-47,-5,-76v4,-3,6,-8,5,-16v-59,11,-185,47,-164,-52v21,-100,105,-154,189,-201v17,-10,36,-12,56,-12v59,12,83,106,36,165v-27,54,-87,64,-100,134v-5,26,-12,45,-17,58xm28,-69v-8,54,75,36,101,24v55,3,55,-53,70,-90r15,0v10,15,-3,28,0,50v31,-11,69,-67,65,-113v7,-16,1,-38,-14,-40v3,12,-8,55,-21,49v-7,-25,9,-48,0,-69v-90,13,-149,82,-197,138v-11,14,-16,31,-19,51",w:295},R:{d:"74,-270v61,-23,188,-28,199,37v-19,57,-67,82,-136,121v-39,23,-47,28,-17,59v26,28,65,52,97,71v-1,29,-36,8,-47,0v-38,-27,-141,-87,-74,-133v42,-29,97,-52,130,-87v23,-24,30,-34,3,-49v-43,-24,-120,-6,-163,9v-13,4,-29,25,-40,20v-3,-3,-3,-5,-2,-7v12,-18,29,-33,50,-41xm3,0v14,-61,73,-159,86,-217v38,6,20,28,4,67r-34,75v-12,27,-18,44,-18,49v-1,11,-31,66,-38,26",w:272,k:{z:23,y:28,x:44,w:44,v:28,u:51,t:28,s:36,r:33,p:44,o:54,n:41,m:44,l:21,k:21,j:41,i:39,h:41,g:39,f:36,e:41,d:51,c:31,b:36,a:28}},S:{d:"219,-186v-7,-17,13,-17,25,-11v-12,4,-11,12,-25,11xm191,-96v65,51,-3,137,-80,121v-27,-6,-63,-36,-63,-65v0,-10,12,-25,25,-22v1,10,-2,16,-9,20v9,30,30,42,65,43v46,2,95,-50,43,-83v-36,-23,-95,-49,-137,-70v-48,-25,-43,-56,2,-78v60,-30,154,-68,242,-48v14,3,15,19,12,32v0,17,-23,47,-43,44v11,-13,24,-29,25,-44v-8,-21,-52,-18,-75,-12r-89,25v-31,11,-80,30,-83,45v26,28,141,73,165,92",w:293,k:{z:36,y:54,x:46,w:33,v:28,u:41,t:13,s:39,r:31,p:59,o:44,n:44,m:51,l:23,k:23,j:59,i:36,h:44,g:23,f:31,e:41,d:46,c:23,b:21,a:26,",":59}},T:{d:"234,-226v-78,17,-133,12,-219,33v-6,0,-14,-11,-14,-18v0,-4,15,-9,45,-15v70,-14,111,-14,176,-24v27,-4,48,-5,61,-5v8,0,12,3,12,9v-6,17,-38,15,-61,20xm122,-198v24,1,10,34,4,53v-15,45,-38,81,-51,129v-1,23,-32,23,-30,0v8,-23,29,-89,46,-105v13,-18,6,-70,31,-77",w:293,k:{z:75,y:72,x:72,w:67,v:26,u:80,t:41,s:44,r:80,p:67,o:88,n:67,m:85,l:39,k:23,j:150,i:44,h:75,g:59,f:46,e:93,d:121,c:90,b:39,a:82,",":82}},U:{d:"220,-218v16,3,15,21,16,38v-28,93,-60,185,-179,184v-26,-1,-56,-38,-56,-66v0,-25,44,-152,69,-139v5,2,5,6,5,15v-14,40,-69,100,-42,147v79,55,172,-51,174,-141v0,-17,3,-35,13,-38",w:233,k:{",":33}},V:{d:"25,-63v2,15,6,53,29,33v64,-29,87,-103,131,-152v8,-19,38,-54,44,-11v-61,55,-75,136,-150,176v-23,12,-39,21,-49,21v-24,-10,-35,-56,-29,-96v4,-28,24,-65,9,-85v5,-2,3,-8,0,-11v22,-2,30,7,27,31",w:225,k:{r:23,o:13,e:26,b:21,a:23,",":54}},W:{d:"181,-204v-12,58,0,147,52,153v41,-5,80,-58,79,-106v7,-37,16,-53,18,-99v2,-26,7,-37,21,-23v15,24,-2,58,-6,86v-9,66,-32,160,-110,165v-26,2,-72,-39,-69,-66v1,-4,-8,-25,-9,-26v-16,29,-35,76,-55,98v-8,22,-29,42,-53,45v-81,-30,-39,-180,-37,-265v0,-13,5,-24,18,-23v8,3,14,17,12,32v-17,41,-22,101,-21,155v1,34,9,73,28,74v50,-36,97,-124,99,-206v6,-17,14,-39,20,-43v17,1,12,30,13,49",w:360,k:{y:28,",":46}},X:{d:"216,-238v10,-1,8,17,5,23v-27,9,-41,48,-62,62v-6,8,-23,25,-28,34r50,108v1,11,-14,21,-25,15v-3,-24,-29,-91,-43,-100v-39,34,-85,89,-88,152v0,11,-17,8,-20,1v-3,-4,-4,-10,-4,-16v0,-73,66,-129,99,-169v-1,-22,-19,-45,-28,-65v7,-17,15,-12,26,6r22,35v27,-18,67,-82,96,-86",w:223},Y:{d:"17,-195v-5,-23,-28,-60,0,-67v28,57,33,101,54,155v0,5,-2,12,-9,14v-17,-24,-37,-66,-45,-102xm224,-287v19,14,-4,41,-16,49v-50,68,-114,147,-143,233v3,5,-3,8,-8,8v-12,-11,-4,-43,2,-63v36,-67,88,-145,136,-204v13,-15,23,-23,29,-23",w:228,k:{u:33,o:49,e:31,a:54,",":77}},Z:{d:"-1,-15v49,-71,145,-111,208,-177v-25,-13,-84,-7,-117,0v-13,-3,-13,-35,6,-33v61,-6,204,2,121,64r-63,51v-32,25,-69,44,-95,75v14,9,110,-21,126,-18v44,-2,107,-18,131,11v-22,5,-54,5,-79,8v-74,10,-133,35,-213,35v-18,1,-24,-2,-25,-16",w:321,k:{",":51}},"[":{},"\\":{},"]":{},"^":{},_:{},"`":{},a:{d:"127,35v-13,-1,-17,-40,-17,-68v-27,14,-49,37,-77,33v-44,-6,-35,-58,-5,-87v24,-24,78,-82,127,-85v24,-2,21,17,18,33v-2,3,-5,6,-11,7v-3,-25,-15,-16,-39,-3v-35,19,-85,64,-97,105v18,19,47,-11,64,-18v12,-5,44,-43,49,-43v8,2,21,22,9,29v2,5,1,26,-8,65v-5,23,-2,32,-13,32",w:174,k:{z:-15,y:31,t:-21,s:-18,q:-13,i:-21,",":28}},b:{d:"113,-287v15,15,-4,34,1,54r-36,94v38,-16,64,-48,106,-28v26,12,22,64,6,86v-28,37,-64,91,-128,95v-23,1,-65,-20,-63,-41v18,-59,89,-167,92,-219v-12,-18,-1,-43,22,-41xm28,-20v53,44,149,-62,148,-110v-8,-28,-13,-24,-47,-8v-51,24,-84,63,-101,118",w:202,k:{y:41,x:31,t:-15,q:-13,p:21,",":39}},c:{d:"161,-213v34,-2,14,56,27,75v-2,9,-7,20,-12,20v-23,-3,-11,-50,-22,-66v-57,25,-116,71,-126,144v11,30,81,1,103,-2r0,7v-17,28,-48,37,-94,38v-24,-7,-33,-23,-36,-45v9,-85,91,-149,160,-171",w:184,k:{z:-21,y:31,x:28,p:23,l:21,j:46,f:33,d:26,a:13,",":44}},d:{d:"140,-174v20,-1,33,25,41,42v11,-8,53,-67,49,-85v21,-17,-6,-58,24,-60v23,6,6,34,4,56v-32,105,-123,186,-223,224v-19,1,-33,-14,-33,-32v16,-71,69,-125,138,-145xm163,-116v-8,-44,-58,-30,-83,3v-19,25,-51,40,-50,84v25,11,55,-25,75,-36v7,0,59,-44,58,-51",w:267,k:{y:67,x:62,w:33,v:28,u:36,t:18,s:28,r:54,p:64,o:49,n:62,m:64,l:39,k:31,j:74,i:39,h:51,g:33,f:57,e:46,d:72,c:49,b:31,a:51,",":106}},e:{d:"30,-60v-2,45,69,40,99,25v3,0,5,4,7,6v-16,16,-36,30,-65,30v-45,-1,-92,-47,-62,-94v22,-34,66,-74,111,-79v47,-6,53,32,36,60v-15,14,-91,58,-119,30v-4,7,-7,12,-7,22xm55,-106v24,14,74,-17,83,-32v-15,-28,-73,17,-83,32",w:163,k:{z:-15,y:36,x:13,p:21,f:18,",":57}},f:{d:"129,-218v-15,45,-34,113,-38,151v4,16,50,-8,62,6v0,9,-8,14,-22,17v-21,4,-31,6,-32,6v-39,6,-19,39,-30,74v0,-1,1,-1,1,-1v0,14,-30,56,-34,18r18,-76v-23,1,-49,12,-53,-13v0,-4,10,-6,28,-9v36,-7,38,-16,44,-58v7,-47,21,-75,27,-110v5,-28,46,-74,82,-74v23,0,41,10,53,31v10,33,20,33,19,58r-11,0v-12,-30,-29,-64,-61,-67v-15,0,-56,30,-53,47",w:251,k:{y:57,u:36,t:44,r:51,p:39,o:41,l:39,i:44,h:41,g:31,f:59,e:44,a:51,",":93}},g:{d:"39,-103v14,42,85,-2,104,-13v17,-10,29,-26,32,-45v5,-33,34,-24,33,2v-33,62,-47,134,-61,211v-44,48,-100,-22,-146,-27v-2,0,0,-4,0,-6v38,-6,73,27,105,27v13,0,28,-45,44,-136r-84,32v-27,1,-54,-21,-52,-47v5,-70,58,-132,124,-132v35,0,40,42,19,68v-11,13,-20,21,-29,19v8,-14,21,-30,21,-51v0,-18,-22,-11,-30,-7v-38,16,-76,64,-80,105",w:207,k:{z:-18,s:-13,",":36}},h:{d:"187,-193v60,13,12,129,-2,164v-9,22,-21,57,-38,65v-3,1,-12,-12,-11,-15v8,-41,56,-122,52,-174v0,-9,0,-16,-7,-16v-64,31,-137,85,-152,168v-3,7,-8,10,-15,10v-27,-47,17,-100,34,-145r48,-129v10,-15,13,-26,22,-20v-2,60,-29,103,-45,159v36,-29,69,-62,114,-67",w:218,k:{z:-18,t:-18,",":31}},i:{d:"105,-256v-15,-8,3,-32,11,-31v9,-1,11,12,15,13v-6,10,-11,18,-26,18xm73,-174v23,31,-20,87,-27,125v-9,13,-15,54,-36,54v-9,1,-7,-9,-7,-18v17,-50,42,-123,70,-161",w:130,k:{z:15,y:28,x:33,v:28,u:33,r:23,p:36,o:26,n:28,m:28,l:33,k:34,j:46,h:28,f:49,e:18,d:31,c:28,b:21,a:36,",":39}},j:{d:"167,-253v-8,-26,19,-46,25,-16v-5,10,-13,14,-25,16xm61,52v92,-29,123,-134,138,-237v-2,1,-2,2,-3,0v0,-7,1,-14,-6,-15v0,-14,-2,-27,13,-27v29,0,16,38,18,66v-11,74,-47,162,-86,206v-21,24,-38,20,-54,32v-58,7,-103,-79,-60,-120r5,0v-4,30,-16,49,8,76v11,12,19,19,27,19",w:223,k:{",":39}},k:{d:"129,-184v7,-7,36,-48,47,-17v1,13,-11,17,-18,22v-29,32,-37,50,-69,80v-19,18,-7,20,17,37v17,12,52,29,75,42v0,5,-4,14,-9,14v-47,-8,-92,-34,-119,-65v-7,2,-36,123,-50,58v-3,-2,33,-92,30,-94v9,-47,39,-117,53,-166v6,-21,33,-14,23,4r-34,116v-2,18,-16,19,-11,39v8,-6,56,-66,65,-70",w:186,k:{",":41}},l:{d:"102,-260v5,-35,21,-28,24,-6v-21,124,-80,213,-102,336v-23,-3,-24,-32,-14,-60r76,-212v7,-22,14,-41,16,-58",w:124,k:{y:18,r:10,o:13,n:33,m:26,d:13,a:8,",":41}},m:{d:"72,-162v17,5,2,37,1,48v26,-21,47,-57,82,-67v9,-3,8,15,9,19v-3,27,-15,55,-28,88r80,-76v12,-21,41,-43,51,-11r-49,161v-2,6,-9,2,-12,-3v-12,-35,13,-90,21,-120v-31,15,-77,93,-110,107v-34,-21,7,-86,14,-116v-36,22,-66,56,-85,89v-9,17,-18,45,-27,47v-20,-6,-19,-13,-7,-39v16,-36,35,-110,60,-127",w:267,k:{y:26,p:21,",":54}},n:{d:"197,-174v33,-3,12,39,12,68r-29,105v-5,22,-24,9,-24,-3v0,-54,35,-93,30,-141v-13,2,-88,48,-91,60v-25,21,-45,46,-63,74v-11,17,-25,17,-31,3v-3,-3,46,-91,41,-95v4,-5,12,-50,25,-27v5,10,3,19,2,30v35,-19,83,-70,128,-74",w:215},o:{d:"121,-170v30,-5,25,66,17,87v-16,-10,-17,21,-19,20v-12,24,-54,62,-91,67v-12,-1,-29,-20,-27,-33v8,-70,50,-130,120,-141xm32,-32v48,-18,83,-49,88,-104v-22,-16,-38,20,-57,33v-11,9,-31,53,-31,71",w:142,k:{z:-18,y:41,x:21,",":54}},p:{d:"113,-155v-5,53,-33,87,-49,125v59,-9,100,-71,126,-115v10,-18,14,-31,14,-41v0,-24,-12,-27,-38,-27v-48,0,-66,35,-107,45v11,-38,72,-72,124,-72v27,0,51,29,50,56v0,50,-87,172,-158,178v-5,-2,-7,-7,-16,-6v-7,-1,-35,79,-33,85v-11,-3,-21,-6,-21,-16v1,-29,56,-148,81,-200v-3,-25,30,-49,27,-12",w:233,k:{y:41,p:31,l:15,f:36,d:28,a:21,",":51}},q:{d:"31,-141v0,8,3,15,12,14v48,0,83,-50,113,-75v14,53,-31,83,-48,124v-16,39,-43,71,-54,115v0,8,-9,41,-18,38v-18,0,-12,-25,-13,-43r67,-137v-11,-1,-27,9,-38,9v-31,0,-45,-23,-45,-56v0,-38,64,-122,101,-117v21,3,28,30,34,49v-1,21,-25,46,-47,52v4,-9,27,-19,23,-43v1,-16,-3,-33,-13,-33v-27,-3,-77,74,-74,103",w:163},r:{d:"69,-112v52,-32,77,-64,144,-72v4,0,6,6,6,9v-67,45,-137,69,-177,131v-12,7,-8,57,-30,45v-2,0,-5,1,-7,2v-1,-67,34,-97,48,-152v5,-19,22,-10,25,-1v-1,11,-4,25,-9,38",w:215,k:{y:54,x:49,w:18,v:26,u:28,r:28,p:28,o:46,n:36,m:23,l:39,j:98,h:31,g:10,f:44,e:46,d:41,c:26,b:23,a:45}},s:{d:"15,-156v-1,-18,120,-61,161,-61v9,0,24,7,22,16v-5,26,-51,11,-75,22v-27,13,-56,14,-77,31v21,22,84,56,81,99v-1,28,-22,45,-51,47v-19,2,-75,-22,-73,-40v-2,-12,4,-11,14,-11v2,-1,40,34,47,29v40,-4,50,-41,16,-67v-20,-16,-63,-39,-65,-65",w:194,k:{y:33,p:28,o:33,l:26,h:23,d:36,c:13,b:33,a:56,",":51}},t:{d:"118,-285v6,-9,24,3,24,12v-8,34,-55,98,-65,129v32,-2,36,-6,54,0v-9,15,-35,24,-61,27v-15,5,-48,77,-43,103v-1,15,25,41,41,41r50,0v-7,24,-40,20,-66,18v-25,-2,-49,-35,-49,-63v0,-34,21,-77,24,-89v-19,4,-28,-31,-7,-32v35,9,36,-35,52,-52v10,-11,37,-82,46,-94",w:142,k:{d:26,",":33}},u:{d:"37,2v-64,-1,-26,-94,-9,-118v7,-3,36,-110,56,-50v-18,37,-54,84,-58,129v-1,11,5,12,16,11v62,-9,122,-68,135,-117v0,-3,-17,-16,-12,-23v16,-7,41,-10,36,18v-14,80,-92,135,-164,150",w:199,k:{y:39,x:21,m:13,",":51}},v:{d:"216,-210v7,2,8,9,8,20v-15,26,-70,85,-93,114v0,0,1,-1,1,-2v-31,29,-76,82,-117,82v-13,0,-12,-20,-12,-35v1,-33,16,-68,25,-98v-1,-9,23,-57,26,-27v2,17,-29,110,-24,126v47,-16,104,-85,138,-124v19,-23,32,-50,48,-56",w:223,k:{y:41,w:13,o:33,a:54,",":82}},w:{d:"30,-35v35,-13,71,-70,97,-99v1,7,12,12,16,18v-9,29,-9,100,28,83v25,-11,67,-66,80,-98v7,-18,13,-26,17,-26v9,-1,12,8,11,18v-12,57,-67,123,-121,142v-32,0,-39,-42,-51,-65v-10,13,-101,109,-106,36v7,-35,34,-106,56,-121v37,10,-4,48,-11,63v-7,16,-13,29,-16,49",w:277},x:{d:"123,-127v31,-27,49,-47,94,-52v4,0,6,1,6,4v-1,13,-1,11,-13,12v-28,19,-77,54,-81,69v10,29,30,65,7,86v-4,-6,-25,-70,-31,-63v-32,25,-76,48,-77,99v-13,16,-28,1,-27,-19v2,-42,76,-84,99,-118v-2,-14,-11,-29,-11,-44v-1,-6,3,-6,9,-6v11,-5,19,32,25,32",w:220,k:{y:41,o:36,e:15,c:21,",":57}},y:{d:"86,-71v-21,-29,-6,-87,-6,-121v0,-19,28,-19,29,2v-11,22,-9,74,-7,103v39,-39,86,-87,113,-128v11,-17,20,-3,22,9v-58,90,-139,152,-204,247v-17,25,-26,45,-34,19v13,-40,56,-90,87,-131",w:238,k:{x:39,o:15,n:23,m:21,l:39,k:28,e:33,d:26,c:31,a:44,",":72}},z:{d:"220,-38v-11,12,-55,12,-69,13v-62,3,-58,10,-133,30v-8,-5,-12,-12,-13,-21v32,-29,126,-78,148,-125v-45,-5,-85,7,-130,11v-10,0,-25,-9,-24,-18v2,-12,22,-8,37,-9v39,-11,75,-9,121,-9v15,-1,23,11,23,25v-1,29,-64,77,-89,100v36,-9,99,-13,129,3",w:218,k:{y:28,",":28}},"{":{},"|":{},"}":{},"~":{},"\u2013":{d:"6,-138v49,-32,178,-43,255,-30v16,7,34,19,37,30v-23,6,-46,-9,-68,-9v-87,0,-144,10,-224,29r0,-20",w:287},"\u201c":{d:"93,-285v11,-2,14,9,11,18v-29,14,-78,47,-78,86v0,16,17,31,18,45v-24,-7,-39,-25,-39,-56v0,-29,55,-99,88,-93xm150,-265v28,5,24,26,-6,34v-30,8,-35,22,-47,35v-7,7,-10,17,-10,28v0,27,17,31,29,40v-37,5,-55,-14,-54,-53v-4,-21,66,-89,88,-84",w:360},"\u201d":{d:"23,-285v71,14,49,148,-22,144v-2,0,-2,-1,-2,-2v19,-20,45,-50,46,-83v7,-25,-64,-49,-22,-59xm87,-283v53,16,44,165,-27,150v17,-19,36,-46,37,-76v0,-33,-11,-45,-22,-63v0,-5,8,-11,12,-11",w:360},"\u2018":{d:"100,-285v14,5,12,20,-6,25v-36,10,-61,39,-69,69v4,22,36,36,53,49v-35,9,-77,-21,-77,-53v12,-43,46,-89,99,-90",w:360},"\u2019":{d:"36,-283v32,6,69,68,29,99v-14,11,-42,27,-71,39v19,-19,62,-57,60,-80v5,-24,-26,-30,-33,-44v0,-12,2,-16,15,-14",w:360}}});if(!hs){var hs={lang:{cssDirection:"ltr",loadingText:"mangling pixels ...",loadingTitle:"Click to cancel",focusTitle:"Click to bring to front",fullExpandTitle:"expand",creditsText:"",creditsTitle:"",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:"",restoreCursor:"",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","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(id){if(id)return document.getElementById(id)},push:function(arr,val){arr[arr.length]=val},createElement:function(tag,attribs,styles,parent,nopad){var el=document.createElement(tag);if(attribs)hs.extend(el,attribs);if(nopad)hs.setStyles(el,{padding:0,border:"none",margin:0});if(styles)hs.setStyles(el,styles);if(parent)parent.appendChild(el);return el},extend:function(el,attribs){for(var x in attribs)el[x]=attribs[x];return el},setStyles:function(el,styles){for(var x in styles)if(hs.ie&&x=="opacity")if(styles[x]>0.99)el.style.removeAttribute("filter");else el.style.filter="alpha(opacity="+styles[x]*100+")";else el.style[x]=styles[x]},animate:function(el,prop,opt){var start,end,unit;if(typeof opt!="object"||opt===null){var args=arguments;opt={duration:args[2],easing:args[3],complete:args[4]}}if(typeof opt.duration!="number")opt.duration=250;opt.easing=Math[opt.easing]||Math.easeInQuad;opt.curAnim=hs.extend({},prop);for(var name in prop){var e=new hs.fx(el,opt,name);start=parseFloat(hs.css(el,name))||0;end=parseFloat(prop[name]);unit=name!="opacity"?"px":"";e.custom(start,end,unit)}},css:function(el,prop){if(document.defaultView)return document.defaultView.getComputedStyle(el,null).getPropertyValue(prop);else{if(prop=="opacity")prop="filter";var val=el.currentStyle[prop.replace(/\-(\w)/g,function(a,b){return b.toUpperCase()})];if(prop=="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,iebody=d.compatMode&&d.compatMode!="BackCompat"?d.documentElement:d.body;var width=hs.ie?iebody.clientWidth:d.documentElement.clientWidth||self.innerWidth,height=hs.ie?iebody.clientHeight:self.innerHeight;hs.page={width:width,height:height,scrollLeft:hs.ie?iebody.scrollLeft:pageXOffset,scrollTop:hs.ie?iebody.scrollTop:pageYOffset}},getPosition:function(el){if(/area/i.test(el.tagName)){var imgs=document.getElementsByTagName("img");for(var i=0;i<imgs.length;i++){var u=imgs[i].useMap;if(u&&u.replace(/^.*?#/,"")==el.parentNode.name){el=imgs[i];break}}}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,params,custom,type){if(!a)a=hs.createElement("a",null,{display:"none"},hs.container);if(typeof a.getParams=="function")return params;if(type=="html"){for(var i=0;i<hs.sleeping.length;i++)if(hs.sleeping[i]&&hs.sleeping[i].a==a){hs.sleeping[i].awake();hs.sleeping[i]=null;return false}hs.hasHtmlExpanders=true}try{new hs.Expander(a,params,custom,type);return false}catch(e){return true}},htmlExpand:function(a,params,custom){return hs.expand(a,params,custom,"html")},getSelfRendered:function(){return hs.createElement("div",{className:"highslide-html-content",innerHTML:hs.replaceLang(hs.skin.contentWrapper)})},getElementByClass:function(el,tagName,className){var els=el.getElementsByTagName(tagName);for(var i=0;i<els.length;i++)if((new RegExp(className)).test(els[i].className))return els[i];return null},replaceLang:function(s){s=s.replace(/\s/g," ");var re=/{hs\.lang\.([^}]+)\}/g,matches=s.match(re),lang;if(matches)for(var i=0;i<matches.length;i++){lang=matches[i].replace(re,"$1");if(typeof hs.lang[lang]!="undefined")s=s.replace(matches[i],hs.lang[lang])}return s},setClickEvents:function(){var els=document.getElementsByTagName("a");for(var i=0;i<els.length;i++){var type=hs.isUnobtrusiveAnchor(els[i]);if(type&&!els[i].hsHasSetClick){(function(){var t=type;if(hs.fireEvent(hs,"onSetClickEvent",{element:els[i],type:t}))els[i].onclick=type=="image"?function(){return hs.expand(this)}:function(){return hs.htmlExpand(this,{objectType:t})}})();els[i].hsHasSetClick=true}}hs.getAnchors()},isUnobtrusiveAnchor:function(el){if(el.rel=="highslide")return"image";else if(el.rel=="highslide-ajax")return"ajax";else if(el.rel=="highslide-iframe")return"iframe";else if(el.rel=="highslide-swf")return"swf"},getCacheBinding:function(a){for(var i=0;i<hs.cacheBindings.length;i++)if(hs.cacheBindings[i][0]==a){var c=hs.cacheBindings[i][1];hs.cacheBindings[i][1]=c.cloneNode(1);return c}return null},preloadAjax:function(e){var arr=hs.getAnchors();for(var i=0;i<arr.htmls.length;i++){var a=arr.htmls[i];if(hs.getParam(a,"objectType")=="ajax"&&hs.getParam(a,"cacheAjax"))hs.push(hs.preloadTheseAjax,a)}hs.preloadAjaxElement(0)},preloadAjaxElement:function(i){if(!hs.preloadTheseAjax[i])return;var a=hs.preloadTheseAjax[i];var cache=hs.getNode(hs.getParam(a,"contentId"));if(!cache)cache=hs.getSelfRendered();var ajax=new hs.Ajax(a,cache,1);ajax.onError=function(){};ajax.onLoad=function(){hs.push(hs.cacheBindings,[a,cache]);hs.preloadAjaxElement(i+1)};ajax.run()},focusTopmost:function(){var topZ=0,topmostKey=-1,expanders=hs.expanders,exp,zIndex;for(var i=0;i<expanders.length;i++){exp=expanders[i];if(exp){zIndex=exp.wrapper.style.zIndex;if(zIndex&&zIndex>topZ){topZ=zIndex;topmostKey=i}}}if(topmostKey==-1)hs.focusKey=-1;else expanders[topmostKey].focus()},getParam:function(a,param){a.getParams=a.onclick;var p=a.getParams?a.getParams():null;a.getParams=null;return p&&typeof p[param]!="undefined"?p[param]:typeof hs[param]!="undefined"?hs[param]:null},getSrc:function(a){var src=hs.getParam(a,"src");if(src)return src;return a.href},getNode:function(id){var node=hs.$(id),clone=hs.clones[id],a={};if(!node&&!clone)return null;if(!clone){clone=node.cloneNode(true);clone.id="";hs.clones[id]=clone;return node}else return clone.cloneNode(true)},discardElement:function(d){if(d)hs.garbageBin.appendChild(d);hs.garbageBin.innerHTML=""},dim:function(exp){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+="|"+exp.key;if(hs.geckoMac&&hs.dimmingGeckoFix)hs.setStyles(hs.dimmer,{background:"url("+hs.graphicsDir+"geckodimmer.png)",opacity:1});else hs.animate(hs.dimmer,{opacity:exp.dimmingOpacity},hs.dimmingDuration)},undim:function(key){if(!hs.dimmer)return;if(typeof key!="undefined")hs.dimmer.owner=hs.dimmer.owner.replace("|"+key,"");if(typeof key!="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(adj,exp){var last=exp=exp||hs.getExpander();if(hs.upcoming)return false;else hs.last=last;try{hs.upcoming=adj;adj.onclick()}catch(e){hs.last=hs.upcoming=null}try{if(!adj||exp.transitions[1]!="crossfade")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;if(!hs.fireEvent(hs,"onKeyDown",e))return true;var exp=hs.getExpander();var op=null;switch(e.keyCode){case 70:if(exp)exp.doFullExpand();return true;case 32:op=2;break;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){if(op!=2)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 if(op==2){if(exp.slideshow)exp.slideshow.hitSpace()}else{if(exp.slideshow)exp.slideshow.pause();hs.previousOrNext(exp.key,op)}return false}}return true},registerOverlay:function(overlay){hs.push(hs.overlays,hs.extend(overlay,{hsId:"hsId"+hs.idCounter++}))},addSlideshow:function(options){var sg=options.slideshowGroup;if(typeof sg=="object")for(var i=0;i<sg.length;i++){var o={};for(var x in options)o[x]=options[x];o.slideshowGroup=sg[i];hs.push(hs.slideshows,o)}else hs.push(hs.slideshows,options)},getWrapperKey:function(element,expOnly){var el,re=/^highslide-wrapper-([0-9]+)$/;el=element;while(el.parentNode){if(el.hsKey!==undefined)return el.hsKey;if(el.id&&re.test(el.id))return el.id.replace(re,"$1");el=el.parentNode}if(!expOnly){el=element;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,expOnly){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,expOnly)]||null},isHsAnchor:function(a){return a.onclick&&a.onclick.toString().replace(/\s/g," ").match(/hs.(htmlE|e)xpand/)},reOrder:function(){for(var i=0;i<hs.expanders.length;i++)if(hs.expanders[i]&&hs.expanders[i].isExpanded)hs.focusTopmost()},fireEvent:function(obj,evt,args){return obj&&obj[evt]?obj[evt](obj,args)!==false:true},mouseClickHandler:function(e){if(!e)e=window.event;if(e.button>1)return true;if(!e.target)e.target=e.srcElement;var el=e.target;while(el.parentNode&&!/highslide-(image|move|html|resize)/.test(el.className))el=el.parentNode;var exp=hs.getExpander(el);if(exp&&(exp.isClosing||!exp.isExpanded))return true;if(exp&&e.type=="mousedown"){if(e.target.form)return true;var match=el.className.match(/highslide-(image|move|resize)/);if(match){hs.dragArgs={exp:exp,type:match[1],left:exp.x.pos,width:exp.x.size,top:exp.y.pos,height:exp.y.size,clickX:e.clientX,clickY:e.clientY};hs.addEventListener(document,"mousemove",hs.dragHandler);if(e.preventDefault)e.preventDefault();if(/highslide-(image|html)-blur/.test(exp.content.className)){exp.focus();hs.hasFocused=true}return false}else if(/highslide-html/.test(el.className)&&hs.focusKey!=exp.key){exp.focus();exp.doShowHide("hidden")}}else if(e.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 hasDragged=hs.dragArgs.hasDragged;if(!hasDragged&&!hs.hasFocused&&!/(move|resize)/.test(hs.dragArgs.type)){if(hs.fireEvent(exp,"onImageClick"))exp.close()}else if(hasDragged||!hasDragged&&hs.hasHtmlExpanders)hs.dragArgs.exp.doShowHide("hidden");if(hs.dragArgs.exp.releaseMask)hs.dragArgs.exp.releaseMask.style.display="none";if(hasDragged)hs.fireEvent(hs.dragArgs.exp,"onDrop",hs.dragArgs);hs.hasFocused=false;hs.dragArgs=null}else if(/highslide-image-blur/.test(el.className))el.style.cursor=hs.styleRestoreCursor}return false},dragHandler:function(e){if(!hs.dragArgs)return true;if(!e)e=window.event;var a=hs.dragArgs,exp=a.exp;if(exp.iframe){if(!exp.releaseMask)exp.releaseMask=hs.createElement("div",null,{position:"absolute",width:exp.x.size+"px",height:exp.y.size+"px",left:exp.x.cb+"px",top:exp.y.cb+"px",zIndex:4,background:hs.ie?"white":"none",opacity:0.01},exp.wrapper,true);if(exp.releaseMask.style.display=="none")exp.releaseMask.style.display=""}a.dX=e.clientX-a.clickX;a.dY=e.clientY-a.clickY;var distance=Math.sqrt(Math.pow(a.dX,2)+Math.pow(a.dY,2));if(!a.hasDragged)a.hasDragged=a.type!="image"&&distance>0||distance>(hs.dragSensitivity||5);if(a.hasDragged&&e.clientX>5&&e.clientY>5){if(!hs.fireEvent(exp,"onDrag",a))return false;if(a.type=="resize")exp.resize(a);else{exp.moveTo(a.left+a.dX,a.top+a.dY);if(a.type=="image")exp.content.style.cursor="move"}}return false},wrapperMouseHandler:function(e){try{if(!e)e=window.event;var over=/mouseover/i.test(e.type);if(!e.target)e.target=e.srcElement;if(hs.ie)e.relatedTarget=over?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;hs.fireEvent(exp,over?"onMouseOver":"onMouseOut",e);for(var i=0;i<exp.overlays.length;i++)(function(){var o=hs.$("hsId"+exp.overlays[i]);if(o&&o.hideOnMouseOut){if(over)hs.setStyles(o,{visibility:"visible",display:""});hs.animate(o,{opacity:over?o.opacity:0},o.dur)}})()}catch(e){}},addEventListener:function(el,event,func){if(el==document&&event=="ready")hs.push(hs.onReady,func);try{el.addEventListener(event,func,false)}catch(e){try{el.detachEvent("on"+event,func);el.attachEvent("on"+event,func)}catch(e){el["on"+event]=func}}},removeEventListener:function(el,event,func){try{el.removeEventListener(event,func,false)}catch(e){try{el.detachEvent("on"+event,func)}catch(e){el["on"+event]=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(number){if(number&&typeof number!="object")hs.numberOfImagesToPreload=number;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]));if(hs.outlineType)new hs.Outline(hs.outlineType,function(){hs.preloadFullImage(0)});else 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;hs.ie6SSL=hs.ieLt7&&location.protocol=="https:";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);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(t,b,c,d){return c*t/d+b};Math.easeInQuad=function(t,b,c,d){return c*(t/=d)*t+b};Math.easeOutQuad=function(t,b,c,d){return-c*(t/=d)*(t-2)+b};hs.hideSelects=hs.ieLt7;hs.hideIframes=window.opera&&hs.uaVersion<9||navigator.vendor=="KDE"||hs.ie&&hs.uaVersion<5.5;hs.fireEvent(this,"onActivate")}},ready:function(){if(hs.isReady)return;hs.isReady=true;for(var i=0;i<hs.onReady.length;i++)hs.onReady[i]()},updateAnchors:function(){var el,els,all=[],images=[],htmls=[],groups={},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(images,el);else if(re[0]=="hs.htmlExpand")hs.push(htmls,el);var g=hs.getParam(el,"slideshowGroup")||"none";if(!groups[g])groups[g]=[];hs.push(groups[g],el)}}}hs.anchors={all:all,groups:groups,images:images,htmls:htmls};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(elem,options,prop){this.options=options;this.elem=elem;this.prop=prop;if(!options.orig)options.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(from,to,unit){this.startTime=(new Date).getTime();this.start=from;this.end=to;this.unit=unit;this.now=this.start;this.pos=this.state=0;var self=this;function t(gotoEnd){return self.step(gotoEnd)}t.elem=this.elem;if(t()&&hs.timers.push(t)==1)hs.timerId=setInterval(function(){var timers=hs.timers;for(var i=0;i<timers.length;i++)if(!timers[i]())timers.splice(i--,1);if(!timers.length)clearInterval(hs.timerId)},13)},step:function(gotoEnd){var t=(new Date).getTime();if(gotoEnd||t>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var done=true;for(var i in this.options.curAnim)if(this.options.curAnim[i]!==true)done=false;if(done)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.Outline=function(outlineType,onLoad){this.onLoad=onLoad;this.outlineType=outlineType;var v=hs.uaVersion,tr;this.hasAlphaImageLoader=hs.ie&&v>=5.5&&v<7;if(!outlineType){if(onLoad)onLoad();return}hs.init();this.table=hs.createElement("table",{cellSpacing:0},{visibility:"hidden",position:"absolute",borderCollapse:"collapse",width:0},hs.container,true);var tbody=hs.createElement("tbody",null,null,this.table,1);this.td=[];for(var i=0;i<=8;i++){if(i%3==0)tr=hs.createElement("tr",null,{height:"auto"},tbody,true);this.td[i]=hs.createElement("td",null,null,tr,true);var style=i!=4?{lineHeight:0,fontSize:0}:{position:"relative"};hs.setStyles(this.td[i],style)}this.td[4].className=outlineType+" highslide-outline";this.preloadGraphic()};hs.Outline.prototype={preloadGraphic:function(){var src=hs.graphicsDir+(hs.outlinesDir||"outlines/")+this.outlineType+".png";var appendTo=hs.safari?hs.container:null;this.graphic=hs.createElement("img",null,{position:"absolute",top:"-9999px"},appendTo,true);var pThis=this;this.graphic.onload=function(){pThis.onGraphicLoad()};this.graphic.src=src},onGraphicLoad:function(){var o=this.offset=this.graphic.width/4,pos=[[0,0],[0,-4],[-2,0],[0,-8],0,[-2,-8],[0,-2],[0,-6],[-2,-2]],dim={height:2*o+"px",width:2*o+"px"};for(var i=0;i<=8;i++)if(pos[i]){if(this.hasAlphaImageLoader){var w=i==1||i==7?"100%":this.graphic.width+"px";var div=hs.createElement("div",null,{width:"100%",height:"100%",position:"relative",overflow:"hidden"},this.td[i],true);hs.createElement("div",null,{filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale, src='"+this.graphic.src+"')",position:"absolute",width:w,height:this.graphic.height+"px",left:pos[i][0]*o+"px",top:pos[i][1]*o+"px"},div,true)}else hs.setStyles(this.td[i],{background:"url("+this.graphic.src+") "+pos[i][0]*o+"px "+
pos[i][1]*o+"px"});if(window.opera&&(i==3||i==5))hs.createElement("div",null,dim,this.td[i],true);hs.setStyles(this.td[i],dim)}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(pos,offset,vis,dur,easing){var exp=this.exp,stl=exp.wrapper.style,offset=offset||0,pos=pos||{x:exp.x.pos+offset,y:exp.y.pos+offset,w:exp.x.get("wsize")-2*offset,h:exp.y.get("wsize")-
2*offset};if(vis)this.table.style.visibility=pos.h>=4*this.offset?"visible":"hidden";hs.setStyles(this.table,{left:pos.x-this.offset+"px",top:pos.y-this.offset+"px",width:pos.w+2*this.offset+"px"});pos.w-=2*this.offset;pos.h-=2*this.offset;hs.setStyles(this.td[4],{width:pos.w>=0?pos.w+"px":0,height:pos.h>=0?pos.h+"px":0});if(this.hasAlphaImageLoader)this.td[3].style.height=this.td[5].style.height=this.td[4].style.height},destroy:function(hide){if(hide)this.table.style.visibility="hidden";else hs.discardElement(this.table)}};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"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 exp=this.exp;this.justify="auto";if(exp.align=="center")this.justify="center";else if((new RegExp(this.lt)).test(exp.anchor))this.justify=null;else if((new RegExp(this.rb)).test(exp.anchor))this.justify="max";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.target=exp["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(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(exp.outline)exp.outline.setPosition();if(exp.releaseMask)exp.releaseMask.style[this.wh]=i+"px";if(this.dim=="y"&&exp.iDoc&&exp.body.style.height!="auto")try{exp.iDoc.body.style.overflow="auto"}catch(e){}if(exp.isHtml){var d=exp.scrollerDiv;if(this.sizeDiff===undefined)this.sizeDiff=exp.innerContent["offset"+this.ucwh]-d["offset"+this.ucwh];d.style[this.wh]=this.size-this.sizeDiff+"px";if(this.dim=="x")exp.mediumContent.style.width="auto";if(exp.body)exp.body.style[this.wh]="auto"}if(this.dim=="x"&&exp.overlayBox)exp.sizeOverlayBox(true);if(this.dim=="x"&&exp.slideshow&&exp.isImage)if(i==this.full)exp.slideshow.disable("full-expand");else exp.slideshow.enable("full-expand")},setPos:function(i){this.pos=i;this.exp.wrapper.style[this.lt]=i+"px";if(this.exp.outline)this.exp.outline.setPosition()}};hs.Expander=function(a,params,custom,contentType){if(document.readyState&&hs.ie&&!hs.isReady){hs.addEventListener(document,"ready",function(){new hs.Expander(a,params,custom,contentType)});return}this.a=a;this.custom=custom;this.contentType=contentType||"image";this.isHtml=contentType=="html";this.isImage=!this.isHtml;hs.continuePreloading=false;this.overlays=[];this.last=hs.last;hs.last=null;hs.init();var key=this.key=hs.expanders.length;for(var i=0;i<hs.overrides.length;i++){var name=hs.overrides[i];this[name]=params&&typeof params[name]!="undefined"?params[name]:hs[name]}if(!this.src)this.src=a.href;var el=params&&params.thumbnailId?hs.$(params.thumbnailId):a;el=this.thumb=el.getElementsByTagName("img")[0]||el;this.thumbsUserSetId=el.id||a.id;if(!hs.fireEvent(this,"onInit"))return true;for(var i=0;i<hs.expanders.length;i++)if(hs.expanders[i]&&hs.expanders[i].a==a&&!(this.last&&this.transitions[1]=="crossfade")){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.allowMultipleInstances&&!hs.upcoming){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=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();if(/area/i.test(el.tagName))this.getImageMapAreaCorrection(el);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 exp=this;new hs.Outline(this.outlineType,function(){exp.connectOutline();exp[exp.contentType+"Create"]()})}return true};hs.Expander.prototype={error:function(e){window.location.href=this.src},connectOutline:function(){var outline=this.outline=hs.pendingOutlines[this.outlineType];outline.exp=this;outline.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 exp=this;this.loading.onclick=function(){exp.cancelLoading()};if(!hs.fireEvent(this,"onShowLoading"))return;var exp=this,l=this.x.get("loadingPos")+"px",t=this.y.get("loadingPos")+"px";if(!tgt&&this.last&&this.transitions[1]=="crossfade")var tgt=this.last;if(tgt){l=tgt.x.get("loadingPosXfade")+"px";t=tgt.y.get("loadingPosXfade")+"px";this.loading.style.zIndex=hs.zIndexCounter++}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()};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.container.appendChild(img);if(hs.ie&&hs.flushImgSize)img.src=null;img.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 body=hs.getElementByClass(this.content,"div","highslide-body");if(body)body.appendChild(this.maincontent);this.maincontent.style.display="block"}hs.fireEvent(this,"onAfterGetContent");var innerContent=this.innerContent=this.content;if(/(swf|iframe)/.test(this.objectType))this.setObjContainerSize(innerContent);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,overflow:"hidden"},this.wrapper);this.mediumContent=hs.createElement("div",null,null,this.content,1);this.mediumContent.appendChild(innerContent);hs.setStyles(innerContent,{position:"relative",display:"block",direction:hs.lang.cssDirection||""});if(this.width)innerContent.style.width=this.width+"px";if(this.height)hs.setStyles(innerContent,{height:this.height+"px",overflow:"hidden"});if(innerContent.offsetWidth<this.minWidth)innerContent.style.width=this.minWidth+"px";if(this.objectType=="ajax"&&!hs.getCacheBinding(this.a)){this.showLoading();var exp=this;var ajax=new hs.Ajax(this.a,innerContent);ajax.src=this.src;ajax.onLoad=function(){if(hs.expanders[exp.key])exp.contentLoaded()};ajax.onError=function(){location.href=exp.src};ajax.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 x=this.x,y=this.y;if(this.loading){hs.setStyles(this.loading,{top:"-9999px"});this.loading=null;hs.fireEvent(this,"onHideLoading")}if(this.isImage){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)}else if(this.htmlGetSize)this.htmlGetSize();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.initSlideshow();this.getOverlays();var ratio=x.full/y.full;x.calcExpanded();this.justify(x);y.calcExpanded();this.justify(y);if(this.isHtml)this.htmlSizeOperations();if(this.overlayBox)this.sizeOverlayBox(0,1);if(this.allowSizeReduction){if(this.isImage)this.correctRatio(ratio);else this.fitOverlayBox();var ss=this.slideshow;if(ss&&this.last&&ss.controls&&ss.fixedControls){var pos=ss.overlayOptions.position||"",p;for(var dim in hs.oPos)for(var i=0;i<5;i++){p=this[dim];if(pos.match(hs.oPos[dim][i])){p.pos=this.last[dim].pos+(this.last[dim].p1-p.p1)+(this.last[dim].size-p.size)*[0,0,0.5,1,1][i];if(ss.fixedControls=="fit"){if(p.pos+p.size+p.p1+p.p2>p.scroll+p.clientSize-p.marginMax)p.pos=p.scroll+p.clientSize-p.size-p.marginMin-p.marginMax-p.p1-p.p2;if(p.pos<p.scroll+p.marginMin)p.pos=p.scroll+p.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(e){this.error(e)}},setObjContainerSize:function(parent,auto){var c=hs.getElementByClass(parent,"DIV","highslide-body");if(/(iframe|swf)/.test(this.objectType)){if(this.objectWidth)c.style.width=this.objectWidth+"px";if(this.objectHeight)c.style.height=this.objectHeight+"px"}},writeExtendedContent:function(){if(this.hasExtendedContent)return;var exp=this;this.body=hs.getElementByClass(this.innerContent,"DIV","highslide-body");if(this.objectType=="iframe"){this.showLoading();var ruler=hs.clearing.cloneNode(1);this.body.appendChild(ruler);this.newWidth=this.innerContent.offsetWidth;if(!this.objectWidth)this.objectWidth=ruler.offsetWidth;var hDiff=this.innerContent.offsetHeight-this.body.offsetHeight,h=this.objectHeight||hs.page.height-hDiff-hs.marginTop-hs.marginBottom,onload=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:"+h+'px" '+onload+' src="'+this.src+'" ></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 h;try{var doc=this.iDoc=this.iframe.contentDocument||this.iframe.contentWindow.document;var clearing=doc.createElement("div");clearing.style.clear="both";doc.body.appendChild(clearing);h=clearing.offsetTop;if(hs.ie)h+=parseInt(doc.body.currentStyle.marginTop)+
parseInt(doc.body.currentStyle.marginBottom)-1}catch(e){h=300}return h},correctIframeSize:function(){var wDiff=this.innerContent.offsetWidth-this.ruler.offsetWidth;hs.discardElement(this.ruler);if(wDiff<0)wDiff=0;var hDiff=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(e){}hs.setStyles(this.iframe,{width:Math.abs(this.x.size-wDiff)+"px",height:Math.abs(this.y.size-hDiff)+"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.writeExtendedContent();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 node=hs.getElementByClass(this.innerContent,"DIV","highslide-body");if(node&&!/(iframe|swf)/.test(this.objectType)){var cNode=node;node=hs.createElement(cNode.nodeName,null,{overflow:"hidden"},null,true);cNode.parentNode.insertBefore(node,cNode);node.appendChild(hs.clearing);node.appendChild(cNode);var wDiff=this.innerContent.offsetWidth-
node.offsetWidth;var hDiff=this.innerContent.offsetHeight-node.offsetHeight;node.removeChild(hs.clearing);var kdeBugCorr=hs.safari||navigator.vendor=="KDE"?1:0;hs.setStyles(node,{width:this.x.size-wDiff-kdeBugCorr+"px",height:this.y.size-hDiff+"px",overflow:"auto",position:"relative"});if(kdeBugCorr&&cNode.offsetHeight>node.offsetHeight)node.style.width=parseInt(node.style.width)+kdeBugCorr+"px";this.scrollingContent=node;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(area){var c=area.coords.split(",");for(var i=0;i<c.length;i++)c[i]=parseInt(c[i]);if(area.shape.toLowerCase()=="circle"){this.x.tpos+=c[0]-c[2];this.y.tpos+=c[1]-c[2];this.x.t=this.y.t=2*c[2]}else{var maxX,maxY,minX=maxX=c[0],minY=maxY=c[1];for(var i=0;i<c.length;i++)if(i%2==0){minX=Math.min(minX,c[i]);maxX=Math.max(maxX,c[i])}else{minY=Math.min(minY,c[i]);maxY=Math.max(maxY,c[i])}this.x.tpos+=minX;this.x.t=maxX-minX;this.y.tpos+=minY;this.y.t=maxY-minY}},justify:function(p,moveOnly){var tgtArr,tgt=p.target,dim=p==this.x?"x":"y";if(tgt&&tgt.match(/ /)){tgtArr=tgt.split(" ");tgt=tgtArr[0]}if(tgt&&hs.$(tgt)){p.pos=hs.getPosition(hs.$(tgt))[dim];if(tgtArr&&tgtArr[1]&&tgtArr[1].match(/^[-]?[0-9]+px$/))p.pos+=parseInt(tgtArr[1]);if(p.size<p.minSize)p.size=p.minSize}else if(p.justify=="auto"||p.justify=="center"){var hasMovedMin=false;var allowReduce=p.exp.allowSizeReduction;if(p.justify=="center")p.pos=Math.round(p.scroll+(p.clientSize+p.marginMin-p.marginMax-p.get("wsize"))/2);else 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;hasMovedMin=true}if(!moveOnly&&p.size<p.minSize){p.size=p.minSize;allowReduce=false}if(p.pos+p.get("wsize")>p.scroll+p.clientSize-p.marginMax)if(!moveOnly&&hasMovedMin&&allowReduce)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(!moveOnly&&allowReduce)p.size=p.get(dim=="y"?"fitsize":"maxsize")}if(!moveOnly&&p.size<p.minSize){p.size=p.minSize;allowReduce=false}}else if(p.justify=="max")p.pos=Math.floor(p.pos-p.size+p.t);if(p.pos<p.marginMin){var tmpMin=p.pos;p.pos=p.marginMin;if(allowReduce&&!moveOnly)p.size=p.size-(p.pos-tmpMin)}},correctRatio:function(ratio){var x=this.x,y=this.y,changed=false,xSize=Math.min(x.full,x.size),ySize=Math.min(y.full,y.size),useBox=this.useBox||hs.padToMinWidth;if(xSize/ySize>ratio){xSize=ySize*ratio;if(xSize<x.minSize){xSize=x.minSize;ySize=xSize/ratio}changed=true}else if(xSize/ySize<ratio){ySize=xSize/ratio;changed=true}if(hs.padToMinWidth&&x.full<x.minSize){x.imgSize=x.full;y.size=y.imgSize=y.full}else if(this.useBox){x.imgSize=xSize;y.imgSize=ySize}else{x.size=xSize;y.size=ySize}changed=this.fitOverlayBox(useBox?null:ratio,changed);if(useBox&&y.size<y.imgSize){y.imgSize=y.size;x.imgSize=y.size*ratio}if(changed||useBox){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(ratio,changed){var x=this.x,y=this.y;if(this.overlayBox&&(this.isImage||this.allowHeightReduction))while(y.size>this.minHeight&&x.size>this.minWidth&&y.get("wsize")>y.get("fitsize")){y.size-=10;if(ratio)x.size=y.size*ratio;this.sizeOverlayBox(0,1);changed=true}return changed},reflow:function(){if(this.scrollerDiv){var h=/iframe/i.test(this.scrollerDiv.tagName)?this.getIframePageHeight()+1+"px":"auto";if(this.body)this.body.style.height=h;this.scrollerDiv.style.height=h;this.y.setSize(this.innerContent.offsetHeight)}},show:function(){var x=this.x,y=this.y;this.doShowHide("hidden");hs.fireEvent(this,"onBeforeExpand");if(this.slideshow&&this.slideshow.thumbstrip)this.slideshow.thumbstrip.selectThumb();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){var trans=this.transitions,other=up?this.last?this.last.a:null:hs.upcoming,t=trans[1]&&other&&hs.getParam(other,"transitions")[1]==trans[1]?trans[1]:trans[0];if(this[t]&&t!="expand"){this[t](up,to);return}if(this.outline&&!this.outlineWhileAnimating)if(up)this.outline.setPosition();else this.outline.destroy(this.isHtml&&this.preserveContent);if(!up)this.destroyOverlays();var exp=this,x=exp.x,y=exp.y,easing=this.easing;if(!up)easing=this.easingClose||easing;var after=up?function(){if(exp.outline)exp.outline.table.style.visibility="visible";setTimeout(function(){exp.afterExpand()},50)}:function(){exp.afterClose()};if(up)hs.setStyles(this.wrapper,{width:x.t+"px",height:y.t+"px"});if(up&&this.isHtml)hs.setStyles(this.wrapper,{left:x.tpos-x.cb+x.tb+"px",top:y.tpos-y.cb+y.tb+"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:easing,step:function(val,args){if(exp.outline&&exp.outlineWhileAnimating&&args.prop=="top"){var fac=up?args.pos:1-args.pos;var pos={w:x.t+(x.get("wsize")-x.t)*fac,h:y.t+(y.get("wsize")-y.t)*fac,x:x.tpos+(x.pos-x.tpos)*fac,y:y.tpos+(y.pos-y.tpos)*fac};exp.outline.setPosition(pos,0,1)}if(exp.isHtml){if(args.prop=="left")exp.mediumContent.style.left=x.pos-val+"px";if(args.prop=="top")exp.mediumContent.style.top=y.pos-val+"px"}}});hs.animate(this.content,to.content,dur,easing,after);if(up){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(up,to){this.outlineWhileAnimating=false;var exp=this,t=up?hs.expandDuration:0;if(up){hs.animate(this.wrapper,to.wrapper,0);hs.setStyles(this.wrapper,{opacity:0,visibility:"visible"});hs.animate(this.content,to.content,0);this.content.style.visibility="visible";hs.animate(this.wrapper,{opacity:1},t,null,function(){exp.afterExpand()})}if(this.outline){this.outline.table.style.zIndex=this.wrapper.style.zIndex;var dir=up||-1,offset=this.outline.offset,startOff=up?3:offset,endOff=up?offset:3;for(var i=startOff;dir*i<=dir*endOff;i+=dir,t+=25)(function(){var o=up?endOff-i:startOff-i;setTimeout(function(){exp.outline.setPosition(0,o,1)},t)})()}if(up);else setTimeout(function(){if(exp.outline)exp.outline.destroy(exp.preserveContent);exp.destroyOverlays();hs.animate(exp.wrapper,{opacity:0},hs.restoreDuration,null,function(){exp.afterClose()})},t)},crossfade:function(up,to,from){if(!up)return;var exp=this,last=this.last,x=this.x,y=this.y,lastX=last.x,lastY=last.y,wrapper=this.wrapper,content=this.content,overlayBox=this.overlayBox;hs.removeEventListener(document,"mousemove",hs.dragHandler);hs.setStyles(content,{width:(x.imgSize||x.size)+"px",height:(y.imgSize||y.size)+"px"});if(overlayBox)overlayBox.style.overflow="visible";this.outline=last.outline;if(this.outline)this.outline.exp=exp;last.outline=null;var fadeBox=hs.createElement("div",{className:"highslide-image"},{position:"absolute",zIndex:4,overflow:"hidden",display:"none"});var names={oldImg:last,newImg:this};for(var n in names){this[n]=names[n].content.cloneNode(1);hs.setStyles(this[n],{position:"absolute",border:0,visibility:"visible"});fadeBox.appendChild(this[n])}wrapper.appendChild(fadeBox);if(this.isHtml)hs.setStyles(this.mediumContent,{left:0,top:0});if(overlayBox){overlayBox.className="";wrapper.appendChild(overlayBox)}fadeBox.style.display="";last.content.style.display="none";if(hs.safari){var match=navigator.userAgent.match(/Safari\/([0-9]{3})/);if(match&&parseInt(match[1])<525)this.wrapper.style.visibility="visible"}hs.animate(wrapper,{width:x.size},{duration:hs.transitionDuration,step:function(val,args){var pos=args.pos,invPos=1-pos;var prop,size={},props=["pos","size","p1","p2"];for(var n in props){prop=props[n];size["x"+prop]=Math.round(invPos*lastX[prop]+pos*x[prop]);size["y"+prop]=Math.round(invPos*lastY[prop]+pos*y[prop]);size.ximgSize=Math.round(invPos*(lastX.imgSize||lastX.size)+pos*(x.imgSize||x.size));size.ximgPad=Math.round(invPos*lastX.get("imgPad")+
pos*x.get("imgPad"));size.yimgSize=Math.round(invPos*(lastY.imgSize||lastY.size)+pos*(y.imgSize||y.size));size.yimgPad=Math.round(invPos*lastY.get("imgPad")+pos*y.get("imgPad"))}if(exp.outline)exp.outline.setPosition({x:size.xpos,y:size.ypos,w:size.xsize+size.xp1+size.xp2+2*x.cb,h:size.ysize+size.yp1+size.yp2+2*y.cb});last.wrapper.style.clip="rect("+(size.ypos-lastY.pos)+"px, "+(size.xsize+size.xp1+size.xp2+size.xpos+2*lastX.cb-lastX.pos)+"px, "+(size.ysize+size.yp1+size.yp2+size.ypos+2*lastY.cb-
lastY.pos)+"px, "+(size.xpos-lastX.pos)+"px)";hs.setStyles(content,{top:size.yp1+y.get("imgPad")+"px",left:size.xp1+x.get("imgPad")+"px",marginTop:y.pos-size.ypos+"px",marginLeft:x.pos-size.xpos+"px"});hs.setStyles(wrapper,{top:size.ypos+"px",left:size.xpos+"px",width:size.xp1+size.xp2+size.xsize+2*x.cb+"px",height:size.yp1+size.yp2+size.ysize+2*y.cb+"px"});hs.setStyles(fadeBox,{width:(size.ximgSize||size.xsize)+"px",height:(size.yimgSize||size.ysize)+"px",left:size.xp1+size.ximgPad+"px",top:size.yp1+
size.yimgPad+"px",visibility:"visible"});hs.setStyles(exp.oldImg,{top:lastY.pos-size.ypos+lastY.p1-size.yp1+lastY.get("imgPad")-size.yimgPad+"px",left:lastX.pos-size.xpos+lastX.p1-size.xp1+lastX.get("imgPad")-size.ximgPad+"px"});hs.setStyles(exp.newImg,{opacity:pos,top:y.pos-size.ypos+y.p1-size.yp1+y.get("imgPad")-size.yimgPad+"px",left:x.pos-size.xpos+x.p1-size.xp1+x.get("imgPad")-size.ximgPad+"px"});if(overlayBox)hs.setStyles(overlayBox,{width:size.xsize+"px",height:size.ysize+"px",left:size.xp1+
x.cb+"px",top:size.yp1+y.cb+"px"})},complete:function(){wrapper.style.visibility=content.style.visibility="visible";content.style.display="block";fadeBox.style.display="none";exp.a.className+=" highslide-active-anchor";exp.afterExpand();last.afterClose();exp.last=null}})},reuseOverlay:function(o,el){if(!this.last)return false;for(var i=0;i<this.last.overlays.length;i++){var oDiv=hs.$("hsId"+this.last.overlays[i]);if(oDiv&&oDiv.hsId==o.hsId){this.genOverlayBox();oDiv.reuse=this.key;hs.push(this.overlays,this.last.overlays[i]);return true}}return false},afterExpand:function(){this.isExpanded=true;this.focus();if(this.isHtml&&this.objectLoadTime=="after")this.writeExtendedContent();if(this.iframe){try{var exp=this,doc=this.iframe.contentDocument||this.iframe.contentWindow.document;hs.addEventListener(doc,"mousedown",function(){if(hs.focusKey!=exp.key)exp.focus()})}catch(e){}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 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();hs.fireEvent(this,"onAfterExpand")},prepareNextOutline:function(){var key=this.key;var outlineType=this.outlineType;new hs.Outline(outlineType,function(){try{hs.expanders[key].preloadNext()}catch(e){}})},preloadNext:function(){var next=this.getAdjacentAnchor(1);if(next&&next.onclick.toString().match(/hs\.expand/))var img=hs.createElement("img",{src:hs.getSrc(next)})},getAdjacentAnchor:function(op){var current=this.getAnchorIndex(),as=hs.anchors.groups[this.slideshowGroup||"none"];if(!as[current+op]&&this.slideshow&&this.slideshow.repeat)if(op==1)return as[0];else if(op==-1)return as[as.length-1];return as[current+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},getNumber:function(){if(this[this.numberPosition]){var arr=hs.anchors.groups[this.slideshowGroup||"none"];if(arr){var s=hs.lang.number.replace("%1",this.getAnchorIndex()+1).replace("%2",arr.length);this[this.numberPosition].innerHTML='<div class="highslide-number">'+s+"</div>"+this[this.numberPosition].innerHTML}}},initSlideshow:function(){if(!this.last)for(var i=0;i<hs.slideshows.length;i++){var ss=hs.slideshows[i],sg=ss.slideshowGroup;if(typeof sg=="undefined"||sg===null||sg===this.slideshowGroup)this.slideshow=new hs.Slideshow(this.key,ss)}else this.slideshow=this.last.slideshow;var ss=this.slideshow;if(!ss)return;var key=ss.expKey=this.key;ss.checkFirstAndLast();ss.disable("full-expand");if(ss.controls){var o=ss.overlayOptions||{};o.overlayId=ss.controls;o.hsId="controls";this.createOverlay(o)}if(ss.thumbstrip)ss.thumbstrip.add(this);if(!this.last&&this.autoplay)ss.play(true);if(ss.autoplay)ss.autoplay=setTimeout(function(){hs.next(key)},ss.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(visibility){if(hs.hideSelects)this.showHideElements("SELECT",visibility);if(hs.hideIframes)this.showHideElements("IFRAME",visibility);if(hs.geckoMac)this.showHideElements("*",visibility)},showHideElements:function(tagName,visibility){var els=document.getElementsByTagName(tagName);var prop=tagName=="*"?"overflow":"visibility";for(var i=0;i<els.length;i++)if(prop=="visibility"||document.defaultView.getComputedStyle(els[i],"").getPropertyValue("overflow")=="auto"||els[i].getAttribute("hidden-by")!=null){var hiddenBy=els[i].getAttribute("hidden-by");if(visibility=="visible"&&hiddenBy){hiddenBy=hiddenBy.replace("["+this.key+"]","");els[i].setAttribute("hidden-by",hiddenBy);if(!hiddenBy)els[i].style[prop]=els[i].origProp}else if(visibility=="hidden"){var elPos=hs.getPosition(els[i]);elPos.w=els[i].offsetWidth;elPos.h=els[i].offsetHeight;if(!this.dimmingOpacity){var clearsX=elPos.x+elPos.w<this.x.get("opos")||elPos.x>this.x.get("opos")+this.x.get("osize");var clearsY=elPos.y+elPos.h<this.y.get("opos")||elPos.y>this.y.get("opos")+this.y.get("osize")}var wrapperKey=hs.getWrapperKey(els[i]);if(!clearsX&&!clearsY&&wrapperKey!=this.key)if(!hiddenBy){els[i].setAttribute("hidden-by","["+this.key+"]");els[i].origProp=els[i].style[prop];els[i].style[prop]="hidden"}else{if(hiddenBy.indexOf("["+this.key+"]")==-1)els[i].setAttribute("hidden-by",hiddenBy+"["+this.key+"]")}else if((hiddenBy=="["+this.key+"]"||hs.focusKey==wrapperKey)&&wrapperKey!=this.key){els[i].setAttribute("hidden-by","");els[i].style[prop]=els[i].origProp||""}else if(hiddenBy&&hiddenBy.indexOf("["+this.key+"]")>-1)els[i].setAttribute("hidden-by",hiddenBy.replace("["+this.key+"]",""))}}},focus:function(){this.wrapper.style.zIndex=hs.zIndexCounter+=2;for(var i=0;i<hs.expanders.length;i++)if(hs.expanders[i]&&i==hs.focusKey){var blurExp=hs.expanders[i];blurExp.content.className+=" highslide-"+blurExp.contentType+"-blur";if(blurExp.isImage){blurExp.content.style.cursor=hs.ie?"hand":"pointer";blurExp.content.title=hs.lang.focusTitle}hs.fireEvent(blurExp,"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(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=this.isHtml?e.height+e.dY: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;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(e){this.afterClose()}},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(e){}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(e){}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";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(e){}var z=hs.zIndexCounter++,stl={display:"",zIndex:z};hs.setStyles(this.wrapper,stl);this.isClosing=false;var o=this.outline||0;if(o){if(!this.outlineWhileAnimating)stl.visibility="hidden";hs.setStyles(o.table,stl)}if(this.slideshow)this.initSlideshow();this.show()}catch(e){}},createOverlay:function(o){var el=o.overlayId,relToVP=o.relativeTo=="viewport"&&!/panel$/.test(o.position);if(typeof el=="string")el=hs.getNode(el);if(o.html)el=hs.createElement("div",{innerHTML:o.html});if(!el||typeof el=="string")return;if(!hs.fireEvent(this,"onCreateOverlay",{overlay:el}))return;el.style.display="block";o.hsId=o.hsId||o.overlayId;if(this.transitions[1]=="crossfade"&&this.reuseOverlay(o,el))return;this.genOverlayBox();var width=o.width&&/^[0-9]+(px|%)$/.test(o.width)?o.width:"auto";if(/^(left|right)panel$/.test(o.position)&&!/^[0-9]+px$/.test(o.width))width="200px";var overlay=hs.createElement("div",{id:"hsId"+hs.idCounter++,hsId:o.hsId},{position:"absolute",visibility:"hidden",width:width,direction:hs.lang.cssDirection||"",opacity:0},relToVP?hs.viewport:this.overlayBox,true);if(relToVP)overlay.hsKey=this.key;overlay.appendChild(el);hs.extend(overlay,{opacity:1,offsetX:0,offsetY:0,dur:o.fade===0||o.fade===false||o.fade==2&&hs.ie?0:250});hs.extend(overlay,o);if(this.gotOverlays){this.positionOverlay(overlay);if(!overlay.hideOnMouseOut||this.mouseIsOver)hs.animate(overlay,{opacity:overlay.opacity},overlay.dur)}hs.push(this.overlays,hs.idCounter-1)},positionOverlay:function(overlay){var p=overlay.position||"middle center",relToVP=overlay.relativeTo=="viewport",offX=overlay.offsetX,offY=overlay.offsetY;if(relToVP){hs.viewport.style.display="block";overlay.hsKey=this.key;if(overlay.offsetWidth>overlay.parentNode.offsetWidth)overlay.style.width="100%"}else if(overlay.parentNode!=this.overlayBox)this.overlayBox.appendChild(overlay);if(/left$/.test(p))overlay.style.left=offX+"px";if(/center$/.test(p))hs.setStyles(overlay,{left:"50%",marginLeft:offX-Math.round(overlay.offsetWidth/2)+"px"});if(/right$/.test(p))overlay.style.right=-offX+"px";if(/^leftpanel$/.test(p)){hs.setStyles(overlay,{right:"100%",marginRight:this.x.cb+"px",top:-this.y.cb+"px",bottom:-this.y.cb+"px",overflow:"auto"});this.x.p1=overlay.offsetWidth}else if(/^rightpanel$/.test(p)){hs.setStyles(overlay,{left:"100%",marginLeft:this.x.cb+"px",top:-this.y.cb+"px",bottom:-this.y.cb+"px",overflow:"auto"});this.x.p2=overlay.offsetWidth}var parOff=overlay.parentNode.offsetHeight;overlay.style.height="auto";if(relToVP&&overlay.offsetHeight>parOff)overlay.style.height=hs.ieLt7?parOff+"px":"100%";if(/^top/.test(p))overlay.style.top=offY+"px";if(/^middle/.test(p))hs.setStyles(overlay,{top:"50%",marginTop:offY-Math.round(overlay.offsetHeight/2)+"px"});if(/^bottom/.test(p))overlay.style.bottom=-offY+"px";if(/^above$/.test(p)){hs.setStyles(overlay,{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=overlay.offsetHeight}else if(/^below$/.test(p)){hs.setStyles(overlay,{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=overlay.offsetHeight;overlay.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+=" highslide-move";if(hs.showCredits)this.writeCredits();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)if(this.isImage||this.isHtml&&o.useOnHtml)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(doWrapper,doPanels){var overlayBox=this.overlayBox,x=this.x,y=this.y;hs.setStyles(overlayBox,{width:x.size+"px",height:y.size+"px"});if(doWrapper||doPanels)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=overlayBox.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=overlayBox.offsetHeight+2*y.cb+"px"}if(doWrapper){hs.setStyles(this.content,{top:y.p1+"px"});hs.setStyles(overlayBox,{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.hsId=="controls"?5: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;if(this.slideshow){var c=this.slideshow.controls;if(c&&hs.getExpander(c)==this)c.parentNode.removeChild(c)}for(var i=0;i<this.overlays.length;i++){var o=hs.$("hsId"+this.overlays[i]);if(o&&o.parentNode==hs.viewport&&hs.getExpander(o)==this)hs.discardElement(o)}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 xSize=this.x.size;this.resizeTo(this.x.full,this.y.full);var xpos=this.x.pos-(this.x.size-xSize)/2;if(xpos<hs.marginLeft)xpos=hs.marginLeft;this.moveTo(xpos,this.y.pos);this.doShowHide("hidden")}catch(e){this.error(e)}},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,content,pre){this.a=a;this.content=content;this.pre=pre};hs.Ajax.prototype={run:function(){var xhr;if(!this.src)this.src=hs.getSrc(this.a);if(this.src.match("#")){var arr=this.src.split("#");this.src=arr[0];this.id=arr[1]}if(hs.cachedGets[this.src]){this.cachedGet=hs.cachedGets[this.src];if(this.id)this.getElementContent();else this.loadHTML();return}try{xhr=new XMLHttpRequest}catch(e){try{xhr=new ActiveXObject("Msxml2.XMLHTTP")}catch(e){try{xhr=new ActiveXObject("Microsoft.XMLHTTP")}catch(e){this.onError()}}}var pThis=this;xhr.onreadystatechange=function(){if(pThis.xhr.readyState==4)if(pThis.id)pThis.getElementContent();else pThis.loadHTML()};var src=this.src;this.xhr=xhr;if(hs.forceAjaxReload)src=src.replace(/$/,(/\?/.test(src)?"&":"?")+"dummy="+(new Date).getTime());xhr.open("GET",src,true);xhr.setRequestHeader("X-Requested-With","XMLHttpRequest");xhr.setRequestHeader("Content-Type","application/x-www-form-urlencoded");xhr.send(null)},getElementContent:function(){hs.init();var attribs=window.opera||hs.ie6SSL?{src:"about:blank"}:null;this.iframe=hs.createElement("iframe",attribs,{position:"absolute",top:"-9999px"},hs.container);this.loadHTML()},loadHTML:function(){var s=this.cachedGet||this.xhr.responseText,regBody;if(this.pre)hs.cachedGets[this.src]=s;if(!hs.ie||hs.uaVersion>=5.5){s=s.replace(new RegExp("<link[^>]*>","gi"),"").replace(new RegExp("<script[^>]*>.*?<\/script>","gi"),"");if(this.iframe){var doc=this.iframe.contentDocument;if(!doc&&this.iframe.contentWindow)doc=this.iframe.contentWindow.document;if(!doc){var pThis=this;setTimeout(function(){pThis.loadHTML()},25);return}doc.open();doc.write(s);doc.close();try{s=doc.getElementById(this.id).innerHTML}catch(e){try{s=this.iframe.document.getElementById(this.id).innerHTML}catch(e){}}hs.discardElement(this.iframe)}else{regBody=/(<body[^>]*>|<\/body>)/ig;if(regBody.test(s))s=s.split(regBody)[hs.ie?1:2]}}hs.getElementByClass(this.content,"DIV","highslide-body").innerHTML=s;this.onLoad();for(var x in this)this[x]=null}};hs.Slideshow=function(expKey,options){if(hs.dynamicallyUpdateAnchors!==false)hs.updateAnchors();this.expKey=expKey;for(var x in options)this[x]=options[x];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 buttons=["play","pause","previous","next","move","full-expand","close"];this.btn={};var pThis=this;for(var i=0;i<buttons.length;i++){this.btn[buttons[i]]=hs.getElementByClass(this.controls,"li","highslide-"+buttons[i]);this.enable(buttons[i])}this.btn.pause.style.display="none"},checkFirstAndLast:function(){if(this.repeat||!this.controls)return;var exp=hs.expanders[this.expKey],cur=exp.getAnchorIndex(),re=/disabled$/;if(cur==0)this.disable("previous");else if(re.test(this.btn.previous.getElementsByTagName("a")[0].className))this.enable("previous");if(cur+1==hs.anchors.groups[exp.slideshowGroup||"none"].length){this.disable("next");this.disable("play")}else if(re.test(this.btn.next.getElementsByTagName("a")[0].className)){this.enable("next");this.enable("play")}},enable:function(btn){if(!this.btn)return;var sls=this,a=this.btn[btn].getElementsByTagName("a")[0],re=/disabled$/;a.onclick=function(){sls[btn]();return false};if(re.test(a.className))a.className=a.className.replace(re,"")},disable:function(btn){if(!this.btn)return;var a=this.btn[btn].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(wait){if(this.btn){this.btn.play.style.display="none";this.btn.pause.style.display=""}this.autoplay=true;if(!wait)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(slideshow){function add(exp){hs.extend(options||{},{overlayId:dom,hsId:"thumbstrip",className:"highslide-thumbstrip-"+mode+"-overlay "+(options.className||"")});if(hs.ieLt7)options.fade=0;exp.createOverlay(options);hs.setStyles(dom.parentNode,{overflow:"hidden"})}function scroll(delta){selectThumb(undefined,Math.round(delta*dom[isX?"offsetWidth":"offsetHeight"]*0.7))}function selectThumb(i,scrollBy){if(i===undefined)for(var j=0;j<group.length;j++)if(group[j]==hs.expanders[slideshow.expKey].a){i=j;break}if(i===undefined)return;var as=dom.getElementsByTagName("a"),active=as[i],cell=active.parentNode,left=isX?"Left":"Top",right=isX?"Right":"Bottom",width=isX?"Width":"Height",offsetLeft="offset"+left,offsetWidth="offset"+width,overlayWidth=div.parentNode.parentNode[offsetWidth],minTblPos=overlayWidth-table[offsetWidth],curTblPos=parseInt(table.style[isX?"left":"top"])||0,tblPos=curTblPos,mgnRight=20;if(scrollBy!==undefined){tblPos=curTblPos-scrollBy;if(minTblPos>0)minTblPos=0;if(tblPos>0)tblPos=0;if(tblPos<minTblPos)tblPos=minTblPos}else{for(var j=0;j<as.length;j++)as[j].className="";active.className="highslide-active-anchor";var activeLeft=i>0?as[i-1].parentNode[offsetLeft]:cell[offsetLeft],activeRight=cell[offsetLeft]+cell[offsetWidth]+(as[i+1]?as[i+1].parentNode[offsetWidth]:0);if(activeRight>overlayWidth-curTblPos)tblPos=overlayWidth-activeRight;else if(activeLeft<-curTblPos)tblPos=-activeLeft}var markerPos=cell[offsetLeft]+(cell[offsetWidth]-marker[offsetWidth])/2+tblPos;hs.animate(table,isX?{left:tblPos}:{top:tblPos},null,"easeOutQuad");hs.animate(marker,isX?{left:markerPos}:{top:markerPos},null,"easeOutQuad");scrollUp.style.display=tblPos<0?"block":"none";scrollDown.style.display=tblPos>minTblPos?"block":"none"}var group=hs.anchors.groups[hs.expanders[slideshow.expKey].slideshowGroup||"none"],options=slideshow.thumbstrip,mode=options.mode||"horizontal",floatMode=mode=="float",tree=floatMode?["div","ul","li","span"]:["table","tbody","tr","td"],isX=mode=="horizontal",dom=hs.createElement("div",{className:"highslide-thumbstrip highslide-thumbstrip-"+mode,innerHTML:'<div class="highslide-thumbstrip-inner">'+"<"+tree[0]+"><"+tree[1]+"></"+tree[1]+"></"+tree[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),domCh=dom.childNodes,div=domCh[0],scrollUp=domCh[1],scrollDown=domCh[2],marker=domCh[3],table=div.firstChild,tbody=dom.getElementsByTagName(tree[1])[0],tr;for(var i=0;i<group.length;i++){if(i==0||!isX)tr=hs.createElement(tree[2],null,null,tbody);(function(){var a=group[i],cell=hs.createElement(tree[3],null,null,tr),pI=i;hs.createElement("a",{href:a.href,onclick:function(){hs.getExpander(this).focus();return hs.transit(a)},innerHTML:hs.stripItemFormatter?hs.stripItemFormatter(a):a.innerHTML},null,cell)})()}if(!floatMode){scrollUp.onclick=function(){scroll(-1)};scrollDown.onclick=function(){scroll(1)};hs.addEventListener(tbody,document.onmousewheel!==undefined?"mousewheel":"DOMMouseScroll",function(e){var delta=0;e=e||window.event;if(e.wheelDelta){delta=e.wheelDelta/120;if(hs.opera)delta=-delta}else if(e.detail)delta=-e.detail/3;if(delta)scroll(-delta*0.2);if(e.preventDefault)e.preventDefault();e.returnValue=false})}return{add:add,selectThumb:selectThumb}};hs.langDefaults=hs.lang;var HsExpander=hs.Expander;if(hs.ie)(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||hs.dimmingOpacity){var style=hs.createElement("style",{type:"text/css"},null,document.getElementsByTagName("HEAD")[0]);function addRule(sel,dec){if(!hs.ie)style.appendChild(document.createTextNode(sel+" {"+dec+"}"));else{var last=document.styleSheets[document.styleSheets.length-1];if(typeof last.addRule=="object")last.addRule(sel,dec)}}function fix(prop){return"expression( ( ( ignoreMe = document.documentElement."+prop+" ? document.documentElement."+prop+" : document.body."+prop+" ) ) + 'px' );"}if(hs.expandCursor)addRule(".highslide img","cursor: url("+hs.graphicsDir+hs.expandCursor+"), pointer !important;");addRule(".highslide-viewport-size",hs.ie&&(hs.uaVersion<7||document.compatMode=="BackCompat")?"position: absolute; "+"left:"+fix("scrollLeft")+"top:"+fix("scrollTop")+"width:"+fix("clientWidth")+"height:"+fix("clientHeight"):"position: fixed; width: 100%; height: 100%; left: 0; top: 0")}});hs.addEventListener(window,"resize",function(){hs.getPageSize();if(hs.viewport)for(var i=0;i<hs.viewport.childNodes.length;i++){var node=hs.viewport.childNodes[i],exp=hs.getExpander(node);exp.positionOverlay(node);if(node.hsId=="thumbstrip")exp.slideshow.thumbstrip.selectThumb()}});hs.addEventListener(document,"mousemove",function(e){hs.mouse={x:e.clientX,y:e.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)};