
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={"\u0020":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}})());

/*!
 * The following copyright notice may not be removed under any circumstances.
 *
 * Copyright:
 * Typeface � The Monotype Corporation plc. Data � The Monotype Corporation plc /
 * Type Solutions Inc. 1990-91 All Rights Reserved
 *
 * Trademark:
 * Century Gothic is a trademark of The Monotype Corporation plc.
 */
Cufon.registerFont({"w":199,"face":{"font-family":"Century","font-weight":400,"font-stretch":"normal","units-per-em":"360","panose-1":"2 11 5 2 2 2 2 2 2 4","ascent":"288","descent":"-72","x-height":"5","bbox":"-11 -281 329 79.2683","underline-thickness":"20.918","underline-position":"-24.2578","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{"w":99},"!":{"d":"66,-265r0,200r-26,0r0,-200r26,0xm31,-17v0,-27,44,-28,44,0v0,12,-10,22,-22,22v-12,0,-22,-10,-22,-22","w":106},"\"":{"d":"99,-184r-18,0r-4,-81r26,0xm31,-184r-19,0r-4,-81r26,0","w":111},"#":{"d":"217,-106r0,19r-44,0r-13,87r-19,0r12,-87r-58,0r-13,87r-20,0r14,-87r-44,0r0,-19r47,0r9,-59r-45,0r0,-19r47,0r13,-82r18,0r-11,82r58,0r12,-82r20,0r-13,82r40,0r0,19r-42,0r-9,59r41,0xm165,-165r-58,0r-9,59r58,0","w":259},"$":{"d":"29,-197v0,-37,27,-58,64,-62r0,-18r23,0r0,19v26,6,39,15,53,36r-19,15v-9,-14,-20,-22,-34,-25r0,87v48,28,72,32,72,82v0,41,-28,65,-72,69r0,55r-23,0r0,-55v-41,-3,-63,-19,-80,-46r18,-14v16,22,37,34,62,36r0,-109v-40,-20,-64,-24,-64,-70xm93,-234v-31,0,-49,33,-31,58v6,9,17,16,31,22r0,-80xm116,-19v36,-2,62,-41,37,-71v-7,-9,-19,-17,-37,-27r0,98"},"%":{"d":"68,-265v49,9,106,12,154,-5r21,0r-189,288r-23,0r171,-262v-22,6,-52,7,-83,7v29,39,-4,94,-51,94v-33,0,-62,-28,-60,-61v1,-35,25,-60,60,-61xm108,-204v0,-20,-19,-39,-39,-39v-20,0,-39,19,-39,39v0,20,18,38,39,38v21,0,39,-18,39,-38xm149,-53v0,-33,28,-61,61,-61v33,0,61,28,61,61v0,33,-28,61,-61,61v-33,0,-61,-28,-61,-61xm249,-53v1,-20,-18,-39,-39,-39v-21,0,-38,18,-38,39v0,20,18,38,38,38v21,0,39,-18,39,-38","w":278},"&":{"d":"175,-202v-2,32,-19,42,-45,65r66,68v19,-16,19,-16,31,-27r18,19v-11,10,-22,19,-31,26r49,51r-36,0r-33,-35v-37,27,-49,42,-96,42v-37,0,-67,-25,-67,-60v0,-45,26,-56,63,-88v-20,-27,-34,-32,-34,-61v0,-64,118,-61,115,0xm117,-224v-21,0,-38,16,-28,35v6,10,15,21,25,33v18,-14,30,-26,35,-46v0,-14,-15,-22,-32,-22xm57,-55v1,29,39,47,70,32v14,-6,30,-17,49,-30r-65,-69v-31,26,-47,34,-54,67","w":272},"'":{"d":"45,-184r-18,0r-4,-81r26,0","w":71},"(":{"d":"111,-270v-46,84,-50,251,-9,345r-27,0v-39,-94,-36,-257,8,-345r28,0","w":132},")":{"d":"57,-270v41,93,37,257,-7,345r-28,0v45,-87,51,-252,8,-345r27,0","w":132},"*":{"d":"65,-265r23,0r-5,52r43,-31r11,20r-48,22r48,21r-11,20r-43,-30r5,52r-23,0r5,-52r-43,30r-12,-20r50,-21r-50,-22r12,-20r43,31","w":152},"+":{"d":"97,-141r0,-77r24,0r0,77r77,0r0,24r-77,0r0,76r-24,0r0,-76r-77,0r0,-24r77,0","w":218},",":{"d":"52,-47r24,11r-36,66r-18,-7","w":99},"-":{"d":"11,-108r97,0r0,22r-97,0r0,-22","w":119},"\u00ad":{"d":"11,-108r97,0r0,22r-97,0r0,-22","w":119},".":{"d":"33,-17v0,-12,10,-22,21,-22v12,0,22,10,22,22v0,12,-9,23,-22,22v-12,0,-21,-10,-21,-22","w":99},"\/":{"d":"147,-265r-107,300r-27,0r107,-300r27,0","w":157},"0":{"d":"98,7v-66,0,-87,-58,-87,-136v0,-79,19,-136,87,-136v68,0,90,59,90,136v0,77,-23,136,-90,136xm99,-240v-51,6,-63,48,-63,111v0,64,11,112,63,112v52,0,65,-55,65,-112v0,-59,-14,-107,-65,-111"},"1":{"d":"67,-259r50,0r0,259r-25,0r0,-233r-41,0"},"2":{"d":"102,-240v-37,0,-58,25,-60,62r-25,0v0,-50,38,-86,86,-87v60,-2,101,64,69,118v-21,36,-74,87,-105,122r119,0r0,25r-175,0r99,-107v29,-34,45,-39,48,-80v2,-29,-26,-54,-56,-53"},"3":{"d":"97,-240v-29,1,-39,16,-49,41r-27,0v8,-38,34,-64,76,-66v69,-4,103,88,41,120v26,9,48,37,48,68v0,71,-91,109,-144,64v-15,-13,-24,-31,-29,-56r25,0v8,32,25,49,60,50v35,1,62,-24,62,-56v0,-41,-29,-55,-76,-56r0,-24v32,-1,60,-12,60,-43v1,-24,-21,-43,-47,-42"},"4":{"d":"153,-265r6,0r0,180r31,0r0,25r-31,0r0,60r-26,0r0,-60r-124,0xm133,-85r0,-108r-76,108r76,0"},"5":{"d":"157,-85v0,-59,-64,-73,-116,-45r24,-129r112,0r0,25r-92,0r-13,71v61,-20,112,20,112,79v0,102,-158,126,-169,21r26,0v5,28,23,44,54,45v35,1,62,-31,62,-67"},"6":{"d":"103,7v-57,0,-96,-57,-72,-113v24,-55,70,-108,101,-159r21,14r-70,106v53,-20,102,21,101,72v-1,47,-34,80,-81,80xm158,-73v0,-29,-25,-54,-54,-54v-30,0,-55,25,-55,54v0,29,26,54,55,54v28,0,54,-26,54,-54"},"7":{"d":"26,-259r164,0r-138,266r-22,-11r120,-230r-124,0r0,-25"},"8":{"d":"175,-197v0,29,-16,43,-37,55v28,15,48,31,49,68v0,48,-37,81,-88,81v-51,0,-87,-35,-87,-79v0,-36,21,-55,50,-70v-22,-11,-38,-29,-38,-56v0,-39,34,-67,77,-67v42,0,74,28,74,68xm149,-198v0,-23,-20,-42,-49,-42v-26,0,-49,18,-49,43v-1,23,26,46,50,45v26,-2,48,-19,48,-46xm161,-74v0,-29,-29,-55,-60,-55v-34,0,-64,27,-63,58v1,33,27,53,62,53v35,1,61,-24,61,-56"},"9":{"d":"98,-265v82,-2,89,94,49,155r-78,117r-21,-14r70,-106v-53,20,-101,-21,-100,-72v0,-49,34,-79,80,-80xm43,-185v0,28,26,54,54,54v29,0,55,-25,55,-54v0,-29,-26,-55,-55,-55v-29,0,-54,26,-54,55"},":":{"d":"33,-174v0,-12,9,-22,21,-22v12,0,23,9,22,22v0,12,-10,21,-22,21v-12,0,-21,-9,-21,-21xm33,-17v0,-12,10,-22,21,-22v12,0,22,10,22,22v0,12,-9,23,-22,22v-12,0,-21,-10,-21,-22","w":99},";":{"d":"33,-174v0,-12,9,-22,21,-22v12,0,23,9,22,22v0,12,-10,21,-22,21v-12,0,-21,-9,-21,-21xm52,-47r24,11r-36,66r-18,-7","w":99},"<":{"d":"200,-61r0,26r-182,-83r0,-23r182,-82r0,25r-148,69","w":218},"=":{"d":"198,-180r0,24r-178,0r0,-24r178,0xm198,-103r0,24r-178,0r0,-24r178,0","w":218},">":{"d":"18,-61r148,-68r-148,-69r0,-25r182,82r0,23r-182,83r0,-26","w":218},"?":{"d":"107,-240v-31,0,-52,19,-52,52r-25,0v-1,-47,31,-77,77,-77v62,0,97,63,52,102v-19,16,-88,25,-87,56v0,16,18,26,36,26v26,0,35,-13,38,-37r26,0v-2,38,-25,62,-64,62v-34,0,-62,-20,-62,-51v0,-65,106,-45,109,-97v1,-22,-23,-36,-48,-36xm85,-17v0,-12,10,-22,22,-22v11,0,21,10,21,22v0,12,-9,22,-21,22v-12,0,-23,-9,-22,-22","w":212},"@":{"d":"38,-133v-6,114,153,162,216,80r18,0v-29,37,-54,58,-108,58v-82,0,-140,-55,-140,-137v0,-81,56,-137,138,-139v65,-2,126,52,126,113v0,59,-39,99,-90,104v-13,1,-22,-4,-21,-19v-31,38,-101,8,-97,-46v3,-42,30,-85,75,-83v24,1,35,9,46,26r5,-24r19,0r-22,122v0,5,3,10,9,9v34,-6,62,-42,62,-85v0,-58,-53,-102,-113,-101v-74,1,-119,50,-123,122xm157,-183v-56,-3,-75,107,-10,108v50,1,68,-107,10,-108","w":312},"A":{"d":"137,-259r121,259r-28,0r-41,-85r-111,0r-41,85r-28,0r122,-259r6,0xm134,-204r-45,94r89,0","w":266},"B":{"d":"187,-74v0,44,-37,75,-84,74r-71,0r0,-259v69,-3,134,0,134,64v0,26,-14,44,-33,54v32,11,54,28,54,67xm139,-195v1,-39,-40,-40,-82,-38r0,83v47,2,80,-5,82,-45xm160,-74v0,-47,-45,-52,-103,-50r0,99v55,2,103,-1,103,-49","w":206},"C":{"d":"20,-131v0,-99,109,-165,204,-120v19,10,36,23,48,40r-20,16v-20,-26,-51,-45,-93,-45v-65,0,-109,45,-112,112v-4,105,145,149,205,68r20,15v-24,30,-61,52,-113,52v-80,2,-139,-58,-139,-138","w":292},"D":{"d":"249,-126v0,81,-45,128,-135,126r-83,0r0,-259r54,0v111,-3,164,38,164,133xm223,-126v0,-89,-61,-113,-167,-107r0,209v104,5,167,-13,167,-102","w":267},"E":{"d":"32,-259r148,0r0,26r-123,0r0,81r122,0r0,25r-122,0r0,102r122,0r0,25r-147,0r0,-259","w":193},"F":{"d":"31,-259r130,0r0,26r-104,0r0,81r104,0r0,25r-104,0r0,127r-26,0r0,-259","w":174},"G":{"d":"21,-129v-1,-102,103,-162,203,-124v19,8,39,21,57,38r-20,19v-24,-24,-58,-43,-98,-43v-64,0,-111,45,-115,109v-8,122,200,156,219,31r-82,0r0,-25r111,0v1,80,-52,129,-130,131v-80,2,-144,-58,-145,-136","w":313},"H":{"d":"31,-259r26,0r0,109r132,0r0,-109r26,0r0,259r-26,0r0,-125r-132,0r0,125r-26,0r0,-259","w":245},"I":{"d":"28,-259r26,0r0,259r-26,0r0,-259","w":81},"J":{"d":"29,-41v36,34,87,33,87,-44r0,-174r26,0r0,175v15,96,-75,110,-127,63","w":173},"K":{"d":"31,-259r27,0r0,97r103,-97r35,0r-124,116r134,143r-35,0r-113,-121r0,121r-27,0r0,-259","w":212},"L":{"d":"31,-259r26,0r0,234r100,0r0,25r-126,0r0,-259","w":166},"M":{"d":"20,0r36,-259r5,0r105,213r104,-213r4,0r37,259r-25,0r-26,-185r-91,185r-7,0r-92,-186r-25,186r-25,0","w":330},"N":{"d":"32,0r0,-259r5,0r172,198r0,-198r26,0r0,259r-6,0r-171,-195r0,195r-26,0","w":266},"O":{"d":"20,-128v2,-80,56,-135,135,-137v76,-2,137,61,137,136v0,74,-61,136,-135,136v-74,0,-138,-62,-137,-135xm266,-129v0,-65,-47,-111,-110,-111v-63,0,-108,47,-109,112v-1,60,49,111,109,109v65,-1,110,-46,110,-110","w":312},"P":{"d":"193,-190v-4,67,-55,73,-136,70r0,120r-26,0r0,-259r52,0v74,-3,102,12,110,69xm166,-190v0,-49,-56,-44,-109,-43r0,87v52,2,109,7,109,-44","w":213},"Q":{"d":"293,-129v-1,46,-18,76,-45,101r39,48r-32,0r-26,-33v-90,57,-212,-14,-208,-115v3,-80,55,-135,135,-137v75,-2,138,62,137,136xm47,-128v-3,81,92,138,165,94r-57,-73r31,0r46,59v70,-63,23,-196,-75,-192v-64,3,-108,47,-110,112","w":313},"R":{"d":"195,-190v0,50,-35,70,-90,70r93,120r-32,0r-93,-120r-14,0r0,120r-26,0r0,-259v84,-2,162,-5,162,69xm168,-190v0,-49,-56,-44,-109,-43r0,88v53,1,109,5,109,-45","w":218},"S":{"d":"144,-102v44,64,-39,141,-104,96v-13,-8,-24,-22,-35,-42r22,-13v15,28,33,42,53,42v27,0,48,-17,48,-44v0,-62,-107,-74,-107,-141v0,-49,54,-76,97,-52v11,6,22,17,34,33r-21,16v-16,-20,-22,-29,-48,-31v-36,-3,-46,46,-19,66v13,9,74,54,80,70","w":179},"T":{"d":"6,-233r0,-26r142,0r0,26r-58,0r0,233r-26,0r0,-233r-58,0","w":153},"U":{"d":"121,7v-63,0,-89,-33,-89,-109r0,-157r26,0r0,157v-5,59,16,84,61,84v93,0,49,-150,59,-241r26,0v-5,112,31,266,-83,266","w":235},"V":{"d":"12,-259r28,0r86,200r87,-200r28,0r-113,259r-5,0","w":252},"W":{"d":"17,-259r26,0r53,187r74,-187r5,0r74,187r53,-187r27,0r-74,259r-5,0r-77,-196r-78,196r-5,0","w":345},"X":{"d":"18,-259r30,0r62,101r62,-101r30,0r-77,126r82,133r-30,0r-67,-108r-68,108r-30,0r83,-133","w":219},"Y":{"d":"11,-259r30,0r66,107r65,-107r30,0r-82,135r0,124r-25,0r0,-124","w":213},"Z":{"d":"21,-234r0,-25r137,0r-108,234r102,0r0,25r-142,0r109,-234r-98,0","w":172},"[":{"d":"51,-265r59,0r0,25r-34,0r0,286r34,0r0,24r-59,0r0,-335","w":126},"\\":{"d":"39,-265r167,300r-27,0r-167,-300r27,0","w":217},"]":{"d":"75,70r-59,0r0,-25r35,0r0,-286r-35,0r0,-24r59,0r0,335","w":126},"^":{"d":"111,-259r20,0r90,195r-23,0r-78,-168r-76,168r-23,0","w":241},"_":{"d":"-2,27r184,0r0,18r-184,0r0,-18","w":180},"`":{"d":"57,-281r39,54r-25,0r-51,-54r37,0","w":136},"a":{"d":"118,-196v36,1,59,18,76,40r0,-35r24,0r0,191r-24,0r0,-33v-18,23,-42,36,-77,38v-53,1,-98,-48,-98,-101v0,-53,45,-101,99,-100xm195,-95v0,-42,-34,-78,-75,-77v-45,1,-76,32,-76,77v0,43,32,77,75,77v44,0,76,-30,76,-77","w":245},"b":{"d":"129,5v-36,-1,-59,-18,-76,-40r0,35r-24,0r0,-265r24,0r0,107v17,-23,41,-37,77,-38v54,-2,98,48,98,101v0,53,-45,101,-99,100xm52,-97v0,42,34,79,75,78v45,-1,76,-32,76,-77v0,-44,-31,-78,-75,-78v-44,0,-76,30,-76,77","w":245},"c":{"d":"18,-94v0,-102,146,-136,195,-58r-19,13v-40,-61,-151,-34,-151,43v0,78,109,104,151,45r19,13v-17,25,-47,43,-89,43v-57,0,-106,-43,-106,-99","w":232},"d":{"d":"118,-196v36,1,59,17,76,40r0,-109r24,0r0,265r-24,0r0,-33v-18,23,-42,36,-77,38v-53,1,-98,-48,-98,-101v0,-53,45,-101,99,-100xm196,-95v0,-42,-35,-78,-76,-77v-45,1,-76,32,-76,77v0,44,32,77,76,77v44,0,76,-31,76,-77","w":246},"e":{"d":"116,-18v39,-2,56,-16,72,-45r21,10v-17,34,-42,57,-91,58v-58,1,-100,-47,-100,-100v0,-54,43,-101,98,-101v56,0,100,43,100,102r-172,0v-1,42,31,78,72,76xm188,-115v-6,-52,-80,-76,-120,-40v-10,9,-17,22,-22,40r142,0","w":233},"f":{"d":"39,-191v-1,-42,-2,-81,39,-79v8,0,17,2,28,5r0,24v-23,-10,-47,-11,-42,24r0,26r40,0r0,21r-40,0r0,170r-25,0r0,-170r-25,0r0,-21r25,0","w":113},"g":{"d":"18,-97v0,-94,127,-132,174,-61r0,-33r25,0r0,152v24,131,-159,148,-197,54r27,0v31,61,167,48,145,-51v-46,66,-174,33,-174,-61xm193,-97v0,-45,-29,-75,-73,-75v-45,0,-76,32,-78,76v-2,42,33,73,76,73v44,0,75,-30,75,-74","w":242},"h":{"d":"119,-173v-76,1,-68,89,-67,173r-25,0r0,-265r25,0r0,108v17,-22,38,-38,72,-39v87,-1,69,108,70,196r-24,0v-5,-70,22,-174,-51,-173","w":219},"i":{"d":"16,-250v0,-11,9,-20,20,-20v11,0,20,9,20,20v0,11,-9,21,-20,21v-11,0,-20,-10,-20,-21xm24,-191r25,0r0,191r-25,0r0,-191","w":72},"j":{"d":"16,-250v0,-11,10,-20,21,-20v11,0,20,9,20,20v0,11,-9,21,-20,21v-12,0,-21,-9,-21,-21xm-11,47v21,10,35,5,35,-25r0,-213r25,0r0,220v4,42,-26,55,-60,40r0,-22","w":73},"k":{"d":"27,-265r25,0r0,151r88,-77r37,0r-105,91r111,100r-35,0r-96,-86r0,86r-25,0r0,-265","w":180},"l":{"d":"24,-265r24,0r0,265r-24,0r0,-265","w":72},"m":{"d":"113,-172v-73,0,-61,94,-61,172r-25,0r0,-191r25,0r0,33v15,-22,34,-38,65,-38v35,1,51,18,61,46v13,-26,36,-45,70,-46v85,-1,62,111,65,196r-25,0v-7,-66,25,-173,-45,-172v-74,1,-60,94,-61,172r-24,0v-6,-66,23,-172,-45,-172","w":337},"n":{"d":"119,-173v-76,1,-68,89,-67,173r-25,0r0,-191r25,0r0,34v17,-22,38,-38,72,-39v87,-1,69,108,70,196r-24,0v-5,-70,22,-174,-51,-173","w":219},"o":{"d":"18,-95v0,-54,45,-101,100,-101v54,0,99,45,99,101v0,54,-44,100,-99,100v-55,0,-100,-46,-100,-100xm192,-95v2,-40,-35,-77,-74,-77v-39,0,-77,36,-75,77v1,44,31,77,75,77v44,0,72,-33,74,-77","w":235},"p":{"d":"129,5v-35,-2,-59,-16,-77,-38r0,103r-24,0r0,-261r24,0r0,35v17,-23,40,-39,76,-40v54,-1,99,47,99,100v0,53,-45,102,-98,101xm202,-95v0,-45,-31,-76,-76,-77v-41,-1,-76,35,-76,77v0,46,33,77,77,77v43,0,75,-34,75,-77","w":245},"q":{"d":"117,-196v37,1,60,17,77,40r0,-35r24,0r0,261r-24,0r0,-103v-18,23,-42,36,-77,38v-53,1,-98,-47,-98,-101v0,-53,45,-101,98,-100xm195,-95v1,-42,-35,-78,-76,-77v-45,1,-76,33,-76,77v0,42,32,77,76,77v44,0,75,-31,76,-77","w":245},"r":{"d":"43,0r-25,0r0,-191r25,0r0,28v15,-23,40,-43,72,-27r-13,21v-75,-15,-56,95,-59,169","w":108},"s":{"d":"18,-146v4,-55,72,-66,106,-24r-16,16v-21,-26,-62,-26,-68,7v7,45,84,41,84,96v0,59,-86,74,-115,29r16,-18v13,14,26,22,40,22v18,0,35,-14,35,-32v-4,-47,-86,-40,-82,-96","w":139},"t":{"d":"49,-262r25,0r0,71r39,0r0,21r-39,0r0,170r-25,0r0,-170r-34,0r0,-21r34,0r0,-71","w":121},"u":{"d":"108,5v-98,0,-84,-101,-84,-196r25,0v3,75,-18,178,59,172v46,-3,58,-23,58,-83r0,-89r26,0v0,0,14,196,-84,196","w":218},"v":{"d":"9,-191r27,0r63,139r64,-139r26,0r-87,191r-5,0"},"w":{"d":"2,-191r25,0r58,139r62,-139r4,0r61,139r60,-139r26,0r-83,191r-5,0r-61,-137r-61,137r-5,0","w":299},"x":{"d":"6,-191r29,0r51,71r50,-71r30,0r-65,91r73,100r-30,0r-58,-80r-58,80r-29,0r72,-100","w":172},"y":{"d":"7,-191r26,0r66,147r63,-147r27,0r-114,261r-26,0r36,-84","w":193},"z":{"d":"12,-191r140,0r-108,169r105,0r0,22r-147,0r108,-170r-98,0r0,-21","w":152},"{":{"d":"50,-7v0,-44,-2,-64,-37,-68r0,-29v40,-4,37,-33,37,-81v0,-56,12,-76,65,-74r0,28v-29,0,-37,5,-36,36v0,63,1,86,-36,105v29,14,36,33,36,80v0,48,-7,62,36,62r0,27v-59,2,-65,-24,-65,-86","w":126},"|":{"d":"108,-265r25,0r0,335r-25,0r0,-335","w":241},"}":{"d":"77,-172v-1,45,1,64,36,68r0,29v-39,0,-37,40,-36,80v1,55,-12,77,-66,74r0,-27v29,0,37,-5,36,-36v0,-63,1,-87,37,-106v-31,-16,-36,-31,-37,-79v0,-52,6,-60,-36,-62r0,-28v59,-2,67,25,66,87","w":126},"~":{"d":"154,-128v21,-1,21,-7,44,-19r0,28v-20,10,-25,15,-44,17v-22,3,-66,-28,-88,-28v-21,0,-26,7,-46,19r0,-29v20,-10,25,-14,44,-16v22,-2,65,29,90,28","w":218},"\u00a0":{"w":99}}});



/* text-size changing */

jQuery.noConflict()(function () {
      jQuery('.small_text').click(function () { setTextSmall(); });
      jQuery('.medium_text').click(function () { setTextMedium(); });
      jQuery('.large_text').click(function () { setTextLarge(); });
});

function setTextSmall()
{
       jQuery('.small_text').addClass('active');
       jQuery('.medium_text').removeClass('active');
       jQuery('.large_text').removeClass('active');
       jQuery('.large_size').addClass('small_size');
       jQuery('.medium_size').addClass('small_size');
       jQuery('.large_size').removeClass('large_size');
       jQuery('.medium_size').removeClass('medium_size');
       jQuery('.mapped_results').removeClass('map_list_view_medium map_list_view_large');
       jQuery('.mapped_results').addClass('map_list_view_small');
       jQuery.post(basePath+"properties/setTextSize", {txt: 'small'});
}
function setTextMedium()
{
       jQuery('.medium_text').addClass('active');
       jQuery('.small_text').removeClass('active');
       jQuery('.large_text').removeClass('active');
       jQuery('.small_size').addClass('medium_size');
       jQuery('.large_size').addClass('medium_size');
       jQuery('.small_size').removeClass('small_size');
       jQuery('.large_size').removeClass('large_size');
       jQuery('.mapped_results').removeClass('map_list_view_small map_list_view_large');
       jQuery('.mapped_results').addClass('map_list_view_medium');
       jQuery.post(basePath+"properties/setTextSize", {txt: 'medium'});
}
function setTextLarge()
{
       jQuery('.large_text').addClass('active');
       jQuery('.small_text').removeClass('active');
       jQuery('.medium_text').removeClass('active');
       jQuery('.small_size').addClass('large_size');
       jQuery('.medium_size').addClass('large_size');
       jQuery('.small_size').removeClass('small_size');
       jQuery('.medium_size').removeClass('medium_size');
       jQuery('.mapped_results').removeClass('map_list_view_small map_list_view_medium');
       jQuery('.mapped_results').addClass('map_list_view_large');
       jQuery.post(basePath+"properties/setTextSize", {txt: 'large'});
}

jQuery.noConflict()(function () {
      jQuery('#refine_sort_button').toggle(
          function () {
              jQuery('.sort_by').addClass("sort_options");
              jQuery('.refine_search').removeClass("refine_options");
              Cufon.replace('.refine_search .search_options_label');
              jQuery('.refine_search span.choices').css('display', 'block');
              Cufon.replace('.sort_options .search_options_label');
              jQuery('#current_sort_by').css('display', 'none');
              jQuery('.sort_options span.choices').css('display', 'none');
          },
          function () {
              jQuery('.sort_by').removeClass("sort_options");
              Cufon.replace('.sort_by .search_options_label');
              jQuery('#current_sort_by').css('display', 'block');
              jQuery('.sort_by span.choices').css('display', 'block');
          }
      );
});

jQuery.noConflict()(function () {
      jQuery('#refine_search_button').toggle(
          function () {
              jQuery('.refine_search').addClass("refine_options");
              jQuery('.sort_by').removeClass("sort_options");
              Cufon.replace('.refine_options .search_options_label');
              jQuery('.refine_search span.choices').css('display', 'none');
              Cufon.replace('.sort_by .search_options_label');
              jQuery('#current_sort_by').css('display', 'block');
              jQuery('.sort_by span.choices').css('display', 'block');
          },
          function () {
              jQuery('.refine_search').removeClass("refine_options");
              Cufon.replace('.refine_search .search_options_label');
              jQuery('.refine_search span.choices').css('display', 'block');
          }
      );

});


jQuery.noConflict()(function () {
      jQuery('#refine_sort_button').hover(
          function () {
              jQuery('.sort_by span.choices').css('background-position', 'top right');
          },
          function () {
              jQuery('.sort_by span.choices').css('background-position', 'top left');
          }
      );
});

jQuery.noConflict()(function () {
      jQuery('#refine_search_button').hover(
          function () {
              jQuery('.refine_search span.choices').css('background-position', 'top right');
          },
          function () {
              jQuery('.refine_search span.choices').css('background-position', 'top left');
          }
      );

});


jQuery.noConflict()(function () {
      jQuery('#current_area').toggle(
          function () {
              jQuery('.area_select ul').addClass("active_list");
          },
          function () {
              jQuery('.area_select ul').removeClass("active_list");
          }
      );
    });


jQuery.noConflict()(function () {
      jQuery('#current_baths').toggle(
          function () {
              jQuery('.bath_select ul').addClass("active_list");
          },
          function () {
              jQuery('.bath_select ul').removeClass("active_list");
          }
      );
    });

jQuery.noConflict()(function () {
      jQuery('#current_beds').toggle(
          function () {
              jQuery('.bed_select ul').addClass("active_list");
          },
          function () {
              jQuery('.bed_select ul').removeClass("active_list");
          }
      );
    });

jQuery.noConflict()(function () {
      jQuery('.results_listed .result').hover(
          function () {
              jQuery(this).addClass("hover_state");
          },
          function () {
              jQuery(this).removeClass("hover_state");
          }
      );
    });

// Map functions
function loadMap(id)
{
  if (id == undefined) id = "mapProps";
  map = new GMap2(document.getElementById(id));
  map.setCenter(new GLatLng(40.48719, -106.8312), 13);
  map.setMapType(G_NORMAL_MAP);
  map.addControl(new GSmallZoomControl3D());
  map.enableContinuousZoom();
  map.enableScrollWheelZoom();
}

function openMarker(id)
{
  if (GBrowserIsCompatible() && map.isLoaded())
  {
    if (window[id] != undefined)
    {
      GEvent.trigger(window[id], 'click');
    }
  }
}

function zoomAndFit(points) {
   var bounds = new GLatLngBounds();
   for (var i=0; i< points.length; i++) {
      bounds.extend(points[i]);
   }
   map.setZoom(map.getBoundsZoomLevel(bounds));
   map.setCenter(bounds.getCenter());
}

function hiliteProp(id)
{
  jQuery('.listing_results .property_result').removeClass('active');
  jQuery('.thumbnail_results .gallery_result').removeClass('active');
  if (id != undefined) jQuery('#'+id).addClass('active');
}

var lastPOIPan = '';
jQuery.noConflict()(function () {
  var hilitePOI = function() {
    var mark = jQuery(this).attr('id').toString().replace('prop', 'm');
    if (eval('typeof('+mark+') != "undefined"'))
    {
      var gm = eval(mark);
      if (gm != undefined && lastPOIPan != mark)
      {
        lastPOIPan = mark;
        GEvent.trigger(gm, 'click');
      }
    }
    hiliteProp(jQuery(this).attr('id').toString());
  }
  jQuery('.gallery_result').mouseover(hilitePOI);
  jQuery('.property_result').mouseover(hilitePOI);
});

function initStreetView(lat, lon) {
  var myPano = new GStreetviewPanorama(document.getElementById("pano"));
  var loco = new GLatLng(lat,lon);
  myPOV = {yaw:370.64659986187695,pitch:0};
  myPano.setLocationAndPOV(loco, myPOV);
  GEvent.addListener(myPano, "error", handleNoFlash);
}

function handleNoFlash(errorCode) {
  if (errorCode == 603) {
    jQuery('#pano').html("<p style=\"text-align: center; font-size: 2em; padding-top: 150px;\">Sorry, StreetView is not supported on iPhone/iPad or browsers lacking Adobe Flash.</p>");
    return;
  } else {
    jQuery('#pano').html("<p style=\"text-align: center; font-size: 2em; padding-top: 150px;\">Sorry, StreetView is unavailable for this location.</p>");
    return;
  }
}

jQuery.noConflict()(function () {
    jQuery('#searchForm input').click(function(e) {
      if (this.id != 'submitBtn' && this.id != 'email_updates')
      {
        updateLiveResults();
      }
    });
    jQuery('#searchForm select').change(function() {
      updateLiveResults();
    });

    jQuery('.view_as .gallery_view').click(
        function () {
            jQuery(this).addClass("selected_label");
            jQuery('.view_as .list_view').removeClass("selected_label");
            Cufon.replace(this);
            Cufon.replace('.view_as .list_view');
        }
    );
    jQuery('.view_as .list_view').click(
        function () {
            jQuery(this).addClass("selected_label");
            jQuery('.view_as .gallery_view').removeClass("selected_label");
            Cufon.replace(this);
            Cufon.replace('.view_as .gallery_view');
        }
    );
});

jQuery.noConflict()(function () {
      jQuery('.results').hover(
          function () {
              jQuery(this).addClass("results_hover");
              Cufon.replace('.results label a');
          },
          function () {
              jQuery(this).removeClass("results_hover");
              Cufon.replace('.results label a');
          }
      );
});


jQuery.noConflict()(function () {
      jQuery('.tools').hover(
          function () {
              jQuery(this).addClass("tools_hover");
              Cufon.replace('.tools label');
          },
          function () {
              jQuery(this).removeClass("tools_hover");
              Cufon.replace('.tools label');
          }
      );
});



jQuery.noConflict()(function () {
      jQuery('.share').hover(
          function () {
              jQuery(this).addClass("share_hover");
              Cufon.replace('.share label');
          },
          function () {
              jQuery(this).removeClass("share_hover");
              Cufon.replace('.share label');
          }
      );
});

jQuery.noConflict()(function () {
      jQuery('.expanded h4').hover(
          function () {
              jQuery(this).addClass("info_hover");
              Cufon.replace('h4');
          },
          function () {
              jQuery(this).removeClass("info_hover");
              Cufon.replace('h4');
          }
      );
});


jQuery.noConflict()(function () {
      jQuery('.expanded h4').toggle(
          function () {
              jQuery(this).parent('div').find('.info_listed').slideUp("normal");
              jQuery(this).find('span').removeClass("close_box");
              jQuery(this).find('span').addClass("expand_box");
              jQuery(this).find('span').html("Expand");
              Cufon.replace('h4 span');
          },
          function () {
            jQuery(this).parent('div').find('.info_listed').slideDown("fast");
            jQuery(this).find('span').removeClass("expand_box");
            jQuery(this).find('span').addClass("close_box");
            jQuery(this).find('span').html("Close");
            Cufon.replace('h4 span');
            }
          );

     });

jQuery.noConflict()(function () {
      jQuery('.closed h4').hover(
          function () {
              jQuery(this).addClass("info_hover");
              Cufon.replace('h4');
          },
          function () {
              jQuery(this).removeClass("info_hover");
              Cufon.replace('h4');
          }
      );
});

jQuery.noConflict()(function () {
      jQuery('.closed h4').toggle(
          function () {
            jQuery(this).parent('div').find('.info_listed').slideDown("fast");
            jQuery(this).find('span').removeClass("expand_box");
            jQuery(this).find('span').addClass("close_box");
            jQuery(this).find('span').html("Close");
            Cufon.replace('h4 span');
          },
          function () {
            jQuery(this).parent('div').find('.info_listed').slideUp("normal");
            jQuery(this).find('span').removeClass("close_box");
            jQuery(this).find('span').addClass("expand_box");
            jQuery(this).find('span').html("Expand");
            Cufon.replace('h4 span');
            }
          );

     });

jQuery.noConflict()(function () {
  jQuery('.email_updates a, .email_updates_no_results a, .email_updates_b a').click(function(){showBlanket();});
});


jQuery.noConflict()(function () {

      jQuery('li.single_family_search').live("click",
          function () {
              jQuery('#srcClassType').val('sin');
              jQuery(this).toggleClass("active_option");
              jQuery(this).toggleClass("inactive_option");
              jQuery('li.townhome_search').removeClass("active_option").addClass("inactive_option");
              jQuery('li.condo_search').removeClass("active_option").addClass("inactive_option");
              jQuery('li.land_search').removeClass("active_option").addClass("inactive_option");
              updateLiveResults();
          }
      );

      jQuery('li.townhome_search').live("click",
          function () {
              jQuery('#srcClassType').val('tow');
              jQuery(this).toggleClass("active_option");
              jQuery(this).toggleClass("inactive_option");
              jQuery('li.single_family_search').removeClass("active_option").addClass("inactive_option");
              jQuery('li.condo_search').removeClass("active_option").addClass("inactive_option");
              jQuery('li.land_search').removeClass("active_option").addClass("inactive_option");
              updateLiveResults();
          }
      );

      jQuery('li.condo_search').live("click",
          function () {
              jQuery('#srcClassType').val('con');
              jQuery(this).toggleClass("active_option");
              jQuery(this).toggleClass("inactive_option");
              jQuery('li.single_family_search').removeClass("active_option").addClass("inactive_option");
              jQuery('li.townhome_search').removeClass("active_option").addClass("inactive_option");
              jQuery('li.land_search').removeClass("active_option").addClass("inactive_option");
              updateLiveResults();
          }
      );

      jQuery('li.land_search').live("click",
            function () {
              jQuery('#srcClassType').val('land');
                jQuery(this).toggleClass("active_option");
                jQuery(this).toggleClass("inactive_option");
                jQuery('li.single_family_search').removeClass("active_option").addClass("inactive_option");
                jQuery('li.townhome_search').removeClass("active_option").addClass("inactive_option");
                jQuery('li.condo_search').removeClass("active_option").addClass("inactive_option");
                updateLiveResults();
            }
        );

      jQuery('li.inactive_option').live("click",
          function () {
              jQuery('.search_popup').css('display', 'block');
          }
      );
      jQuery('li.active_option').live("click",
          function () {
              jQuery('.search_popup').css('display', 'none');
          }
      );

      jQuery('.crumbs input.search').click(
          function () {
              jQuery(this).attr('value', '');
          }
      );
});
