/*
 * jQuery JavaScript Library v1.3.2
 * http://jquery.com/
 *
 * Copyright (c) 2009 John Resig
 * Dual licensed under the MIT and GPL licenses.
 * http://docs.jquery.com/License
 *
 * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009)
 * Revision: 6246
 */
(function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&(G[1]||!H)){if(G[1]){E=o.clean([G[1]],H)}else{var I=document.getElementById(G[3]);if(I&&I.id!=G[3]){return o().find(E)}var F=o(I||[]);F.context=document;F.selector=E;return F}}else{return o(H).find(E)}}else{if(o.isFunction(E)){return o(document).ready(E)}}if(E.selector&&E.context){this.selector=E.selector;this.context=E.context}return this.setArray(o.isArray(E)?E:o.makeArray(E))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(E){return E===g?Array.prototype.slice.call(this):this[E]},pushStack:function(F,H,E){var G=o(F);G.prevObject=this;G.context=this.context;if(H==="find"){G.selector=this.selector+(this.selector?" ":"")+E}else{if(H){G.selector=this.selector+"."+H+"("+E+")"}}return G},setArray:function(E){this.length=0;Array.prototype.push.apply(this,E);return this},each:function(F,E){return o.each(this,F,E)},index:function(E){return o.inArray(E&&E.jquery?E[0]:E,this)},attr:function(F,H,G){var E=F;if(typeof F==="string"){if(H===g){return this[0]&&o[G||"attr"](this[0],F)}else{E={};E[F]=H}}return this.each(function(I){for(F in E){o.attr(G?this.style:this,F,o.prop(this,E[F],G,I,F))}})},css:function(E,F){if((E=="width"||E=="height")&&parseFloat(F)<0){F=g}return this.attr(E,F,"curCSS")},text:function(F){if(typeof F!=="object"&&F!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(F))}var E="";o.each(F||this,function(){o.each(this.childNodes,function(){if(this.nodeType!=8){E+=this.nodeType!=1?this.nodeValue:o.fn.text([this])}})});return E},wrapAll:function(E){if(this[0]){var F=o(E,this[0].ownerDocument).clone();if(this[0].parentNode){F.insertBefore(this[0])}F.map(function(){var G=this;while(G.firstChild){G=G.firstChild}return G}).append(this)}return this},wrapInner:function(E){return this.each(function(){o(this).contents().wrapAll(E)})},wrap:function(E){return this.each(function(){o(this).wrapAll(E)})},append:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.appendChild(E)}})},prepend:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.insertBefore(E,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this)})},after:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this.nextSibling)})},end:function(){return this.prevObject||o([])},push:[].push,sort:[].sort,splice:[].splice,find:function(E){if(this.length===1){var F=this.pushStack([],"find",E);F.length=0;o.find(E,this[0],F);return F}else{return this.pushStack(o.unique(o.map(this,function(G){return o.find(E,G)})),"find",E)}},clone:function(G){var E=this.map(function(){if(!o.support.noCloneEvent&&!o.isXMLDoc(this)){var I=this.outerHTML;if(!I){var J=this.ownerDocument.createElement("div");J.appendChild(this.cloneNode(true));I=J.innerHTML}return o.clean([I.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(G===true){var H=this.find("*").andSelf(),F=0;E.find("*").andSelf().each(function(){if(this.nodeName!==H[F].nodeName){return}var I=o.data(H[F],"events");for(var K in I){for(var J in I[K]){o.event.add(this,K,I[K][J],I[K][J].data)}}F++})}return E},filter:function(E){return this.pushStack(o.isFunction(E)&&o.grep(this,function(G,F){return E.call(G,F)})||o.multiFilter(E,o.grep(this,function(F){return F.nodeType===1})),"filter",E)},closest:function(E){var G=o.expr.match.POS.test(E)?o(E):null,F=0;return this.map(function(){var H=this;while(H&&H.ownerDocument){if(G?G.index(H)>-1:o(H).is(E)){o.data(H,"closest",F);return H}H=H.parentNode;F++}})},not:function(E){if(typeof E==="string"){if(f.test(E)){return this.pushStack(o.multiFilter(E,this,true),"not",E)}else{E=o.multiFilter(E,this)}}var F=E.length&&E[E.length-1]!==g&&!E.nodeType;return this.filter(function(){return F?o.inArray(this,E)<0:this!=E})},add:function(E){return this.pushStack(o.unique(o.merge(this.get(),typeof E==="string"?o(E):o.makeArray(E))))},is:function(E){return !!E&&o.multiFilter(E,this).length>0},hasClass:function(E){return !!E&&this.is("."+E)},val:function(K){if(K===g){var E=this[0];if(E){if(o.nodeName(E,"option")){return(E.attributes.value||{}).specified?E.value:E.text}if(o.nodeName(E,"select")){var I=E.selectedIndex,L=[],M=E.options,H=E.type=="select-one";if(I<0){return null}for(var F=H?I:0,J=H?I+1:M.length;F<J;F++){var G=M[F];if(G.selected){K=o(G).val();if(H){return K}L.push(K)}}return L}return(E.value||"").replace(/\r/g,"")}return g}if(typeof K==="number"){K+=""}return this.each(function(){if(this.nodeType!=1){return}if(o.isArray(K)&&/radio|checkbox/.test(this.type)){this.checked=(o.inArray(this.value,K)>=0||o.inArray(this.name,K)>=0)}else{if(o.nodeName(this,"select")){var N=o.makeArray(K);o("option",this).each(function(){this.selected=(o.inArray(this.value,N)>=0||o.inArray(this.text,N)>=0)});if(!N.length){this.selectedIndex=-1}}else{this.value=K}}})},html:function(E){return E===g?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(E)},replaceWith:function(E){return this.after(E).remove()},eq:function(E){return this.slice(E,+E+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(E){return this.pushStack(o.map(this,function(G,F){return E.call(G,F,G)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(J,M,L){if(this[0]){var I=(this[0].ownerDocument||this[0]).createDocumentFragment(),F=o.clean(J,(this[0].ownerDocument||this[0]),I),H=I.firstChild;if(H){for(var G=0,E=this.length;G<E;G++){L.call(K(this[G],H),this.length>1||G>0?I.cloneNode(true):I)}}if(F){o.each(F,z)}}return this;function K(N,O){return M&&o.nodeName(N,"table")&&o.nodeName(O,"tr")?(N.getElementsByTagName("tbody")[0]||N.appendChild(N.ownerDocument.createElement("tbody"))):N}}};o.fn.init.prototype=o.fn;function z(E,F){if(F.src){o.ajax({url:F.src,async:false,dataType:"script"})}else{o.globalEval(F.text||F.textContent||F.innerHTML||"")}if(F.parentNode){F.parentNode.removeChild(F)}}function e(){return +new Date}o.extend=o.fn.extend=function(){var J=arguments[0]||{},H=1,I=arguments.length,E=false,G;if(typeof J==="boolean"){E=J;J=arguments[1]||{};H=2}if(typeof J!=="object"&&!o.isFunction(J)){J={}}if(I==H){J=this;--H}for(;H<I;H++){if((G=arguments[H])!=null){for(var F in G){var K=J[F],L=G[F];if(J===L){continue}if(E&&L&&typeof L==="object"&&!L.nodeType){J[F]=o.extend(E,K||(L.length!=null?[]:{}),L)}else{if(L!==g){J[F]=L}}}}}return J};var b=/z-?index|font-?weight|opacity|zoom|line-?height/i,q=document.defaultView||{},s=Object.prototype.toString;o.extend({noConflict:function(E){l.$=p;if(E){l.jQuery=y}return o},isFunction:function(E){return s.call(E)==="[object Function]"},isArray:function(E){return s.call(E)==="[object Array]"},isXMLDoc:function(E){return E.nodeType===9&&E.documentElement.nodeName!=="HTML"||!!E.ownerDocument&&o.isXMLDoc(E.ownerDocument)},globalEval:function(G){if(G&&/\S/.test(G)){var F=document.getElementsByTagName("head")[0]||document.documentElement,E=document.createElement("script");E.type="text/javascript";if(o.support.scriptEval){E.appendChild(document.createTextNode(G))}else{E.text=G}F.insertBefore(E,F.firstChild);F.removeChild(E)}},nodeName:function(F,E){return F.nodeName&&F.nodeName.toUpperCase()==E.toUpperCase()},each:function(G,K,F){var E,H=0,I=G.length;if(F){if(I===g){for(E in G){if(K.apply(G[E],F)===false){break}}}else{for(;H<I;){if(K.apply(G[H++],F)===false){break}}}}else{if(I===g){for(E in G){if(K.call(G[E],E,G[E])===false){break}}}else{for(var J=G[0];H<I&&K.call(J,H,J)!==false;J=G[++H]){}}}return G},prop:function(H,I,G,F,E){if(o.isFunction(I)){I=I.call(H,F)}return typeof I==="number"&&G=="curCSS"&&!b.test(E)?I+"px":I},className:{add:function(E,F){o.each((F||"").split(/\s+/),function(G,H){if(E.nodeType==1&&!o.className.has(E.className,H)){E.className+=(E.className?" ":"")+H}})},remove:function(E,F){if(E.nodeType==1){E.className=F!==g?o.grep(E.className.split(/\s+/),function(G){return !o.className.has(F,G)}).join(" "):""}},has:function(F,E){return F&&o.inArray(E,(F.className||F).toString().split(/\s+/))>-1}},swap:function(H,G,I){var E={};for(var F in G){E[F]=H.style[F];H.style[F]=G[F]}I.call(H);for(var F in G){H.style[F]=E[F]}},css:function(H,F,J,E){if(F=="width"||F=="height"){var L,G={position:"absolute",visibility:"hidden",display:"block"},K=F=="width"?["Left","Right"]:["Top","Bottom"];function I(){L=F=="width"?H.offsetWidth:H.offsetHeight;if(E==="border"){return}o.each(K,function(){if(!E){L-=parseFloat(o.curCSS(H,"padding"+this,true))||0}if(E==="margin"){L+=parseFloat(o.curCSS(H,"margin"+this,true))||0}else{L-=parseFloat(o.curCSS(H,"border"+this+"Width",true))||0}})}if(H.offsetWidth!==0){I()}else{o.swap(H,G,I)}return Math.max(0,Math.round(L))}return o.curCSS(H,F,J)},curCSS:function(I,F,G){var L,E=I.style;if(F=="opacity"&&!o.support.opacity){L=o.attr(E,"opacity");return L==""?"1":L}if(F.match(/float/i)){F=w}if(!G&&E&&E[F]){L=E[F]}else{if(q.getComputedStyle){if(F.match(/float/i)){F="float"}F=F.replace(/([A-Z])/g,"-$1").toLowerCase();var M=q.getComputedStyle(I,null);if(M){L=M.getPropertyValue(F)}if(F=="opacity"&&L==""){L="1"}}else{if(I.currentStyle){var J=F.replace(/\-(\w)/g,function(N,O){return O.toUpperCase()});L=I.currentStyle[F]||I.currentStyle[J];if(!/^\d+(px)?$/i.test(L)&&/^\d/.test(L)){var H=E.left,K=I.runtimeStyle.left;I.runtimeStyle.left=I.currentStyle.left;E.left=L||0;L=E.pixelLeft+"px";E.left=H;I.runtimeStyle.left=K}}}}return L},clean:function(F,K,I){K=K||document;if(typeof K.createElement==="undefined"){K=K.ownerDocument||K[0]&&K[0].ownerDocument||document}if(!I&&F.length===1&&typeof F[0]==="string"){var H=/^<(\w+)\s*\/?>$/.exec(F[0]);if(H){return[K.createElement(H[1])]}}var G=[],E=[],L=K.createElement("div");o.each(F,function(P,S){if(typeof S==="number"){S+=""}if(!S){return}if(typeof S==="string"){S=S.replace(/(<(\w+)[^>]*?)\/>/g,function(U,V,T){return T.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?U:V+"></"+T+">"});var O=S.replace(/^\s+/,"").substring(0,10).toLowerCase();var Q=!O.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!O.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||O.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!O.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!O.indexOf("<td")||!O.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!O.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!o.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];L.innerHTML=Q[1]+S+Q[2];while(Q[0]--){L=L.lastChild}if(!o.support.tbody){var R=/<tbody/i.test(S),N=!O.indexOf("<table")&&!R?L.firstChild&&L.firstChild.childNodes:Q[1]=="<table>"&&!R?L.childNodes:[];for(var M=N.length-1;M>=0;--M){if(o.nodeName(N[M],"tbody")&&!N[M].childNodes.length){N[M].parentNode.removeChild(N[M])}}}if(!o.support.leadingWhitespace&&/^\s/.test(S)){L.insertBefore(K.createTextNode(S.match(/^\s*/)[0]),L.firstChild)}S=o.makeArray(L.childNodes)}if(S.nodeType){G.push(S)}else{G=o.merge(G,S)}});if(I){for(var J=0;G[J];J++){if(o.nodeName(G[J],"script")&&(!G[J].type||G[J].type.toLowerCase()==="text/javascript")){E.push(G[J].parentNode?G[J].parentNode.removeChild(G[J]):G[J])}else{if(G[J].nodeType===1){G.splice.apply(G,[J+1,0].concat(o.makeArray(G[J].getElementsByTagName("script"))))}I.appendChild(G[J])}}return E}return G},attr:function(J,G,K){if(!J||J.nodeType==3||J.nodeType==8){return g}var H=!o.isXMLDoc(J),L=K!==g;G=H&&o.props[G]||G;if(J.tagName){var F=/href|src|style/.test(G);if(G=="selected"&&J.parentNode){J.parentNode.selectedIndex}if(G in J&&H&&!F){if(L){if(G=="type"&&o.nodeName(J,"input")&&J.parentNode){throw"type property can't be changed"}J[G]=K}if(o.nodeName(J,"form")&&J.getAttributeNode(G)){return J.getAttributeNode(G).nodeValue}if(G=="tabIndex"){var I=J.getAttributeNode("tabIndex");return I&&I.specified?I.value:J.nodeName.match(/(button|input|object|select|textarea)/i)?0:J.nodeName.match(/^(a|area)$/i)&&J.href?0:g}return J[G]}if(!o.support.style&&H&&G=="style"){return o.attr(J.style,"cssText",K)}if(L){J.setAttribute(G,""+K)}var E=!o.support.hrefNormalized&&H&&F?J.getAttribute(G,2):J.getAttribute(G);return E===null?g:E}if(!o.support.opacity&&G=="opacity"){if(L){J.zoom=1;J.filter=(J.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(K)+""=="NaN"?"":"alpha(opacity="+K*100+")")}return J.filter&&J.filter.indexOf("opacity=")>=0?(parseFloat(J.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}G=G.replace(/-([a-z])/ig,function(M,N){return N.toUpperCase()});if(L){J[G]=K}return J[G]},trim:function(E){return(E||"").replace(/^\s+|\s+$/g,"")},makeArray:function(G){var E=[];if(G!=null){var F=G.length;if(F==null||typeof G==="string"||o.isFunction(G)||G.setInterval){E[0]=G}else{while(F){E[--F]=G[F]}}}return E},inArray:function(G,H){for(var E=0,F=H.length;E<F;E++){if(H[E]===G){return E}}return -1},merge:function(H,E){var F=0,G,I=H.length;if(!o.support.getAll){while((G=E[F++])!=null){if(G.nodeType!=8){H[I++]=G}}}else{while((G=E[F++])!=null){H[I++]=G}}return H},unique:function(K){var F=[],E={};try{for(var G=0,H=K.length;G<H;G++){var J=o.data(K[G]);if(!E[J]){E[J]=true;F.push(K[G])}}}catch(I){F=K}return F},grep:function(F,J,E){var G=[];for(var H=0,I=F.length;H<I;H++){if(!E!=!J(F[H],H)){G.push(F[H])}}return G},map:function(E,J){var F=[];for(var G=0,H=E.length;G<H;G++){var I=J(E[G],G);if(I!=null){F[F.length]=I}}return F.concat.apply([],F)}});var C=navigator.userAgent.toLowerCase();o.browser={version:(C.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(C),opera:/opera/.test(C),msie:/msie/.test(C)&&!/opera/.test(C),mozilla:/mozilla/.test(C)&&!/(compatible|webkit)/.test(C)};o.each({parent:function(E){return E.parentNode},parents:function(E){return o.dir(E,"parentNode")},next:function(E){return o.nth(E,2,"nextSibling")},prev:function(E){return o.nth(E,2,"previousSibling")},nextAll:function(E){return o.dir(E,"nextSibling")},prevAll:function(E){return o.dir(E,"previousSibling")},siblings:function(E){return o.sibling(E.parentNode.firstChild,E)},children:function(E){return o.sibling(E.firstChild)},contents:function(E){return o.nodeName(E,"iframe")?E.contentDocument||E.contentWindow.document:o.makeArray(E.childNodes)}},function(E,F){o.fn[E]=function(G){var H=o.map(this,F);if(G&&typeof G=="string"){H=o.multiFilter(G,H)}return this.pushStack(o.unique(H),E,G)}});o.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(E,F){o.fn[E]=function(G){var J=[],L=o(G);for(var K=0,H=L.length;K<H;K++){var I=(K>0?this.clone(true):this).get();o.fn[F].apply(o(L[K]),I);J=J.concat(I)}return this.pushStack(J,E,G)}});o.each({removeAttr:function(E){o.attr(this,E,"");if(this.nodeType==1){this.removeAttribute(E)}},addClass:function(E){o.className.add(this,E)},removeClass:function(E){o.className.remove(this,E)},toggleClass:function(F,E){if(typeof E!=="boolean"){E=!o.className.has(this,F)}o.className[E?"add":"remove"](this,F)},remove:function(E){if(!E||o.filter(E,[this]).length){o("*",this).add([this]).each(function(){o.event.remove(this);o.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){o(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(E,F){o.fn[E]=function(){return this.each(F,arguments)}});function j(E,F){return E[0]&&parseInt(o.curCSS(E[0],F,true),10)||0}var h="jQuery"+e(),v=0,A={};o.extend({cache:{},data:function(F,E,G){F=F==l?A:F;var H=F[h];if(!H){H=F[h]=++v}if(E&&!o.cache[H]){o.cache[H]={}}if(G!==g){o.cache[H][E]=G}return E?o.cache[H][E]:H},removeData:function(F,E){F=F==l?A:F;var H=F[h];if(E){if(o.cache[H]){delete o.cache[H][E];E="";for(E in o.cache[H]){break}if(!E){o.removeData(F)}}}else{try{delete F[h]}catch(G){if(F.removeAttribute){F.removeAttribute(h)}}delete o.cache[H]}},queue:function(F,E,H){if(F){E=(E||"fx")+"queue";var G=o.data(F,E);if(!G||o.isArray(H)){G=o.data(F,E,o.makeArray(H))}else{if(H){G.push(H)}}}return G},dequeue:function(H,G){var E=o.queue(H,G),F=E.shift();if(!G||G==="fx"){F=E[0]}if(F!==g){F.call(H)}}});o.fn.extend({data:function(E,G){var H=E.split(".");H[1]=H[1]?"."+H[1]:"";if(G===g){var F=this.triggerHandler("getData"+H[1]+"!",[H[0]]);if(F===g&&this.length){F=o.data(this[0],E)}return F===g&&H[1]?this.data(H[0]):F}else{return this.trigger("setData"+H[1]+"!",[H[0],G]).each(function(){o.data(this,E,G)})}},removeData:function(E){return this.each(function(){o.removeData(this,E)})},queue:function(E,F){if(typeof E!=="string"){F=E;E="fx"}if(F===g){return o.queue(this[0],E)}return this.each(function(){var G=o.queue(this,E,F);if(E=="fx"&&G.length==1){G[0].call(this)}})},dequeue:function(E){return this.each(function(){o.dequeue(this,E)})}});
/*
 * Sizzle CSS Selector Engine - v0.9.3
 *  Copyright 2009, The Dojo Foundation
 *  Released under the MIT, BSD, and GPL Licenses.
 *  More information: http://sizzlejs.com/
 */
(function(){var R=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,L=0,H=Object.prototype.toString;var F=function(Y,U,ab,ac){ab=ab||[];U=U||document;if(U.nodeType!==1&&U.nodeType!==9){return[]}if(!Y||typeof Y!=="string"){return ab}var Z=[],W,af,ai,T,ad,V,X=true;R.lastIndex=0;while((W=R.exec(Y))!==null){Z.push(W[1]);if(W[2]){V=RegExp.rightContext;break}}if(Z.length>1&&M.exec(Y)){if(Z.length===2&&I.relative[Z[0]]){af=J(Z[0]+Z[1],U)}else{af=I.relative[Z[0]]?[U]:F(Z.shift(),U);while(Z.length){Y=Z.shift();if(I.relative[Y]){Y+=Z.shift()}af=J(Y,af)}}}else{var ae=ac?{expr:Z.pop(),set:E(ac)}:F.find(Z.pop(),Z.length===1&&U.parentNode?U.parentNode:U,Q(U));af=F.filter(ae.expr,ae.set);if(Z.length>0){ai=E(af)}else{X=false}while(Z.length){var ah=Z.pop(),ag=ah;if(!I.relative[ah]){ah=""}else{ag=Z.pop()}if(ag==null){ag=U}I.relative[ah](ai,ag,Q(U))}}if(!ai){ai=af}if(!ai){throw"Syntax error, unrecognized expression: "+(ah||Y)}if(H.call(ai)==="[object Array]"){if(!X){ab.push.apply(ab,ai)}else{if(U.nodeType===1){for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&(ai[aa]===true||ai[aa].nodeType===1&&K(U,ai[aa]))){ab.push(af[aa])}}}else{for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&ai[aa].nodeType===1){ab.push(af[aa])}}}}}else{E(ai,ab)}if(V){F(V,U,ab,ac);if(G){hasDuplicate=false;ab.sort(G);if(hasDuplicate){for(var aa=1;aa<ab.length;aa++){if(ab[aa]===ab[aa-1]){ab.splice(aa--,1)}}}}}return ab};F.matches=function(T,U){return F(T,null,null,U)};F.find=function(aa,T,ab){var Z,X;if(!aa){return[]}for(var W=0,V=I.order.length;W<V;W++){var Y=I.order[W],X;if((X=I.match[Y].exec(aa))){var U=RegExp.leftContext;if(U.substr(U.length-1)!=="\\"){X[1]=(X[1]||"").replace(/\\/g,"");Z=I.find[Y](X,T,ab);if(Z!=null){aa=aa.replace(I.match[Y],"");break}}}}if(!Z){Z=T.getElementsByTagName("*")}return{set:Z,expr:aa}};F.filter=function(ad,ac,ag,W){var V=ad,ai=[],aa=ac,Y,T,Z=ac&&ac[0]&&Q(ac[0]);while(ad&&ac.length){for(var ab in I.filter){if((Y=I.match[ab].exec(ad))!=null){var U=I.filter[ab],ah,af;T=false;if(aa==ai){ai=[]}if(I.preFilter[ab]){Y=I.preFilter[ab](Y,aa,ag,ai,W,Z);if(!Y){T=ah=true}else{if(Y===true){continue}}}if(Y){for(var X=0;(af=aa[X])!=null;X++){if(af){ah=U(af,Y,X,aa);var ae=W^!!ah;if(ag&&ah!=null){if(ae){T=true}else{aa[X]=false}}else{if(ae){ai.push(af);T=true}}}}}if(ah!==g){if(!ag){aa=ai}ad=ad.replace(I.match[ab],"");if(!T){return[]}break}}}if(ad==V){if(T==null){throw"Syntax error, unrecognized expression: "+ad}else{break}}V=ad}return aa};var I=F.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(T){return T.getAttribute("href")}},relative:{"+":function(aa,T,Z){var X=typeof T==="string",ab=X&&!/\W/.test(T),Y=X&&!ab;if(ab&&!Z){T=T.toUpperCase()}for(var W=0,V=aa.length,U;W<V;W++){if((U=aa[W])){while((U=U.previousSibling)&&U.nodeType!==1){}aa[W]=Y||U&&U.nodeName===T?U||false:U===T}}if(Y){F.filter(T,aa,true)}},">":function(Z,U,aa){var X=typeof U==="string";if(X&&!/\W/.test(U)){U=aa?U:U.toUpperCase();for(var V=0,T=Z.length;V<T;V++){var Y=Z[V];if(Y){var W=Y.parentNode;Z[V]=W.nodeName===U?W:false}}}else{for(var V=0,T=Z.length;V<T;V++){var Y=Z[V];if(Y){Z[V]=X?Y.parentNode:Y.parentNode===U}}if(X){F.filter(U,Z,true)}}},"":function(W,U,Y){var V=L++,T=S;if(!U.match(/\W/)){var X=U=Y?U:U.toUpperCase();T=P}T("parentNode",U,V,W,X,Y)},"~":function(W,U,Y){var V=L++,T=S;if(typeof U==="string"&&!U.match(/\W/)){var X=U=Y?U:U.toUpperCase();T=P}T("previousSibling",U,V,W,X,Y)}},find:{ID:function(U,V,W){if(typeof V.getElementById!=="undefined"&&!W){var T=V.getElementById(U[1]);return T?[T]:[]}},NAME:function(V,Y,Z){if(typeof Y.getElementsByName!=="undefined"){var U=[],X=Y.getElementsByName(V[1]);for(var W=0,T=X.length;W<T;W++){if(X[W].getAttribute("name")===V[1]){U.push(X[W])}}return U.length===0?null:U}},TAG:function(T,U){return U.getElementsByTagName(T[1])}},preFilter:{CLASS:function(W,U,V,T,Z,aa){W=" "+W[1].replace(/\\/g,"")+" ";if(aa){return W}for(var X=0,Y;(Y=U[X])!=null;X++){if(Y){if(Z^(Y.className&&(" "+Y.className+" ").indexOf(W)>=0)){if(!V){T.push(Y)}}else{if(V){U[X]=false}}}}return false},ID:function(T){return T[1].replace(/\\/g,"")},TAG:function(U,T){for(var V=0;T[V]===false;V++){}return T[V]&&Q(T[V])?U[1]:U[1].toUpperCase()},CHILD:function(T){if(T[1]=="nth"){var U=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(T[2]=="even"&&"2n"||T[2]=="odd"&&"2n+1"||!/\D/.test(T[2])&&"0n+"+T[2]||T[2]);T[2]=(U[1]+(U[2]||1))-0;T[3]=U[3]-0}T[0]=L++;return T},ATTR:function(X,U,V,T,Y,Z){var W=X[1].replace(/\\/g,"");if(!Z&&I.attrMap[W]){X[1]=I.attrMap[W]}if(X[2]==="~="){X[4]=" "+X[4]+" "}return X},PSEUDO:function(X,U,V,T,Y){if(X[1]==="not"){if(X[3].match(R).length>1||/^\w/.test(X[3])){X[3]=F(X[3],null,null,U)}else{var W=F.filter(X[3],U,V,true^Y);if(!V){T.push.apply(T,W)}return false}}else{if(I.match.POS.test(X[0])||I.match.CHILD.test(X[0])){return true}}return X},POS:function(T){T.unshift(true);return T}},filters:{enabled:function(T){return T.disabled===false&&T.type!=="hidden"},disabled:function(T){return T.disabled===true},checked:function(T){return T.checked===true},selected:function(T){T.parentNode.selectedIndex;return T.selected===true},parent:function(T){return !!T.firstChild},empty:function(T){return !T.firstChild},has:function(V,U,T){return !!F(T[3],V).length},header:function(T){return/h\d/i.test(T.nodeName)},text:function(T){return"text"===T.type},radio:function(T){return"radio"===T.type},checkbox:function(T){return"checkbox"===T.type},file:function(T){return"file"===T.type},password:function(T){return"password"===T.type},submit:function(T){return"submit"===T.type},image:function(T){return"image"===T.type},reset:function(T){return"reset"===T.type},button:function(T){return"button"===T.type||T.nodeName.toUpperCase()==="BUTTON"},input:function(T){return/input|select|textarea|button/i.test(T.nodeName)}},setFilters:{first:function(U,T){return T===0},last:function(V,U,T,W){return U===W.length-1},even:function(U,T){return T%2===0},odd:function(U,T){return T%2===1},lt:function(V,U,T){return U<T[3]-0},gt:function(V,U,T){return U>T[3]-0},nth:function(V,U,T){return T[3]-0==U},eq:function(V,U,T){return T[3]-0==U}},filter:{PSEUDO:function(Z,V,W,aa){var U=V[1],X=I.filters[U];if(X){return X(Z,W,V,aa)}else{if(U==="contains"){return(Z.textContent||Z.innerText||"").indexOf(V[3])>=0}else{if(U==="not"){var Y=V[3];for(var W=0,T=Y.length;W<T;W++){if(Y[W]===Z){return false}}return true}}}},CHILD:function(T,W){var Z=W[1],U=T;switch(Z){case"only":case"first":while(U=U.previousSibling){if(U.nodeType===1){return false}}if(Z=="first"){return true}U=T;case"last":while(U=U.nextSibling){if(U.nodeType===1){return false}}return true;case"nth":var V=W[2],ac=W[3];if(V==1&&ac==0){return true}var Y=W[0],ab=T.parentNode;if(ab&&(ab.sizcache!==Y||!T.nodeIndex)){var X=0;for(U=ab.firstChild;U;U=U.nextSibling){if(U.nodeType===1){U.nodeIndex=++X}}ab.sizcache=Y}var aa=T.nodeIndex-ac;if(V==0){return aa==0}else{return(aa%V==0&&aa/V>=0)}}},ID:function(U,T){return U.nodeType===1&&U.getAttribute("id")===T},TAG:function(U,T){return(T==="*"&&U.nodeType===1)||U.nodeName===T},CLASS:function(U,T){return(" "+(U.className||U.getAttribute("class"))+" ").indexOf(T)>-1},ATTR:function(Y,W){var V=W[1],T=I.attrHandle[V]?I.attrHandle[V](Y):Y[V]!=null?Y[V]:Y.getAttribute(V),Z=T+"",X=W[2],U=W[4];return T==null?X==="!=":X==="="?Z===U:X==="*="?Z.indexOf(U)>=0:X==="~="?(" "+Z+" ").indexOf(U)>=0:!U?Z&&T!==false:X==="!="?Z!=U:X==="^="?Z.indexOf(U)===0:X==="$="?Z.substr(Z.length-U.length)===U:X==="|="?Z===U||Z.substr(0,U.length+1)===U+"-":false},POS:function(X,U,V,Y){var T=U[2],W=I.setFilters[T];if(W){return W(X,V,U,Y)}}}};var M=I.match.POS;for(var O in I.match){I.match[O]=RegExp(I.match[O].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var E=function(U,T){U=Array.prototype.slice.call(U);if(T){T.push.apply(T,U);return T}return U};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(N){E=function(X,W){var U=W||[];if(H.call(X)==="[object Array]"){Array.prototype.push.apply(U,X)}else{if(typeof X.length==="number"){for(var V=0,T=X.length;V<T;V++){U.push(X[V])}}else{for(var V=0;X[V];V++){U.push(X[V])}}}return U}}var G;if(document.documentElement.compareDocumentPosition){G=function(U,T){var V=U.compareDocumentPosition(T)&4?-1:U===T?0:1;if(V===0){hasDuplicate=true}return V}}else{if("sourceIndex" in document.documentElement){G=function(U,T){var V=U.sourceIndex-T.sourceIndex;if(V===0){hasDuplicate=true}return V}}else{if(document.createRange){G=function(W,U){var V=W.ownerDocument.createRange(),T=U.ownerDocument.createRange();V.selectNode(W);V.collapse(true);T.selectNode(U);T.collapse(true);var X=V.compareBoundaryPoints(Range.START_TO_END,T);if(X===0){hasDuplicate=true}return X}}}}(function(){var U=document.createElement("form"),V="script"+(new Date).getTime();U.innerHTML="<input name='"+V+"'/>";var T=document.documentElement;T.insertBefore(U,T.firstChild);if(!!document.getElementById(V)){I.find.ID=function(X,Y,Z){if(typeof Y.getElementById!=="undefined"&&!Z){var W=Y.getElementById(X[1]);return W?W.id===X[1]||typeof W.getAttributeNode!=="undefined"&&W.getAttributeNode("id").nodeValue===X[1]?[W]:g:[]}};I.filter.ID=function(Y,W){var X=typeof Y.getAttributeNode!=="undefined"&&Y.getAttributeNode("id");return Y.nodeType===1&&X&&X.nodeValue===W}}T.removeChild(U)})();(function(){var T=document.createElement("div");T.appendChild(document.createComment(""));if(T.getElementsByTagName("*").length>0){I.find.TAG=function(U,Y){var X=Y.getElementsByTagName(U[1]);if(U[1]==="*"){var W=[];for(var V=0;X[V];V++){if(X[V].nodeType===1){W.push(X[V])}}X=W}return X}}T.innerHTML="<a href='#'></a>";if(T.firstChild&&typeof T.firstChild.getAttribute!=="undefined"&&T.firstChild.getAttribute("href")!=="#"){I.attrHandle.href=function(U){return U.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var T=F,U=document.createElement("div");U.innerHTML="<p class='TEST'></p>";if(U.querySelectorAll&&U.querySelectorAll(".TEST").length===0){return}F=function(Y,X,V,W){X=X||document;if(!W&&X.nodeType===9&&!Q(X)){try{return E(X.querySelectorAll(Y),V)}catch(Z){}}return T(Y,X,V,W)};F.find=T.find;F.filter=T.filter;F.selectors=T.selectors;F.matches=T.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var T=document.createElement("div");T.innerHTML="<div class='test e'></div><div class='test'></div>";if(T.getElementsByClassName("e").length===0){return}T.lastChild.className="e";if(T.getElementsByClassName("e").length===1){return}I.order.splice(1,0,"CLASS");I.find.CLASS=function(U,V,W){if(typeof V.getElementsByClassName!=="undefined"&&!W){return V.getElementsByClassName(U[1])}}})()}function P(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W<V;W++){var T=ad[W];if(T){if(ab&&T.nodeType===1){T.sizcache=Y;T.sizset=W}T=T[U];var X=false;while(T){if(T.sizcache===Y){X=ad[T.sizset];break}if(T.nodeType===1&&!ac){T.sizcache=Y;T.sizset=W}if(T.nodeName===Z){X=T;break}T=T[U]}ad[W]=X}}}function S(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W<V;W++){var T=ad[W];if(T){if(ab&&T.nodeType===1){T.sizcache=Y;T.sizset=W}T=T[U];var X=false;while(T){if(T.sizcache===Y){X=ad[T.sizset];break}if(T.nodeType===1){if(!ac){T.sizcache=Y;T.sizset=W}if(typeof Z!=="string"){if(T===Z){X=true;break}}else{if(F.filter(Z,[T]).length>0){X=T;break}}}T=T[U]}ad[W]=X}}}var K=document.compareDocumentPosition?function(U,T){return U.compareDocumentPosition(T)&16}:function(U,T){return U!==T&&(U.contains?U.contains(T):true)};var Q=function(T){return T.nodeType===9&&T.documentElement.nodeName!=="HTML"||!!T.ownerDocument&&Q(T.ownerDocument)};var J=function(T,aa){var W=[],X="",Y,V=aa.nodeType?[aa]:aa;while((Y=I.match.PSEUDO.exec(T))){X+=Y[0];T=T.replace(I.match.PSEUDO,"")}T=I.relative[T]?T+"*":T;for(var Z=0,U=V.length;Z<U;Z++){F(T,V[Z],W)}return F.filter(X,W)};o.find=F;o.filter=F.filter;o.expr=F.selectors;o.expr[":"]=o.expr.filters;F.selectors.filters.hidden=function(T){return T.offsetWidth===0||T.offsetHeight===0};F.selectors.filters.visible=function(T){return T.offsetWidth>0||T.offsetHeight>0};F.selectors.filters.animated=function(T){return o.grep(o.timers,function(U){return T===U.elem}).length};o.multiFilter=function(V,T,U){if(U){V=":not("+V+")"}return F.matches(V,T)};o.dir=function(V,U){var T=[],W=V[U];while(W&&W!=document){if(W.nodeType==1){T.push(W)}W=W[U]}return T};o.nth=function(X,T,V,W){T=T||1;var U=0;for(;X;X=X[V]){if(X.nodeType==1&&++U==T){break}}return X};o.sibling=function(V,U){var T=[];for(;V;V=V.nextSibling){if(V.nodeType==1&&V!=U){T.push(V)}}return T};return;l.Sizzle=F})();o.event={add:function(I,F,H,K){if(I.nodeType==3||I.nodeType==8){return}if(I.setInterval&&I!=l){I=l}if(!H.guid){H.guid=this.guid++}if(K!==g){var G=H;H=this.proxy(G);H.data=K}var E=o.data(I,"events")||o.data(I,"events",{}),J=o.data(I,"handle")||o.data(I,"handle",function(){return typeof o!=="undefined"&&!o.event.triggered?o.event.handle.apply(arguments.callee.elem,arguments):g});J.elem=I;o.each(F.split(/\s+/),function(M,N){var O=N.split(".");N=O.shift();H.type=O.slice().sort().join(".");var L=E[N];if(o.event.specialAll[N]){o.event.specialAll[N].setup.call(I,K,O)}if(!L){L=E[N]={};if(!o.event.special[N]||o.event.special[N].setup.call(I,K,O)===false){if(I.addEventListener){I.addEventListener(N,J,false)}else{if(I.attachEvent){I.attachEvent("on"+N,J)}}}}L[H.guid]=H;o.event.global[N]=true});I=null},guid:1,global:{},remove:function(K,H,J){if(K.nodeType==3||K.nodeType==8){return}var G=o.data(K,"events"),F,E;if(G){if(H===g||(typeof H==="string"&&H.charAt(0)==".")){for(var I in G){this.remove(K,I+(H||""))}}else{if(H.type){J=H.handler;H=H.type}o.each(H.split(/\s+/),function(M,O){var Q=O.split(".");O=Q.shift();var N=RegExp("(^|\\.)"+Q.slice().sort().join(".*\\.")+"(\\.|$)");if(G[O]){if(J){delete G[O][J.guid]}else{for(var P in G[O]){if(N.test(G[O][P].type)){delete G[O][P]}}}if(o.event.specialAll[O]){o.event.specialAll[O].teardown.call(K,Q)}for(F in G[O]){break}if(!F){if(!o.event.special[O]||o.event.special[O].teardown.call(K,Q)===false){if(K.removeEventListener){K.removeEventListener(O,o.data(K,"handle"),false)}else{if(K.detachEvent){K.detachEvent("on"+O,o.data(K,"handle"))}}}F=null;delete G[O]}}})}for(F in G){break}if(!F){var L=o.data(K,"handle");if(L){L.elem=null}o.removeData(K,"events");o.removeData(K,"handle")}}},trigger:function(I,K,H,E){var G=I.type||I;if(!E){I=typeof I==="object"?I[h]?I:o.extend(o.Event(G),I):o.Event(G);if(G.indexOf("!")>=0){I.type=G=G.slice(0,-1);I.exclusive=true}if(!H){I.stopPropagation();if(this.global[G]){o.each(o.cache,function(){if(this.events&&this.events[G]){o.event.trigger(I,K,this.handle.elem)}})}}if(!H||H.nodeType==3||H.nodeType==8){return g}I.result=g;I.target=H;K=o.makeArray(K);K.unshift(I)}I.currentTarget=H;var J=o.data(H,"handle");if(J){J.apply(H,K)}if((!H[G]||(o.nodeName(H,"a")&&G=="click"))&&H["on"+G]&&H["on"+G].apply(H,K)===false){I.result=false}if(!E&&H[G]&&!I.isDefaultPrevented()&&!(o.nodeName(H,"a")&&G=="click")){this.triggered=true;try{H[G]()}catch(L){}}this.triggered=false;if(!I.isPropagationStopped()){var F=H.parentNode||H.ownerDocument;if(F){o.event.trigger(I,K,F,true)}}},handle:function(K){var J,E;K=arguments[0]=o.event.fix(K||l.event);K.currentTarget=this;var L=K.type.split(".");K.type=L.shift();J=!L.length&&!K.exclusive;var I=RegExp("(^|\\.)"+L.slice().sort().join(".*\\.")+"(\\.|$)");E=(o.data(this,"events")||{})[K.type];for(var G in E){var H=E[G];if(J||I.test(H.type)){K.handler=H;K.data=H.data;var F=H.apply(this,arguments);if(F!==g){K.result=F;if(F===false){K.preventDefault();K.stopPropagation()}}if(K.isImmediatePropagationStopped()){break}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(H){if(H[h]){return H}var F=H;H=o.Event(F);for(var G=this.props.length,J;G;){J=this.props[--G];H[J]=F[J]}if(!H.target){H.target=H.srcElement||document}if(H.target.nodeType==3){H.target=H.target.parentNode}if(!H.relatedTarget&&H.fromElement){H.relatedTarget=H.fromElement==H.target?H.toElement:H.fromElement}if(H.pageX==null&&H.clientX!=null){var I=document.documentElement,E=document.body;H.pageX=H.clientX+(I&&I.scrollLeft||E&&E.scrollLeft||0)-(I.clientLeft||0);H.pageY=H.clientY+(I&&I.scrollTop||E&&E.scrollTop||0)-(I.clientTop||0)}if(!H.which&&((H.charCode||H.charCode===0)?H.charCode:H.keyCode)){H.which=H.charCode||H.keyCode}if(!H.metaKey&&H.ctrlKey){H.metaKey=H.ctrlKey}if(!H.which&&H.button){H.which=(H.button&1?1:(H.button&2?3:(H.button&4?2:0)))}return H},proxy:function(F,E){E=E||function(){return F.apply(this,arguments)};E.guid=F.guid=F.guid||E.guid||this.guid++;return E},special:{ready:{setup:B,teardown:function(){}}},specialAll:{live:{setup:function(E,F){o.event.add(this,F[0],c)},teardown:function(G){if(G.length){var E=0,F=RegExp("(^|\\.)"+G[0]+"(\\.|$)");o.each((o.data(this,"events").live||{}),function(){if(F.test(this.type)){E++}});if(E<1){o.event.remove(this,G[0],c)}}}}}};o.Event=function(E){if(!this.preventDefault){return new o.Event(E)}if(E&&E.type){this.originalEvent=E;this.type=E.type}else{this.type=E}this.timeStamp=e();this[h]=true};function k(){return false}function u(){return true}o.Event.prototype={preventDefault:function(){this.isDefaultPrevented=u;var E=this.originalEvent;if(!E){return}if(E.preventDefault){E.preventDefault()}E.returnValue=false},stopPropagation:function(){this.isPropagationStopped=u;var E=this.originalEvent;if(!E){return}if(E.stopPropagation){E.stopPropagation()}E.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=u;this.stopPropagation()},isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k};var a=function(F){var E=F.relatedTarget;while(E&&E!=this){try{E=E.parentNode}catch(G){E=this}}if(E!=this){F.type=F.data;o.event.handle.apply(this,arguments)}};o.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(F,E){o.event.special[E]={setup:function(){o.event.add(this,F,a,E)},teardown:function(){o.event.remove(this,F,a)}}});o.fn.extend({bind:function(F,G,E){return F=="unload"?this.one(F,G,E):this.each(function(){o.event.add(this,F,E||G,E&&G)})},one:function(G,H,F){var E=o.event.proxy(F||H,function(I){o(this).unbind(I,E);return(F||H).apply(this,arguments)});return this.each(function(){o.event.add(this,G,E,F&&H)})},unbind:function(F,E){return this.each(function(){o.event.remove(this,F,E)})},trigger:function(E,F){return this.each(function(){o.event.trigger(E,F,this)})},triggerHandler:function(E,G){if(this[0]){var F=o.Event(E);F.preventDefault();F.stopPropagation();o.event.trigger(F,G,this[0]);return F.result}},toggle:function(G){var E=arguments,F=1;while(F<E.length){o.event.proxy(G,E[F++])}return this.click(o.event.proxy(G,function(H){this.lastToggle=(this.lastToggle||0)%F;H.preventDefault();return E[this.lastToggle++].apply(this,arguments)||false}))},hover:function(E,F){return this.mouseenter(E).mouseleave(F)},ready:function(E){B();if(o.isReady){E.call(document,o)}else{o.readyList.push(E)}return this},live:function(G,F){var E=o.event.proxy(F);E.guid+=this.selector+G;o(document).bind(i(G,this.selector),this.selector,E);return this},die:function(F,E){o(document).unbind(i(F,this.selector),E?{guid:E.guid+this.selector+F}:null);return this}});function c(H){var E=RegExp("(^|\\.)"+H.type+"(\\.|$)"),G=true,F=[];o.each(o.data(this,"events").live||[],function(I,J){if(E.test(J.type)){var K=o(H.target).closest(J.data)[0];if(K){F.push({elem:K,fn:J})}}});F.sort(function(J,I){return o.data(J.elem,"closest")-o.data(I.elem,"closest")});o.each(F,function(){if(this.fn.call(this.elem,H,this.fn.data)===false){return(G=false)}});return G}function i(F,E){return["live",F,E.replace(/\./g,"`").replace(/ /g,"|")].join(".")}o.extend({isReady:false,readyList:[],ready:function(){if(!o.isReady){o.isReady=true;if(o.readyList){o.each(o.readyList,function(){this.call(document,o)});o.readyList=null}o(document).triggerHandler("ready")}}});var x=false;function B(){if(x){return}x=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);o.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);o.ready()}});if(document.documentElement.doScroll&&l==l.top){(function(){if(o.isReady){return}try{document.documentElement.doScroll("left")}catch(E){setTimeout(arguments.callee,0);return}o.ready()})()}}}o.event.add(l,"load",o.ready)}o.each(("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error").split(","),function(F,E){o.fn[E]=function(G){return G?this.bind(E,G):this.trigger(E)}});o(l).bind("unload",function(){for(var E in o.cache){if(E!=1&&o.cache[E].handle){o.event.remove(o.cache[E].handle.elem)}}});(function(){o.support={};var F=document.documentElement,G=document.createElement("script"),K=document.createElement("div"),J="script"+(new Date).getTime();K.style.display="none";K.innerHTML='   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';var H=K.getElementsByTagName("*"),E=K.getElementsByTagName("a")[0];if(!H||!H.length||!E){return}o.support={leadingWhitespace:K.firstChild.nodeType==3,tbody:!K.getElementsByTagName("tbody").length,objectAll:!!K.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!K.getElementsByTagName("link").length,style:/red/.test(E.getAttribute("style")),hrefNormalized:E.getAttribute("href")==="/a",opacity:E.style.opacity==="0.5",cssFloat:!!E.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};G.type="text/javascript";try{G.appendChild(document.createTextNode("window."+J+"=1;"))}catch(I){}F.insertBefore(G,F.firstChild);if(l[J]){o.support.scriptEval=true;delete l[J]}F.removeChild(G);if(K.attachEvent&&K.fireEvent){K.attachEvent("onclick",function(){o.support.noCloneEvent=false;K.detachEvent("onclick",arguments.callee)});K.cloneNode(true).fireEvent("onclick")}o(function(){var L=document.createElement("div");L.style.width=L.style.paddingLeft="1px";document.body.appendChild(L);o.boxModel=o.support.boxModel=L.offsetWidth===2;document.body.removeChild(L).style.display="none"})})();var w=o.support.cssFloat?"cssFloat":"styleFloat";o.props={"for":"htmlFor","class":"className","float":w,cssFloat:w,styleFloat:w,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};o.fn.extend({_load:o.fn.load,load:function(G,J,K){if(typeof G!=="string"){return this._load(G)}var I=G.indexOf(" ");if(I>=0){var E=G.slice(I,G.length);G=G.slice(0,I)}var H="GET";if(J){if(o.isFunction(J)){K=J;J=null}else{if(typeof J==="object"){J=o.param(J);H="POST"}}}var F=this;o.ajax({url:G,type:H,dataType:"html",data:J,complete:function(M,L){if(L=="success"||L=="notmodified"){F.html(E?o("<div/>").append(M.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(E):M.responseText)}if(K){F.each(K,[M.responseText,L,M])}}});return this},serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?o.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(E,F){var G=o(this).val();return G==null?null:o.isArray(G)?o.map(G,function(I,H){return{name:F.name,value:I}}):{name:F.name,value:G}}).get()}});o.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(E,F){o.fn[F]=function(G){return this.bind(F,G)}});var r=e();o.extend({get:function(E,G,H,F){if(o.isFunction(G)){H=G;G=null}return o.ajax({type:"GET",url:E,data:G,success:H,dataType:F})},getScript:function(E,F){return o.get(E,null,F,"script")},getJSON:function(E,F,G){return o.get(E,F,G,"json")},post:function(E,G,H,F){if(o.isFunction(G)){H=G;G={}}return o.ajax({type:"POST",url:E,data:G,success:H,dataType:F})},ajaxSetup:function(E){o.extend(o.ajaxSettings,E)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return l.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(M){M=o.extend(true,M,o.extend(true,{},o.ajaxSettings,M));var W,F=/=\?(&|$)/g,R,V,G=M.type.toUpperCase();if(M.data&&M.processData&&typeof M.data!=="string"){M.data=o.param(M.data)}if(M.dataType=="jsonp"){if(G=="GET"){if(!M.url.match(F)){M.url+=(M.url.match(/\?/)?"&":"?")+(M.jsonp||"callback")+"=?"}}else{if(!M.data||!M.data.match(F)){M.data=(M.data?M.data+"&":"")+(M.jsonp||"callback")+"=?"}}M.dataType="json"}if(M.dataType=="json"&&(M.data&&M.data.match(F)||M.url.match(F))){W="jsonp"+r++;if(M.data){M.data=(M.data+"").replace(F,"="+W+"$1")}M.url=M.url.replace(F,"="+W+"$1");M.dataType="script";l[W]=function(X){V=X;I();L();l[W]=g;try{delete l[W]}catch(Y){}if(H){H.removeChild(T)}}}if(M.dataType=="script"&&M.cache==null){M.cache=false}if(M.cache===false&&G=="GET"){var E=e();var U=M.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+E+"$2");M.url=U+((U==M.url)?(M.url.match(/\?/)?"&":"?")+"_="+E:"")}if(M.data&&G=="GET"){M.url+=(M.url.match(/\?/)?"&":"?")+M.data;M.data=null}if(M.global&&!o.active++){o.event.trigger("ajaxStart")}var Q=/^(\w+:)?\/\/([^\/?#]+)/.exec(M.url);if(M.dataType=="script"&&G=="GET"&&Q&&(Q[1]&&Q[1]!=location.protocol||Q[2]!=location.host)){var H=document.getElementsByTagName("head")[0];var T=document.createElement("script");T.src=M.url;if(M.scriptCharset){T.charset=M.scriptCharset}if(!W){var O=false;T.onload=T.onreadystatechange=function(){if(!O&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){O=true;I();L();T.onload=T.onreadystatechange=null;H.removeChild(T)}}}H.appendChild(T);return g}var K=false;var J=M.xhr();if(M.username){J.open(G,M.url,M.async,M.username,M.password)}else{J.open(G,M.url,M.async)}try{if(M.data){J.setRequestHeader("Content-Type",M.contentType)}if(M.ifModified){J.setRequestHeader("If-Modified-Since",o.lastModified[M.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}J.setRequestHeader("X-Requested-With","XMLHttpRequest");J.setRequestHeader("Accept",M.dataType&&M.accepts[M.dataType]?M.accepts[M.dataType]+", */*":M.accepts._default)}catch(S){}if(M.beforeSend&&M.beforeSend(J,M)===false){if(M.global&&!--o.active){o.event.trigger("ajaxStop")}J.abort();return false}if(M.global){o.event.trigger("ajaxSend",[J,M])}var N=function(X){if(J.readyState==0){if(P){clearInterval(P);P=null;if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}}else{if(!K&&J&&(J.readyState==4||X=="timeout")){K=true;if(P){clearInterval(P);P=null}R=X=="timeout"?"timeout":!o.httpSuccess(J)?"error":M.ifModified&&o.httpNotModified(J,M.url)?"notmodified":"success";if(R=="success"){try{V=o.httpData(J,M.dataType,M)}catch(Z){R="parsererror"}}if(R=="success"){var Y;try{Y=J.getResponseHeader("Last-Modified")}catch(Z){}if(M.ifModified&&Y){o.lastModified[M.url]=Y}if(!W){I()}}else{o.handleError(M,J,R)}L();if(X){J.abort()}if(M.async){J=null}}}};if(M.async){var P=setInterval(N,13);if(M.timeout>0){setTimeout(function(){if(J&&!K){N("timeout")}},M.timeout)}}try{J.send(M.data)}catch(S){o.handleError(M,J,null,S)}if(!M.async){N()}function I(){if(M.success){M.success(V,R)}if(M.global){o.event.trigger("ajaxSuccess",[J,M])}}function L(){if(M.complete){M.complete(J,R)}if(M.global){o.event.trigger("ajaxComplete",[J,M])}if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}return J},handleError:function(F,H,E,G){if(F.error){F.error(H,E,G)}if(F.global){o.event.trigger("ajaxError",[H,F,G])}},active:0,httpSuccess:function(F){try{return !F.status&&location.protocol=="file:"||(F.status>=200&&F.status<300)||F.status==304||F.status==1223}catch(E){}return false},httpNotModified:function(G,E){try{var H=G.getResponseHeader("Last-Modified");return G.status==304||H==o.lastModified[E]}catch(F){}return false},httpData:function(J,H,G){var F=J.getResponseHeader("content-type"),E=H=="xml"||!H&&F&&F.indexOf("xml")>=0,I=E?J.responseXML:J.responseText;if(E&&I.documentElement.tagName=="parsererror"){throw"parsererror"}if(G&&G.dataFilter){I=G.dataFilter(I,H)}if(typeof I==="string"){if(H=="script"){o.globalEval(I)}if(H=="json"){I=l["eval"]("("+I+")")}}return I},param:function(E){var G=[];function H(I,J){G[G.length]=encodeURIComponent(I)+"="+encodeURIComponent(J)}if(o.isArray(E)||E.jquery){o.each(E,function(){H(this.name,this.value)})}else{for(var F in E){if(o.isArray(E[F])){o.each(E[F],function(){H(F,this)})}else{H(F,o.isFunction(E[F])?E[F]():E[F])}}}return G.join("&").replace(/%20/g,"+")}});var m={},n,d=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function t(F,E){var G={};o.each(d.concat.apply([],d.slice(0,E)),function(){G[this]=F});return G}o.fn.extend({show:function(J,L){if(J){return this.animate(t("show",3),J,L)}else{for(var H=0,F=this.length;H<F;H++){var E=o.data(this[H],"olddisplay");this[H].style.display=E||"";if(o.css(this[H],"display")==="none"){var G=this[H].tagName,K;if(m[G]){K=m[G]}else{var I=o("<"+G+" />").appendTo("body");K=I.css("display");if(K==="none"){K="block"}I.remove();m[G]=K}o.data(this[H],"olddisplay",K)}}for(var H=0,F=this.length;H<F;H++){this[H].style.display=o.data(this[H],"olddisplay")||""}return this}},hide:function(H,I){if(H){return this.animate(t("hide",3),H,I)}else{for(var G=0,F=this.length;G<F;G++){var E=o.data(this[G],"olddisplay");if(!E&&E!=="none"){o.data(this[G],"olddisplay",o.css(this[G],"display"))}}for(var G=0,F=this.length;G<F;G++){this[G].style.display="none"}return this}},_toggle:o.fn.toggle,toggle:function(G,F){var E=typeof G==="boolean";return o.isFunction(G)&&o.isFunction(F)?this._toggle.apply(this,arguments):G==null||E?this.each(function(){var H=E?G:o(this).is(":hidden");o(this)[H?"show":"hide"]()}):this.animate(t("toggle",3),G,F)},fadeTo:function(E,G,F){return this.animate({opacity:G},E,F)},animate:function(I,F,H,G){var E=o.speed(F,H,G);return this[E.queue===false?"each":"queue"](function(){var K=o.extend({},E),M,L=this.nodeType==1&&o(this).is(":hidden"),J=this;for(M in I){if(I[M]=="hide"&&L||I[M]=="show"&&!L){return K.complete.call(this)}if((M=="height"||M=="width")&&this.style){K.display=o.css(this,"display");K.overflow=this.style.overflow}}if(K.overflow!=null){this.style.overflow="hidden"}K.curAnim=o.extend({},I);o.each(I,function(O,S){var R=new o.fx(J,K,O);if(/toggle|show|hide/.test(S)){R[S=="toggle"?L?"show":"hide":S](I)}else{var Q=S.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),T=R.cur(true)||0;if(Q){var N=parseFloat(Q[2]),P=Q[3]||"px";if(P!="px"){J.style[O]=(N||1)+P;T=((N||1)/R.cur(true))*T;J.style[O]=T+P}if(Q[1]){N=((Q[1]=="-="?-1:1)*N)+T}R.custom(T,N,P)}else{R.custom(T,S,"")}}});return true})},stop:function(F,E){var G=o.timers;if(F){this.queue([])}this.each(function(){for(var H=G.length-1;H>=0;H--){if(G[H].elem==this){if(E){G[H](true)}G.splice(H,1)}}});if(!E){this.dequeue()}return this}});o.each({slideDown:t("show",1),slideUp:t("hide",1),slideToggle:t("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(E,F){o.fn[E]=function(G,H){return this.animate(F,G,H)}});o.extend({speed:function(G,H,F){var E=typeof G==="object"?G:{complete:F||!F&&H||o.isFunction(G)&&G,duration:G,easing:F&&H||H&&!o.isFunction(H)&&H};E.duration=o.fx.off?0:typeof E.duration==="number"?E.duration:o.fx.speeds[E.duration]||o.fx.speeds._default;E.old=E.complete;E.complete=function(){if(E.queue!==false){o(this).dequeue()}if(o.isFunction(E.old)){E.old.call(this)}};return E},easing:{linear:function(G,H,E,F){return E+F*G},swing:function(G,H,E,F){return((-Math.cos(G*Math.PI)/2)+0.5)*F+E}},timers:[],fx:function(F,E,G){this.options=E;this.elem=F;this.prop=G;if(!E.orig){E.orig={}}}});o.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(o.fx.step[this.prop]||o.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(F){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var E=parseFloat(o.css(this.elem,this.prop,F));return E&&E>-10000?E:parseFloat(o.curCSS(this.elem,this.prop))||0},custom:function(I,H,G){this.startTime=e();this.start=I;this.end=H;this.unit=G||this.unit||"px";this.now=this.start;this.pos=this.state=0;var E=this;function F(J){return E.step(J)}F.elem=this.elem;if(F()&&o.timers.push(F)&&!n){n=setInterval(function(){var K=o.timers;for(var J=0;J<K.length;J++){if(!K[J]()){K.splice(J--,1)}}if(!K.length){clearInterval(n);n=g}},13)}},show:function(){this.options.orig[this.prop]=o.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());o(this.elem).show()},hide:function(){this.options.orig[this.prop]=o.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(H){var G=e();if(H||G>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var E=true;for(var F in this.options.curAnim){if(this.options.curAnim[F]!==true){E=false}}if(E){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(o.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){o(this.elem).hide()}if(this.options.hide||this.options.show){for(var I in this.options.curAnim){o.attr(this.elem.style,I,this.options.orig[I])}}this.options.complete.call(this.elem)}return false}else{var J=G-this.startTime;this.state=J/this.options.duration;this.pos=o.easing[this.options.easing||(o.easing.swing?"swing":"linear")](this.state,J,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};o.extend(o.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(E){o.attr(E.elem.style,"opacity",E.now)},_default:function(E){if(E.elem.style&&E.elem.style[E.prop]!=null){E.elem.style[E.prop]=E.now+E.unit}else{E.elem[E.prop]=E.now}}}});if(document.documentElement.getBoundingClientRect){o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}var G=this[0].getBoundingClientRect(),J=this[0].ownerDocument,F=J.body,E=J.documentElement,L=E.clientTop||F.clientTop||0,K=E.clientLeft||F.clientLeft||0,I=G.top+(self.pageYOffset||o.boxModel&&E.scrollTop||F.scrollTop)-L,H=G.left+(self.pageXOffset||o.boxModel&&E.scrollLeft||F.scrollLeft)-K;return{top:I,left:H}}}else{o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}o.offset.initialized||o.offset.initialize();var J=this[0],G=J.offsetParent,F=J,O=J.ownerDocument,M,H=O.documentElement,K=O.body,L=O.defaultView,E=L.getComputedStyle(J,null),N=J.offsetTop,I=J.offsetLeft;while((J=J.parentNode)&&J!==K&&J!==H){M=L.getComputedStyle(J,null);N-=J.scrollTop,I-=J.scrollLeft;if(J===G){N+=J.offsetTop,I+=J.offsetLeft;if(o.offset.doesNotAddBorder&&!(o.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(J.tagName))){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}F=G,G=J.offsetParent}if(o.offset.subtractsBorderForOverflowNotVisible&&M.overflow!=="visible"){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}E=M}if(E.position==="relative"||E.position==="static"){N+=K.offsetTop,I+=K.offsetLeft}if(E.position==="fixed"){N+=Math.max(H.scrollTop,K.scrollTop),I+=Math.max(H.scrollLeft,K.scrollLeft)}return{top:N,left:I}}}o.offset={initialize:function(){if(this.initialized){return}var L=document.body,F=document.createElement("div"),H,G,N,I,M,E,J=L.style.marginTop,K='<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';M={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(E in M){F.style[E]=M[E]}F.innerHTML=K;L.insertBefore(F,L.firstChild);H=F.firstChild,G=H.firstChild,I=H.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(G.offsetTop!==5);this.doesAddBorderForTableAndCells=(I.offsetTop===5);H.style.overflow="hidden",H.style.position="relative";this.subtractsBorderForOverflowNotVisible=(G.offsetTop===-5);L.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(L.offsetTop===0);L.style.marginTop=J;L.removeChild(F);this.initialized=true},bodyOffset:function(E){o.offset.initialized||o.offset.initialize();var G=E.offsetTop,F=E.offsetLeft;if(o.offset.doesNotIncludeMarginInBodyOffset){G+=parseInt(o.curCSS(E,"marginTop",true),10)||0,F+=parseInt(o.curCSS(E,"marginLeft",true),10)||0}return{top:G,left:F}}};o.fn.extend({position:function(){var I=0,H=0,F;if(this[0]){var G=this.offsetParent(),J=this.offset(),E=/^body|html$/i.test(G[0].tagName)?{top:0,left:0}:G.offset();J.top-=j(this,"marginTop");J.left-=j(this,"marginLeft");E.top+=j(G,"borderTopWidth");E.left+=j(G,"borderLeftWidth");F={top:J.top-E.top,left:J.left-E.left}}return F},offsetParent:function(){var E=this[0].offsetParent||document.body;while(E&&(!/^body|html$/i.test(E.tagName)&&o.css(E,"position")=="static")){E=E.offsetParent}return o(E)}});o.each(["Left","Top"],function(F,E){var G="scroll"+E;o.fn[G]=function(H){if(!this[0]){return null}return H!==g?this.each(function(){this==l||this==document?l.scrollTo(!F?H:o(l).scrollLeft(),F?H:o(l).scrollTop()):this[G]=H}):this[0]==l||this[0]==document?self[F?"pageYOffset":"pageXOffset"]||o.boxModel&&document.documentElement[G]||document.body[G]:this[0][G]}});o.each(["Height","Width"],function(I,G){var E=I?"Left":"Top",H=I?"Right":"Bottom",F=G.toLowerCase();o.fn["inner"+G]=function(){return this[0]?o.css(this[0],F,false,"padding"):null};o.fn["outer"+G]=function(K){return this[0]?o.css(this[0],F,false,K?"margin":"border"):null};var J=G.toLowerCase();o.fn[J]=function(K){return this[0]==l?document.compatMode=="CSS1Compat"&&document.documentElement["client"+G]||document.body["client"+G]:this[0]==document?Math.max(document.documentElement["client"+G],document.body["scroll"+G],document.documentElement["scroll"+G],document.body["offset"+G],document.documentElement["offset"+G]):K===g?(this.length?o.css(this[0],J):null):this.css(J,typeof K==="string"?K:K+"px")}})})();;
// $Id: drupal.js,v 1.41.2.4 2009/07/21 08:59:10 goba Exp $

var Drupal = Drupal || { 'settings': {}, 'behaviors': {}, 'themes': {}, 'locale': {} };

/**
 * Set the variable that indicates if JavaScript behaviors should be applied
 */
Drupal.jsEnabled = document.getElementsByTagName && document.createElement && document.createTextNode && document.documentElement && document.getElementById;

/**
 * Attach all registered behaviors to a page element.
 *
 * Behaviors are event-triggered actions that attach to page elements, enhancing
 * default non-Javascript UIs. Behaviors are registered in the Drupal.behaviors
 * object as follows:
 * @code
 *    Drupal.behaviors.behaviorName = function () {
 *      ...
 *    };
 * @endcode
 *
 * Drupal.attachBehaviors is added below to the jQuery ready event and so
 * runs on initial page load. Developers implementing AHAH/AJAX in their
 * solutions should also call this function after new page content has been
 * loaded, feeding in an element to be processed, in order to attach all
 * behaviors to the new content.
 *
 * Behaviors should use a class in the form behaviorName-processed to ensure
 * the behavior is attached only once to a given element. (Doing so enables
 * the reprocessing of given elements, which may be needed on occasion despite
 * the ability to limit behavior attachment to a particular element.)
 *
 * @param context
 *   An element to attach behaviors to. If none is given, the document element
 *   is used.
 */
Drupal.attachBehaviors = function(context) {
  context = context || document;
  if (Drupal.jsEnabled) {
    // Execute all of them.
    jQuery.each(Drupal.behaviors, function() {
      this(context);
    });
  }
};

/**
 * Encode special characters in a plain-text string for display as HTML.
 */
Drupal.checkPlain = function(str) {
  str = String(str);
  var replace = { '&': '&amp;', '"': '&quot;', '<': '&lt;', '>': '&gt;' };
  for (var character in replace) {
    var regex = new RegExp(character, 'g');
    str = str.replace(regex, replace[character]);
  }
  return str;
};

/**
 * Translate strings to the page language or a given language.
 *
 * See the documentation of the server-side t() function for further details.
 *
 * @param str
 *   A string containing the English string to translate.
 * @param args
 *   An object of replacements pairs to make after translation. Incidences
 *   of any key in this array are replaced with the corresponding value.
 *   Based on the first character of the key, the value is escaped and/or themed:
 *    - !variable: inserted as is
 *    - @variable: escape plain text to HTML (Drupal.checkPlain)
 *    - %variable: escape text and theme as a placeholder for user-submitted
 *      content (checkPlain + Drupal.theme('placeholder'))
 * @return
 *   The translated string.
 */
Drupal.t = function(str, args) {
  // Fetch the localized version of the string.
  if (Drupal.locale.strings && Drupal.locale.strings[str]) {
    str = Drupal.locale.strings[str];
  }

  if (args) {
    // Transform arguments before inserting them
    for (var key in args) {
      switch (key.charAt(0)) {
        // Escaped only
        case '@':
          args[key] = Drupal.checkPlain(args[key]);
        break;
        // Pass-through
        case '!':
          break;
        // Escaped and placeholder
        case '%':
        default:
          args[key] = Drupal.theme('placeholder', args[key]);
          break;
      }
      str = str.replace(key, args[key]);
    }
  }
  return str;
};

/**
 * Format a string containing a count of items.
 *
 * This function ensures that the string is pluralized correctly. Since Drupal.t() is
 * called by this function, make sure not to pass already-localized strings to it.
 *
 * See the documentation of the server-side format_plural() function for further details.
 *
 * @param count
 *   The item count to display.
 * @param singular
 *   The string for the singular case. Please make sure it is clear this is
 *   singular, to ease translation (e.g. use "1 new comment" instead of "1 new").
 *   Do not use @count in the singular string.
 * @param plural
 *   The string for the plural case. Please make sure it is clear this is plural,
 *   to ease translation. Use @count in place of the item count, as in "@count
 *   new comments".
 * @param args
 *   An object of replacements pairs to make after translation. Incidences
 *   of any key in this array are replaced with the corresponding value.
 *   Based on the first character of the key, the value is escaped and/or themed:
 *    - !variable: inserted as is
 *    - @variable: escape plain text to HTML (Drupal.checkPlain)
 *    - %variable: escape text and theme as a placeholder for user-submitted
 *      content (checkPlain + Drupal.theme('placeholder'))
 *   Note that you do not need to include @count in this array.
 *   This replacement is done automatically for the plural case.
 * @return
 *   A translated string.
 */
Drupal.formatPlural = function(count, singular, plural, args) {
  var args = args || {};
  args['@count'] = count;
  // Determine the index of the plural form.
  var index = Drupal.locale.pluralFormula ? Drupal.locale.pluralFormula(args['@count']) : ((args['@count'] == 1) ? 0 : 1);

  if (index == 0) {
    return Drupal.t(singular, args);
  }
  else if (index == 1) {
    return Drupal.t(plural, args);
  }
  else {
    args['@count['+ index +']'] = args['@count'];
    delete args['@count'];
    return Drupal.t(plural.replace('@count', '@count['+ index +']'));
  }
};

/**
 * Generate the themed representation of a Drupal object.
 *
 * All requests for themed output must go through this function. It examines
 * the request and routes it to the appropriate theme function. If the current
 * theme does not provide an override function, the generic theme function is
 * called.
 *
 * For example, to retrieve the HTML that is output by theme_placeholder(text),
 * call Drupal.theme('placeholder', text).
 *
 * @param func
 *   The name of the theme function to call.
 * @param ...
 *   Additional arguments to pass along to the theme function.
 * @return
 *   Any data the theme function returns. This could be a plain HTML string,
 *   but also a complex object.
 */
Drupal.theme = function(func) {
  for (var i = 1, args = []; i < arguments.length; i++) {
    args.push(arguments[i]);
  }

  return (Drupal.theme[func] || Drupal.theme.prototype[func]).apply(this, args);
};

/**
 * Parse a JSON response.
 *
 * The result is either the JSON object, or an object with 'status' 0 and 'data' an error message.
 */
Drupal.parseJson = function (data) {
  if ((data.substring(0, 1) != '{') && (data.substring(0, 1) != '[')) {
    return { status: 0, data: data.length ? data : Drupal.t('Unspecified error') };
  }
  return eval('(' + data + ');');
};

/**
 * Freeze the current body height (as minimum height). Used to prevent
 * unnecessary upwards scrolling when doing DOM manipulations.
 */
Drupal.freezeHeight = function () {
  Drupal.unfreezeHeight();
  var div = document.createElement('div');
  $(div).css({
    position: 'absolute',
    top: '0px',
    left: '0px',
    width: '1px',
    height: $('body').css('height')
  }).attr('id', 'freeze-height');
  $('body').append(div);
};

/**
 * Unfreeze the body height
 */
Drupal.unfreezeHeight = function () {
  $('#freeze-height').remove();
};

/**
 * Wrapper around encodeURIComponent() which avoids Apache quirks (equivalent of
 * drupal_urlencode() in PHP). This function should only be used on paths, not
 * on query string arguments.
 */
Drupal.encodeURIComponent = function (item, uri) {
  uri = uri || location.href;
  item = encodeURIComponent(item).replace(/%2F/g, '/');
  return (uri.indexOf('?q=') != -1) ? item : item.replace(/%26/g, '%2526').replace(/%23/g, '%2523').replace(/\/\//g, '/%252F');
};

/**
 * Get the text selection in a textarea.
 */
Drupal.getSelection = function (element) {
  if (typeof(element.selectionStart) != 'number' && document.selection) {
    // The current selection
    var range1 = document.selection.createRange();
    var range2 = range1.duplicate();
    // Select all text.
    range2.moveToElementText(element);
    // Now move 'dummy' end point to end point of original range.
    range2.setEndPoint('EndToEnd', range1);
    // Now we can calculate start and end points.
    var start = range2.text.length - range1.text.length;
    var end = start + range1.text.length;
    return { 'start': start, 'end': end };
  }
  return { 'start': element.selectionStart, 'end': element.selectionEnd };
};

/**
 * Build an error message from ahah response.
 */
Drupal.ahahError = function(xmlhttp, uri) {
  if (xmlhttp.status == 200) {
    if (jQuery.trim($(xmlhttp.responseText).text())) {
      var message = Drupal.t("An error occurred. \n@uri\n@text", {'@uri': uri, '@text': xmlhttp.responseText });
    }
    else {
      var message = Drupal.t("An error occurred. \n@uri\n(no information available).", {'@uri': uri, '@text': xmlhttp.responseText });
    }
  }
  else {
    var message = Drupal.t("An HTTP error @status occurred. \n@uri", {'@uri': uri, '@status': xmlhttp.status });
  }
  return message;
}

// Global Killswitch on the <html> element
if (Drupal.jsEnabled) {
  // Global Killswitch on the <html> element
  $(document.documentElement).addClass('js');
  // 'js enabled' cookie
  document.cookie = 'has_js=1; path=/';
  // Attach all behaviors.
  $(document).ready(function() {
    Drupal.attachBehaviors(this);
  });
}

/**
 * The default themes.
 */
Drupal.theme.prototype = {

  /**
   * Formats text for emphasized display in a placeholder inside a sentence.
   *
   * @param str
   *   The text to format (plain-text).
   * @return
   *   The formatted text (html).
   */
  placeholder: function(str) {
    return '<em>' + Drupal.checkPlain(str) + '</em>';
  }
};
;
Drupal.locale = { 'pluralFormula': function($n) { return Number(($n!=1)); }, 'strings': { "Unspecified error": "Ospecificerat fel", "Upload": "Ladda upp", "Only files with the following extensions are allowed: %files-allowed.": "Endast filer med fĂ¶ljande Ă€ndelser tillĂ„ts: %files-allowed.", "The selected file %filename cannot not be uploaded. Only files with the following extensions are allowed: %extensions.": "Den valda filen %filename kan inte laddas upp. Endast filer med fĂ¶ljande Ă€ndelser Ă€r tillĂ„tna: %extensions.", "Automatic alias": "Automatiskt alias", "Status": "Status", "Edit": "Redigera", "Select All": "VĂ€lj alla", "An error occurred at @path.": "Ett fel har uppstĂ„tt pĂ„ @path.", "jQuery UI Tabs: Mismatching fragment identifier.": "jQuery UI Tabs: Identifieraren fĂ¶r fragment stĂ€mmer inte Ă¶verens.", "jQuery UI Tabs: Not enough arguments to add tab.": "jQuery UI Tabs: Inte tillrĂ€ckligt med argument fĂ¶r att lĂ€gga till flik.", "Your server has been successfully tested to support this feature.": "Din server har testats och har stĂ¶d fĂ¶r denna funktion.", "Your system configuration does not currently support this feature. The \x3ca href=\"http://drupal.org/node/15365\"\x3ehandbook page on Clean URLs\x3c/a\x3e has additional troubleshooting information.": "Din systemkonfiguration har fĂ¶r nĂ€rvarande inte stĂ¶d fĂ¶r denna funktion. \x3ca href=\"http://drupal.org/node/15365\"\x3eHandboksidan om Rena URL:er\x3c/a\x3e har mer information om felsĂ¶kning.", "Testing clean URLs...": "Testar rena URL:er...", "An error occurred. \n@uri\n@text": "Ett fel intrĂ€ffade. \n@uri\n@text", "An error occurred. \n@uri\n(no information available).": "Ett fel intrĂ€ffade. \n@uri\n(ingen information tillgĂ€nglig).", "An HTTP error @status occurred. \n@uri": "Ett HTTP-fel intrĂ€ffade: @status. \n@uri", "Drag to re-order": "Drag fĂ¶r att ordna om", "Changes made in this table will not be saved until the form is submitted.": "Ăndringar som gĂ¶rs i denna tabell sparas inte fĂ¶rrĂ€n formulĂ€ret skickas.", "Select all rows in this table": "Markera alla rader i tabellen", "Deselect all rows in this table": "Avmarkera alla rader i tabellen", "Split summary at cursor": "Avdela sammanfattning vid markĂ¶ren", "Join summary": "LĂ€gg ihop sammanfattning", "The changes to these blocks will not be saved until the \x3cem\x3eSave blocks\x3c/em\x3e button is clicked.": "Ăndringarna i dessa block kommer inte att sparas tills \x3cem\x3eSpara block\x3c/em\x3e knappen klickats.", "Select None": "VĂ€lj ingen" } };;
/*
 * FancyBox - jQuery Plugin
 * Simple and fancy lightbox alternative
 *
 * Examples and documentation at: http://fancybox.net
 * 
 * Copyright (c) 2008 - 2010 Janis Skarnelis
 *
 * Version: 1.3.1 (05/03/2010)
 * Requires: jQuery v1.3+
 *
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */

(function($) {

	var tmp, loading, overlay, wrap, outer, inner, close, nav_left, nav_right,

		selectedIndex = 0, selectedOpts = {}, selectedArray = [], currentIndex = 0, currentOpts = {}, currentArray = [],

		ajaxLoader = null, imgPreloader = new Image(), imgRegExp = /\.(jpg|gif|png|bmp|jpeg)(.*)?$/i, swfRegExp = /[^\.]\.(swf)\s*$/i,

		loadingTimer, loadingFrame = 1,

		start_pos, final_pos, busy = false, shadow = 20, fx = $.extend($('<div/>')[0], { prop: 0 }), titleh = 0, 

		isIE6 = !$.support.opacity && !window.XMLHttpRequest,

		/*
		 * Private methods 
		 */

		fancybox_abort = function() {
			loading.hide();

			imgPreloader.onerror = imgPreloader.onload = null;

			if (ajaxLoader) {
				ajaxLoader.abort();
			}

			tmp.empty();
		},

		fancybox_error = function() {
			$.fancybox('<p id="fancybox_error">The requested content cannot be loaded.<br />Please try again later.</p>', {
				'scrolling'		: 'no',
				'padding'		: 20,
				'transitionIn'	: 'none',
				'transitionOut'	: 'none'
			});
		},

		fancybox_get_viewport = function() {
			return [ $(window).width(), $(window).height(), $(document).scrollLeft(), $(document).scrollTop() ];
		},

		fancybox_get_zoom_to = function () {
			var view	= fancybox_get_viewport(),
				to		= {},

				margin = currentOpts.margin,
				resize = currentOpts.autoScale,

				horizontal_space	= (shadow + margin) * 2,
				vertical_space		= (shadow + margin) * 2,
				double_padding		= (currentOpts.padding * 2),
				
				ratio;

			if (currentOpts.width.toString().indexOf('%') > -1) {
				to.width = ((view[0] * parseFloat(currentOpts.width)) / 100) - (shadow * 2) ;
				resize = false;

			} else {
				to.width = currentOpts.width + double_padding;
			}

			if (currentOpts.height.toString().indexOf('%') > -1) {
				to.height = ((view[1] * parseFloat(currentOpts.height)) / 100) - (shadow * 2);
				resize = false;

			} else {
				to.height = currentOpts.height + double_padding;
			}

			if (resize && (to.width > (view[0] - horizontal_space) || to.height > (view[1] - vertical_space))) {
				if (selectedOpts.type == 'image' || selectedOpts.type == 'swf') {
					horizontal_space	+= double_padding;
					vertical_space		+= double_padding;

					ratio = Math.min(Math.min( view[0] - horizontal_space, currentOpts.width) / currentOpts.width, Math.min( view[1] - vertical_space, currentOpts.height) / currentOpts.height);

					to.width	= Math.round(ratio * (to.width	- double_padding)) + double_padding;
					to.height	= Math.round(ratio * (to.height	- double_padding)) + double_padding;

				} else {
					to.width	= Math.min(to.width,	(view[0] - horizontal_space));
					to.height	= Math.min(to.height,	(view[1] - vertical_space));
				}
			}

			to.top	= view[3] + ((view[1] - (to.height	+ (shadow * 2 ))) * 0.5);
			to.left	= view[2] + ((view[0] - (to.width	+ (shadow * 2 ))) * 0.5);

			if (currentOpts.autoScale === false) {
				to.top	= Math.max(view[3] + margin, to.top);
				to.left	= Math.max(view[2] + margin, to.left);
			}

			return to;
		},

		fancybox_format_title = function(title) {
			if (title && title.length) {
				switch (currentOpts.titlePosition) {
					case 'inside':
						return title;
					case 'over':
						return '<span id="fancybox-title-over">' + title + '</span>';
					default:
						return '<span id="fancybox-title-wrap"><span id="fancybox-title-left"></span><span id="fancybox-title-main">' + title + '</span><span id="fancybox-title-right"></span></span>';
				}
			}

			return false;
		},

		fancybox_process_title = function() {
			var title	= currentOpts.title,
				width	= final_pos.width - (currentOpts.padding * 2),
				titlec	= 'fancybox-title-' + currentOpts.titlePosition;
				
			$('#fancybox-title').remove();

			titleh = 0;

			if (currentOpts.titleShow === false) {
				return;
			}

			title = $.isFunction(currentOpts.titleFormat) ? currentOpts.titleFormat(title, currentArray, currentIndex, currentOpts) : fancybox_format_title(title);

			if (!title || title === '') {
				return;
			}

			$('<div id="fancybox-title" class="' + titlec + '" />').css({
				'width'			: width,
				'paddingLeft'	: currentOpts.padding,
				'paddingRight'	: currentOpts.padding
			}).html(title).appendTo('body');

			switch (currentOpts.titlePosition) {
				case 'inside':
					titleh = $("#fancybox-title").outerHeight(true) - currentOpts.padding;
					final_pos.height += titleh;
				break;

				case 'over':
					$('#fancybox-title').css('bottom', currentOpts.padding);
				break;

				default:
					$('#fancybox-title').css('bottom', $("#fancybox-title").outerHeight(true) * -1);
				break;
			}

			$('#fancybox-title').appendTo( outer ).hide();
		},

		fancybox_set_navigation = function() {
			$(document).unbind('keydown.fb').bind('keydown.fb', function(e) {
				if (e.keyCode == 27 && currentOpts.enableEscapeButton) {
					e.preventDefault();
					$.fancybox.close();

				} else if (e.keyCode == 37) {
					e.preventDefault();
					$.fancybox.prev();

				} else if (e.keyCode == 39) {
					e.preventDefault();
					$.fancybox.next();
				}
			});

			if ($.fn.mousewheel) {
				wrap.unbind('mousewheel.fb');

				if (currentArray.length > 1) {
					wrap.bind('mousewheel.fb', function(e, delta) {
						e.preventDefault();

						if (busy || delta === 0) {
							return;
						}

						if (delta > 0) {
							$.fancybox.prev();
						} else {
							$.fancybox.next();
						}
					});
				}
			}

			if (!currentOpts.showNavArrows) { return; }

			if ((currentOpts.cyclic && currentArray.length > 1) || currentIndex !== 0) {
				nav_left.show();
			}

			if ((currentOpts.cyclic && currentArray.length > 1) || currentIndex != (currentArray.length -1)) {
				nav_right.show();
			}
		},

		fancybox_preload_images = function() {
			var href, 
				objNext;
				
			if ((currentArray.length -1) > currentIndex) {
				href = currentArray[ currentIndex + 1 ].href;

				if (typeof href !== 'undefined' && href.match(imgRegExp)) {
					objNext = new Image();
					objNext.src = href;
				}
			}

			if (currentIndex > 0) {
				href = currentArray[ currentIndex - 1 ].href;

				if (typeof href !== 'undefined' && href.match(imgRegExp)) {
					objNext = new Image();
					objNext.src = href;
				}
			}
		},

		_finish = function () {
			inner.css('overflow', (currentOpts.scrolling == 'auto' ? (currentOpts.type == 'image' || currentOpts.type == 'iframe' || currentOpts.type == 'swf' ? 'hidden' : 'auto') : (currentOpts.scrolling == 'yes' ? 'auto' : 'visible')));

			if (!$.support.opacity) {
				inner.get(0).style.removeAttribute('filter');
				wrap.get(0).style.removeAttribute('filter');
			}

			$('#fancybox-title').show();

			if (currentOpts.hideOnContentClick)	{
				inner.one('click', $.fancybox.close);
			}
			if (currentOpts.hideOnOverlayClick)	{
				overlay.one('click', $.fancybox.close);
			}

			if (currentOpts.showCloseButton) {
				close.show();
			}

			fancybox_set_navigation();

			$(window).bind("resize.fb", $.fancybox.center);

			if (currentOpts.centerOnScroll) {
				$(window).bind("scroll.fb", $.fancybox.center);
			} else {
				$(window).unbind("scroll.fb");
			}

			if ($.isFunction(currentOpts.onComplete)) {
				currentOpts.onComplete(currentArray, currentIndex, currentOpts);
			}

			busy = false;

			fancybox_preload_images();
		},

		fancybox_draw = function(pos) {
			var width	= Math.round(start_pos.width	+ (final_pos.width	- start_pos.width)	* pos),
				height	= Math.round(start_pos.height	+ (final_pos.height	- start_pos.height)	* pos),

				top		= Math.round(start_pos.top	+ (final_pos.top	- start_pos.top)	* pos),
				left	= Math.round(start_pos.left	+ (final_pos.left	- start_pos.left)	* pos);

			wrap.css({
				'width'		: width		+ 'px',
				'height'	: height	+ 'px',
				'top'		: top		+ 'px',
				'left'		: left		+ 'px'
			});

			width	= Math.max(width - currentOpts.padding * 2, 0);
			height	= Math.max(height - (currentOpts.padding * 2 + (titleh * pos)), 0);

			inner.css({
				'width'		: width		+ 'px',
				'height'	: height	+ 'px'
			});

			if (typeof final_pos.opacity !== 'undefined') {
				wrap.css('opacity', (pos < 0.5 ? 0.5 : pos));
			}
		},

		fancybox_get_obj_pos = function(obj) {
			var pos		= obj.offset();

			pos.top		+= parseFloat( obj.css('paddingTop') )	|| 0;
			pos.left	+= parseFloat( obj.css('paddingLeft') )	|| 0;

			pos.top		+= parseFloat( obj.css('border-top-width') )	|| 0;
			pos.left	+= parseFloat( obj.css('border-left-width') )	|| 0;

			pos.width	= obj.width();
			pos.height	= obj.height();

			return pos;
		},

		fancybox_get_zoom_from = function() {
			var orig = selectedOpts.orig ? $(selectedOpts.orig) : false,
				from = {},
				pos,
				view;

			if (orig && orig.length) {
				pos = fancybox_get_obj_pos(orig);

				from = {
					width	: (pos.width	+ (currentOpts.padding * 2)),
					height	: (pos.height	+ (currentOpts.padding * 2)),
					top		: (pos.top		- currentOpts.padding - shadow),
					left	: (pos.left		- currentOpts.padding - shadow)
				};
				
			} else {
				view = fancybox_get_viewport();

				from = {
					width	: 1,
					height	: 1,
					top		: view[3] + view[1] * 0.5,
					left	: view[2] + view[0] * 0.5
				};
			}

			return from;
		},

		fancybox_show = function() {
			loading.hide();

			if (wrap.is(":visible") && $.isFunction(currentOpts.onCleanup)) {
				if (currentOpts.onCleanup(currentArray, currentIndex, currentOpts) === false) {
					$.event.trigger('fancybox-cancel');

					busy = false;
					return;
				}
			}

			currentArray	= selectedArray;
			currentIndex	= selectedIndex;
			currentOpts		= selectedOpts;

			inner.get(0).scrollTop	= 0;
			inner.get(0).scrollLeft	= 0;

			if (currentOpts.overlayShow) {
				if (isIE6) {
					$('select:not(#fancybox-tmp select)').filter(function() {
						return this.style.visibility !== 'hidden';
					}).css({'visibility':'hidden'}).one('fancybox-cleanup', function() {
						this.style.visibility = 'inherit';
					});
				}

				overlay.css({
					'background-color'	: currentOpts.overlayColor,
					'opacity'			: currentOpts.overlayOpacity
				}).unbind().show();
			}

			final_pos = fancybox_get_zoom_to();

			fancybox_process_title();

			if (wrap.is(":visible")) {
				$( close.add( nav_left ).add( nav_right ) ).hide();

				var pos = wrap.position(),
					equal;

				start_pos = {
					top		:	pos.top ,
					left	:	pos.left,
					width	:	wrap.width(),
					height	:	wrap.height()
				};

				equal = (start_pos.width == final_pos.width && start_pos.height == final_pos.height);

				inner.fadeOut(currentOpts.changeFade, function() {
					var finish_resizing = function() {
						inner.html( tmp.contents() ).fadeIn(currentOpts.changeFade, _finish);
					};
					
					$.event.trigger('fancybox-change');

					inner.empty().css('overflow', 'hidden');

					if (equal) {
						inner.css({
							top			: currentOpts.padding,
							left		: currentOpts.padding,
							width		: Math.max(final_pos.width	- (currentOpts.padding * 2), 1),
							height		: Math.max(final_pos.height	- (currentOpts.padding * 2) - titleh, 1)
						});
						
						finish_resizing();

					} else {
						inner.css({
							top			: currentOpts.padding,
							left		: currentOpts.padding,
							width		: Math.max(start_pos.width	- (currentOpts.padding * 2), 1),
							height		: Math.max(start_pos.height	- (currentOpts.padding * 2), 1)
						});
						
						fx.prop = 0;

						$(fx).animate({ prop: 1 }, {
							 duration	: currentOpts.changeSpeed,
							 easing		: currentOpts.easingChange,
							 step		: fancybox_draw,
							 complete	: finish_resizing
						});
					}
				});

				return;
			}

			wrap.css('opacity', 1);

			if (currentOpts.transitionIn == 'elastic') {
				start_pos = fancybox_get_zoom_from();

				inner.css({
						top			: currentOpts.padding,
						left		: currentOpts.padding,
						width		: Math.max(start_pos.width	- (currentOpts.padding * 2), 1),
						height		: Math.max(start_pos.height	- (currentOpts.padding * 2), 1)
					})
					.html( tmp.contents() );

				wrap.css(start_pos).show();

				if (currentOpts.opacity) {
					final_pos.opacity = 0;
				}

				fx.prop = 0;

				$(fx).animate({ prop: 1 }, {
					 duration	: currentOpts.speedIn,
					 easing		: currentOpts.easingIn,
					 step		: fancybox_draw,
					 complete	: _finish
				});

			} else {
				inner.css({
						top			: currentOpts.padding,
						left		: currentOpts.padding,
						width		: Math.max(final_pos.width	- (currentOpts.padding * 2), 1),
						height		: Math.max(final_pos.height	- (currentOpts.padding * 2) - titleh, 1)
					})
					.html( tmp.contents() );

				wrap.css( final_pos ).fadeIn( currentOpts.transitionIn == 'none' ? 0 : currentOpts.speedIn, _finish );
			}
		},

		fancybox_process_inline = function() {
			tmp.width(	selectedOpts.width );
			tmp.height(	selectedOpts.height );

			if (selectedOpts.width	== 'auto') {
				selectedOpts.width = tmp.width();
			}
			if (selectedOpts.height	== 'auto') {
				selectedOpts.height	= tmp.height();
			}

			fancybox_show();
		},
		
		fancybox_process_image = function() {
			busy = true;

			selectedOpts.width	= imgPreloader.width;
			selectedOpts.height	= imgPreloader.height;

			$("<img />").attr({
				'id'	: 'fancybox-img',
				'src'	: imgPreloader.src,
				'alt'	: selectedOpts.title
			}).appendTo( tmp );

			fancybox_show();
		},

		fancybox_start = function() {
			fancybox_abort();

			var obj	= selectedArray[ selectedIndex ],
				href, 
				type, 
				title,
				str,
				emb,
				selector,
				data;

			selectedOpts = $.extend({}, $.fn.fancybox.defaults, (typeof $(obj).data('fancybox') == 'undefined' ? selectedOpts : $(obj).data('fancybox')));
			title = obj.title || $(obj).title || selectedOpts.title || '';
			
			if (obj.nodeName && !selectedOpts.orig) {
				selectedOpts.orig = $(obj).children("img:first").length ? $(obj).children("img:first") : $(obj);
			}

			if (title === '' && selectedOpts.orig) {
				title = selectedOpts.orig.attr('alt');
			}

			if (obj.nodeName && (/^(?:javascript|#)/i).test(obj.href)) {
				href = selectedOpts.href || null;
			} else {
				href = selectedOpts.href || obj.href || null;
			}

			if (selectedOpts.type) {
				type = selectedOpts.type;

				if (!href) {
					href = selectedOpts.content;
				}
				
			} else if (selectedOpts.content) {
				type	= 'html';

			} else if (href) {
				if (href.match(imgRegExp)) {
					type = 'image';

				} else if (href.match(swfRegExp)) {
					type = 'swf';

				} else if ($(obj).hasClass("iframe")) {
					type = 'iframe';

				} else if (href.match(/#/)) {
					obj = href.substr(href.indexOf("#"));

					type = $(obj).length > 0 ? 'inline' : 'ajax';
				} else {
					type = 'ajax';
				}
			} else {
				type = 'inline';
			}

			selectedOpts.type	= type;
			selectedOpts.href	= href;
			selectedOpts.title	= title;

			if (selectedOpts.autoDimensions && selectedOpts.type !== 'iframe' && selectedOpts.type !== 'swf') {
				selectedOpts.width		= 'auto';
				selectedOpts.height		= 'auto';
			}

			if (selectedOpts.modal) {
				selectedOpts.overlayShow		= true;
				selectedOpts.hideOnOverlayClick	= false;
				selectedOpts.hideOnContentClick	= false;
				selectedOpts.enableEscapeButton	= false;
				selectedOpts.showCloseButton	= false;
			}

			if ($.isFunction(selectedOpts.onStart)) {
				if (selectedOpts.onStart(selectedArray, selectedIndex, selectedOpts) === false) {
					busy = false;
					return;
				}
			}

			tmp.css('padding', (shadow + selectedOpts.padding + selectedOpts.margin));

			$('.fancybox-inline-tmp').unbind('fancybox-cancel').bind('fancybox-change', function() {
				$(this).replaceWith(inner.children());
			});

			switch (type) {
				case 'html' :
					tmp.html( selectedOpts.content );
					fancybox_process_inline();
				break;

				case 'inline' :
					$('<div class="fancybox-inline-tmp" />').hide().insertBefore( $(obj) ).bind('fancybox-cleanup', function() {
						$(this).replaceWith(inner.children());
					}).bind('fancybox-cancel', function() {
						$(this).replaceWith(tmp.children());
					});

					$(obj).appendTo(tmp);

					fancybox_process_inline();
				break;

				case 'image':
					busy = false;

					$.fancybox.showActivity();

					imgPreloader = new Image();

					imgPreloader.onerror = function() {
						fancybox_error();
					};

					imgPreloader.onload = function() {
						imgPreloader.onerror = null;
						imgPreloader.onload = null;
						fancybox_process_image();
					};

					imgPreloader.src = href;
		
				break;

				case 'swf':
					str = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="' + selectedOpts.width + '" height="' + selectedOpts.height + '"><param name="movie" value="' + href + '"></param>';
					emb = '';
					
					$.each(selectedOpts.swf, function(name, val) {
						str += '<param name="' + name + '" value="' + val + '"></param>';
						emb += ' ' + name + '="' + val + '"';
					});

					str += '<embed src="' + href + '" type="application/x-shockwave-flash" width="' + selectedOpts.width + '" height="' + selectedOpts.height + '"' + emb + '></embed></object>';

					tmp.html(str);

					fancybox_process_inline();
				break;

				case 'ajax':
					selector	= href.split('#', 2);
					data		= selectedOpts.ajax.data || {};

					if (selector.length > 1) {
						href = selector[0];

						if (typeof data == "string") {
							data += '&selector=' + selector[1];
						} else {
							data.selector = selector[1];
						}
					}

					busy = false;
					$.fancybox.showActivity();

					ajaxLoader = $.ajax($.extend(selectedOpts.ajax, {
						url		: href,
						data	: data,
						error	: fancybox_error,
						success : function(data, textStatus, XMLHttpRequest) {
							if (ajaxLoader.status == 200) {
								tmp.html( data );
								fancybox_process_inline();
							}
						}
					}));

				break;

				case 'iframe' :
					$('<iframe id="fancybox-frame" name="fancybox-frame' + new Date().getTime() + '" frameborder="0" hspace="0" scrolling="' + selectedOpts.scrolling + '" src="' + selectedOpts.href + '"></iframe>').appendTo(tmp);
					fancybox_show();
				break;
			}
		},

		fancybox_animate_loading = function() {
			if (!loading.is(':visible')){
				clearInterval(loadingTimer);
				return;
			}

			$('div', loading).css('top', (loadingFrame * -40) + 'px');

			loadingFrame = (loadingFrame + 1) % 12;
		},

		fancybox_init = function() {
			if ($("#fancybox-wrap").length) {
				return;
			}

			$('body').append(
				tmp			= $('<div id="fancybox-tmp"></div>'),
				loading		= $('<div id="fancybox-loading"><div></div></div>'),
				overlay		= $('<div id="fancybox-overlay"></div>'),
				wrap		= $('<div id="fancybox-wrap"></div>')
			);

			if (!$.support.opacity) {
				wrap.addClass('fancybox-ie');
				loading.addClass('fancybox-ie');
			}

			outer = $('<div id="fancybox-outer"></div>')
				.append('<div class="fancy-bg" id="fancy-bg-n"></div><div class="fancy-bg" id="fancy-bg-ne"></div><div class="fancy-bg" id="fancy-bg-e"></div><div class="fancy-bg" id="fancy-bg-se"></div><div class="fancy-bg" id="fancy-bg-s"></div><div class="fancy-bg" id="fancy-bg-sw"></div><div class="fancy-bg" id="fancy-bg-w"></div><div class="fancy-bg" id="fancy-bg-nw"></div>')
				.appendTo( wrap );

			outer.append(
				inner		= $('<div id="fancybox-inner"></div>'),
				close		= $('<a id="fancybox-close"></a>'),

				nav_left	= $('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'),
				nav_right	= $('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>')
			);

			close.click($.fancybox.close);
			loading.click($.fancybox.cancel);

			nav_left.click(function(e) {
				e.preventDefault();
				$.fancybox.prev();
			});

			nav_right.click(function(e) {
				e.preventDefault();
				$.fancybox.next();
			});

			if (isIE6) {
				overlay.get(0).style.setExpression('height',	"document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'");
				loading.get(0).style.setExpression('top',		"(-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px'");

				outer.prepend('<iframe id="fancybox-hide-sel-frame" src="javascript:\'\';" scrolling="no" frameborder="0" ></iframe>');
			}
		};

	/*
	 * Public methods 
	 */

	$.fn.fancybox = function(options) {
		$(this)
			.data('fancybox', $.extend({}, options, ($.metadata ? $(this).metadata() : {})))
			.unbind('click.fb').bind('click.fb', function(e) {
				e.preventDefault();

				if (busy) {
					return;
				}

				busy = true;

				$(this).blur();

				selectedArray	= [];
				selectedIndex	= 0;

				var rel = $(this).attr('rel') || '';

				if (!rel || rel == '' || rel === 'nofollow') {
					selectedArray.push(this);

				} else {
					selectedArray	= $("a[rel=" + rel + "], area[rel=" + rel + "]");
					selectedIndex	= selectedArray.index( this );
				}

				fancybox_start();

				return false;
			});

		return this;
	};

	$.fancybox = function(obj) {
		if (busy) {
			return;
		}

		busy = true;

		var opts = typeof arguments[1] !== 'undefined' ? arguments[1] : {};

		selectedArray	= [];
		selectedIndex	= opts.index || 0;

		if ($.isArray(obj)) {
			for (var i = 0, j = obj.length; i < j; i++) {
				if (typeof obj[i] == 'object') {
					$(obj[i]).data('fancybox', $.extend({}, opts, obj[i]));
				} else {
					obj[i] = $({}).data('fancybox', $.extend({content : obj[i]}, opts));
				}
			}

			selectedArray = jQuery.merge(selectedArray, obj);

		} else {
			if (typeof obj == 'object') {
				$(obj).data('fancybox', $.extend({}, opts, obj));
			} else {
				obj = $({}).data('fancybox', $.extend({content : obj}, opts));
			}

			selectedArray.push(obj);
		}

		if (selectedIndex > selectedArray.length || selectedIndex < 0) {
			selectedIndex = 0;
		}

		fancybox_start();
	};

	$.fancybox.showActivity = function() {
		clearInterval(loadingTimer);

		loading.show();
		loadingTimer = setInterval(fancybox_animate_loading, 66);
	};

	$.fancybox.hideActivity = function() {
		loading.hide();
	};

	$.fancybox.next = function() {
		return $.fancybox.pos( currentIndex + 1);
	};
	
	$.fancybox.prev = function() {
		return $.fancybox.pos( currentIndex - 1);
	};

	$.fancybox.pos = function(pos) {
		if (busy) {
			return;
		}

		pos = parseInt(pos, 10);

		if (pos > -1 && currentArray.length > pos) {
			selectedIndex = pos;
			fancybox_start();
		}

		if (currentOpts.cyclic && currentArray.length > 1 && pos < 0) {
			selectedIndex = currentArray.length - 1;
			fancybox_start();
		}

		if (currentOpts.cyclic && currentArray.length > 1 && pos >= currentArray.length) {
			selectedIndex = 0;
			fancybox_start();
		}

		return;
	};

	$.fancybox.cancel = function() {
		if (busy) {
			return;
		}

		busy = true;

		$.event.trigger('fancybox-cancel');

		fancybox_abort();

		if (selectedOpts && $.isFunction(selectedOpts.onCancel)) {
			selectedOpts.onCancel(selectedArray, selectedIndex, selectedOpts);
		}

		busy = false;
	};

	// Note: within an iframe use - parent.$.fancybox.close();
	$.fancybox.close = function() {
		if (busy || wrap.is(':hidden')) {
			return;
		}

		busy = true;

		if (currentOpts && $.isFunction(currentOpts.onCleanup)) {
			if (currentOpts.onCleanup(currentArray, currentIndex, currentOpts) === false) {
				busy = false;
				return;
			}
		}

		fancybox_abort();

		$(close.add( nav_left ).add( nav_right )).hide();

		$('#fancybox-title').remove();

		wrap.add(inner).add(overlay).unbind();

		$(window).unbind("resize.fb scroll.fb");
		$(document).unbind('keydown.fb');

		function _cleanup() {
			overlay.fadeOut('fast');

			wrap.hide();

			$.event.trigger('fancybox-cleanup');

			inner.empty();

			if ($.isFunction(currentOpts.onClosed)) {
				currentOpts.onClosed(currentArray, currentIndex, currentOpts);
			}

			currentArray	= selectedOpts	= [];
			currentIndex	= selectedIndex	= 0;
			currentOpts		= selectedOpts	= {};

			busy = false;
		}

		inner.css('overflow', 'hidden');

		if (currentOpts.transitionOut == 'elastic') {
			start_pos = fancybox_get_zoom_from();

			var pos = wrap.position();

			final_pos = {
				top		:	pos.top ,
				left	:	pos.left,
				width	:	wrap.width(),
				height	:	wrap.height()
			};

			if (currentOpts.opacity) {
				final_pos.opacity = 1;
			}

			fx.prop = 1;

			$(fx).animate({ prop: 0 }, {
				 duration	: currentOpts.speedOut,
				 easing		: currentOpts.easingOut,
				 step		: fancybox_draw,
				 complete	: _cleanup
			});

		} else {
			wrap.fadeOut( currentOpts.transitionOut == 'none' ? 0 : currentOpts.speedOut, _cleanup);
		}
	};

	$.fancybox.resize = function() {
		var c, h;
		
		if (busy || wrap.is(':hidden')) {
			return;
		}

		busy = true;

		c = inner.wrapInner("<div style='overflow:auto'></div>").children();
		h = c.height();

		wrap.css({height:	h + (currentOpts.padding * 2) + titleh});
		inner.css({height:	h});

		c.replaceWith(c.children());

		$.fancybox.center();
	};

	$.fancybox.center = function() {
		busy = true;

		var view	= fancybox_get_viewport(),
			margin	= currentOpts.margin,
			to		= {};

		to.top	= view[3] + ((view[1] - ((wrap.height() - titleh) + (shadow * 2 ))) * 0.5);
		to.left	= view[2] + ((view[0] - (wrap.width() + (shadow * 2 ))) * 0.5);

		to.top	= Math.max(view[3] + margin, to.top);
		to.left	= Math.max(view[2] + margin, to.left);

		wrap.css(to);

		busy = false;
	};

	$.fn.fancybox.defaults = {
		padding				:	10,
		margin				:	20,
		opacity				:	false,
		modal				:	false,
		cyclic				:	false,
		scrolling			:	'auto',	// 'auto', 'yes' or 'no'

		width				:	560,
		height				:	340,

		autoScale			:	true,
		autoDimensions		:	true,
		centerOnScroll		:	false,

		ajax				:	{},
		swf					:	{ wmode: 'transparent' },

		hideOnOverlayClick	:	true,
		hideOnContentClick	:	false,

		overlayShow			:	true,
		overlayOpacity		:	0.3,
		overlayColor		:	'#666',

		titleShow			:	true,
		titlePosition		:	'outside',	// 'outside', 'inside' or 'over'
		titleFormat			:	null,

		transitionIn		:	'fade',	// 'elastic', 'fade' or 'none'
		transitionOut		:	'fade',	// 'elastic', 'fade' or 'none'

		speedIn				:	300,
		speedOut			:	300,

		changeSpeed			:	300,
		changeFade			:	'fast',

		easingIn			:	'swing',
		easingOut			:	'swing',

		showCloseButton		:	true,
		showNavArrows		:	true,
		enableEscapeButton	:	true,

		onStart				:	null,
		onCancel			:	null,
		onComplete			:	null,
		onCleanup			:	null,
		onClosed			:	null
	};

	$(document).ready(function() {
		fancybox_init();
	});

})(jQuery);;
// $Id: fancybox.js,v 1.1.2.2 2010/09/02 00:16:48 sbacelic Exp $

/**
 * Initiate Fancybox using selector and options from the module's settings.
 */
Drupal.behaviors.initFancybox = function() {
  var settings = Drupal.settings.fancybox;

  // Convert any JavaScript events to function calls.
  var events = ["onStart", "onComplete", "onClosed", "onCleanup", "onCancel"];
  for (var i in events) {
    if (settings.options[events[i]].length && typeof(settings.options[events[i]]) == 'string') {
      settings.options[events[i]] = eval("("+settings.options[events[i]]+")");
    }
  }

  if (settings && settings.selector.length) {
    $(settings.selector).fancybox(settings.options);
  }

  $('.imagefield-fancybox').fancybox(settings.options);

}
;
// $Id: poormanscron.js,v 1.1.2.3 2010/01/17 00:27:52 davereid Exp $
(function ($) {

/**
 * Checks to see if the cron should be automatically run.
 */
Drupal.behaviors.cronCheck = function(context) {
  if (Drupal.settings.cron.runNext || false) {
    $('body:not(.cron-check-processed)', context).addClass('cron-check-processed').each(function() {
      // Only execute the cron check if its the right time.
      if (Math.round(new Date().getTime() / 1000.0) >= Drupal.settings.cron.runNext) {
        $.get(Drupal.settings.cron.basePath + '/run-cron-check');
      }
    });
  }
};

})(jQuery);
;
// Thanks for doing your part to liber(IE)t the world from IE6!
// Here's to the "Support but Discourage" approach :)
// Original copy written by Jonathan Howard.
// jon@StaringIsPolite.com // twitter.com/staringispolite
//
// GNU LGPL License v3
// SevenUp 0.3 is released into the wild under a GNU LGPL v3
//
// Browser sniffing technique lovingly adapted from http://www.thefutureoftheweb.com/
// Simple CSS Lightbox technique adapted equally lovingly from http://www.emanueleferonato.com/
// Go read their blogs :)

// Constructor technique advocated by Doug Crockford (of LSlint, JSON) in his recent Google tech talk.
var sevenUp = function() {
  // Define 'private vars' here.
	var osSupportsUpgrade = /(Windows NT 5.1|Windows NT 6.0|Windows NT 6.1|)/i.test(navigator.userAgent); // XP, Vista, Win7
  var options = {  // Change these to fit your color scheme via the 'options' arg for test().
    enableClosing: true,
    enableQuitBuggingMe: true,
    overlayColor: "#000000",  
    lightboxColor: "#ffffff",
    borderColor: "#6699ff",
    downloadLink: osSupportsUpgrade ? 
                  "http://www.microsoft.com/windows/internet-explorer" :
                  "http://getfirefox.com",
    overrideLightbox: false,
    lightboxHTML: null,
    showToAllBrowsers: false,
    usePlugin: false
  };
  function mergeInOptions(newOptions) {
    if (newOptions) {
      for (var i in options) {
        if (newOptions[i] !== undefined) {
          options[i] = newOptions[i];
        }
      }
    }
  }
  function isCookieSet() {
    if (document.cookie.length > 0) {
      var i = document.cookie.indexOf("sevenup=");
      return (i != -1);
    }
    return false;
  }
  
  // Return object literal and public methods here.
  return {
    // Hate to define CSS this way, but trying to keep to one file.
    // I'll keep it as pretty as possible.
    overlayCSS: function() {
      return "display: block; position: absolute; top: 0%; left: 0%;" +
      "width: 100%; height: 100%; background-color: " + options.overlayColor + "; " +
      "filter: alpha(opacity: 80); z-index:1001;";
    },
    lightboxCSS: function() {
      return "display: block; position: absolute; top: 25%; left: 25%; width: 50%; " +
      "padding: 16px; border: 8px solid " + options.borderColor + "; " +
      "background-color:" + options.lightboxColor + "; " +
      "z-index:1002; overflow: hidden;";
    },
    lightboxContents: function() {
      var html = options.lightboxHTML;
      if (!html) {
        html =
        "<div style='width: 100%; height: 95%'>" +
          "<h2 style='text-align: center;'>Your web browser is outdated and unsupported</h2>" +
          "<div class='upgrade_msg' style='text-align: center;'>" +
            "You can easily upgrade to the latest version at<br> " +
            "<a style='color: #0000EE' href='" + options.downloadLink + "'>" +
              options.downloadLink +
            "</a>" +
          "</div>" +
          "<h3 style='margin-top: 40px'>Why should I upgrade?</h3>" +
          "<ul>" +
            "<li><b>Websites load faster</b>, often double the speed of this older version</li>" +
            "<li><b>Websites look better</b>, so you see sites they way they were intended</li>" +
            "<li><b>Tabs</b> let you view multiple sites in one window</li>" +
            "<li><b>Safer browsing</b> with phishing protection</li>" +
          "</ul>" +
        "</div>";
        if (options.enableClosing) {
          html += "<div style='font-size: 11px; text-align: right;'>";
          html += options.enableQuitBuggingMe ?
          ("<a href='#' onclick='sevenUp.quitBuggingMe();' " +
              "style='color: #0000EE'>" +
              "Quit bugging me" +
          "</a>") :
          ("<a href='#' onclick='sevenUp.close();' " +
              "style='color: #0000EE'>" +
              "close" +
            "</a>");
          html += "</div>";
        }
      }
      return html;
    },
    test: function(newOptions, callback) {
      mergeInOptions(newOptions);
  	  if (!isCookieSet()) {
  	    // Write layer into the document.
  	    var layerHTML = "<div id='sevenUpCallbackSignal'></div>";
        if (options.overrideLightbox) {
          layerHTML += options.lightboxHTML;
        } else {
          layerHTML += "<div id='sevenUpOverlay' style='" + this.overlayCSS() + "'>" +
  	        "</div>" +
            "<div id='sevenUpLightbox' style='" + this.lightboxCSS() + "'>" +
              this.lightboxContents() +
            "</div>";
        }
        if (options.showToAllBrowsers !== true) {
          layerHTML = "<!--[if lt IE 7]>" + layerHTML + "<![endif]-->";
        }
        var layer = document.createElement('div');
        layer.innerHTML = layerHTML;
  	    document.body.appendChild(layer);
        // Fire callback.
        // I don't like this hack but IE6 seems to restrict dynamically created <script> tags to <head> only, 
        // and I don't see a way to add conditional comments around the script tag or its contents.
        // So for now, we write a 'signal' div inside the CC. If anyone has a better way please let me know.
        if (callback && document.getElementById('sevenUpCallbackSignal')) {
          callback(options);
        }
  	  }  
  	},
    quitBuggingMe: function() {
      var exp = new Date();
      exp.setTime(exp.getTime()+(7*24*3600000));
      document.cookie = "sevenup=dontbugme; expires="+exp.toUTCString();
      this.close();
    },
    close: function() {
      var overlay = document.getElementById('sevenUpOverlay');
      var lightbox = document.getElementById('sevenUpLightbox');
      if (overlay) { overlay.style.display = 'none'; }
      if (lightbox) { lightbox.style.display = 'none'; }
    },
    plugin: {}
  };
}();

;
// SevenUp Plugin: "Black"
// Learn more at http://code.google.com/p/sevenup
//This first plugin was a true community effort:
//   Design by Twitter user @MikeNGarrett
//   HTML by Twitter user @staceyfenton
//   Pluginification: @staringispolite

if (sevenUp) {
  sevenUp.plugin.black = {
    test: function(newOptions, callback) {
      newOptions.overrideLightbox = true;
      newOptions.lightboxHTML = " \
      <div id='sevenUpLightbox' style='display:block;position:absolute;top:25%;left: 50%;text-align:center;z-index:1002;overflow:hidden;width:550px;margin-left: -250px'> \
        <div style='width:550px;margin:0px auto;text-align:left;'> \
          <div style='background:url(sites/all/modules/sevenup/black/images/curve-top.gif);font-size:1px;height:18px;width:550px;'></div> \
          <div style='background:#1a1a1a;color:#999;font: 12px Arial, Helvetica, sans-serif;position:relative;text-align:center;width:550px;'> \
            <div style='background:transparent url(sites/all/modules/sevenup/black/images/close.gif);height:26px;position:absolute;right:6px;top:-10px;width:26px;'> \
              <a href='#' onclick='sevenUp.close()' style='display:block;height:26px;text-indent:-9999px;width:26px;'>Close</a> \
            </div> \
<h1 style='margin:0 auto;width:479px;padding-top:20px'>Din webblĂ€sare Ă€r omodern.</h1> \
            <p style='font-size:14px;margin:8px 0 11px;'>Du kan enkelt uppgradera till den nyaste versionen.</p> \
            <a href='http://www.microsoft.com/windows/internet-explorer'><img src='sites/all/modules/sevenup/black/images/IE.jpg' alt='Internet Explorer 8' style='border:0;'/></a> \
            <p style='margin:2px 0 22px;'><a href='http://www.microsoft.com/windows/internet-explorer' style='color:#999;text-decoration:none;'>Internet Explorer 8</a></p> \
            <div class='whyUpgrade' style='float:left;text-align:left;padding-left:35px;width:270px;'> \
<h3 style='margin:0;width:200px;'>VarfĂ¶r uppgradera?</h3> \
              <dl style='line-height: 1.4;margin:7px 0 0 2px'> \
                <dt style='color:#e6e6e6'>Webbsidor lĂ€ses in snabbare</dt> \
                <dd style='font-size:11px;margin-left:20px;'>ofta dubbelt sĂ„ snabbt som tidigare.</dd> \
                <dt style='color:#e6e6e6'>Webbsidor renderas korrekt</dt> \
                <dd style='font-size:11px;margin-left:20px;'>och fĂ¶ljer webbstandarder bĂ€ttre.</dd> \
                <dt style='color:#e6e6e6'>Tabbar</dt> \
                <dd style='font-size:11px;margin-left:20px;'>lĂ„ter dig se flera webbsidor i samma fĂ¶nster.</dd> \
                <dt style='color:#e6e6e6'>Surfa sĂ€kert</dt> \
                <dd style='font-size:11px;margin-left:20px;'>med bĂ€ttre 'phishing'-skydd.</dd> \
                <dt style='color:#e6e6e6'>Smartare utskrifter</dt> \
                <dd style='font-size:11px;margin-left:20px;'>och anpassa till sidbredd.</dd> \
              </dl> \
            </div> \
            <div class='otherBrowsers' style='float:left;font-size:14px;text-align:left;width:220px;margin-left:20px'> \
  <h3 style='margin:0;width:200px;'>Andra webblĂ€sare</h3> \
              <ul style='list-style:none;margin:0;padding:9px 0 0 0'> \
        				<li style='height:39px;background:url(sites/all/modules/sevenup/black/images/Chrome.jpg) no-repeat;'><a href='http://www.google.com/chrome' style='color:#e6e6e6;display:block;padding:4px 0 8px 44px;text-decoration:none;width:150px;'>Google Chrome</a></li> \
         				<li style='height:39px;background:url(sites/all/modules/sevenup/black/images/Firefox.jpg) no-repeat;'><a href='http://getfirefox.com' style='color:#e6e6e6;display:block;padding:4px 0 8px 44px;text-decoration:none;width:140px;'>Mozilla Firefox</a></li> \
         				<li style='height:39px;background:url(sites/all/modules/sevenup/black/images/Opera.jpg) no-repeat;'><a href='http://www.opera.com/download/' style='color:#e6e6e6;display:block;padding:4px 0 8px 44px;text-decoration:none;width:140px;'>Opera</a></li> \
         				<li style='height:39px;background:url(sites/all/modules/sevenup/black/images/Safari.jpg) no-repeat;'><a href='http://www.apple.com/safari/download/' style='color:#e6e6e6;display:block;padding:4px 0 8px 44px;text-decoration:none;width:140px;'>Apple Safari</a></li> \
              </ul> \
            </div> \
            <div style='clear:both;'><a href='#' style='bottom:-10px;color:#e6e6e6;font-size:14px;position:absolute;right:14px;text-decoration:none;' ";
      if (newOptions.enableQuitBuggingMe === false) {
        newOptions.lightboxHTML += "onclick='sevenUp.close()'>close";
      } else {
        newOptions.lightboxHTML += "onclick='sevenUp.quitBuggingMe()'>Sluta stĂ¶ra mig";
      }
      newOptions.lightboxHTML += "</a></div> \
          </div> \
          <div style='background:url(sites/all/modules/sevenup/black/images/curve-bottom.gif);font-size:1px;height:18px;width:550px;'></div> \
        </div> \
      </div>";
      sevenUp.test(newOptions, callback);
    }
  };
};
/*
 * jQuery UI 1.7.3
 *
 * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 * http://docs.jquery.com/UI
 */jQuery.ui||(function(c){var i=c.fn.remove,d=c.browser.mozilla&&(parseFloat(c.browser.version)<1.9);c.ui={version:"1.7.3",plugin:{add:function(k,l,n){var m=c.ui[k].prototype;for(var j in n){m.plugins[j]=m.plugins[j]||[];m.plugins[j].push([l,n[j]])}},call:function(j,l,k){var n=j.plugins[l];if(!n||!j.element[0].parentNode){return}for(var m=0;m<n.length;m++){if(j.options[n[m][0]]){n[m][1].apply(j.element,k)}}}},contains:function(k,j){return document.compareDocumentPosition?k.compareDocumentPosition(j)&16:k!==j&&k.contains(j)},hasScroll:function(m,k){if(c(m).css("overflow")=="hidden"){return false}var j=(k&&k=="left")?"scrollLeft":"scrollTop",l=false;if(m[j]>0){return true}m[j]=1;l=(m[j]>0);m[j]=0;return l},isOverAxis:function(k,j,l){return(k>j)&&(k<(j+l))},isOver:function(o,k,n,m,j,l){return c.ui.isOverAxis(o,n,j)&&c.ui.isOverAxis(k,m,l)},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(d){var f=c.attr,e=c.fn.removeAttr,h="http://www.w3.org/2005/07/aaa",a=/^aria-/,b=/^wairole:/;c.attr=function(k,j,l){var m=l!==undefined;return(j=="role"?(m?f.call(this,k,j,"wairole:"+l):(f.apply(this,arguments)||"").replace(b,"")):(a.test(j)?(m?k.setAttributeNS(h,j.replace(a,"aaa:"),l):f.call(this,k,j.replace(a,"aaa:"))):f.apply(this,arguments)))};c.fn.removeAttr=function(j){return(a.test(j)?this.each(function(){this.removeAttributeNS(h,j.replace(a,""))}):e.call(this,j))}}c.fn.extend({remove:function(j,k){return this.each(function(){if(!k){if(!j||c.filter(j,[this]).length){c("*",this).add(this).each(function(){c(this).triggerHandler("remove")})}}return i.call(c(this),j,k)})},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var j;if((c.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){j=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(c.curCSS(this,"position",1))&&(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}else{j=this.parents().filter(function(){return(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!j.length?c(document):j}});c.extend(c.expr[":"],{data:function(l,k,j){return !!c.data(l,j[3])},focusable:function(k){var l=k.nodeName.toLowerCase(),j=c.attr(k,"tabindex");return(/input|select|textarea|button|object/.test(l)?!k.disabled:"a"==l||"area"==l?k.href||!isNaN(j):!isNaN(j))&&!c(k)["area"==l?"parents":"closest"](":hidden").length},tabbable:function(k){var j=c.attr(k,"tabindex");return(isNaN(j)||j>=0)&&c(k).is(":focusable")}});function g(m,n,o,l){function k(q){var p=c[m][n][q]||[];return(typeof p=="string"?p.split(/,?\s+/):p)}var j=k("getter");if(l.length==1&&typeof l[0]=="string"){j=j.concat(k("getterSetter"))}return(c.inArray(o,j)!=-1)}c.widget=function(k,j){var l=k.split(".")[0];k=k.split(".")[1];c.fn[k]=function(p){var n=(typeof p=="string"),o=Array.prototype.slice.call(arguments,1);if(n&&p.substring(0,1)=="_"){return this}if(n&&g(l,k,p,o)){var m=c.data(this[0],k);return(m?m[p].apply(m,o):undefined)}return this.each(function(){var q=c.data(this,k);(!q&&!n&&c.data(this,k,new c[l][k](this,p))._init());(q&&n&&c.isFunction(q[p])&&q[p].apply(q,o))})};c[l]=c[l]||{};c[l][k]=function(o,n){var m=this;this.namespace=l;this.widgetName=k;this.widgetEventPrefix=c[l][k].eventPrefix||k;this.widgetBaseClass=l+"-"+k;this.options=c.extend({},c.widget.defaults,c[l][k].defaults,c.metadata&&c.metadata.get(o)[k],n);this.element=c(o).bind("setData."+k,function(q,p,r){if(q.target==o){return m._setData(p,r)}}).bind("getData."+k,function(q,p){if(q.target==o){return m._getData(p)}}).bind("remove",function(){return m.destroy()})};c[l][k].prototype=c.extend({},c.widget.prototype,j);c[l][k].getterSetter="option"};c.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(l,m){var k=l,j=this;if(typeof l=="string"){if(m===undefined){return this._getData(l)}k={};k[l]=m}c.each(k,function(n,o){j._setData(n,o)})},_getData:function(j){return this.options[j]},_setData:function(j,k){this.options[j]=k;if(j=="disabled"){this.element[k?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",k)}},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(l,m,n){var p=this.options[l],j=(l==this.widgetEventPrefix?l:this.widgetEventPrefix+l);m=c.Event(m);m.type=j;if(m.originalEvent){for(var k=c.event.props.length,o;k;){o=c.event.props[--k];m[o]=m.originalEvent[o]}}this.element.trigger(m,n);return !(c.isFunction(p)&&p.call(this.element[0],m,n)===false||m.isDefaultPrevented())}};c.widget.defaults={disabled:false};c.ui.mouse={_mouseInit:function(){var j=this;this.element.bind("mousedown."+this.widgetName,function(k){return j._mouseDown(k)}).bind("click."+this.widgetName,function(k){if(j._preventClickEvent){j._preventClickEvent=false;k.stopImmediatePropagation();return false}});if(c.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);(c.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable))},_mouseDown:function(l){l.originalEvent=l.originalEvent||{};if(l.originalEvent.mouseHandled){return}(this._mouseStarted&&this._mouseUp(l));this._mouseDownEvent=l;var k=this,m=(l.which==1),j=(typeof this.options.cancel=="string"?c(l.target).parents().add(l.target).filter(this.options.cancel).length:false);if(!m||j||!this._mouseCapture(l)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){k.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(l)&&this._mouseDelayMet(l)){this._mouseStarted=(this._mouseStart(l)!==false);if(!this._mouseStarted){l.preventDefault();return true}}this._mouseMoveDelegate=function(n){return k._mouseMove(n)};this._mouseUpDelegate=function(n){return k._mouseUp(n)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(c.browser.safari||l.preventDefault());l.originalEvent.mouseHandled=true;return true},_mouseMove:function(j){if(c.browser.msie&&!j.button){return this._mouseUp(j)}if(this._mouseStarted){this._mouseDrag(j);return j.preventDefault()}if(this._mouseDistanceMet(j)&&this._mouseDelayMet(j)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,j)!==false);(this._mouseStarted?this._mouseDrag(j):this._mouseUp(j))}return !this._mouseStarted},_mouseUp:function(j){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(j.target==this._mouseDownEvent.target);this._mouseStop(j)}return false},_mouseDistanceMet:function(j){return(Math.max(Math.abs(this._mouseDownEvent.pageX-j.pageX),Math.abs(this._mouseDownEvent.pageY-j.pageY))>=this.options.distance)},_mouseDelayMet:function(j){return this.mouseDelayMet},_mouseStart:function(j){},_mouseDrag:function(j){},_mouseStop:function(j){},_mouseCapture:function(j){return true}};c.ui.mouse.defaults={cancel:null,distance:1,delay:0}})(jQuery);;
/*
 * jQuery UI Slider 1.7.3
 *
 * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 * http://docs.jquery.com/UI/Slider
 *
 * Depends:
 *	ui.core.js
 */(function(a){a.widget("ui.slider",a.extend({},a.ui.mouse,{_init:function(){var b=this,c=this.options;this._keySliding=false;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all");this.range=a([]);if(c.range){if(c.range===true){this.range=a("<div></div>");if(!c.values){c.values=[this._valueMin(),this._valueMin()]}if(c.values.length&&c.values.length!=2){c.values=[c.values[0],c.values[0]]}}else{this.range=a("<div></div>")}this.range.appendTo(this.element).addClass("ui-slider-range");if(c.range=="min"||c.range=="max"){this.range.addClass("ui-slider-range-"+c.range)}this.range.addClass("ui-widget-header")}if(a(".ui-slider-handle",this.element).length==0){a('<a href="#"></a>').appendTo(this.element).addClass("ui-slider-handle")}if(c.values&&c.values.length){while(a(".ui-slider-handle",this.element).length<c.values.length){a('<a href="#"></a>').appendTo(this.element).addClass("ui-slider-handle")}}this.handles=a(".ui-slider-handle",this.element).addClass("ui-state-default ui-corner-all");this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(d){d.preventDefault()}).hover(function(){if(!c.disabled){a(this).addClass("ui-state-hover")}},function(){a(this).removeClass("ui-state-hover")}).focus(function(){if(!c.disabled){a(".ui-slider .ui-state-focus").removeClass("ui-state-focus");a(this).addClass("ui-state-focus")}else{a(this).blur()}}).blur(function(){a(this).removeClass("ui-state-focus")});this.handles.each(function(d){a(this).data("index.ui-slider-handle",d)});this.handles.keydown(function(i){var f=true;var e=a(this).data("index.ui-slider-handle");if(b.options.disabled){return}switch(i.keyCode){case a.ui.keyCode.HOME:case a.ui.keyCode.END:case a.ui.keyCode.UP:case a.ui.keyCode.RIGHT:case a.ui.keyCode.DOWN:case a.ui.keyCode.LEFT:f=false;if(!b._keySliding){b._keySliding=true;a(this).addClass("ui-state-active");b._start(i,e)}break}var g,d,h=b._step();if(b.options.values&&b.options.values.length){g=d=b.values(e)}else{g=d=b.value()}switch(i.keyCode){case a.ui.keyCode.HOME:d=b._valueMin();break;case a.ui.keyCode.END:d=b._valueMax();break;case a.ui.keyCode.UP:case a.ui.keyCode.RIGHT:if(g==b._valueMax()){return}d=g+h;break;case a.ui.keyCode.DOWN:case a.ui.keyCode.LEFT:if(g==b._valueMin()){return}d=g-h;break}b._slide(i,e,d);return f}).keyup(function(e){var d=a(this).data("index.ui-slider-handle");if(b._keySliding){b._stop(e,d);b._change(e,d);b._keySliding=false;a(this).removeClass("ui-state-active")}});this._refreshValue()},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider");this._mouseDestroy()},_mouseCapture:function(d){var e=this.options;if(e.disabled){return false}this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();var h={x:d.pageX,y:d.pageY};var j=this._normValueFromMouse(h);var c=this._valueMax()-this._valueMin()+1,f;var k=this,i;this.handles.each(function(l){var m=Math.abs(j-k.values(l));if(c>m){c=m;f=a(this);i=l}});if(e.range==true&&this.values(1)==e.min){f=a(this.handles[++i])}this._start(d,i);k._handleIndex=i;f.addClass("ui-state-active").focus();var g=f.offset();var b=!a(d.target).parents().andSelf().is(".ui-slider-handle");this._clickOffset=b?{left:0,top:0}:{left:d.pageX-g.left-(f.width()/2),top:d.pageY-g.top-(f.height()/2)-(parseInt(f.css("borderTopWidth"),10)||0)-(parseInt(f.css("borderBottomWidth"),10)||0)+(parseInt(f.css("marginTop"),10)||0)};j=this._normValueFromMouse(h);this._slide(d,i,j);return true},_mouseStart:function(b){return true},_mouseDrag:function(d){var b={x:d.pageX,y:d.pageY};var c=this._normValueFromMouse(b);this._slide(d,this._handleIndex,c);return false},_mouseStop:function(b){this.handles.removeClass("ui-state-active");this._stop(b,this._handleIndex);this._change(b,this._handleIndex);this._handleIndex=null;this._clickOffset=null;return false},_detectOrientation:function(){this.orientation=this.options.orientation=="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(d){var c,h;if("horizontal"==this.orientation){c=this.elementSize.width;h=d.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{c=this.elementSize.height;h=d.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}var f=(h/c);if(f>1){f=1}if(f<0){f=0}if("vertical"==this.orientation){f=1-f}var e=this._valueMax()-this._valueMin(),i=f*e,b=i%this.options.step,g=this._valueMin()+i-b;if(b>(this.options.step/2)){g+=this.options.step}return parseFloat(g.toFixed(5))},_start:function(d,c){var b={handle:this.handles[c],value:this.value()};if(this.options.values&&this.options.values.length){b.value=this.values(c);b.values=this.values()}this._trigger("start",d,b)},_slide:function(f,e,d){var g=this.handles[e];if(this.options.values&&this.options.values.length){var b=this.values(e?0:1);if((this.options.values.length==2&&this.options.range===true)&&((e==0&&d>b)||(e==1&&d<b))){d=b}if(d!=this.values(e)){var c=this.values();c[e]=d;var h=this._trigger("slide",f,{handle:this.handles[e],value:d,values:c});var b=this.values(e?0:1);if(h!==false){this.values(e,d,(f.type=="mousedown"&&this.options.animate),true)}}}else{if(d!=this.value()){var h=this._trigger("slide",f,{handle:this.handles[e],value:d});if(h!==false){this._setData("value",d,(f.type=="mousedown"&&this.options.animate))}}}},_stop:function(d,c){var b={handle:this.handles[c],value:this.value()};if(this.options.values&&this.options.values.length){b.value=this.values(c);b.values=this.values()}this._trigger("stop",d,b)},_change:function(d,c){var b={handle:this.handles[c],value:this.value()};if(this.options.values&&this.options.values.length){b.value=this.values(c);b.values=this.values()}this._trigger("change",d,b)},value:function(b){if(arguments.length){this._setData("value",b);this._change(null,0)}return this._value()},values:function(b,e,c,d){if(arguments.length>1){this.options.values[b]=e;this._refreshValue(c);if(!d){this._change(null,b)}}if(arguments.length){if(this.options.values&&this.options.values.length){return this._values(b)}else{return this.value()}}else{return this._values()}},_setData:function(b,d,c){a.widget.prototype._setData.apply(this,arguments);switch(b){case"disabled":if(d){this.handles.filter(".ui-state-focus").blur();this.handles.removeClass("ui-state-hover");this.handles.attr("disabled","disabled")}else{this.handles.removeAttr("disabled")}case"orientation":this._detectOrientation();this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation);this._refreshValue(c);break;case"value":this._refreshValue(c);break}},_step:function(){var b=this.options.step;return b},_value:function(){var b=this.options.value;if(b<this._valueMin()){b=this._valueMin()}if(b>this._valueMax()){b=this._valueMax()}return b},_values:function(b){if(arguments.length){var c=this.options.values[b];if(c<this._valueMin()){c=this._valueMin()}if(c>this._valueMax()){c=this._valueMax()}return c}else{return this.options.values}},_valueMin:function(){var b=this.options.min;return b},_valueMax:function(){var b=this.options.max;return b},_refreshValue:function(c){var f=this.options.range,d=this.options,l=this;if(this.options.values&&this.options.values.length){var i,h;this.handles.each(function(p,n){var o=(l.values(p)-l._valueMin())/(l._valueMax()-l._valueMin())*100;var m={};m[l.orientation=="horizontal"?"left":"bottom"]=o+"%";a(this).stop(1,1)[c?"animate":"css"](m,d.animate);if(l.options.range===true){if(l.orientation=="horizontal"){(p==0)&&l.range.stop(1,1)[c?"animate":"css"]({left:o+"%"},d.animate);(p==1)&&l.range[c?"animate":"css"]({width:(o-lastValPercent)+"%"},{queue:false,duration:d.animate})}else{(p==0)&&l.range.stop(1,1)[c?"animate":"css"]({bottom:(o)+"%"},d.animate);(p==1)&&l.range[c?"animate":"css"]({height:(o-lastValPercent)+"%"},{queue:false,duration:d.animate})}}lastValPercent=o})}else{var j=this.value(),g=this._valueMin(),k=this._valueMax(),e=k!=g?(j-g)/(k-g)*100:0;var b={};b[l.orientation=="horizontal"?"left":"bottom"]=e+"%";this.handle.stop(1,1)[c?"animate":"css"](b,d.animate);(f=="min")&&(this.orientation=="horizontal")&&this.range.stop(1,1)[c?"animate":"css"]({width:e+"%"},d.animate);(f=="max")&&(this.orientation=="horizontal")&&this.range[c?"animate":"css"]({width:(100-e)+"%"},{queue:false,duration:d.animate});(f=="min")&&(this.orientation=="vertical")&&this.range.stop(1,1)[c?"animate":"css"]({height:e+"%"},d.animate);(f=="max")&&(this.orientation=="vertical")&&this.range[c?"animate":"css"]({height:(100-e)+"%"},{queue:false,duration:d.animate})}}}));a.extend(a.ui.slider,{getter:"value values",version:"1.7.3",eventPrefix:"slide",defaults:{animate:false,delay:0,distance:0,max:100,min:0,orientation:"horizontal",range:false,step:1,value:0,values:null}})})(jQuery);;
/**
 * Cookie plugin
 *
 * Copyright (c) 2006 Klaus Hartl (stilbuero.de)
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 *
 */

/**
 * Create a cookie with the given name and value and other optional parameters.
 *
 * @example $.cookie('the_cookie', 'the_value');
 * @desc Set the value of a cookie.
 * @example $.cookie('the_cookie', 'the_value', { expires: 7, path: '/', domain: 'jquery.com', secure: true });
 * @desc Create a cookie with all available options.
 * @example $.cookie('the_cookie', 'the_value');
 * @desc Create a session cookie.
 * @example $.cookie('the_cookie', null);
 * @desc Delete a cookie by passing null as value. Keep in mind that you have to use the same path and domain
 *       used when the cookie was set.
 *
 * @param String name The name of the cookie.
 * @param String value The value of the cookie.
 * @param Object options An object literal containing key/value pairs to provide optional cookie attributes.
 * @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object.
 *                             If a negative value is specified (e.g. a date in the past), the cookie will be deleted.
 *                             If set to null or omitted, the cookie will be a session cookie and will not be retained
 *                             when the the browser exits.
 * @option String path The value of the path atribute of the cookie (default: path of page that created the cookie).
 * @option String domain The value of the domain attribute of the cookie (default: domain of page that created the cookie).
 * @option Boolean secure If true, the secure attribute of the cookie will be set and the cookie transmission will
 *                        require a secure protocol (like HTTPS).
 * @type undefined
 *
 * @name $.cookie
 * @cat Plugins/Cookie
 * @author Klaus Hartl/klaus.hartl@stilbuero.de
 */

/**
 * Get the value of a cookie with the given name.
 *
 * @example $.cookie('the_cookie');
 * @desc Get the value of a cookie.
 *
 * @param String name The name of the cookie.
 * @return The value of the cookie.
 * @type String
 *
 * @name $.cookie
 * @cat Plugins/Cookie
 * @author Klaus Hartl/klaus.hartl@stilbuero.de
 */
jQuery.cookie = function(name, value, options) {
    if (typeof value != 'undefined') { // name and value given, set cookie
        options = options || {};
        if (value === null) {
            value = '';
            options.expires = -1;
        }
        var expires = '';
        if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) {
            var date;
            if (typeof options.expires == 'number') {
                date = new Date();
                date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000));
            } else {
                date = options.expires;
            }
            expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE
        }
        // CAUTION: Needed to parenthesize options.path and options.domain
        // in the following expressions, otherwise they evaluate to undefined
        // in the packed version for some reason...
        var path = options.path ? '; path=' + (options.path) : '';
        var domain = options.domain ? '; domain=' + (options.domain) : '';
        var secure = options.secure ? '; secure' : '';
        document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');
    } else { // only name given, get cookie
        var cookieValue = null;
        if (document.cookie && document.cookie != '') {
            var cookies = document.cookie.split(';');
            for (var i = 0; i < cookies.length; i++) {
                var cookie = jQuery.trim(cookies[i]);
                // Does this cookie string begin with the name we want?
                if (cookie.substring(0, name.length + 1) == (name + '=')) {
                    cookieValue = decodeURIComponent(cookie.substring(name.length + 1));
                    break;
                }
            }
        }
        return cookieValue;
    }
};;
// Standard values.
Drupal.settings.vitecGmapFilter = {
  mapId: 'vitecObjects',
  actual_set: false,
  min_rooms: {selected: 0, actual: 0},
  max_rooms: {selected: 10, actual: 10},
  min_price: {selected: 0, actual: 0},
  max_price: {selected: 10000000, actual: 10000000},
  min_size: {selected: 0, actual: 0},
  max_size: {selected: 500, actual: 500},
  types: [],
  statuses: []
};

Drupal.behaviors.vitecGmapFilter = function(context) {
  if ($('#block-views-vitec_objects-block_1').size() < 1) {
    return;
  }
  if (!Drupal.settings.vitecGmapFilter.actual_set) {
    // Get actual value for rooms.
    $.ajax({
      url: Drupal.settings.basePath +'vitec_gmap_filter/slider/get_range/field_vitec_object_rooms_num_value/content_field_vitec_object_rooms_num',
      dataType: 'json',
      async: false,
      success: function(data) {
        Drupal.settings.vitecGmapFilter.min_rooms.actual = Math.floor(data.min);
        Drupal.settings.vitecGmapFilter.max_rooms.actual = Math.ceil(data.max);
      }
    });
    // Get actual value for price.
    $.ajax({
      url: Drupal.settings.basePath +'vitec_gmap_filter/slider/get_range/field_vitec_object_price_start_value/content_field_vitec_object_price_start',
      dataType: 'json',
      async: false,
      success: function(data) {
        Drupal.settings.vitecGmapFilter.min_price.actual = Math.floor(Math.floor(data.min) / 50000) * 50000;
        Drupal.settings.vitecGmapFilter.max_price.actual = Math.ceil(Math.ceil(data.max) / 50000) * 50000;
      }
    });
    // Get actual value for size.
    $.ajax({
      url: Drupal.settings.basePath +'vitec_gmap_filter/slider/get_range/field_object_size_value/content_field_object_size',
      dataType: 'json',
      async: false,
      success: function(data) {
        Drupal.settings.vitecGmapFilter.min_size.actual = Math.floor(Math.floor(data.min) / 5) * 5;
        Drupal.settings.vitecGmapFilter.max_size.actual = Math.ceil(Math.ceil(data.max) / 5) * 5;
      }
    });
    Drupal.settings.vitecGmapFilter.actual_set = true;
  }

  // Get cookie values.
  $('#edit-field-vitec-object-rooms-num-value').val($.cookie('vitec_gmap_filter_min_rooms'));
  $('#edit-field-vitec-object-rooms-num-value-1').val($.cookie('vitec_gmap_filter_max_rooms'));
  $('#edit-field-vitec-object-price-start-value-1').val($.cookie('vitec_gmap_filter_min_price'));
  $('#edit-field-vitec-object-price-start-value').val($.cookie('vitec_gmap_filter_max_price'));
  $('#edit-field-object-size-value').val($.cookie('vitec_gmap_filter_min_size'));
  $('#edit-field-object-size-value-1').val($.cookie('vitec_gmap_filter_max_size'));
  // Set values to the fields that are empty.
  if ($('#edit-field-vitec-object-rooms-num-value').val() == '' || isNaN($('#edit-field-vitec-object-rooms-num-value').val()) || $('#edit-field-vitec-object-rooms-num-value').val() < Drupal.settings.vitecGmapFilter.min_rooms.actual) {
    $('#edit-field-vitec-object-rooms-num-value').val(Drupal.settings.vitecGmapFilter.min_rooms.actual);
  }
  if ($('#edit-field-vitec-object-rooms-num-value-1').val() == '' || isNaN($('#edit-field-vitec-object-rooms-num-value-1').val()) ||  $('#edit-field-vitec-object-rooms-num-value-1').val() > Drupal.settings.vitecGmapFilter.max_rooms.actual) {
    $('#edit-field-vitec-object-rooms-num-value-1').val(Drupal.settings.vitecGmapFilter.max_rooms.actual);
  }
  if ($('#edit-field-vitec-object-price-start-value-1').val() == '' || isNaN($('#edit-field-vitec-object-price-start-value-1').val()) || Â $('#edit-field-vitec-object-price-start-value-1').val() < Drupal.settings.vitecGmapFilter.min_price.actual) {
    $('#edit-field-vitec-object-price-start-value-1').val(Drupal.settings.vitecGmapFilter.min_price.actual);
  }
  if ($('#edit-field-vitec-object-price-start-value').val() == '' || isNaN($('#edit-field-vitec-object-price-start-value').val()) ||  $('#edit-field-vitec-object-price-start-value').val() > Drupal.settings.vitecGmapFilter.max_price.actual) {
    $('#edit-field-vitec-object-price-start-value').val(Drupal.settings.vitecGmapFilter.max_price.actual);
  }
  if ($('#edit-field-object-size-value').val() == '' || isNaN($('#edit-field-object-size-value').val()) || Â $('#edit-field-object-size-value').val() < Drupal.settings.vitecGmapFilter.min_size.actual) {
    $('#edit-field-object-size-value').val(Drupal.settings.vitecGmapFilter.min_size.actual);
  }
  if ($('#edit-field-object-size-value-1').val() == '' || isNaN($('#edit-field-object-size-value-1').val()) || Â $('#edit-field-object-size-value-1').val() > Drupal.settings.vitecGmapFilter.max_size.actual) {
    $('#edit-field-object-size-value-1').val(Drupal.settings.vitecGmapFilter.max_size.actual);
  }
  
  // Set selected values to the settings.
  Drupal.settings.vitecGmapFilter.min_rooms.selected = parseInt($('#edit-field-vitec-object-rooms-num-value').val());
  Drupal.settings.vitecGmapFilter.max_rooms.selected = parseInt($('#edit-field-vitec-object-rooms-num-value-1').val());
  Drupal.settings.vitecGmapFilter.min_price.selected = parseInt($('#edit-field-vitec-object-price-start-value-1').val());
  Drupal.settings.vitecGmapFilter.max_price.selected = parseInt($('#edit-field-vitec-object-price-start-value').val());
  Drupal.settings.vitecGmapFilter.min_size.selected = parseInt($('#edit-field-object-size-value').val());
  Drupal.settings.vitecGmapFilter.max_size.selected = parseInt($('#edit-field-object-size-value-1').val());
  // Add selected types to the settings.
  if ($.cookie('vitec_gmap_filter_types')) {
    Drupal.settings.vitecGmapFilter.types = $.cookie('vitec_gmap_filter_types').split(',');
    $('#filter-type-checkboxes-wrapper input[type=checkbox]').each(function() {
      if ($.inArray($(this).val(), Drupal.settings.vitecGmapFilter.types) != -1) {
        $(this).attr('checked', 'checked');
      }
      else {
        $(this).removeAttr('checked');
      }
    });
  }
  Drupal.settings.vitecGmapFilter.types = [];
  $('#filter-type-checkboxes-wrapper input[type=checkbox]:checked').each(function() {
    Drupal.settings.vitecGmapFilter.types.push(parseInt($(this).val()));
  });
  // Add selected statuses to the settings.
  if ($.cookie('vitec_gmap_filter_statuses')) {
    Drupal.settings.vitecGmapFilter.statuses = $.cookie('vitec_gmap_filter_statuses').split(',');
    $('#filter-statuses-checkboxes-wrapper input[type=checkbox]').each(function() {
      if ($.inArray($(this).val(), Drupal.settings.vitecGmapFilter.statuses) != -1) {
        $(this).attr('checked', 'checked');
      }
      else {
        $(this).removeAttr('checked');
      }
    });
  }
  Drupal.settings.vitecGmapFilter.statuses = [];
  $('#filter-statuses-checkboxes-wrapper input[type=checkbox]:checked').each(function() {
    Drupal.settings.vitecGmapFilter.statuses.push(parseInt($(this).val()));
  });
  
  // Add room slider.
  $("#filter-room-slider").append('<a class="ui-slider-handle left" href="#"></a>');
  $("#filter-room-slider").append('<a class="ui-slider-handle right" href="#"></a>');
  $("#filter-room-slider").slider({
    range: true,
    min: Drupal.settings.vitecGmapFilter.min_rooms.actual,
    max: Drupal.settings.vitecGmapFilter.max_rooms.actual,
    values: [Drupal.settings.vitecGmapFilter.min_rooms.selected, Drupal.settings.vitecGmapFilter.max_rooms.selected],
    animate: true,
    slide: function(event, ui) {    
      Drupal.settings.vitecGmapFilter.min_rooms.selected = ui.values[0];
      Drupal.settings.vitecGmapFilter.max_rooms.selected = ui.values[1];
      $("#edit-field-vitec-object-rooms-num-value").val(ui.values[0]);
      $("#edit-field-vitec-object-rooms-num-value-1").val(ui.values[1]);
      $("#filter-room-slider-wrapper span.min").text(ui.values[0]);
      $("#filter-room-slider-wrapper span.max").text(ui.values[1]);
      vitec_gmap_filter_filter();
    },
    change: function(event, ui) {
      $.cookie('vitec_gmap_filter_min_rooms', Drupal.settings.vitecGmapFilter.min_rooms.selected, {expires: 1});
      $.cookie('vitec_gmap_filter_max_rooms', Drupal.settings.vitecGmapFilter.max_rooms.selected, {expires: 1});
      $('#views-exposed-form-vitec-objects-page-1').submit();
    }
  });
  $("#filter-room-slider-wrapper span.min").text(Drupal.settings.vitecGmapFilter.min_rooms.selected);
  $("#filter-room-slider-wrapper span.max").text(Drupal.settings.vitecGmapFilter.max_rooms.selected);
  
  // Add size slider.
  $("#filter-size-slider").append('<a class="ui-slider-handle left" href="#"></a>');
  $("#filter-size-slider").append('<a class="ui-slider-handle right" href="#"></a>');
  $("#filter-size-slider").slider({
    step: 5,
    range: true,
    min: Drupal.settings.vitecGmapFilter.min_size.actual,
    max: Drupal.settings.vitecGmapFilter.max_size.actual,
    values: [Drupal.settings.vitecGmapFilter.min_size.selected, Drupal.settings.vitecGmapFilter.max_size.selected],
    animate: true,
    slide: function(event, ui) {
      Drupal.settings.vitecGmapFilter.min_size.selected = ui.values[0];
      Drupal.settings.vitecGmapFilter.max_size.selected = ui.values[1];
      $("#edit-field-object-size-value").val(ui.values[0]);
      $("#edit-field-object-size-value-1").val(ui.values[1]);
      $("#filter-size-slider-wrapper span.min").text(vitec_gmap_filter_format_number(ui.values[0]));
      $("#filter-size-slider-wrapper span.max").text(vitec_gmap_filter_format_number(ui.values[1]));
      vitec_gmap_filter_filter();
    },
    change: function(event, ui) {
      $.cookie('vitec_gmap_filter_min_size', Drupal.settings.vitecGmapFilter.min_size.selected, {expires: 1});
      $.cookie('vitec_gmap_filter_max_size', Drupal.settings.vitecGmapFilter.max_size.selected, {expires: 1});
      $('#views-exposed-form-vitec-objects-page-1').submit();
    }
  });
  $("#filter-size-slider-wrapper span.min").text(vitec_gmap_filter_format_number(Drupal.settings.vitecGmapFilter.min_size.selected));
  $("#filter-size-slider-wrapper span.max").text(vitec_gmap_filter_format_number(Drupal.settings.vitecGmapFilter.max_size.selected));

  // Add price slider.
  $("#filter-price-slider").append('<a class="ui-slider-handle left" href="#"></a>');
  $("#filter-price-slider").append('<a class="ui-slider-handle right" href="#"></a>');
  $("#filter-price-slider").slider({
    step: 50000,
    range: true,
    min: Drupal.settings.vitecGmapFilter.min_price.actual,
    max: Drupal.settings.vitecGmapFilter.max_price.actual,
    values: [Drupal.settings.vitecGmapFilter.min_price.selected, Drupal.settings.vitecGmapFilter.max_price.selected],
    animate: true,
    slide: function(event, ui) {
      Drupal.settings.vitecGmapFilter.min_price.selected = ui.values[0];
      Drupal.settings.vitecGmapFilter.max_price.selected = ui.values[1];
      $("#edit-field-vitec-object-price-start-value-1").val(ui.values[0]);
      $("#edit-field-vitec-object-price-start-value").val(ui.values[1]);
      $("#filter-price-slider-wrapper span.min").text(vitec_gmap_filter_format_number(ui.values[0]));
      $("#filter-price-slider-wrapper span.max").text(vitec_gmap_filter_format_number(ui.values[1]));
      vitec_gmap_filter_filter();
    },
    change: function(event, ui) {
      $.cookie('vitec_gmap_filter_min_price', Drupal.settings.vitecGmapFilter.min_price.selected, {expires: 1});
      $.cookie('vitec_gmap_filter_max_price', Drupal.settings.vitecGmapFilter.max_price.selected, {expires: 1});
      $('#views-exposed-form-vitec-objects-page-1').submit();
    }
  });
  $("#filter-price-slider-wrapper span.min").text(vitec_gmap_filter_format_number(Drupal.settings.vitecGmapFilter.min_price.selected));
  $("#filter-price-slider-wrapper span.max").text(vitec_gmap_filter_format_number(Drupal.settings.vitecGmapFilter.max_price.selected));
  
  // Disable the textareas.
  $('#views-exposed-form-vitec-objects-page-1 input[type=text]').attr('readonly', true);
  
  // Submit the form when the checkboxes are clicked.
  $('#views-exposed-form-vitec-objects-page-1 input[type=checkbox]').click(function() {
    // Add selected types to the settings.
    Drupal.settings.vitecGmapFilter.types = [];
    $('#filter-type-checkboxes-wrapper input[type=checkbox]:checked').each(function() {
      Drupal.settings.vitecGmapFilter.types.push(parseInt($(this).val()));
    });
    $.cookie('vitec_gmap_filter_types', Drupal.settings.vitecGmapFilter.types, {expires: 1});
    // Add selected statuses to the settings.
    Drupal.settings.vitecGmapFilter.statuses = [];
    $('#filter-statuses-checkboxes-wrapper input[type=checkbox]:checked').each(function() {
      Drupal.settings.vitecGmapFilter.statuses.push(parseInt($(this).val()));
    });
    $.cookie('vitec_gmap_filter_statuses', Drupal.settings.vitecGmapFilter.statuses, {expires: 1});
    vitec_gmap_filter_filter();
    $('#views-exposed-form-vitec-objects-page-1').submit();
  });
}

function vitec_gmap_filter_filter() {
  if (!Drupal.settings.gmap) {
    return;
  }
  var map = Drupal.settings.gmap[Drupal.settings.vitecGmapFilter.mapId];
  if (!map) {
    return;
  }
  if (map.markers[0].marker) {
    for (var i = 0; i < map.markers.length; i++) {
      var marker = map.markers[i];
      var min_rooms = Drupal.settings.vitecGmapFilter.min_rooms.selected;
      var max_rooms = Drupal.settings.vitecGmapFilter.max_rooms.selected;
      var min_price = Drupal.settings.vitecGmapFilter.min_price.selected;
      var max_price = Drupal.settings.vitecGmapFilter.max_price.selected;
      var min_size = Drupal.settings.vitecGmapFilter.min_size.selected;
      var max_size = Drupal.settings.vitecGmapFilter.max_size.selected;
    
      if (marker.fields.vitec_object_rooms < min_rooms || marker.fields.vitec_object_rooms > max_rooms) {
        marker.marker.hide();
        continue;
      }
      if (marker.fields.vitec_object_price < min_price || marker.fields.vitec_object_price > max_price) {
        marker.marker.hide();
        continue;
      }
      if (marker.fields.vitec_object_object_size < min_size || marker.fields.vitec_object_object_size > max_size) {
        marker.marker.hide();
        continue;
      }
      if (!vitec_gmap_filter_check_checkboxes(marker)) {
        marker.marker.hide();
        continue;
      }
      marker.marker.show();
    }
    return;
  }
  setTimeout("vitec_gmap_filter_filter();", 1);
}

function vitec_gmap_filter_check_checkboxes(marker) {
  var types = Drupal.settings.vitecGmapFilter.types;
  var statuses = Drupal.settings.vitecGmapFilter.statuses;
  
  for (var c = 0; c < types.length; c++) {
    if (types[c] == marker.fields.vitec_object_type) {
      for (var c = 0; c < statuses.length; c++) {
        if (statuses[c] == marker.fields.vitec_object_status) {
          return true;
        }
      }
      return false;
    }
  }
  return false;
}

$(document).ready(function() {
  $('#vitec-object-map-wrapper').ajaxStart(function() {
    $('#ajax-throbber', $(this).parent()).show();
  });

  $('#vitec-object-map-wrapper').ajaxStop(function() {
    $('#ajax-throbber', $(this).parent()).hide();
  });
  vitec_gmap_filter_filter();
  $('#views-exposed-form-vitec-objects-page-1').submit();
});

function vitec_gmap_filter_format_number(num) {
  num = num.toString().replace(/\$|\,/g,'');
  if (isNaN(num)) {
    num = "0";
  }
  sign = (num == (num = Math.abs(num)));
  num = Math.floor((num * 100 + 0.50000000001) / 100).toString();
  for (var i = 0; i < Math.floor((num.length - (1 + i)) / 3); i++) {
    num = num.substring(0, num.length - (4 * i + 3)) + ' ' + num.substring(num.length - (4 * i + 3));
  }
  return ((sign) ? '' : '-') + num;
};
// $Id: extlink.js,v 1.4.2.12 2010/05/26 01:25:56 quicksketch Exp $
(function ($) {

function extlinkAttach(context) {
  // Strip the host name down, removing ports, subdomains, or www.
  var pattern = /^(([^\/:]+?\.)*)([^\.:]{4,})((\.[a-z]{1,4})*)(:[0-9]{1,5})?$/;
  var host = window.location.host.replace(pattern, '$3$4');
  var subdomain = window.location.host.replace(pattern, '$1');

  // Determine what subdomains are considered internal.
  if (Drupal.settings.extlink.extSubdomains) {
    var subdomains = "([^/]*\\.)?";
  }
  else if (subdomain == 'www.' || subdomain == '') {
    var subdomains = "(www\\.)?";
  }
  else {
    var subdomains = subdomain.replace(".", "\\.");
  }

  // Build regular expressions that define an internal link.
  var internal_link = new RegExp("^https?://" + subdomains + host, "i");

  // Extra internal link matching.
  var extInclude = false;
  if (Drupal.settings.extlink.extInclude) {
    extInclude = new RegExp(Drupal.settings.extlink.extInclude.replace(/\\/, '\\'));
  }

  // Extra external link matching.
  var extExclude = false;
  if (Drupal.settings.extlink.extExclude) {
    extExclude = new RegExp(Drupal.settings.extlink.extExclude.replace(/\\/, '\\'));
  }

  // Find all links which are NOT internal and begin with http (as opposed
  // to ftp://, javascript:, etc. other kinds of links.
  // When operating on the 'this' variable, the host has been appended to
  // all links by the browser, even local ones.
  // In jQuery 1.1 and higher, we'd use a filter method here, but it is not
  // available in jQuery 1.0 (Drupal 5 default).
  var external_links = new Array();
  var mailto_links = new Array();
  $("a:not(." + Drupal.settings.extlink.extClass + ", ." + Drupal.settings.extlink.mailtoClass + ")", context).each(function(el) {
    try {
      var url = this.href.toLowerCase();
      if (url.indexOf('http') == 0 && (!url.match(internal_link) || (extInclude && url.match(extInclude))) && !(extExclude && url.match(extExclude))) {
        external_links.push(this);
      }
      else if (url.indexOf('mailto:') == 0) {
        mailto_links.push(this);
      }
    }
    // IE7 throws errors often when dealing with irregular links, such as:
    // <a href="node/10"></a> Empty tags.
    // <a href="http://user:pass@example.com">example</a> User:pass syntax.
    catch(error) {
      return false;
    }
  });

  if (Drupal.settings.extlink.extClass) {
    // Apply the "ext" class to all links not containing images.
    if (parseFloat($().jquery) < 1.2) {
      $(external_links).not('[img]').addClass(Drupal.settings.extlink.extClass).each(function() { if ($(this).css('display') == 'inline') $(this).after('<span class=' + Drupal.settings.extlink.extClass + '></span>'); });
    }
    else {
      $(external_links).not($(external_links).find('img').parents('a')).addClass(Drupal.settings.extlink.extClass).each(function() { if ($(this).css('display') == 'inline') $(this).after('<span class=' + Drupal.settings.extlink.extClass + '></span>'); });
    }
  }

  if (Drupal.settings.extlink.mailtoClass) {
    // Apply the "mailto" class to all mailto links not containing images.
    if (parseFloat($().jquery) < 1.2) {
      $(mailto_links).not('[img]').addClass(Drupal.settings.extlink.mailtoClass).each(function() { if ($(this).css('display') == 'inline') $(this).after('<span class=' + Drupal.settings.extlink.mailtoClass + '></span>'); });
    }
    else {
      $(mailto_links).not($(mailto_links).find('img').parents('a')).addClass(Drupal.settings.extlink.mailtoClass).each(function() { if ($(this).css('display') == 'inline') $(this).after('<span class=' + Drupal.settings.extlink.mailtoClass + '></span>'); });
    }
  }

  if (Drupal.settings.extlink.extTarget) {
    // Apply the target attribute to all links.
    $(external_links).attr('target', Drupal.settings.extlink.extTarget);
  }

  if (Drupal.settings.extlink.extAlert) {
    // Add pop-up click-through dialog.
    $(external_links).click(function(e) {
     return confirm(Drupal.settings.extlink.extAlertText);
    });
  }

  // Work around for Internet Explorer box model problems.
  if (($.support && !($.support.boxModel === undefined) && !$.support.boxModel) || ($.browser.msie && parseInt($.browser.version) <= 7)) {
    $('span.ext, span.mailto').css('display', 'inline-block');
  }
}

Drupal.behaviors.extlink = function(context) {
  extlinkAttach(context);
}

})(jQuery);
;
(function($){  
  $.fn.inlineLabels = function() {  
    return $(':input[type=text], :input[type=textarea]', this).each(function() {
		  var label = $('label[for=' + $(this).attr('id') + ']');
		  if (label.size() > 0) {
		    label.css('display', 'none');
		    var label_text = label.text();
		    label_text = label_text.replace(':', '');
        label_text = label_text.replace(' *', '');
        $(this).val(label_text);

        $(this).focus(function() {
          $(this).addClass('focused');
          if($(this).val() === label_text) {
            this.select();
          }
        });

		    $(this).blur(function() {
		      $(this).removeClass('focused');
          if($(this).val() === '') {
            $(this).val(label_text);
          }
        });
      }
    });
  };  
})(jQuery); ;
/**
 * jquery.scrollFollow.js
 * Copyright (c) 2008 Net Perspective (http://kitchen.net-perspective.com/)
 * Licensed under the MIT License (http://www.opensource.org/licenses/mit-license.php)
 * 
 * @author R.A. Ray
 *
 * @projectDescription	jQuery plugin for allowing an element to animate down as the user scrolls the page.
 * 
 * @version 0.4.0
 * 
 * @requires jquery.js (tested with 1.2.6)
 * @requires ui.core.js (tested with 1.5.2)
 * 
 * @optional jquery.cookie.js (http://www.stilbuero.de/2006/09/17/cookie-plugin-for-jquery/)
 * @optional jquery.easing.js (http://gsgd.co.uk/sandbox/jquery/easing/ - tested with 1.3)
 * 
 * @param speed		int - Duration of animation (in milliseconds)
 * 								default: 500
 * @param offset			int - Number of pixels box should remain from top of viewport
 * 								default: 0
 * @param easing		string - Any one of the easing options from the easing plugin - Requires jQuery Easing Plugin < http://gsgd.co.uk/sandbox/jquery/easing/ >
 * 								default: 'linear'
 * @param container	string - ID of the containing div
 * 								default: box's immediate parent
 * @param killSwitch	string - ID of the On/Off toggle element
 * 								default: 'killSwitch'
 * @param onText		string - killSwitch text to be displayed if sliding is enabled
 * 								default: 'Turn Slide Off'
 * @param offText		string - killSwitch text to be displayed if sliding is disabled
 * 								default: 'Turn Slide On'
 * @param relativeTo	string - Scroll animation can be relative to either the 'top' or 'bottom' of the viewport
 * 								default: 'top'
 * @param delay			int - Time between the end of the scroll and the beginning of the animation in milliseconds
 * 								default: 0
 */

( function( $ ) {
	
	$.scrollFollow = function ( box, options )
	{ 
		// Convert box into a jQuery object
		box = $( box );
		
		// 'box' is the object to be animated
		var position = box.css( 'position' );
		
		function ani()
		{		
			// The script runs on every scroll which really means many times during a scroll.
			// We don't want multiple slides to queue up.
			box.queue( [ ] );
		
			// A bunch of values we need to determine where to animate to
			var viewportHeight = parseInt( $( window ).height() );	
			var pageScroll =  parseInt( $( document ).scrollTop() );
			var parentTop =  parseInt( box.cont.offset().top );
			var parentHeight = parseInt( box.cont.attr( 'offsetHeight' ) );
			var boxHeight = parseInt( box.attr( 'offsetHeight' ) + ( parseInt( box.css( 'marginTop' ) ) || 0 ) + ( parseInt( box.css( 'marginBottom' ) ) || 0 ) );
			var aniTop;
			
			// Make sure the user wants the animation to happen
			if ( isActive )
			{
				// If the box should animate relative to the top of the window
				if ( options.relativeTo == 'top' )
				{
					// Don't animate until the top of the window is close enough to the top of the box
					if ( box.initialOffsetTop >= ( pageScroll + options.offset ) )
					{
						aniTop = box.initialTop;
					}
					else
					{
						aniTop = Math.min( ( Math.max( ( -parentTop ), ( pageScroll - box.initialOffsetTop + box.initialTop ) ) + options.offset ), ( parentHeight - boxHeight - box.paddingAdjustment ) );
					}
				}
				// If the box should animate relative to the bottom of the window
				else if ( options.relativeTo == 'bottom' )
				{
					// Don't animate until the bottom of the window is close enough to the bottom of the box
					if ( ( box.initialOffsetTop + boxHeight ) >= ( pageScroll + options.offset + viewportHeight ) )
					{
						aniTop = box.initialTop;
					}
					else
					{
						aniTop = Math.min( ( pageScroll + viewportHeight - boxHeight - options.offset ), ( parentHeight - boxHeight ) );
					}
				}
				
				// Checks to see if the relevant scroll was the last one
				// "-20" is to account for inaccuracy in the timeout
				if ( ( new Date().getTime() - box.lastScroll ) >= ( options.delay - 20 ) )
				{
					box.animate(
						{
							top: aniTop
						}, options.speed, options.easing
					);
				}
			}
		};
		
		// For user-initiated stopping of the slide
		var isActive = true;
		
		if ( $.cookie != undefined )
		{
			if( $.cookie( 'scrollFollowSetting' + box.attr( 'id' ) ) == 'false' )
			{
				var isActive = false;
				
				$( '#' + options.killSwitch ).text( options.offText )
					.toggle( 
						function ()
						{
							isActive = true;
							
							$( this ).text( options.onText );
							
							$.cookie( 'scrollFollowSetting' + box.attr( 'id' ), true, { expires: 365, path: '/'} );
							
							ani();
						},
						function ()
						{
							isActive = false;
							
							$( this ).text( options.offText );
							
							box.animate(
								{
									top: box.initialTop
								}, options.speed, options.easing
							);	
							
							$.cookie( 'scrollFollowSetting' + box.attr( 'id' ), false, { expires: 365, path: '/'} );
						}
					);
			}
			else
			{
				$( '#' + options.killSwitch ).text( options.onText )
					.toggle( 
						function ()
						{
							isActive = false;
							
							$( this ).text( options.offText );
							
							box.animate(
								{
									top: box.initialTop
								}, 0
							);	
							
							$.cookie( 'scrollFollowSetting' + box.attr( 'id' ), false, { expires: 365, path: '/'} );
						},
						function ()
						{
							isActive = true;
							
							$( this ).text( options.onText );
							
							$.cookie( 'scrollFollowSetting' + box.attr( 'id' ), true, { expires: 365, path: '/'} );
							
							ani();
						}
					);
			}
		}
		
		// If no parent ID was specified, and the immediate parent does not have an ID
		// options.container will be undefined. So we need to figure out the parent element.
		if ( options.container == '')
		{
			box.cont = box.parent();
		}
		else
		{
			box.cont = $( '#' + options.container );
		}
		
		// Finds the default positioning of the box.
		box.initialOffsetTop =  parseInt( box.offset().top );
		box.initialTop = parseInt( box.css( 'top' ) ) || 0;
		
		// Hack to fix different treatment of boxes positioned 'absolute' and 'relative'
		if ( box.css( 'position' ) == 'relative' )
		{
			box.paddingAdjustment = parseInt( box.cont.css( 'paddingTop' ) ) + parseInt( box.cont.css( 'paddingBottom' ) );
		}
		else
		{
			box.paddingAdjustment = 0;
		}
		
		// Animate the box when the page is scrolled
		$( window ).scroll( function ()
			{
				// Sets up the delay of the animation
				$.fn.scrollFollow.interval = setTimeout( function(){ ani();} , options.delay );
				
				// To check against right before setting the animation
				box.lastScroll = new Date().getTime();
			}
		);
		
		// Animate the box when the page is resized
		$( window ).resize( function ()
			{
				// Sets up the delay of the animation
				$.fn.scrollFollow.interval = setTimeout( function(){ ani();} , options.delay );
				
				// To check against right before setting the animation
				box.lastScroll = new Date().getTime();
			}
		);

		// Run an initial animation on page load
		box.lastScroll = 0;
		
		ani();
	};
	
	$.fn.scrollFollow = function ( options )
	{
		options = options || {};
		options.relativeTo = options.relativeTo || 'top';
		options.speed = options.speed || 500;
		options.offset = options.offset || 0;
		options.easing = options.easing || 'swing';
		options.container = options.container || this.parent().attr( 'id' );
		options.killSwitch = options.killSwitch || 'killSwitch';
		options.onText = options.onText || 'Turn Slide Off';
		options.offText = options.offText || 'Turn Slide On';
		options.delay = options.delay || 0;
		
		this.each( function() 
			{
				new $.scrollFollow( this, options );
			}
		);
		
		return this;
	};
})( jQuery );



;
/*
 * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
 *
 * Uses the built in easing capabilities added In jQuery 1.1
 * to offer multiple easing options
 *
 * TERMS OF USE - jQuery Easing
 * 
 * Open source under the BSD License. 
 * 
 * Copyright Â© 2008 George McGinley Smith
 * All rights reserved.
 * 
 * Redistribution and use in source and binary forms, with or without modification, 
 * are permitted provided that the following conditions are met:
 * 
 * Redistributions of source code must retain the above copyright notice, this list of 
 * conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright notice, this list 
 * of conditions and the following disclaimer in the documentation and/or other materials 
 * provided with the distribution.
 * 
 * Neither the name of the author nor the names of contributors may be used to endorse 
 * or promote products derived from this software without specific prior written permission.
 * 
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
 *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 *  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 
 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 
 * OF THE POSSIBILITY OF SUCH DAMAGE. 
 *
*/

// t: current time, b: begInnIng value, c: change In value, d: duration
jQuery.easing['jswing'] = jQuery.easing['swing'];

jQuery.extend( jQuery.easing,
{
	def: 'easeOutQuad',
	swing: function (x, t, b, c, d) {
		//alert(jQuery.easing.default);
		return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
	},
	easeInQuad: function (x, t, b, c, d) {
		return c*(t/=d)*t + b;
	},
	easeOutQuad: function (x, t, b, c, d) {
		return -c *(t/=d)*(t-2) + b;
	},
	easeInOutQuad: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return c/2*t*t + b;
		return -c/2 * ((--t)*(t-2) - 1) + b;
	},
	easeInCubic: function (x, t, b, c, d) {
		return c*(t/=d)*t*t + b;
	},
	easeOutCubic: function (x, t, b, c, d) {
		return c*((t=t/d-1)*t*t + 1) + b;
	},
	easeInOutCubic: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return c/2*t*t*t + b;
		return c/2*((t-=2)*t*t + 2) + b;
	},
	easeInQuart: function (x, t, b, c, d) {
		return c*(t/=d)*t*t*t + b;
	},
	easeOutQuart: function (x, t, b, c, d) {
		return -c * ((t=t/d-1)*t*t*t - 1) + b;
	},
	easeInOutQuart: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
		return -c/2 * ((t-=2)*t*t*t - 2) + b;
	},
	easeInQuint: function (x, t, b, c, d) {
		return c*(t/=d)*t*t*t*t + b;
	},
	easeOutQuint: function (x, t, b, c, d) {
		return c*((t=t/d-1)*t*t*t*t + 1) + b;
	},
	easeInOutQuint: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
		return c/2*((t-=2)*t*t*t*t + 2) + b;
	},
	easeInSine: function (x, t, b, c, d) {
		return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
	},
	easeOutSine: function (x, t, b, c, d) {
		return c * Math.sin(t/d * (Math.PI/2)) + b;
	},
	easeInOutSine: function (x, t, b, c, d) {
		return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
	},
	easeInExpo: function (x, t, b, c, d) {
		return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
	},
	easeOutExpo: function (x, t, b, c, d) {
		return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
	},
	easeInOutExpo: function (x, t, b, c, d) {
		if (t==0) return b;
		if (t==d) return b+c;
		if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
		return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
	},
	easeInCirc: function (x, t, b, c, d) {
		return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
	},
	easeOutCirc: function (x, t, b, c, d) {
		return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
	},
	easeInOutCirc: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
		return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
	},
	easeInElastic: function (x, t, b, c, d) {
		var s=1.70158;var p=0;var a=c;
		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
		if (a < Math.abs(c)) { a=c; var s=p/4; }
		else var s = p/(2*Math.PI) * Math.asin (c/a);
		return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
	},
	easeOutElastic: function (x, t, b, c, d) {
		var s=1.70158;var p=0;var a=c;
		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
		if (a < Math.abs(c)) { a=c; var s=p/4; }
		else var s = p/(2*Math.PI) * Math.asin (c/a);
		return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
	},
	easeInOutElastic: function (x, t, b, c, d) {
		var s=1.70158;var p=0;var a=c;
		if (t==0) return b;  if ((t/=d/2)==2) return b+c;  if (!p) p=d*(.3*1.5);
		if (a < Math.abs(c)) { a=c; var s=p/4; }
		else var s = p/(2*Math.PI) * Math.asin (c/a);
		if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
		return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
	},
	easeInBack: function (x, t, b, c, d, s) {
		if (s == undefined) s = 1.70158;
		return c*(t/=d)*t*((s+1)*t - s) + b;
	},
	easeOutBack: function (x, t, b, c, d, s) {
		if (s == undefined) s = 1.70158;
		return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
	},
	easeInOutBack: function (x, t, b, c, d, s) {
		if (s == undefined) s = 1.70158; 
		if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
		return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
	},
	easeInBounce: function (x, t, b, c, d) {
		return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
	},
	easeOutBounce: function (x, t, b, c, d) {
		if ((t/=d) < (1/2.75)) {
			return c*(7.5625*t*t) + b;
		} else if (t < (2/2.75)) {
			return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
		} else if (t < (2.5/2.75)) {
			return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
		} else {
			return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
		}
	},
	easeInOutBounce: function (x, t, b, c, d) {
		if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
		return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
	}
});

/*
 *
 * TERMS OF USE - EASING EQUATIONS
 * 
 * Open source under the BSD License. 
 * 
 * Copyright Â© 2001 Robert Penner
 * All rights reserved.
 * 
 * Redistribution and use in source and binary forms, with or without modification, 
 * are permitted provided that the following conditions are met:
 * 
 * Redistributions of source code must retain the above copyright notice, this list of 
 * conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright notice, this list 
 * of conditions and the following disclaimer in the documentation and/or other materials 
 * provided with the distribution.
 * 
 * Neither the name of the author nor the names of contributors may be used to endorse 
 * or promote products derived from this software without specific prior written permission.
 * 
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
 *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 *  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 
 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 
 * OF THE POSSIBILITY OF SUCH DAMAGE. 
 *
 */;
/**
 * The config for the AddThis services.
 * http://www.addthis.com/help/client-api
 * http://www.addthis.com/services/list
 */
var addthis_config = {
  'username': 'oddhill',
  'services_compact': 'delicious,digg,google,tumblr,email,favorites,googlebuzz,linkedin,pingfm,instapaper,stumbleupon,more',
  'ui_header_color': '#FFF',
  'ui_header_background': '#CCC',
  'ui_cobrand': 'Bocenter',
  'data_track_clickback': true
};;
/*
 * Copyright (c) 2009 Simo Kinnunen.
 * Licensed under the MIT license.
 *
 * @version 1.09i
 */
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("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.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}})());;
/*
 * jQuery validation plug-in 1.6
 *
 * http://bassistance.de/jquery-plugins/jquery-plugin-validation/
 * http://docs.jquery.com/Plugins/Validation
 *
 * Copyright (c) 2006 - 2008 JĂ¶rn Zaefferer
 *
 * $Id: jquery.validate.js 6403 2009-06-17 14:27:16Z joern.zaefferer $
 *
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */
(function($){$.extend($.fn,{validate:function(options){if(!this.length){options&&options.debug&&window.console&&console.warn("nothing selected, can't validate, returning nothing");return;}var validator=$.data(this[0],'validator');if(validator){return validator;}validator=new $.validator(options,this[0]);$.data(this[0],'validator',validator);if(validator.settings.onsubmit){this.find("input, button").filter(".cancel").click(function(){validator.cancelSubmit=true;});if(validator.settings.submitHandler){this.find("input, button").filter(":submit").click(function(){validator.submitButton=this;});}this.submit(function(event){if(validator.settings.debug)event.preventDefault();function handle(){if(validator.settings.submitHandler){if(validator.submitButton){var hidden=$("<input type='hidden'/>").attr("name",validator.submitButton.name).val(validator.submitButton.value).appendTo(validator.currentForm);}validator.settings.submitHandler.call(validator,validator.currentForm);if(validator.submitButton){hidden.remove();}return false;}return true;}if(validator.cancelSubmit){validator.cancelSubmit=false;return handle();}if(validator.form()){if(validator.pendingRequest){validator.formSubmitted=true;return false;}return handle();}else{validator.focusInvalid();return false;}});}return validator;},valid:function(){if($(this[0]).is('form')){return this.validate().form();}else{var valid=true;var validator=$(this[0].form).validate();this.each(function(){valid&=validator.element(this);});return valid;}},removeAttrs:function(attributes){var result={},$element=this;$.each(attributes.split(/\s/),function(index,value){result[value]=$element.attr(value);$element.removeAttr(value);});return result;},rules:function(command,argument){var element=this[0];if(command){var settings=$.data(element.form,'validator').settings;var staticRules=settings.rules;var existingRules=$.validator.staticRules(element);switch(command){case"add":$.extend(existingRules,$.validator.normalizeRule(argument));staticRules[element.name]=existingRules;if(argument.messages)settings.messages[element.name]=$.extend(settings.messages[element.name],argument.messages);break;case"remove":if(!argument){delete staticRules[element.name];return existingRules;}var filtered={};$.each(argument.split(/\s/),function(index,method){filtered[method]=existingRules[method];delete existingRules[method];});return filtered;}}var data=$.validator.normalizeRules($.extend({},$.validator.metadataRules(element),$.validator.classRules(element),$.validator.attributeRules(element),$.validator.staticRules(element)),element);if(data.required){var param=data.required;delete data.required;data=$.extend({required:param},data);}return data;}});$.extend($.expr[":"],{blank:function(a){return!$.trim(""+a.value);},filled:function(a){return!!$.trim(""+a.value);},unchecked:function(a){return!a.checked;}});$.validator=function(options,form){this.settings=$.extend({},$.validator.defaults,options);this.currentForm=form;this.init();};$.validator.format=function(source,params){if(arguments.length==1)return function(){var args=$.makeArray(arguments);args.unshift(source);return $.validator.format.apply(this,args);};if(arguments.length>2&&params.constructor!=Array){params=$.makeArray(arguments).slice(1);}if(params.constructor!=Array){params=[params];}$.each(params,function(i,n){source=source.replace(new RegExp("\\{"+i+"\\}","g"),n);});return source;};$.extend($.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusInvalid:true,errorContainer:$([]),errorLabelContainer:$([]),onsubmit:true,ignore:[],ignoreTitle:false,onfocusin:function(element){this.lastActive=element;if(this.settings.focusCleanup&&!this.blockFocusCleanup){this.settings.unhighlight&&this.settings.unhighlight.call(this,element,this.settings.errorClass,this.settings.validClass);this.errorsFor(element).hide();}},onfocusout:function(element){if(!this.checkable(element)&&(element.name in this.submitted||!this.optional(element))){this.element(element);}},onkeyup:function(element){if(element.name in this.submitted||element==this.lastElement){this.element(element);}},onclick:function(element){if(element.name in this.submitted)this.element(element);else if(element.parentNode.name in this.submitted)this.element(element.parentNode)},highlight:function(element,errorClass,validClass){$(element).addClass(errorClass).removeClass(validClass);},unhighlight:function(element,errorClass,validClass){$(element).removeClass(errorClass).addClass(validClass);}},setDefaults:function(settings){$.extend($.validator.defaults,settings);},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",accept:"Please enter a value with a valid extension.",maxlength:$.validator.format("Please enter no more than {0} characters."),minlength:$.validator.format("Please enter at least {0} characters."),rangelength:$.validator.format("Please enter a value between {0} and {1} characters long."),range:$.validator.format("Please enter a value between {0} and {1}."),max:$.validator.format("Please enter a value less than or equal to {0}."),min:$.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:false,prototype:{init:function(){this.labelContainer=$(this.settings.errorLabelContainer);this.errorContext=this.labelContainer.length&&this.labelContainer||$(this.currentForm);this.containers=$(this.settings.errorContainer).add(this.settings.errorLabelContainer);this.submitted={};this.valueCache={};this.pendingRequest=0;this.pending={};this.invalid={};this.reset();var groups=(this.groups={});$.each(this.settings.groups,function(key,value){$.each(value.split(/\s/),function(index,name){groups[name]=key;});});var rules=this.settings.rules;$.each(rules,function(key,value){rules[key]=$.validator.normalizeRule(value);});function delegate(event){var validator=$.data(this[0].form,"validator");validator.settings["on"+event.type]&&validator.settings["on"+event.type].call(validator,this[0]);}$(this.currentForm).delegate("focusin focusout keyup",":text, :password, :file, select, textarea",delegate).delegate("click",":radio, :checkbox, select, option",delegate);if(this.settings.invalidHandler)$(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler);},form:function(){this.checkForm();$.extend(this.submitted,this.errorMap);this.invalid=$.extend({},this.errorMap);if(!this.valid())$(this.currentForm).triggerHandler("invalid-form",[this]);this.showErrors();return this.valid();},checkForm:function(){this.prepareForm();for(var i=0,elements=(this.currentElements=this.elements());elements[i];i++){this.check(elements[i]);}return this.valid();},element:function(element){element=this.clean(element);this.lastElement=element;this.prepareElement(element);this.currentElements=$(element);var result=this.check(element);if(result){delete this.invalid[element.name];}else{this.invalid[element.name]=true;}if(!this.numberOfInvalids()){this.toHide=this.toHide.add(this.containers);}this.showErrors();return result;},showErrors:function(errors){if(errors){$.extend(this.errorMap,errors);this.errorList=[];for(var name in errors){this.errorList.push({message:errors[name],element:this.findByName(name)[0]});}this.successList=$.grep(this.successList,function(element){return!(element.name in errors);});}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors();},resetForm:function(){if($.fn.resetForm)$(this.currentForm).resetForm();this.submitted={};this.prepareForm();this.hideErrors();this.elements().removeClass(this.settings.errorClass);},numberOfInvalids:function(){return this.objectLength(this.invalid);},objectLength:function(obj){var count=0;for(var i in obj)count++;return count;},hideErrors:function(){this.addWrapper(this.toHide).hide();},valid:function(){return this.size()==0;},size:function(){return this.errorList.length;},focusInvalid:function(){if(this.settings.focusInvalid){try{$(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus();}catch(e){}}},findLastActive:function(){var lastActive=this.lastActive;return lastActive&&$.grep(this.errorList,function(n){return n.element.name==lastActive.name;}).length==1&&lastActive;},elements:function(){var validator=this,rulesCache={};return $([]).add(this.currentForm.elements).filter(":input").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){!this.name&&validator.settings.debug&&window.console&&console.error("%o has no name assigned",this);if(this.name in rulesCache||!validator.objectLength($(this).rules()))return false;rulesCache[this.name]=true;return true;});},clean:function(selector){return $(selector)[0];},errors:function(){return $(this.settings.errorElement+"."+this.settings.errorClass,this.errorContext);},reset:function(){this.successList=[];this.errorList=[];this.errorMap={};this.toShow=$([]);this.toHide=$([]);this.currentElements=$([]);},prepareForm:function(){this.reset();this.toHide=this.errors().add(this.containers);},prepareElement:function(element){this.reset();this.toHide=this.errorsFor(element);},check:function(element){element=this.clean(element);if(this.checkable(element)){element=this.findByName(element.name)[0];}var rules=$(element).rules();var dependencyMismatch=false;for(method in rules){var rule={method:method,parameters:rules[method]};try{var result=$.validator.methods[method].call(this,element.value.replace(/\r/g,""),element,rule.parameters);if(result=="dependency-mismatch"){dependencyMismatch=true;continue;}dependencyMismatch=false;if(result=="pending"){this.toHide=this.toHide.not(this.errorsFor(element));return;}if(!result){this.formatAndAdd(element,rule);return false;}}catch(e){this.settings.debug&&window.console&&console.log("exception occured when checking element "+element.id
+", check the '"+rule.method+"' method",e);throw e;}}if(dependencyMismatch)return;if(this.objectLength(rules))this.successList.push(element);return true;},customMetaMessage:function(element,method){if(!$.metadata)return;var meta=this.settings.meta?$(element).metadata()[this.settings.meta]:$(element).metadata();return meta&&meta.messages&&meta.messages[method];},customMessage:function(name,method){var m=this.settings.messages[name];return m&&(m.constructor==String?m:m[method]);},findDefined:function(){for(var i=0;i<arguments.length;i++){if(arguments[i]!==undefined)return arguments[i];}return undefined;},defaultMessage:function(element,method){return this.findDefined(this.customMessage(element.name,method),this.customMetaMessage(element,method),!this.settings.ignoreTitle&&element.title||undefined,$.validator.messages[method],"<strong>Warning: No message defined for "+element.name+"</strong>");},formatAndAdd:function(element,rule){var message=this.defaultMessage(element,rule.method),theregex=/\$?\{(\d+)\}/g;if(typeof message=="function"){message=message.call(this,rule.parameters,element);}else if(theregex.test(message)){message=jQuery.format(message.replace(theregex,'{$1}'),rule.parameters);}this.errorList.push({message:message,element:element});this.errorMap[element.name]=message;this.submitted[element.name]=message;},addWrapper:function(toToggle){if(this.settings.wrapper)toToggle=toToggle.add(toToggle.parent(this.settings.wrapper));return toToggle;},defaultShowErrors:function(){for(var i=0;this.errorList[i];i++){var error=this.errorList[i];this.settings.highlight&&this.settings.highlight.call(this,error.element,this.settings.errorClass,this.settings.validClass);this.showLabel(error.element,error.message);}if(this.errorList.length){this.toShow=this.toShow.add(this.containers);}if(this.settings.success){for(var i=0;this.successList[i];i++){this.showLabel(this.successList[i]);}}if(this.settings.unhighlight){for(var i=0,elements=this.validElements();elements[i];i++){this.settings.unhighlight.call(this,elements[i],this.settings.errorClass,this.settings.validClass);}}this.toHide=this.toHide.not(this.toShow);this.hideErrors();this.addWrapper(this.toShow).show();},validElements:function(){return this.currentElements.not(this.invalidElements());},invalidElements:function(){return $(this.errorList).map(function(){return this.element;});},showLabel:function(element,message){var label=this.errorsFor(element);if(label.length){label.removeClass().addClass(this.settings.errorClass);label.attr("generated")&&label.html(message);}else{label=$("<"+this.settings.errorElement+"/>").attr({"for":this.idOrName(element),generated:true}).addClass(this.settings.errorClass).html(message||"");if(this.settings.wrapper){label=label.hide().show().wrap("<"+this.settings.wrapper+"/>").parent();}if(!this.labelContainer.append(label).length)this.settings.errorPlacement?this.settings.errorPlacement(label,$(element)):label.insertAfter(element);}if(!message&&this.settings.success){label.text("");typeof this.settings.success=="string"?label.addClass(this.settings.success):this.settings.success(label);}this.toShow=this.toShow.add(label);},errorsFor:function(element){var name=this.idOrName(element);return this.errors().filter(function(){return $(this).attr('for')==name});},idOrName:function(element){return this.groups[element.name]||(this.checkable(element)?element.name:element.id||element.name);},checkable:function(element){return/radio|checkbox/i.test(element.type);},findByName:function(name){var form=this.currentForm;return $(document.getElementsByName(name)).map(function(index,element){return element.form==form&&element.name==name&&element||null;});},getLength:function(value,element){switch(element.nodeName.toLowerCase()){case'select':return $("option:selected",element).length;case'input':if(this.checkable(element))return this.findByName(element.name).filter(':checked').length;}return value.length;},depend:function(param,element){return this.dependTypes[typeof param]?this.dependTypes[typeof param](param,element):true;},dependTypes:{"boolean":function(param,element){return param;},"string":function(param,element){return!!$(param,element.form).length;},"function":function(param,element){return param(element);}},optional:function(element){return!$.validator.methods.required.call(this,$.trim(element.value),element)&&"dependency-mismatch";},startRequest:function(element){if(!this.pending[element.name]){this.pendingRequest++;this.pending[element.name]=true;}},stopRequest:function(element,valid){this.pendingRequest--;if(this.pendingRequest<0)this.pendingRequest=0;delete this.pending[element.name];if(valid&&this.pendingRequest==0&&this.formSubmitted&&this.form()){$(this.currentForm).submit();this.formSubmitted=false;}else if(!valid&&this.pendingRequest==0&&this.formSubmitted){$(this.currentForm).triggerHandler("invalid-form",[this]);this.formSubmitted=false;}},previousValue:function(element){return $.data(element,"previousValue")||$.data(element,"previousValue",{old:null,valid:true,message:this.defaultMessage(element,"remote")});}},classRuleSettings:{required:{required:true},email:{email:true},url:{url:true},date:{date:true},dateISO:{dateISO:true},dateDE:{dateDE:true},number:{number:true},numberDE:{numberDE:true},digits:{digits:true},creditcard:{creditcard:true}},addClassRules:function(className,rules){className.constructor==String?this.classRuleSettings[className]=rules:$.extend(this.classRuleSettings,className);},classRules:function(element){var rules={};var classes=$(element).attr('class');classes&&$.each(classes.split(' '),function(){if(this in $.validator.classRuleSettings){$.extend(rules,$.validator.classRuleSettings[this]);}});return rules;},attributeRules:function(element){var rules={};var $element=$(element);for(method in $.validator.methods){var value=$element.attr(method);if(value){rules[method]=value;}}if(rules.maxlength&&/-1|2147483647|524288/.test(rules.maxlength)){delete rules.maxlength;}return rules;},metadataRules:function(element){if(!$.metadata)return{};var meta=$.data(element.form,'validator').settings.meta;return meta?$(element).metadata()[meta]:$(element).metadata();},staticRules:function(element){var rules={};var validator=$.data(element.form,'validator');if(validator.settings.rules){rules=$.validator.normalizeRule(validator.settings.rules[element.name])||{};}return rules;},normalizeRules:function(rules,element){$.each(rules,function(prop,val){if(val===false){delete rules[prop];return;}if(val.param||val.depends){var keepRule=true;switch(typeof val.depends){case"string":keepRule=!!$(val.depends,element.form).length;break;case"function":keepRule=val.depends.call(element,element);break;}if(keepRule){rules[prop]=val.param!==undefined?val.param:true;}else{delete rules[prop];}}});$.each(rules,function(rule,parameter){rules[rule]=$.isFunction(parameter)?parameter(element):parameter;});$.each(['minlength','maxlength','min','max'],function(){if(rules[this]){rules[this]=Number(rules[this]);}});$.each(['rangelength','range'],function(){if(rules[this]){rules[this]=[Number(rules[this][0]),Number(rules[this][1])];}});if($.validator.autoCreateRanges){if(rules.min&&rules.max){rules.range=[rules.min,rules.max];delete rules.min;delete rules.max;}if(rules.minlength&&rules.maxlength){rules.rangelength=[rules.minlength,rules.maxlength];delete rules.minlength;delete rules.maxlength;}}if(rules.messages){delete rules.messages}return rules;},normalizeRule:function(data){if(typeof data=="string"){var transformed={};$.each(data.split(/\s/),function(){transformed[this]=true;});data=transformed;}return data;},addMethod:function(name,method,message){$.validator.methods[name]=method;$.validator.messages[name]=message!=undefined?message:$.validator.messages[name];if(method.length<3){$.validator.addClassRules(name,$.validator.normalizeRule(name));}},methods:{required:function(value,element,param){if(!this.depend(param,element))return"dependency-mismatch";switch(element.nodeName.toLowerCase()){case'select':var val=$(element).val();return val&&val.length>0;case'input':if(this.checkable(element))return this.getLength(value,element)>0;default:return $.trim(value).length>0;}},remote:function(value,element,param){if(this.optional(element))return"dependency-mismatch";var previous=this.previousValue(element);if(!this.settings.messages[element.name])this.settings.messages[element.name]={};previous.originalMessage=this.settings.messages[element.name].remote;this.settings.messages[element.name].remote=previous.message;param=typeof param=="string"&&{url:param}||param;if(previous.old!==value){previous.old=value;var validator=this;this.startRequest(element);var data={};data[element.name]=value;$.ajax($.extend(true,{url:param,mode:"abort",port:"validate"+element.name,dataType:"json",data:data,success:function(response){validator.settings.messages[element.name].remote=previous.originalMessage;var valid=response===true;if(valid){var submitted=validator.formSubmitted;validator.prepareElement(element);validator.formSubmitted=submitted;validator.successList.push(element);validator.showErrors();}else{var errors={};var message=(previous.message=response||validator.defaultMessage(element,"remote"));errors[element.name]=$.isFunction(message)?message(value):message;validator.showErrors(errors);}previous.valid=valid;validator.stopRequest(element,valid);}},param));return"pending";}else if(this.pending[element.name]){return"pending";}return previous.valid;},minlength:function(value,element,param){return this.optional(element)||this.getLength($.trim(value),element)>=param;},maxlength:function(value,element,param){return this.optional(element)||this.getLength($.trim(value),element)<=param;},rangelength:function(value,element,param){var length=this.getLength($.trim(value),element);return this.optional(element)||(length>=param[0]&&length<=param[1]);},min:function(value,element,param){return this.optional(element)||value>=param;},max:function(value,element,param){return this.optional(element)||value<=param;},range:function(value,element,param){return this.optional(element)||(value>=param[0]&&value<=param[1]);},email:function(value,element){return this.optional(element)||/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i.test(value);},url:function(value,element){return this.optional(element)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(value);},date:function(value,element){return this.optional(element)||!/Invalid|NaN/.test(new Date(value));},dateISO:function(value,element){return this.optional(element)||/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(value);},number:function(value,element){return this.optional(element)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test(value);},digits:function(value,element){return this.optional(element)||/^\d+$/.test(value);},creditcard:function(value,element){if(this.optional(element))return"dependency-mismatch";if(/[^0-9-]+/.test(value))return false;var nCheck=0,nDigit=0,bEven=false;value=value.replace(/\D/g,"");for(var n=value.length-1;n>=0;n--){var cDigit=value.charAt(n);var nDigit=parseInt(cDigit,10);if(bEven){if((nDigit*=2)>9)nDigit-=9;}nCheck+=nDigit;bEven=!bEven;}return(nCheck%10)==0;},accept:function(value,element,param){param=typeof param=="string"?param.replace(/,/g,'|'):"png|jpe?g|gif";return this.optional(element)||value.match(new RegExp(".("+param+")$","i"));},equalTo:function(value,element,param){var target=$(param).unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){$(element).valid();});return value==target.val();}}});$.format=$.validator.format;})(jQuery);;(function($){var ajax=$.ajax;var pendingRequests={};$.ajax=function(settings){settings=$.extend(settings,$.extend({},$.ajaxSettings,settings));var port=settings.port;if(settings.mode=="abort"){if(pendingRequests[port]){pendingRequests[port].abort();}return(pendingRequests[port]=ajax.apply(this,arguments));}return ajax.apply(this,arguments);};})(jQuery);;(function($){$.each({focus:'focusin',blur:'focusout'},function(original,fix){$.event.special[fix]={setup:function(){if($.browser.msie)return false;this.addEventListener(original,$.event.special[fix].handler,true);},teardown:function(){if($.browser.msie)return false;this.removeEventListener(original,$.event.special[fix].handler,true);},handler:function(e){arguments[0]=$.event.fix(e);arguments[0].type=fix;return $.event.handle.apply(this,arguments);}};});$.extend($.fn,{delegate:function(type,delegate,handler){return this.bind(type,function(event){var target=$(event.target);if(target.is(delegate)){return handler.apply(target,arguments);}});},triggerEvent:function(type,target){return this.triggerHandler(type,[$.event.fix({type:type,target:target})]);}})})(jQuery);;
/*!
 * jQuery Form Plugin
 * version: 2.47 (04-SEP-2010)
 * @requires jQuery v1.3.2 or later
 *
 * Examples and documentation at: http://malsup.com/jquery/form/
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */
;(function($) {

/*
	Usage Note:
	-----------
	Do not use both ajaxSubmit and ajaxForm on the same form.  These
	functions are intended to be exclusive.  Use ajaxSubmit if you want
	to bind your own submit handler to the form.  For example,

	$(document).ready(function() {
		$('#myForm').bind('submit', function() {
			$(this).ajaxSubmit({
				target: '#output'
			});
			return false; // <-- important!
		});
	});

	Use ajaxForm when you want the plugin to manage all the event binding
	for you.  For example,

	$(document).ready(function() {
		$('#myForm').ajaxForm({
			target: '#output'
		});
	});

	When using ajaxForm, the ajaxSubmit function will be invoked for you
	at the appropriate time.
*/

/**
 * ajaxSubmit() provides a mechanism for immediately submitting
 * an HTML form using AJAX.
 */
$.fn.ajaxSubmit = function(options) {
	// fast fail if nothing selected (http://dev.jquery.com/ticket/2752)
	if (!this.length) {
		log('ajaxSubmit: skipping submit process - no element selected');
		return this;
	}

	if (typeof options == 'function') {
		options = { success: options };
	}

	var url = $.trim(this.attr('action'));
	if (url) {
		// clean url (don't include hash vaue)
		url = (url.match(/^([^#]+)/)||[])[1];
	}
	url = url || window.location.href || '';

	options = $.extend(true, {
		url:  url,
		type: this.attr('method') || 'GET',
		iframeSrc: /^https/i.test(window.location.href || '') ? 'javascript:false' : 'about:blank'
	}, options);

	// hook for manipulating the form data before it is extracted;
	// convenient for use with rich editors like tinyMCE or FCKEditor
	var veto = {};
	this.trigger('form-pre-serialize', [this, options, veto]);
	if (veto.veto) {
		log('ajaxSubmit: submit vetoed via form-pre-serialize trigger');
		return this;
	}

	// provide opportunity to alter form data before it is serialized
	if (options.beforeSerialize && options.beforeSerialize(this, options) === false) {
		log('ajaxSubmit: submit aborted via beforeSerialize callback');
		return this;
	}

	var n,v,a = this.formToArray(options.semantic);
	if (options.data) {
		options.extraData = options.data;
		for (n in options.data) {
			if(options.data[n] instanceof Array) {
				for (var k in options.data[n]) {
					a.push( { name: n, value: options.data[n][k] } );
				}
			}
			else {
				v = options.data[n];
				v = $.isFunction(v) ? v() : v; // if value is fn, invoke it
				a.push( { name: n, value: v } );
			}
		}
	}

	// give pre-submit callback an opportunity to abort the submit
	if (options.beforeSubmit && options.beforeSubmit(a, this, options) === false) {
		log('ajaxSubmit: submit aborted via beforeSubmit callback');
		return this;
	}

	// fire vetoable 'validate' event
	this.trigger('form-submit-validate', [a, this, options, veto]);
	if (veto.veto) {
		log('ajaxSubmit: submit vetoed via form-submit-validate trigger');
		return this;
	}

	var q = $.param(a);

	if (options.type.toUpperCase() == 'GET') {
		options.url += (options.url.indexOf('?') >= 0 ? '&' : '?') + q;
		options.data = null;  // data is null for 'get'
	}
	else {
		options.data = q; // data is the query string for 'post'
	}

	var $form = this, callbacks = [];
	if (options.resetForm) {
		callbacks.push(function() { $form.resetForm(); });
	}
	if (options.clearForm) {
		callbacks.push(function() { $form.clearForm(); });
	}

	// perform a load on the target only if dataType is not provided
	if (!options.dataType && options.target) {
		var oldSuccess = options.success || function(){};
		callbacks.push(function(data) {
			var fn = options.replaceTarget ? 'replaceWith' : 'html';
			$(options.target)[fn](data).each(oldSuccess, arguments);
		});
	}
	else if (options.success) {
		callbacks.push(options.success);
	}

	options.success = function(data, status, xhr) { // jQuery 1.4+ passes xhr as 3rd arg
		var context = options.context || options;   // jQuery 1.4+ supports scope context 
		for (var i=0, max=callbacks.length; i < max; i++) {
			callbacks[i].apply(context, [data, status, xhr || $form, $form]);
		}
	};

	// are there files to upload?
	var fileInputs = $('input:file', this).length > 0;
	var mp = 'multipart/form-data';
	var multipart = ($form.attr('enctype') == mp || $form.attr('encoding') == mp);

	// options.iframe allows user to force iframe mode
	// 06-NOV-09: now defaulting to iframe mode if file input is detected
   if (options.iframe !== false && (fileInputs || options.iframe || multipart)) {
	   // hack to fix Safari hang (thanks to Tim Molendijk for this)
	   // see:  http://groups.google.com/group/jquery-dev/browse_thread/thread/36395b7ab510dd5d
	   if (options.closeKeepAlive) {
		   $.get(options.closeKeepAlive, fileUpload);
		}
	   else {
		   fileUpload();
		}
   }
   else {
	   $.ajax(options);
   }

	// fire 'notify' event
	this.trigger('form-submit-notify', [this, options]);
	return this;


	// private function for handling file uploads (hat tip to YAHOO!)
	function fileUpload() {
		var form = $form[0];

		if ($(':input[name=submit],:input[id=submit]', form).length) {
			// if there is an input with a name or id of 'submit' then we won't be
			// able to invoke the submit fn on the form (at least not x-browser)
			alert('Error: Form elements must not have name or id of "submit".');
			return;
		}
		
		var s = $.extend(true, {}, $.ajaxSettings, options);
		s.context = s.context || s;
		var id = 'jqFormIO' + (new Date().getTime()), fn = '_'+id;
		window[fn] = function() {
			var f = $io.data('form-plugin-onload');
			if (f) {
				f();
				window[fn] = undefined;
				try { delete window[fn]; } catch(e){}
			}
		}
		var $io = $('<iframe id="' + id + '" name="' + id + '" src="'+ s.iframeSrc +'" onload="window[\'_\'+this.id]()" />');
		var io = $io[0];

		$io.css({ position: 'absolute', top: '-1000px', left: '-1000px' });

		var xhr = { // mock object
			aborted: 0,
			responseText: null,
			responseXML: null,
			status: 0,
			statusText: 'n/a',
			getAllResponseHeaders: function() {},
			getResponseHeader: function() {},
			setRequestHeader: function() {},
			abort: function() {
				this.aborted = 1;
				$io.attr('src', s.iframeSrc); // abort op in progress
			}
		};

		var g = s.global;
		// trigger ajax global events so that activity/block indicators work like normal
		if (g && ! $.active++) {
			$.event.trigger("ajaxStart");
		}
		if (g) {
			$.event.trigger("ajaxSend", [xhr, s]);
		}

		if (s.beforeSend && s.beforeSend.call(s.context, xhr, s) === false) {
			if (s.global) { 
				$.active--;
			}
			return;
		}
		if (xhr.aborted) {
			return;
		}

		var cbInvoked = false;
		var timedOut = 0;

		// add submitting element to data if we know it
		var sub = form.clk;
		if (sub) {
			var n = sub.name;
			if (n && !sub.disabled) {
				s.extraData = s.extraData || {};
				s.extraData[n] = sub.value;
				if (sub.type == "image") {
					s.extraData[n+'.x'] = form.clk_x;
					s.extraData[n+'.y'] = form.clk_y;
				}
			}
		}

		// take a breath so that pending repaints get some cpu time before the upload starts
		function doSubmit() {
			// make sure form attrs are set
			var t = $form.attr('target'), a = $form.attr('action');

			// update form attrs in IE friendly way
			form.setAttribute('target',id);
			if (form.getAttribute('method') != 'POST') {
				form.setAttribute('method', 'POST');
			}
			if (form.getAttribute('action') != s.url) {
				form.setAttribute('action', s.url);
			}

			// ie borks in some cases when setting encoding
			if (! s.skipEncodingOverride) {
				$form.attr({
					encoding: 'multipart/form-data',
					enctype:  'multipart/form-data'
				});
			}

			// support timout
			if (s.timeout) {
				setTimeout(function() { timedOut = true; cb(); }, s.timeout);
			}

			// add "extra" data to form if provided in options
			var extraInputs = [];
			try {
				if (s.extraData) {
					for (var n in s.extraData) {
						extraInputs.push(
							$('<input type="hidden" name="'+n+'" value="'+s.extraData[n]+'" />')
								.appendTo(form)[0]);
					}
				}

				// add iframe to doc and submit the form
				$io.appendTo('body');
				$io.data('form-plugin-onload', cb);
				form.submit();
			}
			finally {
				// reset attrs and remove "extra" input elements
				form.setAttribute('action',a);
				if(t) {
					form.setAttribute('target', t);
				} else {
					$form.removeAttr('target');
				}
				$(extraInputs).remove();
			}
		}

		if (s.forceSync) {
			doSubmit();
		}
		else {
			setTimeout(doSubmit, 10); // this lets dom updates render
		}
	
		var data, doc, domCheckCount = 50;

		function cb() {
			if (cbInvoked) {
				return;
			}

			$io.removeData('form-plugin-onload');
			
			var ok = true;
			try {
				if (timedOut) {
					throw 'timeout';
				}
				// extract the server response from the iframe
				doc = io.contentWindow ? io.contentWindow.document : io.contentDocument ? io.contentDocument : io.document;
				
				var isXml = s.dataType == 'xml' || doc.XMLDocument || $.isXMLDoc(doc);
				log('isXml='+isXml);
				if (!isXml && window.opera && (doc.body == null || doc.body.innerHTML == '')) {
					if (--domCheckCount) {
						// in some browsers (Opera) the iframe DOM is not always traversable when
						// the onload callback fires, so we loop a bit to accommodate
						log('requeing onLoad callback, DOM not available');
						setTimeout(cb, 250);
						return;
					}
					// let this fall through because server response could be an empty document
					//log('Could not access iframe DOM after mutiple tries.');
					//throw 'DOMException: not available';
				}

				//log('response detected');
				cbInvoked = true;
				xhr.responseText = doc.documentElement ? doc.documentElement.innerHTML : null; 
				xhr.responseXML = doc.XMLDocument ? doc.XMLDocument : doc;
				xhr.getResponseHeader = function(header){
					var headers = {'content-type': s.dataType};
					return headers[header];
				};

				var scr = /(json|script)/.test(s.dataType);
				if (scr || s.textarea) {
					// see if user embedded response in textarea
					var ta = doc.getElementsByTagName('textarea')[0];
					if (ta) {
						xhr.responseText = ta.value;
					}
					else if (scr) {
						// account for browsers injecting pre around json response
						var pre = doc.getElementsByTagName('pre')[0];
						if (pre) {
							xhr.responseText = pre.innerHTML;
						}
					}			  
				}
				else if (s.dataType == 'xml' && !xhr.responseXML && xhr.responseText != null) {
					xhr.responseXML = toXml(xhr.responseText);
				}
				data = $.httpData(xhr, s.dataType);
			}
			catch(e){
				log('error caught:',e);
				ok = false;
				xhr.error = e;
				$.handleError(s, xhr, 'error', e);
			}

			// ordering of these callbacks/triggers is odd, but that's how $.ajax does it
			if (ok) {
				s.success.call(s.context, data, 'success', xhr);
				if (g) {
					$.event.trigger("ajaxSuccess", [xhr, s]);
				}
			}
			if (g) {
				$.event.trigger("ajaxComplete", [xhr, s]);
			}
			if (g && ! --$.active) {
				$.event.trigger("ajaxStop");
			}
			if (s.complete) {
				s.complete.call(s.context, xhr, ok ? 'success' : 'error');
			}

			// clean up
			setTimeout(function() {
				$io.removeData('form-plugin-onload');
				$io.remove();
				xhr.responseXML = null;
			}, 100);
		}

		function toXml(s, doc) {
			if (window.ActiveXObject) {
				doc = new ActiveXObject('Microsoft.XMLDOM');
				doc.async = 'false';
				doc.loadXML(s);
			}
			else {
				doc = (new DOMParser()).parseFromString(s, 'text/xml');
			}
			return (doc && doc.documentElement && doc.documentElement.tagName != 'parsererror') ? doc : null;
		}
	}
};

/**
 * ajaxForm() provides a mechanism for fully automating form submission.
 *
 * The advantages of using this method instead of ajaxSubmit() are:
 *
 * 1: This method will include coordinates for <input type="image" /> elements (if the element
 *	is used to submit the form).
 * 2. This method will include the submit element's name/value data (for the element that was
 *	used to submit the form).
 * 3. This method binds the submit() method to the form for you.
 *
 * The options argument for ajaxForm works exactly as it does for ajaxSubmit.  ajaxForm merely
 * passes the options argument along after properly binding events for submit elements and
 * the form itself.
 */
$.fn.ajaxForm = function(options) {
	// in jQuery 1.3+ we can fix mistakes with the ready state
	if (this.length === 0) {
		var o = { s: this.selector, c: this.context };
		if (!$.isReady && o.s) {
			log('DOM not ready, queuing ajaxForm');
			$(function() {
				$(o.s,o.c).ajaxForm(options);
			});
			return this;
		}
		// is your DOM ready?  http://docs.jquery.com/Tutorials:Introducing_$(document).ready()
		log('terminating; zero elements found by selector' + ($.isReady ? '' : ' (DOM not ready)'));
		return this;
	}
	
	return this.ajaxFormUnbind().bind('submit.form-plugin', function(e) {
		if (!e.isDefaultPrevented()) { // if event has been canceled, don't proceed
			e.preventDefault();
			$(this).ajaxSubmit(options);
		}
	}).bind('click.form-plugin', function(e) {
		var target = e.target;
		var $el = $(target);
		if (!($el.is(":submit,input:image"))) {
			// is this a child element of the submit el?  (ex: a span within a button)
			var t = $el.closest(':submit');
			if (t.length == 0) {
				return;
			}
			target = t[0];
		}
		var form = this;
		form.clk = target;
		if (target.type == 'image') {
			if (e.offsetX != undefined) {
				form.clk_x = e.offsetX;
				form.clk_y = e.offsetY;
			} else if (typeof $.fn.offset == 'function') { // try to use dimensions plugin
				var offset = $el.offset();
				form.clk_x = e.pageX - offset.left;
				form.clk_y = e.pageY - offset.top;
			} else {
				form.clk_x = e.pageX - target.offsetLeft;
				form.clk_y = e.pageY - target.offsetTop;
			}
		}
		// clear form vars
		setTimeout(function() { form.clk = form.clk_x = form.clk_y = null; }, 100);
	});
};

// ajaxFormUnbind unbinds the event handlers that were bound by ajaxForm
$.fn.ajaxFormUnbind = function() {
	return this.unbind('submit.form-plugin click.form-plugin');
};

/**
 * formToArray() gathers form element data into an array of objects that can
 * be passed to any of the following ajax functions: $.get, $.post, or load.
 * Each object in the array has both a 'name' and 'value' property.  An example of
 * an array for a simple login form might be:
 *
 * [ { name: 'username', value: 'jresig' }, { name: 'password', value: 'secret' } ]
 *
 * It is this array that is passed to pre-submit callback functions provided to the
 * ajaxSubmit() and ajaxForm() methods.
 */
$.fn.formToArray = function(semantic) {
	var a = [];
	if (this.length === 0) {
		return a;
	}

	var form = this[0];
	var els = semantic ? form.getElementsByTagName('*') : form.elements;
	if (!els) {
		return a;
	}
	
	var i,j,n,v,el;
	for(i=0, max=els.length; i < max; i++) {
		el = els[i];
		n = el.name;
		if (!n) {
			continue;
		}

		if (semantic && form.clk && el.type == "image") {
			// handle image inputs on the fly when semantic == true
			if(!el.disabled && form.clk == el) {
				a.push({name: n, value: $(el).val()});
				a.push({name: n+'.x', value: form.clk_x}, {name: n+'.y', value: form.clk_y});
			}
			continue;
		}

		v = $.fieldValue(el, true);
		if (v && v.constructor == Array) {
			for(j=0, jmax=v.length; j < jmax; j++) {
				a.push({name: n, value: v[j]});
			}
		}
		else if (v !== null && typeof v != 'undefined') {
			a.push({name: n, value: v});
		}
	}

	if (!semantic && form.clk) {
		// input type=='image' are not found in elements array! handle it here
		var $input = $(form.clk), input = $input[0];
		n = input.name;
		if (n && !input.disabled && input.type == 'image') {
			a.push({name: n, value: $input.val()});
			a.push({name: n+'.x', value: form.clk_x}, {name: n+'.y', value: form.clk_y});
		}
	}
	return a;
};

/**
 * Serializes form data into a 'submittable' string. This method will return a string
 * in the format: name1=value1&amp;name2=value2
 */
$.fn.formSerialize = function(semantic) {
	//hand off to jQuery.param for proper encoding
	return $.param(this.formToArray(semantic));
};

/**
 * Serializes all field elements in the jQuery object into a query string.
 * This method will return a string in the format: name1=value1&amp;name2=value2
 */
$.fn.fieldSerialize = function(successful) {
	var a = [];
	this.each(function() {
		var n = this.name;
		if (!n) {
			return;
		}
		var v = $.fieldValue(this, successful);
		if (v && v.constructor == Array) {
			for (var i=0,max=v.length; i < max; i++) {
				a.push({name: n, value: v[i]});
			}
		}
		else if (v !== null && typeof v != 'undefined') {
			a.push({name: this.name, value: v});
		}
	});
	//hand off to jQuery.param for proper encoding
	return $.param(a);
};

/**
 * Returns the value(s) of the element in the matched set.  For example, consider the following form:
 *
 *  <form><fieldset>
 *	  <input name="A" type="text" />
 *	  <input name="A" type="text" />
 *	  <input name="B" type="checkbox" value="B1" />
 *	  <input name="B" type="checkbox" value="B2"/>
 *	  <input name="C" type="radio" value="C1" />
 *	  <input name="C" type="radio" value="C2" />
 *  </fieldset></form>
 *
 *  var v = $(':text').fieldValue();
 *  // if no values are entered into the text inputs
 *  v == ['','']
 *  // if values entered into the text inputs are 'foo' and 'bar'
 *  v == ['foo','bar']
 *
 *  var v = $(':checkbox').fieldValue();
 *  // if neither checkbox is checked
 *  v === undefined
 *  // if both checkboxes are checked
 *  v == ['B1', 'B2']
 *
 *  var v = $(':radio').fieldValue();
 *  // if neither radio is checked
 *  v === undefined
 *  // if first radio is checked
 *  v == ['C1']
 *
 * The successful argument controls whether or not the field element must be 'successful'
 * (per http://www.w3.org/TR/html4/interact/forms.html#successful-controls).
 * The default value of the successful argument is true.  If this value is false the value(s)
 * for each element is returned.
 *
 * Note: This method *always* returns an array.  If no valid value can be determined the
 *	   array will be empty, otherwise it will contain one or more values.
 */
$.fn.fieldValue = function(successful) {
	for (var val=[], i=0, max=this.length; i < max; i++) {
		var el = this[i];
		var v = $.fieldValue(el, successful);
		if (v === null || typeof v == 'undefined' || (v.constructor == Array && !v.length)) {
			continue;
		}
		v.constructor == Array ? $.merge(val, v) : val.push(v);
	}
	return val;
};

/**
 * Returns the value of the field element.
 */
$.fieldValue = function(el, successful) {
	var n = el.name, t = el.type, tag = el.tagName.toLowerCase();
	if (successful === undefined) {
		successful = true;
	}

	if (successful && (!n || el.disabled || t == 'reset' || t == 'button' ||
		(t == 'checkbox' || t == 'radio') && !el.checked ||
		(t == 'submit' || t == 'image') && el.form && el.form.clk != el ||
		tag == 'select' && el.selectedIndex == -1)) {
			return null;
	}

	if (tag == 'select') {
		var index = el.selectedIndex;
		if (index < 0) {
			return null;
		}
		var a = [], ops = el.options;
		var one = (t == 'select-one');
		var max = (one ? index+1 : ops.length);
		for(var i=(one ? index : 0); i < max; i++) {
			var op = ops[i];
			if (op.selected) {
				var v = op.value;
				if (!v) { // extra pain for IE...
					v = (op.attributes && op.attributes['value'] && !(op.attributes['value'].specified)) ? op.text : op.value;
				}
				if (one) {
					return v;
				}
				a.push(v);
			}
		}
		return a;
	}
	return $(el).val();
};

/**
 * Clears the form data.  Takes the following actions on the form's input fields:
 *  - input text fields will have their 'value' property set to the empty string
 *  - select elements will have their 'selectedIndex' property set to -1
 *  - checkbox and radio inputs will have their 'checked' property set to false
 *  - inputs of type submit, button, reset, and hidden will *not* be effected
 *  - button elements will *not* be effected
 */
$.fn.clearForm = function() {
	return this.each(function() {
		$('input,select,textarea', this).clearFields();
	});
};

/**
 * Clears the selected form elements.
 */
$.fn.clearFields = $.fn.clearInputs = function() {
	return this.each(function() {
		var t = this.type, tag = this.tagName.toLowerCase();
		if (t == 'text' || t == 'password' || tag == 'textarea') {
			this.value = '';
		}
		else if (t == 'checkbox' || t == 'radio') {
			this.checked = false;
		}
		else if (tag == 'select') {
			this.selectedIndex = -1;
		}
	});
};

/**
 * Resets the form data.  Causes all form elements to be reset to their original value.
 */
$.fn.resetForm = function() {
	return this.each(function() {
		// guard against an input with the name of 'reset'
		// note that IE reports the reset function as an 'object'
		if (typeof this.reset == 'function' || (typeof this.reset == 'object' && !this.reset.nodeType)) {
			this.reset();
		}
	});
};

/**
 * Enables or disables any matching elements.
 */
$.fn.enable = function(b) {
	if (b === undefined) {
		b = true;
	}
	return this.each(function() {
		this.disabled = !b;
	});
};

/**
 * Checks/unchecks any matching checkboxes or radio buttons and
 * selects/deselects and matching option elements.
 */
$.fn.selected = function(select) {
	if (select === undefined) {
		select = true;
	}
	return this.each(function() {
		var t = this.type;
		if (t == 'checkbox' || t == 'radio') {
			this.checked = select;
		}
		else if (this.tagName.toLowerCase() == 'option') {
			var $sel = $(this).parent('select');
			if (select && $sel[0] && $sel[0].type == 'select-one') {
				// deselect all other options
				$sel.find('option').selected(false);
			}
			this.selected = select;
		}
	});
};

// helper fn for console logging
// set $.fn.ajaxSubmit.debug to true to enable debug logging
function log() {
	if ($.fn.ajaxSubmit.debug) {
		var msg = '[jquery.form] ' + Array.prototype.join.call(arguments,'');
		if (window.console && window.console.log) {
			window.console.log(msg);
		}
		else if (window.opera && window.opera.postError) {
			window.opera.postError(msg);
		}
	}
};

})(jQuery);;
/*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Copyright:
 * Digitized data copyright The Monotype Corporation 1991-1995. All rights
 * reserved. Gill Sansź is a trademark of The Monotype Corporation which may be
 * registered in certain jurisdictions.
 * 
 * Trademark:
 * Gill Sansź is a trademark of The Monotype Corporation which may be registered
 * in certain jurisdictions.
 * 
 * Description:
 * Monotype Type Drawing Office 1928. Gill studied under the renowned
 * calligrapher, Edward Johnston, the designer of the London Underground sans serif
 * typeface. This influenced Gill who later experimented with sans serif designs,
 * and in due course produced a set of capital letters. These became Monotype
 * series 231, produced in 1923, and the forerunner of the extensive Gill Sans
 * range now available. A twentieth century sans serif that has a simplicity of
 * form which does not reject traditional forms and proportions, and gives the face
 * a humanist feel. The lighter weights are highly readable in text and suitable
 * for magazine and book work, whereas the heavier weights are best used for
 * display in advertising, packaging, and labels.
 * 
 * Manufacturer:
 * Monotype Typography
 * 
 * Designer:
 * Eric Gill
 * 
 * Vendor URL:
 * http://www.monotype.com/html/mtname/ms_welcome.html
 */
Cufon.registerFont({"w":180,"face":{"font-family":"gill","font-weight":400,"font-stretch":"normal","units-per-em":"360","panose-1":"2 11 5 2 2 1 4 2 2 3","ascent":"288","descent":"-72","x-height":"3","bbox":"-22 -330 375 83","underline-thickness":"17.9297","underline-position":"-18.1055","unicode-range":"U+0020-U+00FF"},"glyphs":{" ":{"w":100,"k":{"Y":54,"W":45,"V":54,"T":45,"A":36}},"!":{"d":"49,-41v12,0,21,11,21,23v0,12,-9,21,-21,21v-12,0,-22,-9,-22,-21v0,-13,10,-23,22,-23xm49,-71v-15,-19,-20,-90,-20,-126v0,-34,7,-52,20,-52v37,19,17,141,0,178","w":97},"\"":{"d":"45,-166r-20,0v-5,-28,-10,-57,-8,-92r36,0v2,35,-3,64,-8,92xm103,-166r-20,0v-5,-28,-10,-57,-8,-92r36,0v2,35,-3,64,-8,92","w":127},"#":{"d":"1,-153r0,-22r57,0r15,-71r21,0r-15,71r74,0r15,-71r22,0r-15,71r35,0r0,22r-40,0r-13,65r53,0r0,22r-57,0r-15,70r-22,0r15,-70r-74,0r-15,70r-21,0r14,-70r-34,0r0,-22r39,0r14,-65r-53,0xm149,-153r-74,0r-14,65r75,0","w":210},"$":{"d":"19,-172v0,-37,32,-60,67,-64r0,-13r29,0r0,13v23,4,41,10,54,21r0,41v-15,-15,-33,-25,-54,-30r0,71v36,10,66,31,66,70v0,37,-27,61,-66,66r0,39r-29,0r0,-39v-20,-2,-43,-10,-68,-25r0,-44v21,18,38,30,68,37r0,-78v-40,-14,-67,-23,-67,-65xm86,-204v-23,0,-42,28,-26,47v4,5,17,11,26,15r0,-62xm115,-30v41,-6,38,-51,6,-62r-6,-3r0,65","w":195},"%":{"d":"188,-249r27,0r-161,252r-27,0xm124,-52v-1,-28,26,-55,55,-55v29,0,55,26,55,55v0,30,-26,54,-55,54v-29,0,-55,-25,-55,-54xm208,-52v0,-16,-14,-28,-29,-28v-16,-1,-28,13,-28,28v0,15,12,28,28,28v15,0,29,-14,29,-28xm9,-193v0,-29,26,-55,55,-55v29,0,54,26,54,55v0,28,-26,54,-54,54v-29,0,-55,-25,-55,-54xm92,-193v0,-15,-13,-29,-29,-29v-15,0,-28,14,-28,29v0,15,13,28,28,28v15,0,29,-14,29,-28","w":243},"&":{"d":"102,-241v34,-1,60,21,61,54v0,21,-17,47,-46,65r35,40v10,-11,18,-25,26,-40r35,0v-8,22,-22,43,-40,64r50,58r-45,0r-28,-33v-16,15,-48,35,-79,36v-32,0,-62,-25,-61,-57v1,-38,32,-57,58,-73v-48,-40,-31,-114,34,-114xm45,-56v3,36,60,27,75,5r8,-7r-40,-46v-16,12,-45,30,-43,48xm102,-211v-40,1,-27,52,-4,65v14,-9,33,-23,32,-40v0,-14,-12,-26,-28,-25","w":225},"'":{"d":"44,-166r-20,0v-5,-28,-10,-57,-8,-92r36,0v2,35,-3,64,-8,92","w":67},"(":{"d":"57,37v-56,-89,-36,-220,35,-286r20,0v-67,82,-71,246,0,331v-33,5,-43,-35,-55,-45","w":116},")":{"d":"4,82v69,-80,67,-254,0,-331v34,-5,43,35,55,45v17,28,35,78,34,121v-4,77,-27,115,-69,165r-20,0","w":116},"*":{"d":"23,-200v-21,-5,-20,-24,-4,-28v19,5,32,27,47,38v2,-2,4,-4,7,-4r-10,-51v0,-11,5,-16,13,-16v33,0,-12,60,9,71v15,-12,27,-33,47,-38v16,2,16,27,-2,28r-42,15r0,9v19,11,48,10,56,31v-17,32,-47,-19,-59,-26v-2,2,-5,3,-7,3v3,18,8,34,9,54v0,10,-4,15,-12,15v-25,-6,-4,-49,-2,-69v-2,0,-5,-1,-7,-3v-13,11,-32,34,-48,37v-21,-8,-12,-23,10,-30r35,-12r0,-9","w":150},"+":{"d":"90,-42r0,-70r-70,0r0,-30r70,0r0,-70r30,0r0,70r70,0r0,30r-70,0r0,70r-30,0","w":210},",":{"d":"35,-46v29,1,32,48,14,68v-8,10,-18,17,-31,21v2,-19,17,-19,14,-43v-26,-5,-22,-46,3,-46","w":78,"k":{" ":36}},"-":{"d":"14,-97r88,0r0,34r-88,0r0,-34","w":116},".":{"d":"18,-18v0,-12,9,-21,21,-21v12,0,22,10,22,21v0,12,-10,21,-22,21v-12,0,-21,-9,-21,-21","w":78,"k":{" ":36}},"\/":{"d":"1,3r71,-252r25,0r-71,252r-25,0","w":101},"0":{"d":"90,2v-108,-2,-106,-250,1,-251v104,5,106,248,-1,251xm90,-30v62,-7,60,-175,2,-185v-64,4,-63,178,-2,185"},"1":{"d":"73,-246r35,0r0,246r-35,0r0,-246"},"2":{"d":"17,-225v58,-58,159,-2,128,84v-14,40,-39,69,-71,107r94,0r0,34r-156,0v33,-54,95,-96,103,-168v3,-27,-17,-46,-43,-46v-24,0,-42,16,-55,33r0,-44"},"3":{"d":"76,-249v72,0,99,95,41,119v66,23,33,133,-40,133v-19,0,-37,-5,-54,-14r0,-38v34,24,93,28,93,-21v0,-30,-18,-38,-51,-41v2,-10,-3,-26,2,-32v28,0,47,-10,47,-37v-1,-41,-52,-46,-85,-25r0,-33v14,-7,30,-11,47,-11"},"4":{"d":"128,-249r14,0r0,138r28,0r0,30r-28,0r0,81r-34,0r0,-81r-104,0r0,-15xm108,-111r0,-71r-57,71r57,0"},"5":{"d":"122,-76v2,-37,-50,-53,-86,-42r0,-128r109,0r0,32r-77,0r0,62v50,-6,90,29,90,76v0,70,-81,98,-140,64r0,-36v37,29,101,21,104,-28"},"6":{"d":"94,3v-70,1,-93,-82,-67,-147v18,-45,49,-76,87,-105r21,27v-36,24,-59,49,-75,90v50,-29,108,8,108,61v0,40,-34,74,-74,74xm133,-70v0,-41,-54,-51,-80,-25v-8,33,9,65,41,65v23,0,39,-18,39,-40"},"7":{"d":"18,-246r158,0r-111,249r-31,-13r90,-202r-106,0r0,-34"},"8":{"d":"46,-125v-54,-34,-23,-124,46,-124v68,0,101,89,42,124v64,32,29,136,-44,128v-71,7,-110,-95,-44,-128xm91,-142v20,0,39,-16,39,-37v0,-21,-17,-36,-39,-36v-22,0,-39,15,-39,36v0,20,19,37,39,37xm91,-31v24,0,42,-14,42,-38v0,-23,-19,-39,-43,-39v-24,0,-43,16,-43,39v0,23,19,38,44,38"},"9":{"d":"87,-249v86,1,98,115,51,180v-21,29,-42,55,-71,72r-21,-26v32,-20,64,-54,75,-92v-47,31,-108,-7,-108,-61v0,-40,34,-74,74,-73xm48,-176v0,38,50,51,79,26v11,-36,-8,-65,-40,-66v-23,-1,-39,18,-39,40"},":":{"d":"17,-18v0,-12,9,-22,21,-22v12,0,21,10,21,22v0,12,-9,21,-21,21v-12,0,-21,-9,-21,-21xm20,-143v0,-12,9,-22,21,-22v12,0,21,10,21,22v0,12,-9,21,-21,21v-12,0,-21,-9,-21,-21","w":78,"k":{" ":36}},";":{"d":"22,43v3,-18,16,-22,15,-43v-28,-5,-23,-46,3,-46v29,2,30,49,13,68v-8,10,-18,17,-31,21xm22,-143v0,-12,9,-22,21,-22v12,0,22,10,22,22v0,11,-10,21,-22,21v-12,0,-21,-9,-21,-21","w":82,"k":{" ":36}},"<":{"d":"20,-113r0,-29r170,-72r0,31r-135,56r135,56r0,31","w":210},"=":{"d":"190,-152r-170,0r0,-29r170,0r0,29xm190,-73r-170,0r0,-30r170,0r0,30","w":210},">":{"d":"190,-113r-170,73r0,-31r135,-56r-135,-56r0,-31r170,72r0,29","w":210},"?":{"d":"51,-63v-56,-29,15,-90,17,-130v1,-22,-25,-29,-45,-18r23,-38v34,1,58,19,58,52v0,48,-59,92,-53,134xm55,-40v12,0,23,9,22,22v0,12,-10,21,-22,21v-12,0,-21,-9,-21,-21v0,-12,10,-22,21,-22","w":119},"@":{"d":"87,-78v0,-79,94,-156,144,-80r6,-27r32,0r-31,145v1,6,6,11,12,12v36,-8,68,-51,68,-98v0,-65,-59,-111,-126,-111v-83,0,-146,67,-146,152v0,88,61,135,152,134v56,0,98,-18,123,-52r31,0v-26,46,-80,78,-155,78v-104,0,-180,-56,-178,-157v2,-105,66,-180,175,-180v84,0,153,57,151,137v-2,63,-43,125,-107,125v-25,0,-32,-7,-34,-29v-14,15,-31,28,-54,29v-38,1,-63,-38,-63,-78xm180,-165v-56,-2,-93,140,-23,140v34,0,66,-50,64,-89v0,-28,-15,-51,-41,-51","w":363},"A":{"d":"105,-247r25,0r110,247r-36,0r-33,-73r-104,0r-31,73r-36,0xm157,-104r-40,-89r-36,89r76,0","w":240,"k":{"y":9,"w":9,"v":9,"Y":40,"W":29,"V":29,"U":7,"T":36,"Q":14,"O":14,"G":14,"C":14}},"B":{"d":"195,-67v-1,75,-89,69,-168,67r0,-246v72,-2,147,-5,147,64v0,24,-13,42,-38,52v32,5,59,28,59,63xm62,-140v40,2,75,-3,75,-39v0,-35,-37,-37,-75,-35r0,74xm159,-70v0,-43,-49,-40,-97,-39r0,78v49,1,97,3,97,-39","w":202,"k":{"A":-7}},"C":{"d":"54,-122v0,92,117,117,185,65r0,39v-26,14,-56,21,-90,21v-79,-1,-130,-49,-131,-125v-2,-105,119,-159,218,-107r0,38v-74,-49,-182,-21,-182,69","w":254,"k":{"A":-9,".":-9,",":-9}},"D":{"d":"253,-123v0,82,-52,126,-148,123r-78,0r0,-246r83,0v91,-2,143,43,143,123xm217,-125v0,-74,-66,-97,-154,-89r0,182r45,0v72,4,109,-34,109,-93","w":270,"k":{"Y":36,"W":18,"V":18,"A":20,".":27,",":27}},"E":{"d":"27,-246r139,0r0,32r-104,0r0,75r101,0r0,31r-101,0r0,76r108,0r0,32r-143,0r0,-246"},"F":{"d":"27,-246r131,0r0,32r-95,0r0,68r95,0r0,32r-95,0r0,114r-36,0r0,-246","w":168,"k":{"o":5,"e":5,"A":18,".":50,",":50}},"G":{"d":"55,-123v0,77,76,116,152,85r0,-52r-47,0r0,-31r82,0r0,104v-98,50,-224,4,-224,-104v0,-108,127,-159,219,-107r0,36v-72,-50,-182,-22,-182,69","w":266},"H":{"d":"200,-246r35,0r0,246r-35,0r0,-107r-138,0r0,107r-35,0r0,-246r35,0r0,107r138,0r0,-107","w":262},"I":{"d":"27,-246r36,0r0,246r-36,0r0,-246","w":90},"J":{"d":"-22,49v41,0,49,-9,49,-56r0,-239r36,0r0,243v2,61,-23,88,-78,85","w":90,"k":{"u":7,"o":7,"e":7}},"K":{"d":"166,-246r44,0r-107,117r133,129r-48,0r-125,-121r0,121r-36,0r0,-246r36,0r0,113","w":236,"k":{"y":27,"u":18,"o":22,"e":22,"O":43}},"L":{"d":"27,-246r35,0r0,214r111,0r0,32r-146,0r0,-246","w":176,"k":{"y":11,"Y":40,"W":36,"V":36,"T":36}},"M":{"d":"223,-246r32,0r0,246r-35,0r0,-191r-76,95r-6,0r-76,-95r0,191r-36,0r0,-246r33,0r82,101","w":281},"N":{"d":"222,-246r34,0r0,246r-31,0r-164,-189r0,189r-33,0r0,-246r29,0r165,191r0,-191","w":281},"O":{"d":"16,-122v0,-74,58,-127,132,-127v73,0,132,55,132,126v0,72,-59,126,-134,126v-71,0,-130,-54,-130,-125xm244,-123v0,-52,-43,-93,-95,-93v-54,0,-96,41,-96,94v0,51,42,92,95,92v54,0,96,-40,96,-93","w":296,"k":{"Y":29,"X":29,"W":14,"V":14,"T":23,"A":14,".":22,",":22}},"P":{"d":"180,-176v-2,60,-50,74,-120,69r0,107r-35,0r0,-246r78,0v44,-1,78,27,77,70xm60,-138v42,2,84,2,84,-39v0,-38,-43,-40,-84,-38r0,77","w":183,"k":{"o":9,"e":9,"A":29,".":54,",":54}},"Q":{"d":"280,-123v0,63,-46,114,-102,123v39,13,64,28,97,15r-36,35v-54,-6,-78,-22,-120,-50v-56,-8,-102,-60,-103,-122v-1,-73,58,-127,132,-127v73,0,132,54,132,126xm244,-123v0,-53,-42,-93,-96,-93v-54,0,-96,41,-96,94v0,51,43,92,96,92v52,0,96,-42,96,-93","w":296},"R":{"d":"171,-177v0,31,-18,51,-42,60v35,22,59,82,88,117r-41,0v-25,-35,-45,-79,-79,-103v-6,-4,-22,-4,-34,-4r0,107r-35,0r0,-246v72,-4,144,1,143,69xm134,-178v0,-35,-29,-40,-71,-38r0,78v42,1,71,-3,71,-40","w":217,"k":{"Y":36,"W":27,"V":29,"U":11,"T":32,"O":22}},"S":{"d":"82,-28v48,0,48,-53,6,-75v-33,-18,-73,-34,-73,-81v0,-63,83,-83,129,-48r0,40v-18,-17,-38,-25,-58,-25v-30,0,-52,27,-31,49v27,29,98,51,98,104v0,70,-91,85,-137,44r0,-44v19,24,41,36,66,36","w":164},"T":{"d":"6,-246r205,0r0,31r-85,0r0,215r-36,0r0,-215r-84,0r0,-31","w":217,"k":{"y":45,"w":54,"u":50,"r":45,"o":54,"e":54,"a":45,"O":23,"A":36,";":11,":":11,".":45,"-":61,",":45}},"U":{"d":"127,-28v48,0,71,-22,71,-78r0,-140r35,0r0,140v3,77,-38,109,-105,109v-68,0,-106,-32,-106,-110r0,-139r35,0r0,140v-2,58,21,78,70,78","w":254,"k":{"A":9,".":9,",":9}},"V":{"d":"182,-246r35,0r-103,247r-8,0r-106,-247r35,0r74,173","w":217,"k":{"u":27,"o":36,"e":36,"a":22,"O":14,"G":14,"A":29,".":47,"-":36,",":47}},"W":{"d":"340,-246r35,0r-100,247r-7,0r-80,-200r-81,200r-8,0r-99,-247r35,0r68,170r68,-170r33,0r69,170","w":375,"k":{"y":11,"u":27,"o":32,"e":32,"a":22,"O":14,"A":29,".":47,"-":36,",":47}},"X":{"d":"205,-246r42,0r-98,119r105,127r-42,0r-84,-102r-84,102r-43,0r106,-127r-99,-119r43,0r77,94","w":254},"Y":{"d":"175,-246r42,0r-90,116r0,130r-36,0r0,-130r-91,-116r43,0r65,85","w":217,"k":{"u":43,"o":50,"e":47,"a":43,"S":7,"O":29,"A":40,";":11,":":11,".":47,"-":54,",":47}},"Z":{"d":"14,-246r212,0r-157,215r157,0r0,31r-222,0r158,-215r-148,0r0,-31","w":232},"[":{"d":"31,-246r84,0r0,29r-49,0r0,267r49,0r0,29r-84,0r0,-325","w":119},"\\":{"d":"75,3r-71,-252r26,0r70,252r-25,0","w":101},"]":{"d":"89,79r-84,0r0,-29r49,0r0,-267r-49,0r0,-29r84,0r0,325","w":119},"^":{"d":"84,-210r-42,105r-33,0r63,-141r25,0r62,141r-32,0","w":168},"_":{"d":"204,71r-209,0r0,-23r209,0r0,23","w":198},"`":{"d":"57,-249r25,52r-20,0r-40,-52r35,0","w":120},"a":{"d":"13,-143v34,-39,126,-27,111,46r0,69v3,16,13,6,24,-1r0,20v-15,13,-50,19,-56,-4v-29,26,-83,18,-82,-24v1,-41,50,-47,83,-60v4,-54,-55,-44,-80,-11r0,-35xm48,-59v-15,13,-5,39,17,39v10,0,19,-4,28,-12r0,-48v-15,5,-37,13,-45,21","w":153,"k":{"y":14,"w":13,"v":13,"p":4}},"b":{"d":"167,-82v0,77,-82,102,-146,73r0,-237r32,0r0,96v51,-39,114,2,114,68xm135,-81v0,-47,-49,-72,-82,-39r0,88v42,15,82,-4,82,-49","k":{"y":4,".":4,",":4}},"c":{"d":"46,-81v0,51,55,67,98,43r0,32v-63,26,-130,-6,-130,-74v0,-67,68,-106,126,-74r0,34v-39,-30,-94,-12,-94,39","w":157,"k":{".":-7,",":-7}},"d":{"d":"16,-83v0,-60,56,-99,115,-75r0,-88r32,0r0,246r-69,0v-48,0,-78,-34,-78,-83xm48,-80v0,48,31,57,83,53r0,-103v-41,-20,-83,3,-83,50","w":183,"k":{"d":4}},"e":{"d":"90,-165v45,0,72,37,70,87r-113,0v0,57,74,63,111,31r0,31v-19,12,-35,18,-64,18v-52,-1,-77,-34,-79,-84v-2,-47,30,-83,75,-83xm129,-97v2,-36,-42,-52,-67,-30v-7,7,-13,17,-15,30r82,0","w":172,"k":{"y":5,"w":5,"v":5,".":-7,",":-7}},"f":{"d":"107,-214v-35,-11,-53,11,-49,52r29,0r0,29r-29,0r0,133r-32,0r0,-133r-23,0r0,-29r23,0v-3,-58,25,-99,81,-84r0,32","w":90,"k":{"o":4,"e":4}},"g":{"d":"41,-11v-29,-13,-15,-39,9,-44v-24,-11,-36,-27,-36,-51v-1,-61,73,-58,138,-56r0,25r-33,0v36,35,5,90,-46,90v-18,0,-24,13,-12,22v35,12,90,10,90,57v0,35,-35,50,-75,50v-40,0,-75,-15,-76,-50v0,-22,14,-37,41,-43xm107,-104v0,-16,-14,-30,-32,-30v-17,0,-32,14,-32,30v0,17,14,29,32,29v17,0,31,-14,32,-29xm120,33v0,-31,-89,-37,-90,-1v0,17,15,25,45,25v23,0,45,-5,45,-24","w":153,"k":{"y":-7,"o":4}},"h":{"d":"94,-139v-20,0,-27,11,-40,23r0,116r-32,0r0,-246r32,0r0,106v35,-46,104,-26,104,48r0,92r-32,0v-5,-51,20,-139,-32,-139","k":{"y":13}},"i":{"d":"21,-211v-1,-10,9,-19,18,-19v9,0,20,9,19,19v1,10,-10,19,-19,19v-9,0,-19,-9,-18,-19xm23,-162r32,0r0,162r-32,0r0,-162","w":78},"j":{"d":"19,-211v-1,-10,9,-19,18,-19v10,0,20,9,20,19v0,9,-9,19,-19,19v-9,0,-20,-9,-19,-19xm-2,59v14,-5,24,-17,24,-36r0,-185r32,0r0,185v0,28,-10,47,-32,59","w":78},"k":{"d":"128,-162r38,0r-69,80r83,82r-43,0r-81,-82xm23,-246r32,0r0,246r-32,0r0,-246","w":172,"k":{"o":11,"e":11}},"l":{"d":"23,-246r32,0r0,246r-32,0r0,-246","w":78,"k":{"y":4,"w":4}},"m":{"d":"224,0v-6,-50,20,-135,-32,-137v-13,0,-26,7,-37,20r0,117r-32,0v-7,-49,21,-137,-32,-138v-20,0,-27,8,-38,21r0,117r-32,0r0,-162r32,0r0,22v30,-34,74,-34,96,4v37,-51,107,-31,107,41r0,95r-32,0","w":277,"k":{"y":13,"u":4}},"n":{"d":"126,0v-6,-50,21,-137,-33,-138v-15,0,-27,8,-38,23r0,115r-33,0r0,-162r33,0r0,21v38,-45,103,-23,103,49r0,92r-32,0","k":{"y":7,"v":5,"u":4}},"o":{"d":"13,-79v0,-47,39,-83,87,-83v49,0,86,37,86,84v0,47,-40,81,-87,81v-47,0,-86,-37,-86,-82xm153,-80v1,-31,-24,-53,-55,-53v-29,0,-52,22,-52,53v0,30,23,53,54,53v31,0,53,-23,53,-53","w":198,"k":{"y":7,"x":5,"w":4,"v":4,".":11,",":11}},"p":{"d":"168,-80v0,58,-56,101,-115,76r0,86r-32,0r0,-244v80,-5,147,7,147,82xm135,-81v0,-45,-34,-54,-82,-51r0,100v40,20,82,-5,82,-49","k":{"y":13,".":11,",":11}},"q":{"d":"13,-79v0,-74,65,-91,146,-83r0,244r-32,0r0,-85v-61,22,-114,-16,-114,-76xm45,-80v-2,45,45,69,82,49r0,-101v-51,-4,-80,9,-82,52"},"r":{"d":"126,-118v-29,-35,-69,-7,-69,33r0,85r-32,0r0,-162r32,0r0,37v26,-39,50,-55,86,-22","w":142,"k":{"y":-11,"v":-11,"t":-7,"r":4,"q":9,"o":9,"e":7,"d":5,"c":9,";":-14,":":-14,".":36,"-":29,",":36}},"s":{"d":"124,-43v0,51,-75,57,-109,31r0,-34v18,14,63,35,76,5v-12,-37,-78,-36,-75,-82v3,-45,63,-52,100,-29r0,32v-19,-11,-34,-17,-46,-17v-31,0,-22,27,2,37v26,11,52,35,52,57","w":138,"k":{"w":4}},"t":{"d":"120,-8v-42,23,-92,11,-92,-53r0,-72r-28,0v16,-25,41,-40,60,-62r0,33r51,0r0,29r-51,0v5,37,-16,105,23,107v11,0,24,-3,37,-11r0,29","w":119},"u":{"d":"54,-162v7,50,-22,138,33,138v15,0,28,-7,39,-22r0,-116r32,0r0,162r-32,0r0,-21v-34,41,-104,26,-104,-48r0,-93r32,0"},"v":{"d":"122,-162r34,0r-71,165r-11,0r-73,-165r35,0r44,100","w":157,"k":{"o":7,"e":7,".":22,",":22}},"w":{"d":"225,-162r34,0r-71,165r-10,0r-48,-113r-48,113r-10,0r-72,-165r34,0r43,98r41,-98r24,0r40,98","w":258,"k":{"o":7,"e":7,".":22,",":22}},"x":{"d":"134,-162r41,0r-66,80r71,82r-41,0r-51,-58r-48,58r-40,0r68,-82r-68,-80r40,0r48,56","k":{"e":11}},"y":{"d":"122,-162r36,0r-115,244r-35,0r55,-117r-63,-127r36,0r44,92","w":157,"k":{"o":7,"e":7,".":29,",":29}},"z":{"d":"8,-162r138,0r-86,132r86,0r0,30r-142,0r85,-132r-81,0r0,-30","w":150},"{":{"d":"46,-11v0,-44,-2,-64,-36,-68r0,-29v34,-3,37,-24,36,-68v-1,-64,6,-88,66,-86r0,27v-41,-6,-36,26,-36,63v0,44,-7,65,-37,79v38,12,37,53,37,105v0,31,7,37,36,36r0,27v-60,2,-67,-23,-66,-86","w":119},"|":{"d":"33,83r0,-329r28,0r0,329r-28,0","w":93},"}":{"d":"44,-172v-1,-35,6,-70,-36,-63r0,-27v59,-2,67,24,66,86v0,44,1,65,36,68r0,29v-34,3,-37,25,-37,68v0,64,-6,88,-65,86r0,-27v41,6,36,-26,36,-62v1,-45,6,-66,37,-79v-30,-13,-37,-35,-37,-79","w":119},"~":{"d":"195,-114v-49,60,-134,-44,-180,20r0,-36v50,-62,133,43,180,-22r0,38","w":209},"\u00c4":{"d":"105,-247r25,0r110,247r-36,0r-33,-73r-104,0r-31,73r-36,0xm157,-104r-40,-89r-36,89r76,0xm70,-283v0,-9,8,-17,16,-17v10,0,17,7,17,17v0,9,-6,16,-16,16v-9,0,-17,-7,-17,-16xm137,-283v0,-10,8,-17,17,-17v10,0,17,7,17,17v0,10,-7,16,-17,16v-9,0,-17,-7,-17,-16","w":240},"\u00c5":{"d":"87,-297v0,-17,15,-33,33,-33v18,0,33,14,33,33v0,18,-16,33,-33,33v-18,0,-33,-16,-33,-33xm140,-297v0,-11,-9,-19,-20,-19v-12,0,-21,7,-20,19v0,11,9,20,20,20v12,1,20,-9,20,-20xm105,-247r25,0r110,247r-36,0r-33,-73r-104,0r-31,73r-36,0xm157,-104r-40,-89r-36,89r76,0","w":240},"\u00c7":{"d":"54,-122v0,92,117,117,185,65r0,39v-26,14,-56,21,-90,21r-1,3v10,4,21,10,20,23v-1,25,-26,37,-56,32r0,-20v13,0,29,2,30,-9v-1,-9,-10,-10,-21,-10r7,-20v-65,-9,-109,-54,-110,-124v-1,-105,119,-159,218,-107r0,38v-74,-49,-182,-21,-182,69","w":254},"\u00c9":{"d":"27,-246r139,0r0,32r-104,0r0,75r101,0r0,31r-101,0r0,76r108,0r0,32r-143,0r0,-246xm129,-316r-39,52r-20,0r24,-52r35,0"},"\u00d1":{"d":"92,-270v-1,-56,45,-40,79,-27v8,-1,12,-5,13,-15r14,0v0,21,-9,40,-28,42v-17,2,-59,-33,-63,0r-15,0xm222,-246r34,0r0,246r-31,0r-164,-189r0,189r-33,0r0,-246r29,0r165,191r0,-191","w":281},"\u00d6":{"d":"16,-122v0,-74,58,-127,132,-127v73,0,132,55,132,126v0,72,-59,126,-134,126v-71,0,-130,-54,-130,-125xm244,-123v0,-52,-43,-93,-95,-93v-54,0,-96,41,-96,94v0,51,42,92,95,92v54,0,96,-40,96,-93xm96,-283v0,-9,8,-17,16,-17v10,0,17,7,17,17v0,9,-6,16,-16,16v-9,0,-17,-7,-17,-16xm163,-283v0,-10,8,-17,17,-17v10,0,17,7,17,17v0,10,-7,16,-17,16v-9,0,-17,-7,-17,-16","w":296},"\u00dc":{"d":"127,-28v48,0,71,-22,71,-78r0,-140r35,0r0,140v3,77,-38,109,-105,109v-68,0,-106,-32,-106,-110r0,-139r35,0r0,140v-2,58,21,78,70,78xm78,-283v0,-9,8,-17,16,-17v10,0,17,7,17,17v0,9,-6,16,-16,16v-9,0,-17,-7,-17,-16xm145,-283v0,-10,8,-17,17,-17v10,0,17,7,17,17v0,10,-7,16,-17,16v-9,0,-17,-7,-17,-16","w":254},"\u00e1":{"d":"13,-143v34,-39,126,-27,111,46r0,69v3,16,13,6,24,-1r0,20v-15,13,-50,19,-56,-4v-29,26,-83,18,-82,-24v1,-41,50,-47,83,-60v4,-54,-55,-44,-80,-11r0,-35xm48,-59v-15,13,-5,39,17,39v10,0,19,-4,28,-12r0,-48v-15,5,-37,13,-45,21xm116,-249r-39,52r-20,0r24,-52r35,0","w":153},"\u00e0":{"d":"13,-143v34,-39,126,-27,111,46r0,69v3,16,13,6,24,-1r0,20v-15,13,-50,19,-56,-4v-29,26,-83,18,-82,-24v1,-41,50,-47,83,-60v4,-54,-55,-44,-80,-11r0,-35xm48,-59v-15,13,-5,39,17,39v10,0,19,-4,28,-12r0,-48v-15,5,-37,13,-45,21xm74,-249r25,52r-20,0r-40,-52r35,0","w":153},"\u00e2":{"d":"93,-251r34,54r-20,0r-31,-31v-16,11,-19,35,-49,31r33,-54r33,0xm13,-143v34,-39,126,-27,111,46r0,69v3,16,13,6,24,-1r0,20v-15,13,-50,19,-56,-4v-29,26,-83,18,-82,-24v1,-41,50,-47,83,-60v4,-54,-55,-44,-80,-11r0,-35xm48,-59v-15,13,-5,39,17,39v10,0,19,-4,28,-12r0,-48v-15,5,-37,13,-45,21","w":153},"\u00e4":{"d":"13,-143v34,-39,126,-27,111,46r0,69v3,16,13,6,24,-1r0,20v-15,13,-50,19,-56,-4v-29,26,-83,18,-82,-24v1,-41,50,-47,83,-60v4,-54,-55,-44,-80,-11r0,-35xm48,-59v-15,13,-5,39,17,39v10,0,19,-4,28,-12r0,-48v-15,5,-37,13,-45,21xm27,-223v0,-9,8,-17,16,-17v10,0,17,7,17,17v0,9,-6,16,-16,16v-9,0,-17,-7,-17,-16xm94,-223v0,-10,8,-17,17,-17v10,0,17,7,17,17v0,10,-7,16,-17,16v-9,0,-17,-7,-17,-16","w":153},"\u00e3":{"d":"53,-245v14,-2,61,34,63,-1r14,0v0,22,-9,41,-29,43v-17,2,-58,-33,-62,0r-15,0v3,-27,8,-38,29,-42xm13,-143v34,-39,126,-27,111,46r0,69v3,16,13,6,24,-1r0,20v-15,13,-50,19,-56,-4v-29,26,-83,18,-82,-24v1,-41,50,-47,83,-60v4,-54,-55,-44,-80,-11r0,-35xm48,-59v-15,13,-5,39,17,39v10,0,19,-4,28,-12r0,-48v-15,5,-37,13,-45,21","w":153},"\u00e5":{"d":"44,-230v0,-17,16,-34,33,-33v17,0,33,15,33,33v0,17,-16,34,-33,34v-17,0,-33,-16,-33,-34xm97,-229v0,-11,-10,-20,-21,-20v-11,-1,-19,8,-19,19v0,12,8,21,20,21v11,0,20,-9,20,-20xm13,-143v34,-39,126,-27,111,46r0,69v3,16,13,6,24,-1r0,20v-15,13,-50,19,-56,-4v-29,26,-83,18,-82,-24v1,-41,50,-47,83,-60v4,-54,-55,-44,-80,-11r0,-35xm48,-59v-15,13,-5,39,17,39v10,0,19,-4,28,-12r0,-48v-15,5,-37,13,-45,21","w":153},"\u00e7":{"d":"46,-81v0,51,55,67,98,43r0,32v-17,6,-32,9,-49,9r-1,3v10,4,21,10,20,23v-1,25,-27,37,-57,32r0,-20v14,0,29,1,31,-9v-1,-9,-10,-10,-21,-10r8,-21v-33,-7,-61,-35,-61,-81v0,-67,68,-106,126,-74r0,34v-39,-30,-94,-12,-94,39","w":157},"\u00e9":{"d":"90,-165v45,0,72,37,70,87r-113,0v0,57,74,63,111,31r0,31v-19,12,-35,18,-64,18v-52,-1,-77,-34,-79,-84v-2,-47,30,-83,75,-83xm129,-97v2,-36,-42,-52,-67,-30v-7,7,-13,17,-15,30r82,0xm125,-249r-39,52r-20,0r24,-52r35,0","w":172},"\u00e8":{"d":"90,-165v45,0,72,37,70,87r-113,0v0,57,74,63,111,31r0,31v-19,12,-35,18,-64,18v-52,-1,-77,-34,-79,-84v-2,-47,30,-83,75,-83xm129,-97v2,-36,-42,-52,-67,-30v-7,7,-13,17,-15,30r82,0xm83,-249r25,52r-20,0r-40,-52r35,0","w":172},"\u00ea":{"d":"102,-251r34,54v-31,3,-35,-20,-51,-31v-16,11,-19,35,-49,31r33,-54r33,0xm90,-165v45,0,72,37,70,87r-113,0v0,57,74,63,111,31r0,31v-19,12,-35,18,-64,18v-52,-1,-77,-34,-79,-84v-2,-47,30,-83,75,-83xm129,-97v2,-36,-42,-52,-67,-30v-7,7,-13,17,-15,30r82,0","w":172},"\u00eb":{"d":"90,-165v45,0,72,37,70,87r-113,0v0,57,74,63,111,31r0,31v-19,12,-35,18,-64,18v-52,-1,-77,-34,-79,-84v-2,-47,30,-83,75,-83xm129,-97v2,-36,-42,-52,-67,-30v-7,7,-13,17,-15,30r82,0xm36,-223v0,-9,8,-17,16,-17v10,0,17,7,17,17v0,9,-6,16,-16,16v-9,0,-17,-7,-17,-16xm103,-223v0,-10,8,-17,17,-17v10,0,17,7,17,17v0,10,-7,16,-17,16v-9,0,-17,-7,-17,-16","w":172},"\u00ed":{"d":"23,-162r32,0r0,162r-32,0r0,-162xm91,-249r-39,52r-20,0r24,-52r35,0","w":78},"\u00ec":{"d":"23,-162r32,0r0,162r-32,0r0,-162xm29,-249r25,52r-20,0r-40,-52r35,0","w":78},"\u00ee":{"d":"58,-251r34,54v-31,3,-35,-20,-51,-31v-16,11,-19,35,-49,31r33,-54r33,0xm23,-162r32,0r0,162r-32,0r0,-162","w":78},"\u00ef":{"d":"23,-162r32,0r0,162r-32,0r0,-162xm-11,-223v0,-9,8,-17,16,-17v10,0,17,7,17,17v0,9,-6,16,-16,16v-9,0,-17,-7,-17,-16xm56,-223v0,-10,8,-17,17,-17v10,0,17,7,17,17v0,10,-7,16,-17,16v-9,0,-17,-7,-17,-16","w":78},"\u00f1":{"d":"66,-245v14,-2,61,34,63,-1r14,0v0,22,-9,41,-29,43v-17,2,-58,-33,-62,0r-15,0v3,-27,8,-38,29,-42xm126,0v-6,-50,21,-137,-33,-138v-15,0,-27,8,-38,23r0,115r-33,0r0,-162r33,0r0,21v38,-45,103,-23,103,49r0,92r-32,0"},"\u00f3":{"d":"13,-79v0,-47,39,-83,87,-83v49,0,86,37,86,84v0,47,-40,81,-87,81v-47,0,-86,-37,-86,-82xm153,-80v1,-31,-24,-53,-55,-53v-29,0,-52,22,-52,53v0,30,23,53,54,53v31,0,53,-23,53,-53xm135,-249r-39,52r-20,0r24,-52r35,0","w":198},"\u00f2":{"d":"13,-79v0,-47,39,-83,87,-83v49,0,86,37,86,84v0,47,-40,81,-87,81v-47,0,-86,-37,-86,-82xm153,-80v1,-31,-24,-53,-55,-53v-29,0,-52,22,-52,53v0,30,23,53,54,53v31,0,53,-23,53,-53xm85,-249r25,52r-20,0r-40,-52r35,0","w":198},"\u00f4":{"d":"113,-251r34,54r-20,0r-32,-31v-16,11,-19,35,-49,31r33,-54r34,0xm13,-79v0,-47,39,-83,87,-83v49,0,86,37,86,84v0,47,-40,81,-87,81v-47,0,-86,-37,-86,-82xm153,-80v1,-31,-24,-53,-55,-53v-29,0,-52,22,-52,53v0,30,23,53,54,53v31,0,53,-23,53,-53","w":198},"\u00f6":{"d":"13,-79v0,-47,39,-83,87,-83v49,0,86,37,86,84v0,47,-40,81,-87,81v-47,0,-86,-37,-86,-82xm153,-80v1,-31,-24,-53,-55,-53v-29,0,-52,22,-52,53v0,30,23,53,54,53v31,0,53,-23,53,-53xm44,-223v0,-9,8,-17,16,-17v10,0,17,7,17,17v0,9,-6,16,-16,16v-9,0,-17,-7,-17,-16xm111,-223v0,-10,8,-17,17,-17v10,0,17,7,17,17v0,10,-7,16,-17,16v-9,0,-17,-7,-17,-16","w":198},"\u00f5":{"d":"79,-245v14,-3,61,35,63,-1r14,0v0,22,-9,41,-28,43v-17,2,-59,-33,-63,0r-15,0v4,-26,8,-38,29,-42xm13,-79v0,-47,39,-83,87,-83v49,0,86,37,86,84v0,47,-40,81,-87,81v-47,0,-86,-37,-86,-82xm153,-80v1,-31,-24,-53,-55,-53v-29,0,-52,22,-52,53v0,30,23,53,54,53v31,0,53,-23,53,-53","w":198},"\u00fa":{"d":"54,-162v7,50,-22,138,33,138v15,0,28,-7,39,-22r0,-116r32,0r0,162r-32,0r0,-21v-34,41,-104,26,-104,-48r0,-93r32,0xm129,-249r-39,52r-20,0r24,-52r35,0"},"\u00f9":{"d":"54,-162v7,50,-22,138,33,138v15,0,28,-7,39,-22r0,-116r32,0r0,162r-32,0r0,-21v-34,41,-104,26,-104,-48r0,-93r32,0xm87,-249r25,52r-20,0r-40,-52r35,0"},"\u00fb":{"d":"106,-251r34,54r-20,0r-31,-31v-16,11,-19,35,-49,31r33,-54r33,0xm54,-162v7,50,-22,138,33,138v15,0,28,-7,39,-22r0,-116r32,0r0,162r-32,0r0,-21v-34,41,-104,26,-104,-48r0,-93r32,0"},"\u00fc":{"d":"54,-162v7,50,-22,138,33,138v15,0,28,-7,39,-22r0,-116r32,0r0,162r-32,0r0,-21v-34,41,-104,26,-104,-48r0,-93r32,0xm40,-223v0,-9,8,-17,16,-17v10,0,17,7,17,17v0,9,-6,16,-16,16v-9,0,-17,-7,-17,-16xm107,-223v0,-10,8,-17,17,-17v10,0,17,7,17,17v0,10,-7,16,-17,16v-9,0,-17,-7,-17,-16"},"\u00b0":{"d":"71,-165v-25,0,-49,-24,-49,-48v0,-25,23,-49,49,-49v27,0,49,23,49,49v0,25,-23,48,-49,48xm71,-243v-15,0,-30,15,-30,30v0,15,14,29,30,29v16,0,30,-14,30,-29v0,-15,-15,-30,-30,-30","w":142},"\u00a2":{"d":"109,-164r21,-59r17,0r-23,63v7,2,12,4,16,7r0,33v-7,-6,-16,-10,-26,-13r-37,102v23,9,50,2,67,-7r0,31v-26,11,-50,13,-78,7r-25,68r-17,0r28,-75v-69,-37,-38,-180,57,-157xm98,-135v-51,-5,-69,68,-34,96","w":157},"\u00a3":{"d":"58,-134v18,-52,36,-123,104,-113r20,37v-55,-20,-76,30,-90,76r28,0r0,31r-37,0r-18,68v38,-5,82,15,114,-2r0,34v-51,16,-105,-11,-158,6r29,-106r-26,0r0,-31r34,0","w":191},"\u00a7":{"d":"93,33v-8,-55,-84,-73,-81,-141v0,-19,7,-36,23,-50v-26,-38,1,-93,45,-91v35,-6,60,43,24,51v-9,0,-18,-10,-14,-20v0,-5,-4,-8,-12,-8v-41,11,-25,54,8,77v37,27,71,100,22,137v30,37,5,98,-43,94v-36,7,-60,-47,-22,-54v13,0,19,11,16,25v-1,4,4,7,8,6v14,1,28,-13,26,-26xm93,-32v37,-43,-17,-81,-43,-106v-32,46,19,75,43,106","w":146},"\u00b6":{"d":"0,-184v0,-47,30,-75,83,-74r111,0r0,31r-25,0r0,298r-30,0r0,-298r-39,0r0,298r-29,0r0,-183v-42,-1,-71,-30,-71,-72","w":195},"\u00df":{"d":"136,-73v-2,-32,-17,-46,-53,-47r0,-29v27,2,43,-12,43,-37v1,-22,-16,-38,-37,-38v-27,0,-36,18,-36,48r0,176r-32,0r0,-176v-1,-46,23,-73,69,-73v73,0,89,93,32,114v29,7,46,30,46,65v1,49,-35,82,-88,70r0,-31v30,14,57,-10,56,-42"},"\u00ae":{"d":"130,-188v71,-15,77,76,20,79v23,10,35,42,50,64r-28,0v-20,-27,-22,-68,-69,-61r0,61r-23,0r0,-143r50,0xm166,-147v0,-28,-35,-21,-63,-22r0,43v27,-1,63,6,63,-21xm0,-117v0,-77,57,-132,133,-132v77,0,133,55,133,132v0,77,-56,133,-133,133v-76,0,-133,-55,-133,-133xm244,-117v0,-58,-52,-110,-111,-110v-58,0,-110,52,-110,110v0,60,50,111,110,111v59,0,111,-53,111,-111","w":266},"\u00a9":{"d":"88,-115v-8,60,78,71,88,20r21,6v-7,29,-30,50,-64,49v-42,0,-69,-32,-69,-76v0,-78,109,-104,131,-33r-21,5v-18,-48,-95,-27,-86,29xm0,-117v0,-77,57,-132,133,-132v77,0,133,55,133,132v0,77,-56,133,-133,133v-76,0,-133,-55,-133,-133xm244,-117v0,-58,-52,-110,-111,-110v-58,0,-110,52,-110,110v0,60,50,111,110,111v59,0,111,-53,111,-111","w":266},"\u00b4":{"d":"99,-249r-39,52r-20,0r24,-52r35,0","w":120},"\u00a8":{"d":"10,-223v0,-9,8,-17,16,-17v10,0,17,7,17,17v0,9,-6,16,-16,16v-9,0,-17,-7,-17,-16xm77,-223v0,-10,8,-17,17,-17v10,0,17,7,17,17v0,10,-7,16,-17,16v-9,0,-17,-7,-17,-16","w":120},"\u00c6":{"d":"146,-246r160,0r0,32r-101,0r0,74r98,0r0,31r-98,0r0,77r105,0r0,32r-140,0r0,-109r-67,0r-64,109r-38,0xm170,-140r0,-82r-48,82r48,0","w":322},"\u00d8":{"d":"17,-122v0,-102,118,-161,207,-106r18,-21r16,14r-16,20v22,20,38,53,38,92v0,101,-122,159,-208,105r-18,21r-17,-13r17,-21v-22,-19,-37,-51,-37,-91xm95,-44v77,46,178,-24,142,-115v-5,-11,-11,-21,-19,-29xm201,-202v-65,-39,-148,6,-148,79v0,25,8,46,25,65","w":296},"\u00b1":{"d":"90,-46r0,-71r-70,0r0,-29r70,0r0,-70r30,0r0,70r70,0r0,29r-70,0r0,71r-30,0xm190,0r-170,0r0,-30r170,0r0,30","w":210},"\u00a5":{"d":"116,0r-32,0r0,-57r-73,0r0,-24r73,0r0,-26r-73,0r0,-26r60,0r-71,-125r35,0r64,118r63,-118r37,0r-71,125r60,0r0,26r-72,0r0,26r72,0r0,24r-72,0r0,57","w":198},"\u00b5":{"d":"98,-21v56,0,35,-85,39,-141r30,0r0,162r-28,0r0,-19v-13,28,-62,30,-77,3r0,78r-31,0r0,-224r31,0v4,55,-18,141,36,141","w":198},"\u00aa":{"d":"7,-235v22,-23,83,-20,76,27v2,18,-8,61,15,37r0,15v-14,11,-32,13,-39,0v-20,16,-52,10,-54,-16v-2,-21,32,-31,54,-36v1,-13,-3,-21,-16,-21v-17,1,-24,8,-36,19r0,-25xm59,-170r0,-25v-13,3,-29,6,-29,20v0,16,19,14,29,5","w":101},"\u00ba":{"d":"8,-200v0,-29,25,-49,55,-49v33,0,60,19,60,50v1,30,-26,50,-58,50v-30,0,-57,-23,-57,-51xm98,-200v0,-18,-16,-30,-33,-30v-18,0,-32,13,-32,31v0,19,14,29,33,29v18,1,33,-13,32,-30","w":131},"\u00e6":{"d":"226,-14v-28,25,-91,22,-109,-8v-35,33,-104,38,-104,-16v0,-41,49,-48,81,-59v5,-57,-55,-41,-78,-11r0,-39v25,-23,80,-25,101,3v39,-43,118,-13,109,56r-100,0v-3,63,58,79,100,43r0,31xm194,-108v-2,-37,-58,-39,-64,0r64,0xm44,-44v-1,26,32,32,50,16r0,-53v-20,9,-49,14,-50,37","w":240},"\u00f8":{"d":"37,-20v-52,-51,-14,-145,62,-145v18,0,35,5,50,15r17,-20r12,11r-16,18v52,54,13,144,-65,144v-17,0,-32,-4,-47,-13r-20,23r-12,-11xm69,-33v51,33,115,-34,73,-85xm129,-127v-52,-35,-113,35,-72,83","w":198},"\u00bf":{"d":"77,-117v56,28,-13,90,-17,129v-1,24,25,30,44,18r-23,38v-34,1,-58,-20,-58,-52v0,-47,59,-93,54,-133xm72,-140v-12,0,-21,-11,-22,-22v0,-11,10,-21,22,-21v12,0,22,9,22,21v0,12,-10,22,-22,22","w":119},"\u00a1":{"d":"49,-140v-12,0,-22,-10,-22,-22v0,-12,9,-23,22,-22v12,0,21,10,21,22v0,12,-10,22,-21,22xm48,-109v17,18,20,91,20,126v0,34,-6,52,-19,52v-38,-17,-18,-142,-1,-178","w":97},"\u00ac":{"d":"190,-45r-30,0r0,-77r-140,0r0,-30r170,0r0,107","w":210},"\u00ab":{"d":"115,-81r53,81r-32,0r-53,-81r53,-81r32,0xm42,-81r53,81r-32,0r-53,-81r53,-81r32,0","w":176},"\u00bb":{"d":"62,-81r-54,-81r32,0r53,81r-53,81r-32,0xm135,-81r-54,-81r32,0r53,81r-53,81r-32,0","w":176},"\u00a0":{"w":100},"\u00c0":{"d":"105,-247r25,0r110,247r-36,0r-33,-73r-104,0r-31,73r-36,0xm157,-104r-40,-89r-36,89r76,0xm111,-316r25,52r-20,0r-40,-52r35,0","w":240},"\u00c3":{"d":"64,-270v-1,-56,45,-40,79,-27v8,-2,11,-5,13,-15r13,0v0,22,-8,40,-28,42v-17,2,-58,-33,-62,0r-15,0xm105,-247r25,0r110,247r-36,0r-33,-73r-104,0r-31,73r-36,0xm157,-104r-40,-89r-36,89r76,0","w":240},"\u00d5":{"d":"96,-270v-1,-56,45,-40,79,-27v8,-2,11,-5,13,-15r14,0v0,22,-9,40,-29,42v-17,2,-58,-33,-62,0r-15,0xm16,-122v0,-74,58,-127,132,-127v73,0,132,55,132,126v0,72,-59,126,-134,126v-71,0,-130,-54,-130,-125xm244,-123v0,-52,-43,-93,-95,-93v-54,0,-96,41,-96,94v0,51,42,92,95,92v54,0,96,-40,96,-93","w":296},"\u00f7":{"d":"87,-180v0,-9,10,-19,19,-19v9,0,20,9,19,19v1,10,-9,20,-19,19v-10,1,-19,-10,-19,-19xm190,-112r-170,0r0,-30r170,0r0,30xm87,-74v0,-9,10,-19,19,-19v9,0,20,9,19,19v1,10,-9,20,-19,19v-10,1,-19,-10,-19,-19","w":210},"\u00ff":{"d":"122,-162r36,0r-115,244r-35,0r55,-117r-63,-127r36,0r44,92xm29,-223v0,-9,8,-17,16,-17v10,0,17,7,17,17v0,9,-6,16,-16,16v-9,0,-17,-7,-17,-16xm96,-223v0,-10,8,-17,17,-17v10,0,17,7,17,17v0,10,-7,16,-17,16v-9,0,-17,-7,-17,-16","w":157},"\u00c2":{"d":"136,-318r34,54r-20,0r-31,-31v-16,11,-19,35,-49,31r33,-54r33,0xm105,-247r25,0r110,247r-36,0r-33,-73r-104,0r-31,73r-36,0xm157,-104r-40,-89r-36,89r76,0","w":240},"\u00ca":{"d":"113,-318r34,54r-20,0r-31,-31v-16,11,-19,35,-49,31r33,-54r33,0xm27,-246r139,0r0,32r-104,0r0,75r101,0r0,31r-101,0r0,76r108,0r0,32r-143,0r0,-246"},"\u00c1":{"d":"105,-247r25,0r110,247r-36,0r-33,-73r-104,0r-31,73r-36,0xm157,-104r-40,-89r-36,89r76,0xm159,-316r-39,52r-20,0r24,-52r35,0","w":240},"\u00cb":{"d":"27,-246r139,0r0,32r-104,0r0,75r101,0r0,31r-101,0r0,76r108,0r0,32r-143,0r0,-246xm40,-283v0,-9,8,-17,16,-17v10,0,17,7,17,17v0,9,-6,16,-16,16v-9,0,-17,-7,-17,-16xm107,-283v0,-10,8,-17,17,-17v10,0,17,7,17,17v0,10,-7,16,-17,16v-9,0,-17,-7,-17,-16"},"\u00c8":{"d":"27,-246r139,0r0,32r-104,0r0,75r101,0r0,31r-101,0r0,76r108,0r0,32r-143,0r0,-246xm87,-316r25,52r-20,0r-40,-52r35,0"},"\u00cd":{"d":"27,-246r36,0r0,246r-36,0r0,-246xm93,-316r-39,52r-20,0r24,-52r35,0","w":90},"\u00ce":{"d":"63,-318r34,54v-31,3,-35,-20,-51,-31v-16,11,-19,35,-49,31r33,-54r33,0xm27,-246r36,0r0,246r-36,0r0,-246","w":90},"\u00cf":{"d":"27,-246r36,0r0,246r-36,0r0,-246xm-4,-283v0,-9,8,-17,16,-17v10,0,17,7,17,17v0,9,-6,16,-16,16v-9,0,-17,-7,-17,-16xm63,-283v0,-10,8,-17,17,-17v10,0,17,7,17,17v0,10,-7,16,-17,16v-9,0,-17,-7,-17,-16","w":90},"\u00cc":{"d":"27,-246r36,0r0,246r-36,0r0,-246xm36,-316r25,52r-20,0r-40,-52r35,0","w":90},"\u00d3":{"d":"16,-122v0,-74,58,-127,132,-127v73,0,132,55,132,126v0,72,-59,126,-134,126v-71,0,-130,-54,-130,-125xm244,-123v0,-52,-43,-93,-95,-93v-54,0,-96,41,-96,94v0,51,42,92,95,92v54,0,96,-40,96,-93xm183,-316r-39,52r-20,0r24,-52r35,0","w":296},"\u00d4":{"d":"159,-318r33,54v-31,3,-35,-20,-51,-31v-16,11,-19,35,-49,31r33,-54r34,0xm16,-122v0,-74,58,-127,132,-127v73,0,132,55,132,126v0,72,-59,126,-134,126v-71,0,-130,-54,-130,-125xm244,-123v0,-52,-43,-93,-95,-93v-54,0,-96,41,-96,94v0,51,42,92,95,92v54,0,96,-40,96,-93","w":296},"\u00d2":{"d":"16,-122v0,-74,58,-127,132,-127v73,0,132,55,132,126v0,72,-59,126,-134,126v-71,0,-130,-54,-130,-125xm244,-123v0,-52,-43,-93,-95,-93v-54,0,-96,41,-96,94v0,51,42,92,95,92v54,0,96,-40,96,-93xm142,-316r25,52r-20,0r-40,-52r35,0","w":296},"\u00da":{"d":"127,-28v48,0,71,-22,71,-78r0,-140r35,0r0,140v3,77,-38,109,-105,109v-68,0,-106,-32,-106,-110r0,-139r35,0r0,140v-2,58,21,78,70,78xm169,-316r-39,52r-20,0r24,-52r35,0","w":254},"\u00db":{"d":"142,-318r34,54r-20,0r-31,-31v-16,11,-19,35,-49,31r33,-54r33,0xm127,-28v48,0,71,-22,71,-78r0,-140r35,0r0,140v3,77,-38,109,-105,109v-68,0,-106,-32,-106,-110r0,-139r35,0r0,140v-2,58,21,78,70,78","w":254},"\u00d9":{"d":"127,-28v48,0,71,-22,71,-78r0,-140r35,0r0,140v3,77,-38,109,-105,109v-68,0,-106,-32,-106,-110r0,-139r35,0r0,140v-2,58,21,78,70,78xm117,-316r25,52r-20,0r-40,-52r35,0","w":254},"\u00b8":{"d":"67,32v-1,-9,-10,-10,-21,-10r9,-25r20,0r-2,9v10,4,20,11,20,23v-1,25,-27,37,-57,32r0,-20v14,0,29,1,31,-9","w":120},"\u00a6":{"d":"33,-123r0,-123r28,0r0,123r-28,0xm33,83r0,-146r28,0r0,146r-28,0","w":93},"\u00ad":{"d":"102,-97r0,34r-88,0r0,-34r88,0","w":116},"\u00af":{"d":"-6,-263r0,-23r211,0r0,23r-211,0","w":198},"\u00d0":{"d":"253,-123v0,82,-52,126,-148,123r-78,0r0,-111r-28,0r0,-23r28,0r0,-112r83,0v91,-2,143,43,143,123xm217,-125v0,-74,-66,-97,-154,-89r0,80r69,0r0,23r-69,0r0,79r45,0v72,4,109,-34,109,-93","w":270},"\u00f0":{"d":"140,-157v-16,-25,-17,-27,-40,-45r-52,24r-8,-20r38,-17v-10,-5,-21,-9,-31,-11r18,-22v23,7,24,8,44,18r39,-18r9,19r-27,13v35,30,58,67,59,124v0,56,-33,95,-89,95v-47,0,-86,-37,-86,-83v0,-60,65,-104,126,-77xm102,-26v34,0,56,-21,56,-55v0,-32,-23,-55,-56,-55v-31,0,-57,26,-57,56v0,31,26,54,57,54","w":202},"\u00dd":{"d":"175,-246r42,0r-90,116r0,130r-36,0r0,-130r-91,-116r43,0r65,85xm148,-316r-39,52r-20,0r24,-52r35,0","w":217},"\u00fd":{"d":"122,-162r36,0r-115,244r-35,0r55,-117r-63,-127r36,0r44,92xm118,-249r-39,52r-20,0r24,-52r35,0","w":157},"\u00de":{"d":"180,-122v0,58,-52,74,-120,69r0,53r-35,0r0,-246r35,0r0,53v67,-7,121,11,120,71xm60,-85v42,2,84,2,84,-38v0,-38,-43,-40,-84,-38r0,76","w":183},"\u00fe":{"d":"168,-80v1,58,-56,101,-115,76r0,86r-32,0r0,-328r32,0r0,84v68,-5,115,20,115,82xm135,-81v0,-45,-34,-54,-82,-51r0,100v40,20,82,-5,82,-49"},"\u00d7":{"d":"28,-72r56,-55r-56,-55r22,-22r55,55r55,-55r21,22r-55,55r55,55r-21,21r-55,-55r-55,55","w":210},"\u00b9":{"d":"46,-247r24,0r0,127r-24,0r0,-127","w":116},"\u00b2":{"d":"13,-236v39,-36,110,8,73,57r-34,40r54,0r0,19v-31,-2,-69,4,-96,-2v23,-24,55,-50,60,-84v-3,-33,-42,-27,-57,-2r0,-28","w":116},"\u00b3":{"d":"71,-156v0,-16,-12,-19,-30,-20v1,-6,-3,-17,2,-19v35,4,34,-37,4,-35v-7,0,-16,2,-27,7r0,-20v29,-13,76,-5,75,29v0,12,-6,21,-17,27v38,16,13,69,-28,69v-11,0,-21,-3,-33,-8r0,-22v19,12,54,18,54,-8","w":116},"\u00bd":{"d":"215,-249r24,0r-163,258r-24,0xm46,-247r24,0r0,127r-24,0r0,-127xm201,-117v39,-36,110,8,73,57r-34,40r54,0r0,19v-31,-2,-69,4,-96,-2v23,-24,55,-50,60,-84v-3,-33,-42,-27,-57,-2r0,-28","w":303},"\u00bc":{"d":"267,-130r12,0r0,71r16,0r0,18r-16,0r0,41r-24,0r0,-41r-62,0r0,-9xm255,-59r0,-30r-29,30r29,0xm226,-249r24,0r-164,258r-24,0xm46,-247r24,0r0,127r-24,0r0,-127","w":303},"\u00be":{"d":"267,-130r12,0r0,71r16,0r0,18r-16,0r0,41r-24,0r0,-41r-62,0r0,-9xm255,-59r0,-30r-29,30r29,0xm221,-249r25,0r-164,258r-24,0xm71,-156v0,-16,-12,-19,-30,-20v1,-6,-3,-17,2,-19v35,4,34,-37,4,-35v-7,0,-16,2,-27,7r0,-20v29,-13,76,-5,75,29v0,12,-6,21,-17,27v38,16,13,69,-28,69v-11,0,-21,-3,-33,-8r0,-22v19,12,54,18,54,-8","w":303},"\u00b7":{"d":"111,-146v9,0,20,9,19,19v1,10,-9,20,-19,19v-10,1,-19,-10,-19,-19v0,-9,10,-19,19,-19","w":120},"\u00a4":{"d":"141,-61v-21,16,-62,17,-83,0r-25,24r-20,-20r24,-24v-16,-25,-16,-58,0,-83r-24,-24r20,-21r25,25v19,-17,64,-17,83,0r24,-25r21,21r-25,24v17,25,17,58,0,83r25,24r-21,20xm99,-168v-25,0,-45,20,-45,45v0,25,21,46,45,46v24,0,46,-22,46,-46v0,-24,-21,-45,-46,-45","w":198}}});
/*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Copyright:
 * Digitized data copyright © 1997 The Monotype Corporation, Inc. All rights
 * reserved. Gill Sansź is a trademark of The Monotype Corporation, Inc. which may
 * be registered in certain jurisdictions.
 * 
 * Trademark:
 * Gill Sansź is a trademark of The Monotype Corporation, Inc. which may be
 * registered in certain jurisdictions.
 * 
 * Description:
 * Monotype Type Drawing Office 1928. Gill studied under the renowned
 * calligrapher, Edward Johnston, the designer of the London Underground sans serif
 * typeface. This influenced Gill who later experimented with sans serif designs,
 * and in due course produced a set of capital letters. These became Monotype
 * series 231, produced in 1923, and the forerunner of the extensive Gill Sans
 * range now available. A twentieth century sans serif that has a simplicity of
 * form which does not reject traditional forms and proportions, and gives the face
 * a humanist feel. The lighter weights are highly readable in text and suitable
 * for magazine and book work, whereas the heavier weights are best used for
 * display in advertising, packaging, and labels.
 * 
 * Manufacturer:
 * Monotype Typography
 * 
 * Designer:
 * Eric Gill
 * 
 * Vendor URL:
 * http://www.monotype.com/html/mtname/ms_welcome.html
 */
Cufon.registerFont({"w":198,"face":{"font-family":"gill","font-weight":700,"font-stretch":"normal","units-per-em":"360","panose-1":"2 11 8 2 2 1 4 2 2 3","ascent":"288","descent":"-72","x-height":"3","bbox":"-22 -330 420 83.1151","underline-thickness":"17.9297","underline-position":"-18.1055","unicode-range":"U+0020-U+00FF"},"glyphs":{" ":{"w":100,"k":{"Y":63,"W":45,"V":54,"T":54,"A":36}},"!":{"d":"49,-249v61,1,15,132,10,168v-1,10,-17,9,-20,1v-5,-16,-20,-104,-20,-130v0,-26,10,-39,30,-39xm49,3v-17,0,-31,-14,-31,-31v0,-17,14,-31,31,-31v17,0,31,14,31,31v0,17,-14,31,-31,31","w":97},"\"":{"d":"145,-166r-32,0v-5,-28,-10,-57,-8,-92r48,0v2,35,-2,64,-8,92xm19,-258r49,0v2,35,-3,65,-9,92r-31,0v-6,-28,-11,-56,-9,-92","w":172},"#":{"d":"-2,-180r52,0r14,-65r40,0r-13,65r55,0r14,-65r40,0r-14,65r27,0r0,39r-35,0r-10,47r45,0r0,39r-53,0r-14,66r-40,0r14,-66r-55,0r-14,66r-41,0r14,-66r-26,0r0,-39r34,0r10,-47r-44,0r0,-39xm82,-141r-9,47r55,0r9,-47r-55,0","w":210},"$":{"d":"82,-103v-90,-10,-82,-128,0,-133r0,-13r30,0r0,13v17,1,36,8,56,19r0,44v-17,-13,-36,-21,-56,-24r0,58v36,12,69,35,69,73v0,41,-30,62,-69,69r0,40r-30,0r0,-40v-22,-3,-43,-12,-63,-25r0,-42v22,17,43,27,63,30r0,-69xm82,-149r0,-48v-33,7,-31,40,0,48xm112,-94r0,59v39,-6,36,-50,0,-59","w":195},"%":{"d":"9,-191v0,-31,27,-58,58,-58v31,0,59,27,58,58v0,31,-27,58,-58,58v-31,1,-58,-27,-58,-58xm41,-191v0,14,12,27,26,27v14,0,25,-12,25,-27v0,-14,-11,-27,-25,-27v-14,0,-27,11,-26,27xm230,-249r-172,252r-30,0r173,-252r29,0xm134,-55v0,-31,27,-58,58,-58v31,0,58,27,58,58v0,31,-27,58,-58,58v-31,0,-58,-27,-58,-58xm166,-55v0,14,12,27,26,27v14,0,25,-12,25,-27v0,-14,-11,-27,-25,-27v-14,0,-26,12,-26,27","w":258},"&":{"d":"122,-249v38,0,71,23,71,59v0,24,-16,45,-46,63r34,38v11,-11,20,-23,28,-38r52,0v-14,32,-30,56,-49,73r49,54r-74,0r-18,-20v-52,39,-154,29,-155,-42v0,-28,18,-50,55,-69v-46,-50,-14,-118,53,-118xm122,-208v-32,2,-26,34,-1,51v16,-9,24,-20,24,-31v0,-12,-10,-21,-23,-20xm97,-99v-37,17,-30,62,6,62v12,0,24,-5,37,-14","w":270},"'":{"d":"59,-166r-31,0v-6,-28,-11,-56,-9,-92r49,0v2,35,-3,65,-9,92","w":86},"(":{"d":"16,-83v0,-70,39,-133,83,-166r37,0v-86,91,-85,241,0,332r-37,0v-44,-35,-83,-95,-83,-166","w":138},")":{"d":"122,-83v0,70,-39,132,-83,166r-37,0v86,-92,85,-241,0,-332r37,0v44,34,83,96,83,166","w":138},"*":{"d":"91,-159r17,56v0,12,-21,7,-33,8v-11,1,-13,-5,-10,-13r16,-51r-4,-4v-15,14,-30,33,-47,44v-8,-6,-29,-34,-12,-40v17,-6,39,-6,55,-13r-55,-12v-17,-9,4,-33,11,-42v17,10,33,32,48,46r4,-4r-17,-57v-1,-12,21,-7,32,-8v11,0,14,6,11,14r-16,51r4,4v15,-14,30,-35,47,-45v7,6,31,35,11,41v-17,6,-38,6,-54,13r54,12v20,7,-5,33,-11,41v-17,-12,-32,-31,-47,-45","w":168},"+":{"d":"15,-104r0,-46r67,0r0,-67r46,0r0,67r67,0r0,46r-67,0r0,67r-46,0r0,-67r-67,0","w":210},",":{"d":"45,-52v42,1,45,62,19,89v-13,13,-27,22,-46,24v1,-24,23,-33,16,-58v-30,-9,-19,-57,11,-55","w":97,"k":{" ":36}},"-":{"d":"107,-107r0,48r-94,0r0,-48r94,0","w":119},".":{"d":"49,3v-18,0,-32,-13,-32,-31v0,-18,14,-31,32,-31v17,0,31,14,31,31v0,17,-14,31,-31,31","w":97,"k":{" ":36}},"\/":{"d":"0,3r61,-252r37,0r-62,252r-36,0","w":101},"0":{"d":"16,-123v0,-70,24,-126,84,-126v58,0,82,58,82,125v0,70,-21,127,-82,127v-61,0,-84,-58,-84,-126xm99,-203v-42,-3,-31,107,-22,142v3,13,13,18,23,18v30,-7,28,-37,28,-85v0,-42,0,-73,-29,-75"},"1":{"d":"126,-246r0,246r-55,0r0,-246r55,0"},"2":{"d":"23,-225v53,-42,146,-29,146,46v0,30,-22,73,-66,129r79,0r0,50r-162,0r0,-7v28,-41,94,-102,94,-162v0,-51,-61,-40,-91,-5r0,-51"},"3":{"d":"111,-71v0,-21,-17,-34,-38,-35r0,-43v18,1,34,-12,34,-29v0,-36,-51,-34,-80,-17r0,-43v49,-23,136,-10,135,49v0,24,-13,44,-37,57v29,11,43,32,43,63v0,70,-91,88,-147,58r0,-47v19,13,36,19,52,19v21,0,39,-11,38,-32"},"4":{"d":"165,-249r0,149r16,0r0,40r-16,0r0,60r-54,0r0,-60r-96,0r0,-40r115,-149r35,0xm58,-100r53,0r0,-67"},"5":{"d":"114,-73v3,-34,-44,-40,-78,-32r0,-141r127,0r0,50r-78,0r0,46v49,-6,86,29,86,75v0,73,-90,96,-148,65r0,-45v34,23,88,25,91,-18"},"6":{"d":"97,3v-92,-4,-101,-113,-48,-183r43,-69r60,0r-57,93v49,-11,85,28,84,75v0,46,-36,85,-82,84xm70,-78v0,20,9,35,28,35v18,0,28,-17,28,-36v0,-19,-10,-37,-28,-37v-18,0,-28,17,-28,38"},"7":{"d":"48,-15r66,-182r-91,0r0,-49r162,0r-88,249"},"8":{"d":"99,3v-78,10,-114,-103,-45,-133v-58,-33,-24,-119,45,-119v68,0,105,86,46,119v67,32,34,143,-46,133xm99,-213v-29,1,-31,69,1,68v16,-1,22,-16,22,-35v0,-22,-8,-33,-23,-33xm72,-72v0,21,9,39,28,39v18,0,27,-17,27,-37v0,-22,-9,-39,-27,-40v-18,0,-28,18,-28,38"},"9":{"d":"100,-249v90,4,102,114,48,182r-43,70r-60,0r57,-92v-49,13,-84,-31,-84,-75v0,-47,37,-87,82,-85xm70,-166v0,20,11,38,29,38v35,0,37,-77,0,-75v-18,0,-29,17,-29,37"},":":{"d":"49,-103v-17,0,-32,-14,-32,-32v0,-18,14,-31,32,-31v17,0,31,14,31,31v0,17,-14,32,-31,32xm49,3v-18,0,-32,-13,-32,-31v0,-18,14,-31,32,-31v17,0,31,14,31,31v0,17,-14,31,-31,31","w":97,"k":{" ":36}},";":{"d":"49,-103v-17,0,-32,-14,-32,-32v0,-18,14,-31,32,-31v17,0,31,14,31,31v0,17,-14,32,-31,32xm45,-52v42,1,45,62,19,89v-13,13,-27,22,-46,24v1,-24,23,-33,16,-58v-30,-9,-19,-57,11,-55","w":97,"k":{" ":36}},"<":{"d":"17,-106r0,-43r177,-77r0,49r-124,49r124,49r0,49","w":210},"=":{"d":"15,-143r0,-46r180,0r0,46r-180,0xm15,-65r0,-46r180,0r0,46r-180,0","w":210},">":{"d":"193,-106r-176,76r0,-49r123,-49r-123,-49r0,-49r176,77r0,43","w":210},"?":{"d":"36,-114v-4,-19,29,-59,29,-78v0,-29,-39,-16,-56,-5r9,-45v44,-17,101,-4,101,44v0,50,-53,70,-52,118v-1,7,-2,6,-11,6v-18,2,-17,-27,-20,-40xm57,3v-17,0,-32,-14,-32,-31v0,-17,15,-31,32,-31v17,0,31,14,31,31v0,17,-14,31,-31,31","w":135},"@":{"d":"43,-83v0,81,64,128,148,127v56,0,97,-16,122,-47r37,0v-25,51,-81,78,-155,79v-99,1,-184,-58,-184,-159v0,-101,72,-179,180,-179v83,0,149,52,149,134v0,65,-51,130,-116,128v-18,0,-29,-7,-32,-20v-42,44,-115,9,-115,-54v0,-73,85,-158,141,-93r5,-19r46,0r-29,141v0,6,3,9,7,9v27,-2,64,-55,62,-92v-3,-63,-50,-102,-121,-102v-88,0,-145,64,-145,147xm209,-118v0,-24,-12,-40,-33,-41v-35,0,-54,48,-54,86v0,21,12,41,32,41v34,0,55,-52,55,-86","w":352},"A":{"d":"171,-246r109,246r-66,0r-20,-49r-110,0r-18,49r-65,0r99,-246r71,0xm176,-91r-40,-96r-36,96r76,0","w":281,"k":{"y":9,"w":9,"v":9,"Y":40,"W":29,"V":29,"U":7,"T":43,"Q":14,"O":14,"G":14,"C":14}},"B":{"d":"234,-72v0,47,-36,73,-87,72r-120,0r0,-246r107,0v71,-7,113,80,47,111v30,7,53,29,53,63xm152,-175v0,-28,-33,-27,-63,-26r0,53v30,1,64,2,63,-27xm169,-75v0,-34,-45,-28,-80,-28r0,58v36,-1,80,6,80,-30","w":251,"k":{"U":7,".":5,",":5}},"C":{"d":"167,-48v40,-2,51,-10,89,-27r0,54v-96,56,-239,11,-239,-101v0,-107,144,-161,236,-105r0,55v-64,-45,-173,-32,-173,49v0,45,39,76,87,75","w":277,"k":{".":-9,",":-9}},"D":{"d":"271,-122v0,80,-58,122,-143,122r-101,0r0,-246r108,0v79,-2,136,49,136,124xm208,-123v0,-64,-49,-85,-120,-78r0,156v71,7,120,-14,120,-78","w":288,"k":{"Y":36,"W":25,"V":25,"A":20,".":27,",":27}},"E":{"d":"209,-45r0,45r-181,0r0,-246r179,0r0,45r-118,0r0,52r112,0r0,45r-112,0r0,59r120,0","w":228},"F":{"d":"197,-246r0,45r-108,0r0,55r108,0r0,45r-108,0r0,101r-62,0r0,-246r170,0","w":217,"k":{"r":7,"o":11,"e":11,"a":7,"A":22,".":50,",":50}},"G":{"d":"17,-122v0,-115,146,-156,245,-107r0,54v-69,-39,-182,-32,-182,55v0,60,70,88,125,63r0,-28r-35,0r0,-45r97,0r0,100v-18,20,-67,33,-104,33v-80,0,-146,-50,-146,-125","w":292},"H":{"d":"272,-246r0,246r-61,0r0,-99r-122,0r0,99r-61,0r0,-246r61,0r0,99r122,0r0,-99r61,0","w":299},"I":{"d":"91,-246r0,246r-61,0r0,-246r61,0","w":119},"J":{"d":"93,-246r0,223v1,70,-37,101,-105,94r0,-48v29,5,44,-11,44,-45r0,-224r61,0","w":119,"k":{"u":7,"o":7,"e":7}},"K":{"d":"234,-246r-80,116r108,130r-77,0r-97,-115r0,115r-61,0r0,-246r61,0r0,111r78,-111r68,0","w":258,"k":{"y":27,"u":18,"o":22,"e":22,"O":25}},"L":{"d":"215,-45r0,45r-188,0r0,-246r62,0r0,201r126,0","w":221,"k":{"y":11,"Y":45,"W":43,"V":45,"T":45}},"M":{"d":"159,-155r79,-91r54,0r0,246r-62,0r0,-153r-66,77r-9,0r-66,-77r0,153r-62,0r0,-246r54,0","w":318},"N":{"d":"276,-246r0,246r-51,0r-136,-157r0,157r-61,0r0,-246r56,0r131,151r0,-151r61,0","w":303},"O":{"d":"17,-123v0,-71,64,-126,141,-126v77,0,140,55,140,126v1,71,-64,126,-140,126v-78,0,-141,-55,-141,-126xm80,-123v0,45,32,75,78,75v46,0,77,-31,77,-75v0,-44,-32,-75,-77,-75v-45,0,-78,30,-78,75","w":315,"k":{"Y":29,"X":29,"W":22,"V":23,"T":23,"A":14,".":22,",":22}},"P":{"d":"221,-173v-1,42,-33,74,-81,74r-49,0r0,99r-61,0r0,-246r109,0v45,-1,82,30,82,73xm158,-172v0,-32,-34,-29,-67,-29r0,57v32,1,67,1,67,-28","w":236,"k":{"o":27,"e":27,"a":11,"A":40,".":68,",":68}},"Q":{"d":"298,-123v0,59,-41,105,-91,119v28,15,58,23,91,15r4,5r-48,41v-76,-9,-124,-51,-184,-78v-28,-21,-53,-52,-53,-100v-1,-71,66,-128,141,-128v77,0,141,55,140,126xm235,-122v0,-45,-33,-76,-77,-76v-46,0,-78,30,-78,76v0,45,33,75,78,75v46,0,77,-30,77,-75","w":315},"R":{"d":"175,0v-20,-26,-26,-114,-86,-100r0,100r-62,0r0,-246r110,0v77,-7,113,103,38,131v30,16,49,81,68,115r-68,0xm89,-145v32,1,66,2,66,-28v0,-30,-35,-29,-66,-28r0,56","w":243,"k":{"Y":36,"W":25,"V":22,"U":11,"T":22,"O":5}},"S":{"d":"29,-138v-35,-55,15,-111,82,-111v26,0,54,6,83,19r0,48v-33,-15,-59,-22,-78,-22v-24,0,-50,19,-29,34v38,28,120,30,118,99v-2,84,-120,90,-183,50r0,-52v27,18,47,30,84,31v32,1,47,-21,29,-37v-25,-22,-87,-29,-106,-59","w":217},"T":{"d":"249,-246r0,45r-89,0r0,201r-61,0r0,-201r-89,0r0,-45r239,0","w":258,"k":{"y":54,"w":61,"u":50,"r":45,"o":59,"e":59,"a":50,"O":23,"A":43,";":11,":":11,".":54,"-":76,",":54}},"U":{"d":"147,-48v38,0,63,-23,63,-61r0,-137r61,0r0,140v0,73,-48,109,-123,109v-74,0,-124,-37,-123,-109r0,-140r61,0r0,142v0,34,26,56,61,56","w":296,"k":{"A":16,".":9,",":9}},"V":{"d":"259,-246r-114,249r-26,0r-119,-249r67,0r64,141r62,-141r66,0","w":258,"k":{"u":27,"o":36,"e":36,"a":22,"O":23,"G":23,"A":29,".":47,"-":43,",":47}},"W":{"d":"210,-157r-76,160r-26,0r-108,-249r65,0r57,136r63,-136r50,0r63,136r57,-136r65,0r-107,249r-27,0","w":420,"k":{"y":11,"u":27,"o":32,"e":32,"a":22,"O":22,"A":29,".":47,"-":43,",":47}},"X":{"d":"280,-246r-96,119r107,127r-79,0r-67,-81r-65,81r-79,0r104,-127r-98,-119r79,0r59,73r58,-73r77,0","w":292},"Y":{"d":"97,0r0,-115r-97,-131r74,0r53,78r54,-78r74,0r-97,131r0,115r-61,0","w":254,"k":{"u":43,"o":50,"e":47,"a":43,"S":13,"O":29,"A":40,";":11,":":11,".":54,"-":63,",":54}},"Z":{"d":"240,-246r-134,201r134,0r0,45r-239,0r135,-201r-125,0r0,-45r229,0","w":251},"[":{"d":"151,-246r0,40r-69,0r0,246r69,0r0,40r-121,0r0,-326r121,0","w":157},"\\":{"d":"100,3r-36,0r-62,-252r38,0","w":101},"]":{"d":"7,80r0,-40r68,0r0,-246r-68,0r0,-40r120,0r0,326r-120,0","w":157},"^":{"d":"20,-105r66,-141r39,0r65,141r-50,0r-35,-86r-35,86r-50,0","w":210},"_":{"d":"-2,27r184,0r0,18r-184,0r0,-18","w":180},"`":{"d":"3,-243r59,0r27,52r-27,0","w":119},"a":{"d":"113,-15v-35,27,-98,25,-101,-22v8,-53,32,-45,99,-70v1,-19,-9,-27,-29,-27v-22,0,-42,8,-61,27r0,-42v41,-30,142,-31,142,30r0,76v2,19,15,10,28,2r0,29v-26,16,-67,26,-78,-3xm65,-45v2,24,32,19,46,5r0,-40v-25,11,-43,11,-46,35","w":191,"k":{"y":14,"w":13,"v":13,"p":4,"g":5}},"b":{"d":"197,-83v0,67,-69,112,-124,70r0,13r-52,0r0,-246r52,0r0,89v58,-34,124,9,124,74xm144,-84v0,-43,-38,-65,-71,-39r0,77v31,30,71,7,71,-38","w":209,"k":{"y":9,"v":5,"l":4,"b":4,".":4,",":4}},"c":{"d":"70,-83v1,49,51,60,97,38r0,37v-70,29,-153,0,-153,-74v0,-72,81,-107,150,-76r0,38v-38,-22,-96,-11,-94,37","w":180,"k":{".":-7,",":-7}},"d":{"d":"13,-83v0,-65,63,-107,123,-76r0,-87r53,0r0,246r-53,0r0,-13v-52,42,-123,-4,-123,-70xm66,-82v-5,44,41,66,70,37r0,-80v-33,-22,-75,-1,-70,43","w":209,"k":{"d":4}},"e":{"d":"67,-75v4,58,79,58,117,23r0,33v-58,45,-171,20,-171,-63v0,-78,101,-116,151,-62v16,17,24,40,23,69r-120,0xm68,-102r72,0v-3,-24,-15,-36,-36,-36v-21,0,-33,12,-36,36","k":{"y":5,"x":4,"w":5,"v":11,".":-7,",":-7}},"f":{"d":"29,-166v-2,-63,39,-94,105,-80r0,43v-34,-6,-57,0,-53,37r24,0r0,36r-24,0r0,130r-52,0r0,-130r-24,0r0,-36r24,0","w":108,"k":{"o":4,"e":4}},"g":{"d":"18,-105v0,-36,32,-61,74,-61r99,0r0,35r-24,0v24,40,-9,80,-49,83v-27,2,-43,4,-31,20v14,5,81,5,86,23v39,46,-10,88,-74,88v-47,0,-89,-11,-89,-48v0,-20,14,-35,44,-43v-32,-10,-24,-41,11,-46v-24,-4,-48,-23,-47,-51xm127,-107v0,-15,-14,-28,-30,-28v-17,0,-30,14,-30,30v0,15,15,31,30,30v16,0,31,-15,30,-32xm98,13v-20,-1,-40,5,-40,19v0,13,15,20,43,20v18,0,38,-7,38,-21v0,-12,-14,-18,-41,-18","w":195,"k":{"y":-7,"o":4,"e":5}},"h":{"d":"75,-142v33,-49,114,-27,114,36r0,106r-53,0r0,-95v1,-48,-43,-44,-61,-11r0,106r-53,0r0,-246r53,0r0,104","w":209,"k":{"y":13}},"i":{"d":"49,-191v-15,0,-29,-13,-29,-29v0,-16,14,-29,29,-29v15,0,28,14,28,29v0,15,-14,29,-28,29xm75,-166r0,166r-52,0r0,-166r52,0","w":97},"j":{"d":"50,-191v-15,0,-29,-13,-29,-29v0,-16,14,-29,29,-29v15,0,28,14,28,29v0,15,-14,29,-28,29xm76,-166v-9,94,35,235,-63,249r-16,-47v18,-3,27,-18,27,-44r0,-158r52,0","w":97},"k":{"d":"75,-246r1,162r64,-82r61,0r-65,82r68,84r-64,0r-65,-82r0,82r-52,0r0,-246r52,0","k":{"o":11,"e":11}},"l":{"d":"75,-246r0,246r-52,0r0,-246r52,0","w":97,"k":{"y":4,"w":4}},"m":{"d":"147,0v-6,-49,20,-132,-32,-134v-14,0,-27,8,-40,23r0,111r-52,0r0,-166r52,0r0,21v34,-34,97,-34,117,11v37,-56,131,-43,131,27r0,107r-53,0v-6,-49,20,-131,-30,-134v-15,0,-29,9,-41,28r0,106r-52,0","w":344,"k":{"y":13,"u":4}},"n":{"d":"74,-142v34,-48,114,-30,114,37r0,105r-52,0r0,-101v-1,-46,-45,-40,-62,-6r0,107r-52,0r0,-166r52,0r0,24","w":209,"k":{"y":7,"v":11,"u":4}},"o":{"d":"13,-83v0,-51,42,-87,94,-86v51,1,94,33,94,86v0,53,-43,86,-94,86v-53,0,-94,-35,-94,-86xm107,-138v-27,0,-39,23,-38,55v0,37,13,55,38,55v25,0,38,-18,38,-56v0,-36,-13,-54,-38,-54","w":213,"k":{"y":13,"x":11,"w":13,"v":14,"g":5,".":11,",":11}},"p":{"d":"197,-85v0,68,-65,109,-124,77r0,91r-52,0r0,-249r52,0r0,14v50,-43,124,2,124,67xm144,-82v0,-45,-40,-65,-71,-37r0,76v32,25,71,4,71,-39","w":209,"k":{"y":13,".":11,",":11}},"q":{"d":"13,-85v0,-65,73,-111,124,-67r0,-14r52,0r0,249r-52,0r0,-91v-58,33,-124,-9,-124,-77xm66,-82v0,44,40,64,71,39r0,-76v-31,-28,-71,-9,-71,37","w":209},"r":{"d":"118,-120v-19,-7,-41,41,-43,48r0,72r-52,0r0,-166r52,0v1,15,-2,35,1,48v23,-49,47,-66,87,-36r-14,46v-13,-8,-23,-12,-31,-12","w":161,"k":{"y":-11,"v":-11,"t":-7,"r":4,"q":5,"o":9,"e":7,"d":5,"c":9,";":-14,":":-14,".":36,"-":29,",":36}},"s":{"d":"13,-118v0,-53,81,-62,123,-39r0,37v-20,-12,-39,-18,-56,-18v-16,0,-22,10,-15,19v23,13,79,27,79,68v0,60,-82,64,-127,42r0,-37v21,9,39,14,53,14v17,0,26,-4,26,-12v-11,-29,-83,-26,-83,-74","w":153,"k":{"w":4}},"t":{"d":"141,-7v-51,23,-113,8,-113,-52r0,-71r-24,0r0,-10r70,-78r6,0r0,52r61,0r0,36r-61,0v3,37,-14,95,26,95v11,0,22,-4,35,-10r0,38","w":146},"u":{"d":"74,-63v-2,55,62,26,62,3r0,-106r52,0r0,166r-52,0r0,-24v-34,47,-114,30,-114,-36r0,-106r52,0r0,103","w":209},"v":{"d":"77,3r-76,-169r56,0r35,91r35,-91r56,0r-76,169r-30,0","w":183,"k":{"o":7,"e":7,".":22,",":22}},"w":{"d":"141,-87r-42,90r-24,0r-75,-169r53,0r35,91r37,-91r32,0r36,91r35,-91r54,0r-75,169r-25,0","w":281,"k":{"o":7,"e":7,".":22,",":22}},"x":{"d":"193,-166r-66,81r71,85r-61,0r-39,-52r-38,52r-59,0r68,-85r-68,-81r61,0r36,48r34,-48r61,0","k":{"e":11}},"y":{"d":"183,-166r-111,246r-55,0r48,-107r-65,-139r56,0r35,85r37,-85r55,0","w":183,"k":{"o":9,"e":13,"a":5,".":29,",":29}},"z":{"d":"15,-166r162,0r-85,130r85,0r0,36r-170,0r85,-130r-77,0r0,-36","w":187,"k":{"o":7,"e":7}},"{":{"d":"49,10v1,-42,2,-84,-39,-82r0,-41v41,2,40,-40,39,-82v0,-52,27,-69,82,-66r0,43v-36,1,-36,2,-37,39v-1,48,-3,66,-30,87v27,20,29,37,30,85v1,37,1,39,37,40r0,43v-55,3,-82,-14,-82,-66","w":138},"|":{"d":"31,80r0,-326r39,0r0,326r-39,0","w":101},"}":{"d":"90,-195v0,42,-3,84,38,82r0,41v-41,-2,-39,40,-38,82v0,52,-27,69,-82,66v2,-13,-4,-34,2,-43v36,-1,33,-3,34,-40v2,-47,4,-65,31,-85v-27,-21,-30,-39,-31,-87v-1,-38,0,-38,-36,-39r0,-43v55,-3,82,14,82,66","w":138},"~":{"d":"147,-62v-16,1,-74,-28,-87,-28v-15,0,-33,9,-54,27r0,-47v21,-17,39,-26,57,-26v18,0,73,28,89,28v15,0,32,-9,52,-27r0,47v-12,13,-35,24,-57,26","w":210},"\u00c4":{"d":"171,-246r109,246r-66,0r-20,-49r-110,0r-18,49r-65,0r99,-246r71,0xm176,-91r-40,-96r-36,96r76,0xm154,-298v0,-16,13,-29,29,-29v16,0,29,14,29,29v0,15,-14,29,-29,29v-15,0,-29,-13,-29,-29xm70,-298v0,-15,13,-29,29,-29v16,0,29,14,29,29v0,15,-14,29,-29,29v-15,0,-29,-14,-29,-29","w":281},"\u00c5":{"d":"136,-302v26,0,47,33,30,56r5,0r109,246r-66,0r-20,-49r-110,0r-18,49r-65,0r99,-246r5,0v-17,-24,4,-56,31,-56xm155,-265v0,-10,-9,-20,-19,-20v-11,0,-20,9,-20,20v-1,11,10,19,20,19v11,0,19,-8,19,-19xm176,-91r-40,-96r-36,96r76,0","w":281},"\u00c7":{"d":"80,-123v0,83,106,94,176,48r0,54v-33,17,-66,25,-102,24r-2,5v39,12,22,57,-17,57v-12,0,-21,-2,-27,-4r0,-18v18,1,27,-3,27,-11v0,-7,-4,-10,-14,-10r11,-21v-63,-7,-113,-56,-115,-123v-3,-110,146,-159,236,-105r0,55v-64,-45,-173,-32,-173,49","w":277},"\u00c9":{"d":"209,-45r0,45r-181,0r0,-246r179,0r0,45r-118,0r0,52r112,0r0,45r-112,0r0,59r120,0xm171,-322r-59,52r-27,0r27,-52r59,0","w":228},"\u00d1":{"d":"125,-320v22,-2,67,44,73,0r24,0v-2,36,-16,54,-42,54v-21,0,-69,-45,-74,0r-24,0v2,-30,16,-52,43,-54xm276,-246r0,246r-51,0r-136,-157r0,157r-61,0r0,-246r56,0r131,151r0,-151r61,0","w":303},"\u00d6":{"d":"17,-123v0,-71,64,-126,141,-126v77,0,140,55,140,126v1,71,-64,126,-140,126v-78,0,-141,-55,-141,-126xm80,-123v0,45,32,75,78,75v46,0,77,-31,77,-75v0,-44,-32,-75,-77,-75v-45,0,-78,30,-78,75xm171,-298v0,-16,13,-29,29,-29v16,0,29,14,29,29v0,15,-14,29,-29,29v-15,0,-29,-13,-29,-29xm87,-298v0,-15,13,-29,29,-29v16,0,29,14,29,29v0,15,-14,29,-29,29v-15,0,-29,-14,-29,-29","w":315},"\u00dc":{"d":"147,-48v38,0,63,-23,63,-61r0,-137r61,0r0,140v0,73,-48,109,-123,109v-74,0,-124,-37,-123,-109r0,-140r61,0r0,142v0,34,26,56,61,56xm161,-298v0,-16,13,-29,29,-29v16,0,29,14,29,29v0,15,-14,29,-29,29v-15,0,-29,-13,-29,-29xm77,-298v0,-15,13,-29,29,-29v16,0,29,14,29,29v0,15,-14,29,-29,29v-15,0,-29,-14,-29,-29","w":296},"\u00e1":{"d":"113,-15v-35,27,-98,25,-101,-22v8,-53,32,-45,99,-70v1,-19,-9,-27,-29,-27v-22,0,-42,8,-61,27r0,-42v41,-30,142,-31,142,30r0,76v2,19,15,10,28,2r0,29v-26,16,-67,26,-78,-3xm65,-45v2,24,32,19,46,5r0,-40v-25,11,-43,11,-46,35xm153,-243r-59,52r-27,0r27,-52r59,0","w":191},"\u00e0":{"d":"113,-15v-35,27,-98,25,-101,-22v8,-53,32,-45,99,-70v1,-19,-9,-27,-29,-27v-22,0,-42,8,-61,27r0,-42v41,-30,142,-31,142,30r0,76v2,19,15,10,28,2r0,29v-26,16,-67,26,-78,-3xm65,-45v2,24,32,19,46,5r0,-40v-25,11,-43,11,-46,35xm39,-243r59,0r27,52r-27,0","w":191},"\u00e2":{"d":"120,-251r36,63r-32,0r-28,-31r-29,31r-32,0r36,-63r49,0xm113,-15v-35,27,-98,25,-101,-22v8,-53,32,-45,99,-70v1,-19,-9,-27,-29,-27v-22,0,-42,8,-61,27r0,-42v41,-30,142,-31,142,30r0,76v2,19,15,10,28,2r0,29v-26,16,-67,26,-78,-3xm65,-45v2,24,32,19,46,5r0,-40v-25,11,-43,11,-46,35","w":191},"\u00e4":{"d":"113,-15v-35,27,-98,25,-101,-22v8,-53,32,-45,99,-70v1,-19,-9,-27,-29,-27v-22,0,-42,8,-61,27r0,-42v41,-30,142,-31,142,30r0,76v2,19,15,10,28,2r0,29v-26,16,-67,26,-78,-3xm65,-45v2,24,32,19,46,5r0,-40v-25,11,-43,11,-46,35xm109,-219v0,-16,13,-29,29,-29v16,0,29,14,29,29v0,15,-14,29,-29,29v-15,0,-29,-13,-29,-29xm25,-219v0,-15,13,-29,29,-29v16,0,29,14,29,29v0,15,-14,29,-29,29v-15,0,-29,-14,-29,-29","w":191},"\u00e3":{"d":"68,-242v23,-2,67,46,73,0r25,0v-2,36,-16,55,-42,55v-22,0,-68,-46,-75,-1r-23,0v1,-30,15,-52,42,-54xm113,-15v-35,27,-98,25,-101,-22v8,-53,32,-45,99,-70v1,-19,-9,-27,-29,-27v-22,0,-42,8,-61,27r0,-42v41,-30,142,-31,142,30r0,76v2,19,15,10,28,2r0,29v-26,16,-67,26,-78,-3xm65,-45v2,24,32,19,46,5r0,-40v-25,11,-43,11,-46,35","w":191},"\u00e5":{"d":"96,-183v-20,0,-37,-17,-37,-37v0,-19,18,-36,37,-36v19,0,37,16,36,36v0,19,-17,37,-36,37xm96,-200v10,0,21,-10,20,-20v0,-10,-10,-19,-20,-19v-10,0,-20,9,-20,19v-1,10,10,20,20,20xm113,-15v-35,27,-98,25,-101,-22v8,-53,32,-45,99,-70v1,-19,-9,-27,-29,-27v-22,0,-42,8,-61,27r0,-42v41,-30,142,-31,142,30r0,76v2,19,15,10,28,2r0,29v-26,16,-67,26,-78,-3xm65,-45v2,24,32,19,46,5r0,-40v-25,11,-43,11,-46,35","w":191},"\u00e7":{"d":"70,-83v1,49,51,60,97,38r0,37v-20,7,-40,11,-60,11r-2,5v39,12,21,57,-17,57v-12,0,-21,-2,-27,-4r0,-18v29,5,39,-19,13,-21r12,-21v-43,-7,-71,-37,-72,-83v-2,-72,81,-107,150,-76r0,38v-38,-22,-96,-11,-94,37","w":180},"\u00e9":{"d":"67,-75v4,58,79,58,117,23r0,33v-58,45,-171,20,-171,-63v0,-78,101,-116,151,-62v16,17,24,40,23,69r-120,0xm68,-102r72,0v-3,-24,-15,-36,-36,-36v-21,0,-33,12,-36,36xm157,-243r-59,52r-27,0r27,-52r59,0"},"\u00e8":{"d":"67,-75v4,58,79,58,117,23r0,33v-58,45,-171,20,-171,-63v0,-78,101,-116,151,-62v16,17,24,40,23,69r-120,0xm68,-102r72,0v-3,-24,-15,-36,-36,-36v-21,0,-33,12,-36,36xm43,-243r59,0r27,52r-27,0"},"\u00ea":{"d":"124,-251r36,63r-32,0r-28,-31r-29,31r-32,0r36,-63r49,0xm67,-75v4,58,79,58,117,23r0,33v-58,45,-171,20,-171,-63v0,-78,101,-116,151,-62v16,17,24,40,23,69r-120,0xm68,-102r72,0v-3,-24,-15,-36,-36,-36v-21,0,-33,12,-36,36"},"\u00eb":{"d":"67,-75v4,58,79,58,117,23r0,33v-58,45,-171,20,-171,-63v0,-78,101,-116,151,-62v16,17,24,40,23,69r-120,0xm68,-102r72,0v-3,-24,-15,-36,-36,-36v-21,0,-33,12,-36,36xm113,-219v0,-16,13,-29,29,-29v16,0,29,14,29,29v0,15,-14,29,-29,29v-15,0,-29,-13,-29,-29xm29,-219v0,-15,13,-29,29,-29v16,0,29,14,29,29v0,15,-14,29,-29,29v-15,0,-29,-14,-29,-29"},"\u00ed":{"d":"75,-166r0,166r-52,0r0,-166r52,0xm106,-243r-59,52r-27,0r27,-52r59,0","w":97},"\u00ec":{"d":"75,-166r0,166r-52,0r0,-166r52,0xm-8,-243r59,0r27,52r-27,0","w":97},"\u00ee":{"d":"73,-251r36,63r-32,0r-28,-31r-29,31r-32,0r36,-63r49,0xm75,-166r0,166r-52,0r0,-166r52,0","w":97},"\u00ef":{"d":"75,-166r0,166r-52,0r0,-166r52,0xm62,-219v0,-16,13,-29,29,-29v16,0,29,14,29,29v0,15,-14,29,-29,29v-15,0,-29,-13,-29,-29xm-22,-219v0,-15,13,-29,29,-29v16,0,29,14,29,29v0,15,-14,29,-29,29v-15,0,-29,-14,-29,-29","w":97},"\u00f1":{"d":"78,-242v22,-2,67,46,72,0r25,0v-2,36,-16,55,-42,55v-22,0,-68,-46,-74,-1r-24,0v1,-30,16,-52,43,-54xm74,-142v34,-48,114,-30,114,37r0,105r-52,0r0,-101v-1,-46,-45,-40,-62,-6r0,107r-52,0r0,-166r52,0r0,24","w":209},"\u00f3":{"d":"13,-83v0,-51,42,-87,94,-86v51,1,94,33,94,86v0,53,-43,86,-94,86v-53,0,-94,-35,-94,-86xm107,-138v-27,0,-39,23,-38,55v0,37,13,55,38,55v25,0,38,-18,38,-56v0,-36,-13,-54,-38,-54xm164,-243r-59,52r-27,0r27,-52r59,0","w":213},"\u00f2":{"d":"13,-83v0,-51,42,-87,94,-86v51,1,94,33,94,86v0,53,-43,86,-94,86v-53,0,-94,-35,-94,-86xm107,-138v-27,0,-39,23,-38,55v0,37,13,55,38,55v25,0,38,-18,38,-56v0,-36,-13,-54,-38,-54xm50,-243r59,0r27,52r-27,0","w":213},"\u00f4":{"d":"132,-251r35,63r-32,0r-28,-31r-29,31r-31,0r35,-63r50,0xm13,-83v0,-51,42,-87,94,-86v51,1,94,33,94,86v0,53,-43,86,-94,86v-53,0,-94,-35,-94,-86xm107,-138v-27,0,-39,23,-38,55v0,37,13,55,38,55v25,0,38,-18,38,-56v0,-36,-13,-54,-38,-54","w":213},"\u00f6":{"d":"13,-83v0,-51,42,-87,94,-86v51,1,94,33,94,86v0,53,-43,86,-94,86v-53,0,-94,-35,-94,-86xm107,-138v-27,0,-39,23,-38,55v0,37,13,55,38,55v25,0,38,-18,38,-56v0,-36,-13,-54,-38,-54xm120,-219v0,-16,13,-29,29,-29v16,0,29,14,29,29v0,15,-14,29,-29,29v-15,0,-29,-13,-29,-29xm36,-219v0,-15,13,-29,29,-29v16,0,29,14,29,29v0,15,-14,29,-29,29v-15,0,-29,-14,-29,-29","w":213},"\u00f5":{"d":"80,-242v23,-2,67,46,73,0r24,0v-2,36,-16,55,-42,55v-22,0,-68,-46,-74,-1r-24,0v2,-30,16,-52,43,-54xm13,-83v0,-51,42,-87,94,-86v51,1,94,33,94,86v0,53,-43,86,-94,86v-53,0,-94,-35,-94,-86xm107,-138v-27,0,-39,23,-38,55v0,37,13,55,38,55v25,0,38,-18,38,-56v0,-36,-13,-54,-38,-54","w":213},"\u00fa":{"d":"74,-63v-2,55,62,26,62,3r0,-106r52,0r0,166r-52,0r0,-24v-34,47,-114,30,-114,-36r0,-106r52,0r0,103xm162,-243r-59,52r-27,0r27,-52r59,0","w":209},"\u00f9":{"d":"74,-63v-2,55,62,26,62,3r0,-106r52,0r0,166r-52,0r0,-24v-34,47,-114,30,-114,-36r0,-106r52,0r0,103xm48,-243r59,0r27,52r-27,0","w":209},"\u00fb":{"d":"130,-251r35,63r-32,0r-28,-31r-29,31r-31,0r35,-63r50,0xm74,-63v-2,55,62,26,62,3r0,-106r52,0r0,166r-52,0r0,-24v-34,47,-114,30,-114,-36r0,-106r52,0r0,103","w":209},"\u00fc":{"d":"74,-63v-2,55,62,26,62,3r0,-106r52,0r0,166r-52,0r0,-24v-34,47,-114,30,-114,-36r0,-106r52,0r0,103xm118,-219v0,-16,13,-29,29,-29v16,0,29,14,29,29v0,15,-14,29,-29,29v-15,0,-29,-13,-29,-29xm34,-219v0,-15,13,-29,29,-29v16,0,29,14,29,29v0,15,-14,29,-29,29v-15,0,-29,-14,-29,-29","w":209},"\u00b0":{"d":"71,-150v-30,0,-56,-27,-56,-56v0,-29,26,-56,56,-56v30,0,56,26,56,56v0,30,-26,56,-56,56xm71,-181v14,0,26,-12,26,-25v0,-13,-12,-25,-26,-25v-14,0,-25,11,-25,25v0,14,11,25,25,25","w":142},"\u00a2":{"d":"15,-82v0,-56,48,-94,110,-86r19,-59r26,0r-20,63v6,2,11,4,14,5r0,39v-8,-4,-16,-8,-25,-10r-30,95v23,1,37,-1,57,-11r0,38v-18,7,-41,11,-69,11r-20,65r-26,0r22,-68v-39,-13,-58,-41,-58,-82xm114,-131v-43,-1,-61,62,-28,86","w":180},"\u00a3":{"d":"47,-142v20,-69,37,-106,102,-106r21,47v-42,-8,-60,11,-72,59r23,0r0,43r-35,0r-9,46v32,-5,67,18,96,0r0,49v-47,20,-102,-16,-156,7v2,-25,8,-59,19,-102r-16,0r0,-43r27,0","w":187},"\u00a7":{"d":"112,35v-13,-45,-103,-61,-103,-125v0,-24,11,-46,32,-67v-39,-38,-3,-96,55,-92v34,2,66,10,67,39v0,14,-13,27,-27,27v-24,0,-16,-35,-41,-35v-17,0,-27,18,-15,31v24,25,102,57,98,113v-2,33,-13,46,-32,65v38,42,7,92,-53,92v-33,0,-69,-12,-69,-39v0,-13,14,-24,27,-26v25,-3,16,35,41,34v11,0,21,-6,20,-17xm67,-133v-14,18,-16,32,-4,51v5,8,24,25,57,49v40,-45,-28,-78,-53,-100","w":187},"\u00b6":{"d":"0,-172v0,-46,31,-74,78,-73r120,0r0,46r-19,0r0,282r-43,0r0,-282r-24,0r0,282r-43,0r0,-184v-42,-3,-69,-27,-69,-71"},"\u00df":{"d":"136,-185v0,-19,-11,-33,-30,-33v-20,0,-30,16,-30,46r0,172r-53,0r0,-171v0,-50,31,-78,80,-78v46,0,85,20,86,62v0,22,-11,39,-32,48v69,22,47,149,-31,142v-8,0,-16,-1,-24,-3r0,-33v28,9,44,-18,44,-45v0,-33,-14,-49,-42,-48r0,-26v21,1,32,-10,32,-33","w":217},"\u00ae":{"d":"-1,-114v0,-73,62,-135,134,-135v72,0,135,62,135,135v0,73,-63,135,-135,135v-72,0,-134,-62,-134,-135xm242,-114v0,-58,-50,-108,-109,-108v-59,0,-108,50,-108,108v0,58,49,108,108,108v59,0,109,-50,109,-108xm72,-185v50,2,116,-13,116,40v0,24,-15,34,-39,41v25,8,32,41,48,62r-36,0v-15,-24,-19,-61,-60,-59r0,59r-29,0r0,-143xm101,-123v24,0,59,4,56,-20v3,-22,-32,-21,-56,-20r0,40","w":266},"\u00a9":{"d":"-1,-114v0,-73,62,-135,134,-135v72,0,135,62,135,135v0,73,-63,135,-135,135v-72,0,-134,-62,-134,-135xm242,-114v0,-58,-50,-108,-109,-108v-59,0,-108,50,-108,108v0,58,49,108,108,108v59,0,109,-50,109,-108xm98,-114v-7,50,56,71,68,20r28,9v-9,30,-29,46,-59,46v-43,0,-68,-30,-68,-74v0,-79,106,-106,127,-33r-28,7v-16,-42,-73,-30,-68,25","w":266},"\u00b4":{"d":"117,-243r-59,52r-27,0r27,-52r59,0","w":119},"\u00a8":{"d":"73,-219v0,-16,13,-29,29,-29v16,0,29,14,29,29v0,15,-14,29,-29,29v-15,0,-29,-13,-29,-29xm-11,-219v0,-15,13,-29,29,-29v16,0,29,14,29,29v0,15,-14,29,-29,29v-15,0,-29,-14,-29,-29","w":119},"\u00c6":{"d":"363,-246r0,45r-115,0r0,54r110,0r0,45r-110,0r0,57r118,0r0,45r-179,0r0,-102r-65,0r-61,102r-63,0r147,-246r218,0xm149,-147r38,0r0,-66","w":386},"\u00d8":{"d":"270,-200v71,84,-3,203,-112,203v-33,0,-61,-8,-87,-25r-40,35r-22,-27r36,-31v-71,-85,4,-204,113,-204v33,0,62,9,87,26r30,-27r25,24xm202,-186v-65,-41,-152,26,-113,101xm113,-59v66,39,154,-25,113,-102","w":315},"\u00b1":{"d":"15,-130r0,-46r67,0r0,-67r46,0r0,67r67,0r0,46r-67,0r0,67r-46,0r0,-67r-67,0xm15,0r0,-46r180,0r0,46r-180,0","w":210},"\u00a5":{"d":"74,-48r-65,0r0,-39r65,0r0,-21r-65,0r0,-39r46,0r-55,-111r55,0r44,100r45,-100r55,0r-56,111r47,0r0,39r-66,0r0,21r66,0r0,39r-66,0r0,48r-50,0r0,-48"},"\u00b5":{"d":"148,-22v-9,28,-59,36,-71,2r0,83r-53,0r0,-229r53,0v2,48,-13,136,33,134v52,-3,29,-84,34,-134r53,0r0,166r-49,0r0,-22","w":221},"\u00aa":{"d":"14,-236v28,-18,92,-23,95,18v2,20,-9,66,18,43r0,20v-18,11,-44,16,-54,0v-23,17,-64,14,-65,-17v6,-28,23,-27,63,-39v-5,-28,-43,-13,-57,4r0,-29xm71,-193v-15,6,-22,6,-25,18v0,14,18,10,25,3r0,-21","w":127},"\u00ba":{"d":"9,-196v0,-31,30,-53,63,-53v33,0,62,21,62,52v-1,31,-27,52,-62,52v-33,0,-63,-20,-63,-51xm72,-166v14,0,21,-10,21,-32v0,-19,-7,-29,-22,-29v-14,0,-21,10,-21,31v0,20,7,30,22,30","w":142},"\u00e6":{"d":"165,-75v-3,60,70,56,102,21r0,34v-36,30,-107,31,-140,0v-33,30,-111,37,-114,-18v8,-49,38,-48,100,-68v0,-49,-76,-22,-93,0r0,-42v44,-25,85,-30,123,-3v55,-48,139,8,126,76r-104,0xm165,-102r54,0v-2,-24,-10,-36,-27,-36v-17,0,-26,12,-27,36xm66,-45v0,25,28,19,47,5r0,-40v-31,9,-47,20,-47,35","w":281},"\u00f8":{"d":"177,-143v55,52,9,146,-70,146v-18,0,-35,-4,-48,-11r-23,28r-18,-17r21,-25v-57,-51,-13,-147,68,-147v17,0,33,3,48,10r25,-29r19,18xm131,-130v-39,-27,-74,19,-60,70xm143,-105r-59,69v37,28,72,-16,59,-69","w":213},"\u00bf":{"d":"78,-169v17,0,32,14,32,31v0,17,-15,31,-32,31v-17,0,-31,-14,-31,-31v0,-17,14,-31,31,-31xm99,-52v4,18,-29,60,-29,77v0,29,39,18,56,6r-9,45v-44,17,-101,4,-101,-44v0,-50,53,-70,52,-118v1,-6,2,-6,11,-6v18,0,17,27,20,40","w":135},"\u00a1":{"d":"49,-169v17,0,31,14,31,31v0,17,-14,31,-31,31v-18,0,-32,-13,-32,-31v0,-18,14,-31,32,-31xm49,83v-61,-1,-14,-130,-11,-167v3,-9,18,-11,21,-2v5,15,20,104,20,130v0,26,-10,39,-30,39","w":97},"\u00ac":{"d":"149,-42r0,-76r-134,0r0,-47r180,0r0,123r-46,0","w":210},"\u00ab":{"d":"153,-82r57,80r-52,0r-58,-80r58,-80r52,0xm55,-82r58,80r-52,0r-58,-80r58,-80r52,0","w":213},"\u00bb":{"d":"158,-82r-57,-80r51,0r58,80r-58,80r-51,0xm62,-82r-58,-80r52,0r58,80r-58,80r-52,0","w":213},"\u00a0":{"w":100},"\u00c0":{"d":"171,-246r109,246r-66,0r-20,-49r-110,0r-18,49r-65,0r99,-246r71,0xm176,-91r-40,-96r-36,96r76,0xm84,-322r59,0r27,52r-27,0","w":281},"\u00c3":{"d":"113,-320v22,-2,67,44,73,0r25,0v-2,36,-16,54,-42,54v-21,0,-69,-45,-75,0r-23,0v1,-30,15,-52,42,-54xm171,-246r109,246r-66,0r-20,-49r-110,0r-18,49r-65,0r99,-246r71,0xm176,-91r-40,-96r-36,96r76,0","w":281},"\u00d5":{"d":"130,-320v22,-2,67,44,73,0r24,0v-2,36,-16,54,-42,54v-21,0,-69,-45,-74,0r-23,0v1,-30,15,-52,42,-54xm17,-123v0,-71,64,-126,141,-126v77,0,140,55,140,126v1,71,-64,126,-140,126v-78,0,-141,-55,-141,-126xm80,-123v0,45,32,75,78,75v46,0,77,-31,77,-75v0,-44,-32,-75,-77,-75v-45,0,-78,30,-78,75","w":315},"\u00f7":{"d":"105,-172v-14,0,-26,-12,-26,-26v0,-14,12,-26,26,-26v14,0,26,11,26,26v0,14,-11,26,-26,26xm15,-104r0,-46r180,0r0,46r-180,0xm105,-30v-13,0,-26,-13,-26,-26v0,-14,12,-26,26,-26v14,0,26,11,26,26v0,14,-12,26,-26,26","w":210},"\u00ff":{"d":"183,-166r-111,246r-55,0r48,-107r-65,-139r56,0r35,85r37,-85r55,0xm105,-219v0,-16,13,-29,29,-29v16,0,29,14,29,29v0,15,-14,29,-29,29v-15,0,-29,-13,-29,-29xm21,-219v0,-15,13,-29,29,-29v16,0,29,14,29,29v0,15,-14,29,-29,29v-15,0,-29,-14,-29,-29","w":183},"\u00c2":{"d":"165,-330r36,64r-32,0r-28,-32r-29,32r-32,0r36,-64r49,0xm171,-246r109,246r-66,0r-20,-49r-110,0r-18,49r-65,0r99,-246r71,0xm176,-91r-40,-96r-36,96r76,0","w":281},"\u00ca":{"d":"139,-330r36,64r-32,0r-29,-32r-28,32r-32,0r36,-64r49,0xm209,-45r0,45r-181,0r0,-246r179,0r0,45r-118,0r0,52r112,0r0,45r-112,0r0,59r120,0","w":228},"\u00c1":{"d":"171,-246r109,246r-66,0r-20,-49r-110,0r-18,49r-65,0r99,-246r71,0xm176,-91r-40,-96r-36,96r76,0xm198,-322r-59,52r-27,0r27,-52r59,0","w":281},"\u00cb":{"d":"209,-45r0,45r-181,0r0,-246r179,0r0,45r-118,0r0,52r112,0r0,45r-112,0r0,59r120,0xm127,-298v0,-16,13,-29,29,-29v16,0,29,14,29,29v0,15,-14,29,-29,29v-15,0,-29,-13,-29,-29xm43,-298v0,-15,13,-29,29,-29v16,0,29,14,29,29v0,15,-14,29,-29,29v-15,0,-29,-14,-29,-29","w":228},"\u00c8":{"d":"209,-45r0,45r-181,0r0,-246r179,0r0,45r-118,0r0,52r112,0r0,45r-112,0r0,59r120,0xm57,-322r59,0r27,52r-27,0","w":228},"\u00cd":{"d":"91,-246r0,246r-61,0r0,-246r61,0xm117,-322r-59,52r-27,0r27,-52r59,0","w":119},"\u00ce":{"d":"85,-330r35,64r-32,0r-28,-32r-29,32r-31,0r35,-64r50,0xm91,-246r0,246r-61,0r0,-246r61,0","w":119},"\u00cf":{"d":"91,-246r0,246r-61,0r0,-246r61,0xm73,-298v0,-16,13,-29,29,-29v16,0,29,14,29,29v0,15,-14,29,-29,29v-15,0,-29,-13,-29,-29xm-11,-298v0,-15,13,-29,29,-29v16,0,29,14,29,29v0,15,-14,29,-29,29v-15,0,-29,-14,-29,-29","w":119},"\u00cc":{"d":"91,-246r0,246r-61,0r0,-246r61,0xm3,-322r59,0r27,52r-27,0","w":119},"\u00d3":{"d":"17,-123v0,-71,64,-126,141,-126v77,0,140,55,140,126v1,71,-64,126,-140,126v-78,0,-141,-55,-141,-126xm80,-123v0,45,32,75,78,75v46,0,77,-31,77,-75v0,-44,-32,-75,-77,-75v-45,0,-78,30,-78,75xm215,-322r-59,52r-27,0r27,-52r59,0","w":315},"\u00d4":{"d":"182,-330r36,64r-32,0r-28,-32r-29,32r-32,0r36,-64r49,0xm17,-123v0,-71,64,-126,141,-126v77,0,140,55,140,126v1,71,-64,126,-140,126v-78,0,-141,-55,-141,-126xm80,-123v0,45,32,75,78,75v46,0,77,-31,77,-75v0,-44,-32,-75,-77,-75v-45,0,-78,30,-78,75","w":315},"\u00d2":{"d":"17,-123v0,-71,64,-126,141,-126v77,0,140,55,140,126v1,71,-64,126,-140,126v-78,0,-141,-55,-141,-126xm80,-123v0,45,32,75,78,75v46,0,77,-31,77,-75v0,-44,-32,-75,-77,-75v-45,0,-78,30,-78,75xm101,-322r59,0r27,52r-27,0","w":315},"\u00da":{"d":"147,-48v38,0,63,-23,63,-61r0,-137r61,0r0,140v0,73,-48,109,-123,109v-74,0,-124,-37,-123,-109r0,-140r61,0r0,142v0,34,26,56,61,56xm205,-322r-59,52r-27,0r27,-52r59,0","w":296},"\u00db":{"d":"173,-330r35,64r-32,0r-28,-32r-28,32r-32,0r36,-64r49,0xm147,-48v38,0,63,-23,63,-61r0,-137r61,0r0,140v0,73,-48,109,-123,109v-74,0,-124,-37,-123,-109r0,-140r61,0r0,142v0,34,26,56,61,56","w":296},"\u00d9":{"d":"147,-48v38,0,63,-23,63,-61r0,-137r61,0r0,140v0,73,-48,109,-123,109v-74,0,-124,-37,-123,-109r0,-140r61,0r0,142v0,34,26,56,61,56xm91,-322r59,0r27,52r-27,0","w":296},"\u00b8":{"d":"80,8v39,12,21,57,-17,57v-12,0,-21,-2,-27,-4r0,-18v18,1,27,-3,27,-11v0,-7,-4,-10,-14,-10r14,-25r21,0","w":119},"\u00a6":{"d":"31,-123r0,-123r39,0r0,123r-39,0xm31,80r0,-143r39,0r0,143r-39,0","w":101},"\u00ad":{"d":"107,-107r0,48r-94,0r0,-48r94,0","w":120},"\u00af":{"d":"-2,-281r184,0r0,18r-184,0r0,-18","w":180},"\u00d0":{"d":"271,-122v0,80,-58,122,-143,122r-101,0r0,-107r-30,0r0,-32r30,0r0,-107r108,0v79,-2,136,49,136,124xm208,-123v0,-64,-49,-85,-120,-78r0,62r55,0r0,32r-55,0r0,62v71,7,120,-14,120,-78","w":288},"\u00f0":{"d":"17,-83v0,-64,70,-108,124,-74v-5,-12,-15,-25,-31,-40r-52,18r-8,-21r39,-14v-7,-5,-13,-9,-19,-12r33,-23v12,5,24,11,33,18r49,-18r8,23r-36,12v31,31,47,70,47,117v0,61,-37,100,-93,100v-53,1,-94,-34,-94,-86xm111,-138v-28,1,-40,23,-39,55v0,37,14,55,39,55v25,0,37,-18,37,-56v0,-36,-12,-54,-37,-54","w":221},"\u00dd":{"d":"97,0r0,-115r-97,-131r74,0r53,78r54,-78r74,0r-97,131r0,115r-61,0xm185,-322r-59,52r-27,0r27,-52r59,0","w":254},"\u00fd":{"d":"183,-166r-111,246r-55,0r48,-107r-65,-139r56,0r35,85r37,-85r55,0xm149,-243r-59,52r-27,0r27,-52r59,0","w":183},"\u00de":{"d":"221,-123v-1,61,-58,82,-130,74r0,49r-61,0r0,-246r61,0r0,50v71,-7,131,11,130,73xm158,-123v0,-32,-34,-27,-67,-28r0,57v32,1,67,0,67,-29","w":236},"\u00fe":{"d":"197,-85v0,68,-65,109,-124,77r0,91r-52,0r0,-329r52,0r0,94v50,-43,124,2,124,67xm144,-82v0,-45,-40,-65,-71,-37r0,76v32,25,71,4,71,-39","w":209},"\u00d7":{"d":"20,-74r53,-53r-53,-53r32,-33r53,54r53,-54r33,33r-54,53r54,53r-33,33r-53,-54r-53,54","w":210},"\u00b9":{"d":"79,-249r0,129r-38,0r0,-129r38,0","w":119},"\u00b2":{"d":"14,-236v32,-22,88,-17,90,24v0,15,-13,36,-38,65r46,0r0,27r-100,0r0,-4v29,-35,48,-47,56,-83v-7,-28,-35,-16,-54,2r0,-31","w":119},"\u00b3":{"d":"12,-154v18,14,47,19,53,-3v0,-10,-7,-15,-22,-16r0,-25v26,1,23,-29,1,-28v-8,0,-18,3,-29,8r0,-25v30,-12,83,-7,84,26v0,12,-7,22,-21,29v16,6,25,17,25,32v-1,38,-55,47,-91,30r0,-28","w":119},"\u00bd":{"d":"242,-249r-172,259r-34,0r172,-259r34,0xm80,-249r0,129r-37,0r0,-129r37,0xm195,-117v33,-20,89,-16,91,24v0,15,-13,37,-38,66r45,0r0,27r-100,0r0,-5v29,-34,48,-46,56,-83v-5,-28,-35,-15,-54,2r0,-31","w":322},"\u00bc":{"d":"80,-249r0,129r-37,0r0,-129r37,0xm242,-249r-172,259r-34,0r172,-259r34,0xm264,-130r0,77r10,0r0,22r-10,0r0,31r-36,0r0,-31r-56,0r0,-21r69,-78r23,0xm228,-81r-26,28r26,0r0,-28","w":322},"\u00be":{"d":"13,-154v18,14,47,19,53,-3v0,-10,-7,-15,-22,-16r0,-25v26,1,23,-29,1,-28v-8,0,-18,3,-29,8r0,-25v30,-12,83,-7,84,26v0,12,-6,22,-20,29v48,21,17,70,-30,70v-11,0,-23,-2,-37,-8r0,-28xm250,-249r-172,259r-33,0r172,-259r33,0xm272,-130r0,77r11,0r0,22r-11,0r0,31r-36,0r0,-31r-56,0r0,-21r69,-78r23,0xm236,-81r-25,28r25,0r0,-28","w":322},"\u00b7":{"d":"129,-154v15,0,29,14,29,29v0,15,-14,29,-29,29v-16,0,-29,-14,-29,-29v0,-15,14,-29,29,-29","w":120},"\u00a4":{"d":"137,-55v-21,14,-54,13,-75,0r-24,24r-30,-31r23,-23v-12,-21,-12,-53,0,-76r-23,-23r30,-30r23,23v27,-14,51,-13,76,0r23,-24r31,31r-23,24v14,23,13,51,-1,75r24,24r-30,30xm99,-87v19,0,36,-16,36,-36v0,-20,-17,-36,-36,-36v-19,0,-35,17,-35,36v0,19,16,36,35,36"}}});
;
/*
selectivizr v1.0.0 - (c) Keith Clark, freely distributable under the terms of the MIT license.
selectivizr.com
*/
(function(x){function K(a){return a.replace(L,o).replace(M,function(b,e,c){b=c.split(",");c=0;for(var g=b.length;c<g;c++){var j=N(b[c].replace(O,o).replace(P,o))+t,f=[];b[c]=j.replace(Q,function(d,k,l,i,h){if(k){if(f.length>0){d=f;var u;h=j.substring(0,h).replace(R,n);if(h==n||h.charAt(h.length-1)==t)h+="*";try{u=v(h)}catch(da){}if(u){h=0;for(l=u.length;h<l;h++){i=u[h];for(var y=i.className,z=0,S=d.length;z<S;z++){var q=d[z];if(!RegExp("(^|\\s)"+q.className+"(\\s|$)").test(i.className))if(q.b&&(q.b===true||q.b(i)===true))y=A(y,q.className,true)}i.className=y}}f=[]}return k}else{if(k=l?T(l):!B||B.test(i)?{className:C(i),b:true}:null){f.push(k);return"."+k.className}return d}})}return e+b.join(",")})}function T(a){var b=true,e=C(a.slice(1)),c=a.substring(0,5)==":not(",g,j;if(c)a=a.slice(5,-1);var f=a.indexOf("(");if(f>-1)a=a.substring(0,f);if(a.charAt(0)==":")switch(a.slice(1)){case "root":b=function(d){return c?d!=D:d==D};break;case "target":if(p==8){b=function(d){function k(){var l=location.hash,i=l.slice(1);return c?l==""||d.id!=i:l!=""&&d.id==i}x.attachEvent("onhashchange",function(){r(d,e,k())});return k()};break}return false;case "checked":b=function(d){U.test(d.type)&&d.attachEvent("onpropertychange",function(){event.propertyName=="checked"&&r(d,e,d.checked!==c)});return d.checked!==c};break;case "disabled":c=!c;case "enabled":b=function(d){if(V.test(d.tagName)){d.attachEvent("onpropertychange",function(){event.propertyName=="$disabled"&&r(d,e,d.a===c)});w.push(d);d.a=d.disabled;return d.disabled===c}return a==":enabled"?c:!c};break;case "focus":g="focus";j="blur";case "hover":if(!g){g="mouseenter";j="mouseleave"}b=function(d){d.attachEvent("on"+(c?j:g),function(){r(d,e,true)});d.attachEvent("on"+(c?g:j),function(){r(d,e,false)});return c};break;default:if(!W.test(a))return false;break}return{className:e,b:b}}function C(a){return E+"-"+(p==6&&X?Y++:a.replace(Z,function(b){return b.charCodeAt(0)}))}function N(a){return a.replace(F,o).replace($,t)}function r(a,b,e){var c=a.className;b=A(c,b,e);if(b!=c){a.className=b;a.parentNode.className+=n}}function A(a,b,e){var c=RegExp("(^|\\s)"+b+"(\\s|$)"),g=c.test(a);return e?g?a:a+t+b:g?a.replace(c,o).replace(F,o):a}function G(a,b){if(/^https?:\/\//i.test(a))return b.substring(0,b.indexOf("/",8))==a.substring(0,a.indexOf("/",8))?a:null;if(a.charAt(0)=="/")return b.substring(0,b.indexOf("/",8))+a;var e=b.split("?")[0];if(a.charAt(0)!="?"&&e.charAt(e.length-1)!="/")e=e.substring(0,e.lastIndexOf("/")+1);return e+a}function H(a){if(a){s.open("GET",a,false);s.send();return(s.status==200?s.responseText:n).replace(aa,n).replace(ba,function(b,e,c){return H(G(c,a))})}return n}function ca(){var a,b;a=m.getElementsByTagName("BASE");for(var e=a.length>0?a[0].href:m.location.href,c=0;c<m.styleSheets.length;c++){b=m.styleSheets[c];if(b.href!=n)if(a=G(b.href,e))b.cssText=K(H(a))}w.length>0&&setInterval(function(){for(var g=0,j=w.length;g<j;g++){var f=w[g];if(f.disabled!==f.a)if(f.disabled){f.disabled=false;f.a=true;f.disabled=true}else f.a=f.disabled}},250)}if(!/*@cc_on!@*/true){var m=document,D=m.documentElement,s=function(){if(x.XMLHttpRequest)return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(a){return null}}(),p=/MSIE ([\d])/.exec(navigator.userAgent)[1];if(!(m.compatMode!="CSS1Compat"||p<6||p>8||!s)){var I={NW:"*.Dom.select",DOMAssistant:"*.$",Prototype:"$$",YAHOO:"*.util.Selector.query",MooTools:"$$",Sizzle:"*",jQuery:"*",dojo:"*.query"},v,w=[],Y=0,X=true,E="slvzr",J=E+"DOMReady",aa=/(\/\*[^*]*\*+([^\/][^*]*\*+)*\/)\s*/g,ba=/@import\s*url\(\s*(["'])?(.*?)\1\s*\)[\w\W]*?;/g,W=/^:(empty|(first|last|only|nth(-last)?)-(child|of-type))$/,L=/:(:first-(?:line|letter))/g,M=/(^|})\s*([^\{]*?[\[:][^{]+)/g,Q=/([ +~>])|(:[a-z-]+(?:\(.*?\)+)?)|(\[.*?\])/g,R=/(:not\()?:(hover|enabled|disabled|focus|checked|target|active|visited|first-line|first-letter)\)?/g,Z=/[^\w-]/g,V=/^(INPUT|SELECT|TEXTAREA|BUTTON)$/,U=/^(checkbox|radio)$/,B=p==8?/[\$\^]=(['"])\1/:p==7?/[\$\^*]=(['"])\1/:null,O=/([(\[+~])\s+/g,P=/\s+([)\]+~])/g,$=/\s+/g,F=/^\s*((?:[\S\s]*\S)?)\s*$/,n="",t=" ",o="$1";m.write("<script id="+J+" defer src='//:'><\/script>");m.getElementById(J).onreadystatechange=function(){if(this.readyState=="complete"){a:{var a;for(var b in I)if(x[b]&&(a=eval(I[b].replace("*",b)))){v=a;break a}v=false}if(v){ca();this.parentNode.removeChild(this)}}}}}})(this);;
/*
	Background Stretcher jQuery Plugin
	© 2009 ajaxBlender.com
	For any questions please visit www.ajaxblender.com 
	or email us at support@ajaxblender.com
	
	Version: 1.2
*/

;(function($){
	/*  Variables  */
	var container = null;
	var allImgs = '', allLIs = '', containerStr = '';
	
	var element = this;
	var _bgStretcherPause = false;
	var _bgStretcherTm = null;
	
	$.fn.bgStretcher = function(settings){
		settings = $.extend({}, $.fn.bgStretcher.defaults, settings);
		$.fn.bgStretcher.settings = settings;
		
		function _build(){
			if(!settings.images.length){ return; }
			
			_genHtml();
			
			containerStr = '#' + settings.imageContainer;
			container = $(containerStr);
			allImgs = '#' + settings.imageContainer + ' IMG';
			allLIs = '#' + settings.imageContainer + ' LI';
			
			$(allLIs).hide();
			$(allLIs + ':first').show().addClass('bgs-current');
			
			if(!container.length){ return; }
			$(window).resize(_resize);
			
			if(settings.slideShow && $(allImgs).length > 1){
				_bgStretcherTm = setTimeout('$.fn.bgStretcher.slideShow()', settings.nextSlideDelay);
			}
			_resize();
		};
		
		function _resize(){
			var winW = $(window).width();
			var winH = $(window).height();
			var imgW = 0, imgH = 0;

			//	Update container's height
			container.width(winW);
			container.height(winH);
			
			//	Non-proportional resize
			if(!settings.resizeProportionally){
				imgW = winW;
				imgH = winH;
			} else {
				var initW = settings.imageWidth, initH = settings.imageHeight;
				var ratio = initH / initW;
				
				imgW = winW;
				imgH = winW * ratio;
				
				if(imgH < winH){
					imgH = winH;
					imgW = imgH / ratio;
				}
			}
			
			//	Apply new size for images
			if(!settings.resizeAnimate){
				$(allImgs).width(imgW).height(imgH);
			} else {
				$(allImgs).animate({width: imgW, height: imgH}, 'normal');
			}
		};
		
		function _genHtml(){
			var code = '<div id="' + settings.imageContainer + '" class="bgstretcher"><ul>';
			for(i = 0; i < settings.images.length; i++){
				code += '<li><img src="' + settings.images[i] + '" alt="" /></li>';
			}
			code += '</ul></div>';
			$(code).appendTo('body');
		};
		
		/*  Start bgStretcher  */
		_build();
	};
	
	$.fn.bgStretcher.play = function(){
       _bgStretcherPause = false;
       $.fn.bgStretcher._clearTimeout();
       $.fn.bgStretcher.slideShow();
       
	};
	
	$.fn.bgStretcher._clearTimeout = function(){
       if(_bgStretcherTm != null){
           clearTimeout(_bgStretcherTm);
           _bgStretcherTm = null;
       }
	}
	
	$.fn.bgStretcher.pause = function(){
	   _bgStretcherPause = true;
	   $.fn.bgStretcher._clearTimeout();
	};
	
	$.fn.bgStretcher.slideShow = function(){
		var current = $(containerStr + ' LI.bgs-current');
		var next = current.next();
		if(!next.length){
			next = $(containerStr + ' LI:first');
		}
		
		$(containerStr + ' LI').removeClass('bgs-current');
		next.addClass('bgs-current');
		
		next.fadeIn( $.fn.bgStretcher.settings.slideShowSpeed );
		current.fadeOut( $.fn.bgStretcher.settings.slideShowSpeed );
		
		if(!_bgStretcherPause){
		  _bgStretcherTm = setTimeout('$.fn.bgStretcher.slideShow()', $.fn.bgStretcher.settings.nextSlideDelay);
		}
	};
	
	/*  Default Settings  */
	$.fn.bgStretcher.defaults = {
		imageContainer:             'bgstretcher',
		resizeProportionally:       true,
		resizeAnimate:              false,
		images:                     [],
		imageWidth:                 1024,
		imageHeight:                768,
		nextSlideDelay:             3000,
		slideShowSpeed:             'normal',
		slideShow:                  true
	};
	$.fn.bgStretcher.settings = {};
})(jQuery);;
(function($){$.fn.lazyload=function(options){var settings={threshold:0,failurelimit:0,event:"scroll",effect:"show",container:window};if(options){$.extend(settings,options);}
var elements=this;if("scroll"==settings.event){$(settings.container).bind("scroll",function(event){var counter=0;elements.each(function(){if($.abovethetop(this,settings)||$.leftofbegin(this,settings)){}else if(!$.belowthefold(this,settings)&&!$.rightoffold(this,settings)){$(this).trigger("appear");}else{if(counter++>settings.failurelimit){return false;}}});var temp=$.grep(elements,function(element){return!element.loaded;});elements=$(temp);});}
this.each(function(){var self=this;if(undefined==$(self).attr("original")){$(self).attr("original",$(self).attr("src"));}
if("scroll"!=settings.event||undefined==$(self).attr("src")||settings.placeholder==$(self).attr("src")||($.abovethetop(self,settings)||$.leftofbegin(self,settings)||$.belowthefold(self,settings)||$.rightoffold(self,settings))){if(settings.placeholder){$(self).attr("src",settings.placeholder);}else{$(self).removeAttr("src");}
self.loaded=false;}else{self.loaded=true;}
$(self).one("appear",function(){if(!this.loaded){$("<img />").bind("load",function(){$(self).hide().attr("src",$(self).attr("original"))
[settings.effect](settings.effectspeed);self.loaded=true;}).attr("src",$(self).attr("original"));};});if("scroll"!=settings.event){$(self).bind(settings.event,function(event){if(!self.loaded){$(self).trigger("appear");}});}});$(settings.container).trigger(settings.event);return this;};$.belowthefold=function(element,settings){if(settings.container===undefined||settings.container===window){var fold=$(window).height()+$(window).scrollTop();}else{var fold=$(settings.container).offset().top+$(settings.container).height();}
return fold<=$(element).offset().top-settings.threshold;};$.rightoffold=function(element,settings){if(settings.container===undefined||settings.container===window){var fold=$(window).width()+$(window).scrollLeft();}else{var fold=$(settings.container).offset().left+$(settings.container).width();}
return fold<=$(element).offset().left-settings.threshold;};$.abovethetop=function(element,settings){if(settings.container===undefined||settings.container===window){var fold=$(window).scrollTop();}else{var fold=$(settings.container).offset().top;}
return fold>=$(element).offset().top+settings.threshold+$(element).height();};$.leftofbegin=function(element,settings){if(settings.container===undefined||settings.container===window){var fold=$(window).scrollLeft();}else{var fold=$(settings.container).offset().left;}
return fold>=$(element).offset().left+settings.threshold+$(element).width();};$.extend($.expr[':'],{"below-the-fold":"$.belowthefold(a, {threshold : 0, container: window})","above-the-fold":"!$.belowthefold(a, {threshold : 0, container: window})","right-of-fold":"$.rightoffold(a, {threshold : 0, container: window})","left-of-fold":"!$.rightoffold(a, {threshold : 0, container: window})"});})(jQuery);;
/*
 * jQuery Cycle Plugin (with Transition Definitions)
 * Examples and documentation at: http://jquery.malsup.com/cycle/
 * Copyright (c) 2007-2010 M. Alsup
 * Version: 2.94 (20-DEC-2010)
 * Dual licensed under the MIT and GPL licenses.
 * http://jquery.malsup.com/license.html
 * Requires: jQuery v1.2.6 or later
 */
(function($){var ver="2.94";if($.support==undefined){$.support={opacity:!($.browser.msie)};}function debug(s){if($.fn.cycle.debug){log(s);}}function log(){if(window.console&&window.console.log){window.console.log("[cycle] "+Array.prototype.join.call(arguments," "));}}$.fn.cycle=function(options,arg2){var o={s:this.selector,c:this.context};if(this.length===0&&options!="stop"){if(!$.isReady&&o.s){log("DOM not ready, queuing slideshow");$(function(){$(o.s,o.c).cycle(options,arg2);});return this;}log("terminating; zero elements found by selector"+($.isReady?"":" (DOM not ready)"));return this;}return this.each(function(){var opts=handleArguments(this,options,arg2);if(opts===false){return;}opts.updateActivePagerLink=opts.updateActivePagerLink||$.fn.cycle.updateActivePagerLink;if(this.cycleTimeout){clearTimeout(this.cycleTimeout);}this.cycleTimeout=this.cyclePause=0;var $cont=$(this);var $slides=opts.slideExpr?$(opts.slideExpr,this):$cont.children();var els=$slides.get();if(els.length<2){log("terminating; too few slides: "+els.length);return;}var opts2=buildOptions($cont,$slides,els,opts,o);if(opts2===false){return;}var startTime=opts2.continuous?10:getTimeout(els[opts2.currSlide],els[opts2.nextSlide],opts2,!opts2.backwards);if(startTime){startTime+=(opts2.delay||0);if(startTime<10){startTime=10;}debug("first timeout: "+startTime);this.cycleTimeout=setTimeout(function(){go(els,opts2,0,!opts.backwards);},startTime);}});};function handleArguments(cont,options,arg2){if(cont.cycleStop==undefined){cont.cycleStop=0;}if(options===undefined||options===null){options={};}if(options.constructor==String){switch(options){case"destroy":case"stop":var opts=$(cont).data("cycle.opts");if(!opts){return false;}cont.cycleStop++;if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);}cont.cycleTimeout=0;$(cont).removeData("cycle.opts");if(options=="destroy"){destroy(opts);}return false;case"toggle":cont.cyclePause=(cont.cyclePause===1)?0:1;checkInstantResume(cont.cyclePause,arg2,cont);return false;case"pause":cont.cyclePause=1;return false;case"resume":cont.cyclePause=0;checkInstantResume(false,arg2,cont);return false;case"prev":case"next":var opts=$(cont).data("cycle.opts");if(!opts){log('options not found, "prev/next" ignored');return false;}$.fn.cycle[options](opts);return false;default:options={fx:options};}return options;}else{if(options.constructor==Number){var num=options;options=$(cont).data("cycle.opts");if(!options){log("options not found, can not advance slide");return false;}if(num<0||num>=options.elements.length){log("invalid slide index: "+num);return false;}options.nextSlide=num;if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);cont.cycleTimeout=0;}if(typeof arg2=="string"){options.oneTimeFx=arg2;}go(options.elements,options,1,num>=options.currSlide);return false;}}return options;function checkInstantResume(isPaused,arg2,cont){if(!isPaused&&arg2===true){var options=$(cont).data("cycle.opts");if(!options){log("options not found, can not resume");return false;}if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);cont.cycleTimeout=0;}go(options.elements,options,1,!options.backwards);}}}function removeFilter(el,opts){if(!$.support.opacity&&opts.cleartype&&el.style.filter){try{el.style.removeAttribute("filter");}catch(smother){}}}function destroy(opts){if(opts.next){$(opts.next).unbind(opts.prevNextEvent);}if(opts.prev){$(opts.prev).unbind(opts.prevNextEvent);}if(opts.pager||opts.pagerAnchorBuilder){$.each(opts.pagerAnchors||[],function(){this.unbind().remove();});}opts.pagerAnchors=null;if(opts.destroy){opts.destroy(opts);}}function buildOptions($cont,$slides,els,options,o){var opts=$.extend({},$.fn.cycle.defaults,options||{},$.metadata?$cont.metadata():$.meta?$cont.data():{});if(opts.autostop){opts.countdown=opts.autostopCount||els.length;}var cont=$cont[0];$cont.data("cycle.opts",opts);opts.$cont=$cont;opts.stopCount=cont.cycleStop;opts.elements=els;opts.before=opts.before?[opts.before]:[];opts.after=opts.after?[opts.after]:[];opts.after.unshift(function(){opts.busy=0;});if(!$.support.opacity&&opts.cleartype){opts.after.push(function(){removeFilter(this,opts);});}if(opts.continuous){opts.after.push(function(){go(els,opts,0,!opts.backwards);});}saveOriginalOpts(opts);if(!$.support.opacity&&opts.cleartype&&!opts.cleartypeNoBg){clearTypeFix($slides);}if($cont.css("position")=="static"){$cont.css("position","relative");}if(opts.width){$cont.width(opts.width);}if(opts.height&&opts.height!="auto"){$cont.height(opts.height);}if(opts.startingSlide){opts.startingSlide=parseInt(opts.startingSlide);}else{if(opts.backwards){opts.startingSlide=els.length-1;}}if(opts.random){opts.randomMap=[];for(var i=0;i<els.length;i++){opts.randomMap.push(i);}opts.randomMap.sort(function(a,b){return Math.random()-0.5;});opts.randomIndex=1;opts.startingSlide=opts.randomMap[1];}else{if(opts.startingSlide>=els.length){opts.startingSlide=0;}}opts.currSlide=opts.startingSlide||0;var first=opts.startingSlide;$slides.css({position:"absolute",top:0,left:0}).hide().each(function(i){var z;if(opts.backwards){z=first?i<=first?els.length+(i-first):first-i:els.length-i;}else{z=first?i>=first?els.length-(i-first):first-i:els.length-i;}$(this).css("z-index",z);});$(els[first]).css("opacity",1).show();removeFilter(els[first],opts);if(opts.fit&&opts.width){$slides.width(opts.width);}if(opts.fit&&opts.height&&opts.height!="auto"){$slides.height(opts.height);}var reshape=opts.containerResize&&!$cont.innerHeight();if(reshape){var maxw=0,maxh=0;for(var j=0;j<els.length;j++){var $e=$(els[j]),e=$e[0],w=$e.outerWidth(),h=$e.outerHeight();if(!w){w=e.offsetWidth||e.width||$e.attr("width");}if(!h){h=e.offsetHeight||e.height||$e.attr("height");}maxw=w>maxw?w:maxw;maxh=h>maxh?h:maxh;}if(maxw>0&&maxh>0){$cont.css({width:maxw+"px",height:maxh+"px"});}}if(opts.pause){$cont.hover(function(){this.cyclePause++;},function(){this.cyclePause--;});}if(supportMultiTransitions(opts)===false){return false;}var requeue=false;options.requeueAttempts=options.requeueAttempts||0;$slides.each(function(){var $el=$(this);this.cycleH=(opts.fit&&opts.height)?opts.height:($el.height()||this.offsetHeight||this.height||$el.attr("height")||0);this.cycleW=(opts.fit&&opts.width)?opts.width:($el.width()||this.offsetWidth||this.width||$el.attr("width")||0);if($el.is("img")){var loadingIE=($.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var loadingFF=($.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete);var loadingOp=($.browser.opera&&((this.cycleW==42&&this.cycleH==19)||(this.cycleW==37&&this.cycleH==17))&&!this.complete);var loadingOther=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(loadingIE||loadingFF||loadingOp||loadingOther){if(o.s&&opts.requeueOnImageNotLoaded&&++options.requeueAttempts<100){log(options.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){$(o.s,o.c).cycle(options);},opts.requeueTimeout);requeue=true;return false;}else{log("could not determine size of image: "+this.src,this.cycleW,this.cycleH);}}}return true;});if(requeue){return false;}opts.cssBefore=opts.cssBefore||{};opts.animIn=opts.animIn||{};opts.animOut=opts.animOut||{};$slides.not(":eq("+first+")").css(opts.cssBefore);if(opts.cssFirst){$($slides[first]).css(opts.cssFirst);}if(opts.timeout){opts.timeout=parseInt(opts.timeout);if(opts.speed.constructor==String){opts.speed=$.fx.speeds[opts.speed]||parseInt(opts.speed);}if(!opts.sync){opts.speed=opts.speed/2;}var buffer=opts.fx=="shuffle"?500:250;while((opts.timeout-opts.speed)<buffer){opts.timeout+=opts.speed;}}if(opts.easing){opts.easeIn=opts.easeOut=opts.easing;}if(!opts.speedIn){opts.speedIn=opts.speed;}if(!opts.speedOut){opts.speedOut=opts.speed;}opts.slideCount=els.length;opts.currSlide=opts.lastSlide=first;if(opts.random){if(++opts.randomIndex==els.length){opts.randomIndex=0;}opts.nextSlide=opts.randomMap[opts.randomIndex];}else{if(opts.backwards){opts.nextSlide=opts.startingSlide==0?(els.length-1):opts.startingSlide-1;}else{opts.nextSlide=opts.startingSlide>=(els.length-1)?0:opts.startingSlide+1;}}if(!opts.multiFx){var init=$.fn.cycle.transitions[opts.fx];if($.isFunction(init)){init($cont,$slides,opts);}else{if(opts.fx!="custom"&&!opts.multiFx){log("unknown transition: "+opts.fx,"; slideshow terminating");return false;}}}var e0=$slides[first];if(opts.before.length){opts.before[0].apply(e0,[e0,e0,opts,true]);}if(opts.after.length>1){opts.after[1].apply(e0,[e0,e0,opts,true]);}if(opts.next){$(opts.next).bind(opts.prevNextEvent,function(){return advance(opts,1);});}if(opts.prev){$(opts.prev).bind(opts.prevNextEvent,function(){return advance(opts,0);});}if(opts.pager||opts.pagerAnchorBuilder){buildPager(els,opts);}exposeAddSlide(opts,els);return opts;}function saveOriginalOpts(opts){opts.original={before:[],after:[]};opts.original.cssBefore=$.extend({},opts.cssBefore);opts.original.cssAfter=$.extend({},opts.cssAfter);opts.original.animIn=$.extend({},opts.animIn);opts.original.animOut=$.extend({},opts.animOut);$.each(opts.before,function(){opts.original.before.push(this);});$.each(opts.after,function(){opts.original.after.push(this);});}function supportMultiTransitions(opts){var i,tx,txs=$.fn.cycle.transitions;if(opts.fx.indexOf(",")>0){opts.multiFx=true;opts.fxs=opts.fx.replace(/\s*/g,"").split(",");for(i=0;i<opts.fxs.length;i++){var fx=opts.fxs[i];tx=txs[fx];if(!tx||!txs.hasOwnProperty(fx)||!$.isFunction(tx)){log("discarding unknown transition: ",fx);opts.fxs.splice(i,1);i--;}}if(!opts.fxs.length){log("No valid transitions named; slideshow terminating.");return false;}}else{if(opts.fx=="all"){opts.multiFx=true;opts.fxs=[];for(p in txs){tx=txs[p];if(txs.hasOwnProperty(p)&&$.isFunction(tx)){opts.fxs.push(p);}}}}if(opts.multiFx&&opts.randomizeEffects){var r1=Math.floor(Math.random()*20)+30;for(i=0;i<r1;i++){var r2=Math.floor(Math.random()*opts.fxs.length);opts.fxs.push(opts.fxs.splice(r2,1)[0]);}debug("randomized fx sequence: ",opts.fxs);}return true;}function exposeAddSlide(opts,els){opts.addSlide=function(newSlide,prepend){var $s=$(newSlide),s=$s[0];if(!opts.autostopCount){opts.countdown++;}els[prepend?"unshift":"push"](s);if(opts.els){opts.els[prepend?"unshift":"push"](s);}opts.slideCount=els.length;$s.css("position","absolute");$s[prepend?"prependTo":"appendTo"](opts.$cont);if(prepend){opts.currSlide++;opts.nextSlide++;}if(!$.support.opacity&&opts.cleartype&&!opts.cleartypeNoBg){clearTypeFix($s);}if(opts.fit&&opts.width){$s.width(opts.width);}if(opts.fit&&opts.height&&opts.height!="auto"){$s.height(opts.height);}s.cycleH=(opts.fit&&opts.height)?opts.height:$s.height();s.cycleW=(opts.fit&&opts.width)?opts.width:$s.width();$s.css(opts.cssBefore);if(opts.pager||opts.pagerAnchorBuilder){$.fn.cycle.createPagerAnchor(els.length-1,s,$(opts.pager),els,opts);}if($.isFunction(opts.onAddSlide)){opts.onAddSlide($s);}else{$s.hide();}};}$.fn.cycle.resetState=function(opts,fx){fx=fx||opts.fx;opts.before=[];opts.after=[];opts.cssBefore=$.extend({},opts.original.cssBefore);opts.cssAfter=$.extend({},opts.original.cssAfter);opts.animIn=$.extend({},opts.original.animIn);opts.animOut=$.extend({},opts.original.animOut);opts.fxFn=null;$.each(opts.original.before,function(){opts.before.push(this);});$.each(opts.original.after,function(){opts.after.push(this);});var init=$.fn.cycle.transitions[fx];if($.isFunction(init)){init(opts.$cont,$(opts.elements),opts);}};function go(els,opts,manual,fwd){if(manual&&opts.busy&&opts.manualTrump){debug("manualTrump in go(), stopping active transition");$(els).stop(true,true);opts.busy=false;}if(opts.busy){debug("transition active, ignoring new tx request");return;}var p=opts.$cont[0],curr=els[opts.currSlide],next=els[opts.nextSlide];if(p.cycleStop!=opts.stopCount||p.cycleTimeout===0&&!manual){return;}if(!manual&&!p.cyclePause&&!opts.bounce&&((opts.autostop&&(--opts.countdown<=0))||(opts.nowrap&&!opts.random&&opts.nextSlide<opts.currSlide))){if(opts.end){opts.end(opts);}return;}var changed=false;if((manual||!p.cyclePause)&&(opts.nextSlide!=opts.currSlide)){changed=true;var fx=opts.fx;curr.cycleH=curr.cycleH||$(curr).height();curr.cycleW=curr.cycleW||$(curr).width();next.cycleH=next.cycleH||$(next).height();next.cycleW=next.cycleW||$(next).width();if(opts.multiFx){if(opts.lastFx==undefined||++opts.lastFx>=opts.fxs.length){opts.lastFx=0;}fx=opts.fxs[opts.lastFx];opts.currFx=fx;}if(opts.oneTimeFx){fx=opts.oneTimeFx;opts.oneTimeFx=null;}$.fn.cycle.resetState(opts,fx);if(opts.before.length){$.each(opts.before,function(i,o){if(p.cycleStop!=opts.stopCount){return;}o.apply(next,[curr,next,opts,fwd]);});}var after=function(){$.each(opts.after,function(i,o){if(p.cycleStop!=opts.stopCount){return;}o.apply(next,[curr,next,opts,fwd]);});};debug("tx firing; currSlide: "+opts.currSlide+"; nextSlide: "+opts.nextSlide);opts.busy=1;if(opts.fxFn){opts.fxFn(curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}else{if($.isFunction($.fn.cycle[opts.fx])){$.fn.cycle[opts.fx](curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}else{$.fn.cycle.custom(curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}}}if(changed||opts.nextSlide==opts.currSlide){opts.lastSlide=opts.currSlide;if(opts.random){opts.currSlide=opts.nextSlide;if(++opts.randomIndex==els.length){opts.randomIndex=0;}opts.nextSlide=opts.randomMap[opts.randomIndex];if(opts.nextSlide==opts.currSlide){opts.nextSlide=(opts.currSlide==opts.slideCount-1)?0:opts.currSlide+1;}}else{if(opts.backwards){var roll=(opts.nextSlide-1)<0;if(roll&&opts.bounce){opts.backwards=!opts.backwards;opts.nextSlide=1;opts.currSlide=0;}else{opts.nextSlide=roll?(els.length-1):opts.nextSlide-1;opts.currSlide=roll?0:opts.nextSlide+1;}}else{var roll=(opts.nextSlide+1)==els.length;if(roll&&opts.bounce){opts.backwards=!opts.backwards;opts.nextSlide=els.length-2;opts.currSlide=els.length-1;}else{opts.nextSlide=roll?0:opts.nextSlide+1;opts.currSlide=roll?els.length-1:opts.nextSlide-1;}}}}if(changed&&opts.pager){opts.updateActivePagerLink(opts.pager,opts.currSlide,opts.activePagerClass);}var ms=0;if(opts.timeout&&!opts.continuous){ms=getTimeout(els[opts.currSlide],els[opts.nextSlide],opts,fwd);}else{if(opts.continuous&&p.cyclePause){ms=10;}}if(ms>0){p.cycleTimeout=setTimeout(function(){go(els,opts,0,!opts.backwards);},ms);}}$.fn.cycle.updateActivePagerLink=function(pager,currSlide,clsName){$(pager).each(function(){$(this).children().removeClass(clsName).eq(currSlide).addClass(clsName);});};function getTimeout(curr,next,opts,fwd){if(opts.timeoutFn){var t=opts.timeoutFn.call(curr,curr,next,opts,fwd);while((t-opts.speed)<250){t+=opts.speed;}debug("calculated timeout: "+t+"; speed: "+opts.speed);if(t!==false){return t;}}return opts.timeout;}$.fn.cycle.next=function(opts){advance(opts,1);};$.fn.cycle.prev=function(opts){advance(opts,0);};function advance(opts,moveForward){var val=moveForward?1:-1;var els=opts.elements;var p=opts.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0;}if(opts.random&&val<0){opts.randomIndex--;if(--opts.randomIndex==-2){opts.randomIndex=els.length-2;}else{if(opts.randomIndex==-1){opts.randomIndex=els.length-1;}}opts.nextSlide=opts.randomMap[opts.randomIndex];}else{if(opts.random){opts.nextSlide=opts.randomMap[opts.randomIndex];}else{opts.nextSlide=opts.currSlide+val;if(opts.nextSlide<0){if(opts.nowrap){return false;}opts.nextSlide=els.length-1;}else{if(opts.nextSlide>=els.length){if(opts.nowrap){return false;}opts.nextSlide=0;}}}}var cb=opts.onPrevNextEvent||opts.prevNextClick;if($.isFunction(cb)){cb(val>0,opts.nextSlide,els[opts.nextSlide]);}go(els,opts,1,moveForward);return false;}function buildPager(els,opts){var $p=$(opts.pager);$.each(els,function(i,o){$.fn.cycle.createPagerAnchor(i,o,$p,els,opts);});opts.updateActivePagerLink(opts.pager,opts.startingSlide,opts.activePagerClass);}$.fn.cycle.createPagerAnchor=function(i,el,$p,els,opts){var a;if($.isFunction(opts.pagerAnchorBuilder)){a=opts.pagerAnchorBuilder(i,el);debug("pagerAnchorBuilder("+i+", el) returned: "+a);}else{a='<a href="#">'+(i+1)+"</a>";}if(!a){return;}var $a=$(a);if($a.parents("body").length===0){var arr=[];if($p.length>1){$p.each(function(){var $clone=$a.clone(true);$(this).append($clone);arr.push($clone[0]);});$a=$(arr);}else{$a.appendTo($p);}}opts.pagerAnchors=opts.pagerAnchors||[];opts.pagerAnchors.push($a);$a.bind(opts.pagerEvent,function(e){e.preventDefault();opts.nextSlide=i;var p=opts.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0;}var cb=opts.onPagerEvent||opts.pagerClick;if($.isFunction(cb)){cb(opts.nextSlide,els[opts.nextSlide]);}go(els,opts,1,opts.currSlide<i);});if(!/^click/.test(opts.pagerEvent)&&!opts.allowPagerClickBubble){$a.bind("click.cycle",function(){return false;});}if(opts.pauseOnPagerHover){$a.hover(function(){opts.$cont[0].cyclePause++;},function(){opts.$cont[0].cyclePause--;});}};$.fn.cycle.hopsFromLast=function(opts,fwd){var hops,l=opts.lastSlide,c=opts.currSlide;if(fwd){hops=c>l?c-l:opts.slideCount-l;}else{hops=c<l?l-c:l+opts.slideCount-c;}return hops;};function clearTypeFix($slides){debug("applying clearType background-color hack");function hex(s){s=parseInt(s).toString(16);return s.length<2?"0"+s:s;}function getBg(e){for(;e&&e.nodeName.toLowerCase()!="html";e=e.parentNode){var v=$.css(e,"background-color");if(v.indexOf("rgb")>=0){var rgb=v.match(/\d+/g);return"#"+hex(rgb[0])+hex(rgb[1])+hex(rgb[2]);}if(v&&v!="transparent"){return v;}}return"#ffffff";}$slides.each(function(){$(this).css("background-color",getBg(this));});}$.fn.cycle.commonReset=function(curr,next,opts,w,h,rev){$(opts.elements).not(curr).hide();opts.cssBefore.opacity=1;opts.cssBefore.display="block";if(opts.slideResize&&w!==false&&next.cycleW>0){opts.cssBefore.width=next.cycleW;}if(opts.slideResize&&h!==false&&next.cycleH>0){opts.cssBefore.height=next.cycleH;}opts.cssAfter=opts.cssAfter||{};opts.cssAfter.display="none";$(curr).css("zIndex",opts.slideCount+(rev===true?1:0));$(next).css("zIndex",opts.slideCount+(rev===true?0:1));};$.fn.cycle.custom=function(curr,next,opts,cb,fwd,speedOverride){var $l=$(curr),$n=$(next);var speedIn=opts.speedIn,speedOut=opts.speedOut,easeIn=opts.easeIn,easeOut=opts.easeOut;$n.css(opts.cssBefore);if(speedOverride){if(typeof speedOverride=="number"){speedIn=speedOut=speedOverride;}else{speedIn=speedOut=1;}easeIn=easeOut=null;}var fn=function(){$n.animate(opts.animIn,speedIn,easeIn,cb);};$l.animate(opts.animOut,speedOut,easeOut,function(){if(opts.cssAfter){$l.css(opts.cssAfter);}if(!opts.sync){fn();}});if(opts.sync){fn();}};$.fn.cycle.transitions={fade:function($cont,$slides,opts){$slides.not(":eq("+opts.currSlide+")").css("opacity",0);opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.opacity=0;});opts.animIn={opacity:1};opts.animOut={opacity:0};opts.cssBefore={top:0,left:0};}};$.fn.cycle.ver=function(){return ver;};$.fn.cycle.defaults={fx:"fade",timeout:4000,timeoutFn:null,continuous:0,speed:1000,speedIn:null,speedOut:null,next:null,prev:null,onPrevNextEvent:null,prevNextEvent:"click.cycle",pager:null,onPagerEvent:null,pagerEvent:"click.cycle",allowPagerClickBubble:false,pagerAnchorBuilder:null,before:null,after:null,end:null,easing:null,easeIn:null,easeOut:null,shuffle:null,animIn:null,animOut:null,cssBefore:null,cssAfter:null,fxFn:null,height:"auto",startingSlide:0,sync:1,random:0,fit:0,containerResize:1,slideResize:1,pause:0,pauseOnPagerHover:0,autostop:0,autostopCount:0,delay:0,slideExpr:null,cleartype:!$.support.opacity,cleartypeNoBg:false,nowrap:0,fastOnEvent:0,randomizeEffects:1,rev:0,manualTrump:true,requeueOnImageNotLoaded:true,requeueTimeout:250,activePagerClass:"activeSlide",updateActivePagerLink:null,backwards:false};})(jQuery);
/*
 * jQuery Cycle Plugin Transition Definitions
 * This script is a plugin for the jQuery Cycle Plugin
 * Examples and documentation at: http://malsup.com/jquery/cycle/
 * Copyright (c) 2007-2010 M. Alsup
 * Version:	 2.73
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 */
(function($){$.fn.cycle.transitions.none=function($cont,$slides,opts){opts.fxFn=function(curr,next,opts,after){$(next).show();$(curr).hide();after();};};$.fn.cycle.transitions.fadeout=function($cont,$slides,opts){$slides.not(":eq("+opts.currSlide+")").css({display:"block",opacity:1});opts.before.push(function(curr,next,opts,w,h,rev){$(curr).css("zIndex",opts.slideCount+(!rev===true?1:0));$(next).css("zIndex",opts.slideCount+(!rev===true?0:1));});opts.animIn={opacity:1};opts.animOut={opacity:0};opts.cssBefore={opacity:1,display:"block"};opts.cssAfter={zIndex:0};};$.fn.cycle.transitions.scrollUp=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var h=$cont.height();opts.cssBefore={top:h,left:0};opts.cssFirst={top:0};opts.animIn={top:0};opts.animOut={top:-h};};$.fn.cycle.transitions.scrollDown=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var h=$cont.height();opts.cssFirst={top:0};opts.cssBefore={top:-h,left:0};opts.animIn={top:0};opts.animOut={top:h};};$.fn.cycle.transitions.scrollLeft=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var w=$cont.width();opts.cssFirst={left:0};opts.cssBefore={left:w,top:0};opts.animIn={left:0};opts.animOut={left:0-w};};$.fn.cycle.transitions.scrollRight=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var w=$cont.width();opts.cssFirst={left:0};opts.cssBefore={left:-w,top:0};opts.animIn={left:0};opts.animOut={left:w};};$.fn.cycle.transitions.scrollHorz=function($cont,$slides,opts){$cont.css("overflow","hidden").width();opts.before.push(function(curr,next,opts,fwd){if(opts.rev){fwd=!fwd;}$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.left=fwd?(next.cycleW-1):(1-next.cycleW);opts.animOut.left=fwd?-curr.cycleW:curr.cycleW;});opts.cssFirst={left:0};opts.cssBefore={top:0};opts.animIn={left:0};opts.animOut={top:0};};$.fn.cycle.transitions.scrollVert=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push(function(curr,next,opts,fwd){if(opts.rev){fwd=!fwd;}$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.top=fwd?(1-next.cycleH):(next.cycleH-1);opts.animOut.top=fwd?curr.cycleH:-curr.cycleH;});opts.cssFirst={top:0};opts.cssBefore={left:0};opts.animIn={top:0};opts.animOut={left:0};};$.fn.cycle.transitions.slideX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$(opts.elements).not(curr).hide();$.fn.cycle.commonReset(curr,next,opts,false,true);opts.animIn.width=next.cycleW;});opts.cssBefore={left:0,top:0,width:0};opts.animIn={width:"show"};opts.animOut={width:0};};$.fn.cycle.transitions.slideY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$(opts.elements).not(curr).hide();$.fn.cycle.commonReset(curr,next,opts,true,false);opts.animIn.height=next.cycleH;});opts.cssBefore={left:0,top:0,height:0};opts.animIn={height:"show"};opts.animOut={height:0};};$.fn.cycle.transitions.shuffle=function($cont,$slides,opts){var i,w=$cont.css("overflow","visible").width();$slides.css({left:0,top:0});opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);});if(!opts.speedAdjusted){opts.speed=opts.speed/2;opts.speedAdjusted=true;}opts.random=0;opts.shuffle=opts.shuffle||{left:-w,top:15};opts.els=[];for(i=0;i<$slides.length;i++){opts.els.push($slides[i]);}for(i=0;i<opts.currSlide;i++){opts.els.push(opts.els.shift());}opts.fxFn=function(curr,next,opts,cb,fwd){if(opts.rev){fwd=!fwd;}var $el=fwd?$(curr):$(next);$(next).css(opts.cssBefore);var count=opts.slideCount;$el.animate(opts.shuffle,opts.speedIn,opts.easeIn,function(){var hops=$.fn.cycle.hopsFromLast(opts,fwd);for(var k=0;k<hops;k++){fwd?opts.els.push(opts.els.shift()):opts.els.unshift(opts.els.pop());}if(fwd){for(var i=0,len=opts.els.length;i<len;i++){$(opts.els[i]).css("z-index",len-i+count);}}else{var z=$(curr).css("z-index");$el.css("z-index",parseInt(z)+1+count);}$el.animate({left:0,top:0},opts.speedOut,opts.easeOut,function(){$(fwd?this:curr).hide();if(cb){cb();}});});};opts.cssBefore={display:"block",opacity:1,top:0,left:0};};$.fn.cycle.transitions.turnUp=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.cssBefore.top=next.cycleH;opts.animIn.height=next.cycleH;opts.animOut.width=next.cycleW;});opts.cssFirst={top:0};opts.cssBefore={left:0,height:0};opts.animIn={top:0};opts.animOut={height:0};};$.fn.cycle.transitions.turnDown=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssFirst={top:0};opts.cssBefore={left:0,top:0,height:0};opts.animOut={height:0};};$.fn.cycle.transitions.turnLeft=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.cssBefore.left=next.cycleW;opts.animIn.width=next.cycleW;});opts.cssBefore={top:0,width:0};opts.animIn={left:0};opts.animOut={width:0};};$.fn.cycle.transitions.turnRight=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.animIn.width=next.cycleW;opts.animOut.left=curr.cycleW;});opts.cssBefore={top:0,left:0,width:0};opts.animIn={left:0};opts.animOut={width:0};};$.fn.cycle.transitions.zoom=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,false,true);opts.cssBefore.top=next.cycleH/2;opts.cssBefore.left=next.cycleW/2;opts.animIn={top:0,left:0,width:next.cycleW,height:next.cycleH};opts.animOut={width:0,height:0,top:curr.cycleH/2,left:curr.cycleW/2};});opts.cssFirst={top:0,left:0};opts.cssBefore={width:0,height:0};};$.fn.cycle.transitions.fadeZoom=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,false);opts.cssBefore.left=next.cycleW/2;opts.cssBefore.top=next.cycleH/2;opts.animIn={top:0,left:0,width:next.cycleW,height:next.cycleH};});opts.cssBefore={width:0,height:0};opts.animOut={opacity:0};};$.fn.cycle.transitions.blindX=function($cont,$slides,opts){var w=$cont.css("overflow","hidden").width();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.width=next.cycleW;opts.animOut.left=curr.cycleW;});opts.cssBefore={left:w,top:0};opts.animIn={left:0};opts.animOut={left:w};};$.fn.cycle.transitions.blindY=function($cont,$slides,opts){var h=$cont.css("overflow","hidden").height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssBefore={top:h,left:0};opts.animIn={top:0};opts.animOut={top:h};};$.fn.cycle.transitions.blindZ=function($cont,$slides,opts){var h=$cont.css("overflow","hidden").height();var w=$cont.width();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssBefore={top:h,left:w};opts.animIn={top:0,left:0};opts.animOut={top:h,left:w};};$.fn.cycle.transitions.growX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.cssBefore.left=this.cycleW/2;opts.animIn={left:0,width:this.cycleW};opts.animOut={left:0};});opts.cssBefore={width:0,top:0};};$.fn.cycle.transitions.growY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.cssBefore.top=this.cycleH/2;opts.animIn={top:0,height:this.cycleH};opts.animOut={top:0};});opts.cssBefore={height:0,left:0};};$.fn.cycle.transitions.curtainX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true,true);opts.cssBefore.left=next.cycleW/2;opts.animIn={left:0,width:this.cycleW};opts.animOut={left:curr.cycleW/2,width:0};});opts.cssBefore={top:0,width:0};};$.fn.cycle.transitions.curtainY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false,true);opts.cssBefore.top=next.cycleH/2;opts.animIn={top:0,height:next.cycleH};opts.animOut={top:curr.cycleH/2,height:0};});opts.cssBefore={left:0,height:0};};$.fn.cycle.transitions.cover=function($cont,$slides,opts){var d=opts.direction||"left";var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);if(d=="right"){opts.cssBefore.left=-w;}else{if(d=="up"){opts.cssBefore.top=h;}else{if(d=="down"){opts.cssBefore.top=-h;}else{opts.cssBefore.left=w;}}}});opts.animIn={left:0,top:0};opts.animOut={opacity:1};opts.cssBefore={top:0,left:0};};$.fn.cycle.transitions.uncover=function($cont,$slides,opts){var d=opts.direction||"left";var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);if(d=="right"){opts.animOut.left=w;}else{if(d=="up"){opts.animOut.top=-h;}else{if(d=="down"){opts.animOut.top=h;}else{opts.animOut.left=-w;}}}});opts.animIn={left:0,top:0};opts.animOut={opacity:1};opts.cssBefore={top:0,left:0};};$.fn.cycle.transitions.toss=function($cont,$slides,opts){var w=$cont.css("overflow","visible").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);if(!opts.animOut.left&&!opts.animOut.top){opts.animOut={left:w*2,top:-h/2,opacity:0};}else{opts.animOut.opacity=0;}});opts.cssBefore={left:0,top:0};opts.animIn={left:0};};$.fn.cycle.transitions.wipe=function($cont,$slides,opts){var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.cssBefore=opts.cssBefore||{};var clip;if(opts.clip){if(/l2r/.test(opts.clip)){clip="rect(0px 0px "+h+"px 0px)";}else{if(/r2l/.test(opts.clip)){clip="rect(0px "+w+"px "+h+"px "+w+"px)";}else{if(/t2b/.test(opts.clip)){clip="rect(0px "+w+"px 0px 0px)";}else{if(/b2t/.test(opts.clip)){clip="rect("+h+"px "+w+"px "+h+"px 0px)";}else{if(/zoom/.test(opts.clip)){var top=parseInt(h/2);var left=parseInt(w/2);clip="rect("+top+"px "+left+"px "+top+"px "+left+"px)";}}}}}}opts.cssBefore.clip=opts.cssBefore.clip||clip||"rect(0px 0px 0px 0px)";var d=opts.cssBefore.clip.match(/(\d+)/g);var t=parseInt(d[0]),r=parseInt(d[1]),b=parseInt(d[2]),l=parseInt(d[3]);opts.before.push(function(curr,next,opts){if(curr==next){return;}var $curr=$(curr),$next=$(next);$.fn.cycle.commonReset(curr,next,opts,true,true,false);opts.cssAfter.display="block";var step=1,count=parseInt((opts.speedIn/13))-1;(function f(){var tt=t?t-parseInt(step*(t/count)):0;var ll=l?l-parseInt(step*(l/count)):0;var bb=b<h?b+parseInt(step*((h-b)/count||1)):h;var rr=r<w?r+parseInt(step*((w-r)/count||1)):w;$next.css({clip:"rect("+tt+"px "+rr+"px "+bb+"px "+ll+"px)"});(step++<=count)?setTimeout(f,13):$curr.css("display","none");})();});opts.cssBefore={display:"block",opacity:1,top:0,left:0};opts.animIn={left:0};opts.animOut={left:0};};})(jQuery);;
Drupal.behaviors.bocenter = function(context) {
  Cufon.replace('#block-menu-primary-links a, h1, h2, h3, #block-block-13 p, #block-views-campaigns-block_2 a, #right-campaign a, #value-form a, #webform-wrapper .views-field-title', { 
    fontFamily: 'gill' 
  });
  
  $('#object-plan-pager').cycle({
      fx:     'turnDown',
      speed:  'fast',
      timeout: 3000,
      pager:  '#object-plan-pager-nav',
       slideExpr: 'img',
       timeout:  0
  });
  
  $('#object-foreign-pager').cycle({
      fx:     'fade',
      speed:  'slow',
      timeout: 3000,
      pager:  '#object-foreign-pager-nav',
       slideExpr: 'img',
       timeout:  0
  });
  
  // Fancy plan image.
  $('.plan-image-link').fancybox({
    centerOnScroll: true
  });
 
  // Popup object details.
  $('a.object-details-link').fancybox({
    autoDimensions: false,
    width: 700,
    height: 500,
    centerOnScroll: true,
    type: 'ajax',
    ajax: { 
      dataFilter: function(data) { 
        return $(data).find('div.view-content')[0]; 
      } 
    },
    onComplete: function() {
      Cufon.replace('h3, h2', {
        fontFamily: 'gill'
      });
      $('a.object-details-print').click(function() {
        $.get($(this).attr('href'), function(data) {
          bocenterPrintDetails(data);
        });
        return false;
      });
    } 
  });
  
	
  // Popup news.
  $('#block-views-news-block_1 .views-field-view-node a').fancybox({
    centerOnScroll: true,
    autoDimensions: false,
    titleShow: false,
    width: 840,
    type: 'ajax',
    ajax: { 
      dataFilter: function(data) { 
        return $(data).find('#content')[0]; 
      } 
    },
    onComplete: function() {
      Cufon.replace('h3, h2, h1', {
        fontFamily: 'gill'
      });
      $.fancybox.resize();
    }
  });
  
  // Popup campaign.
  $('div.view-campaigns a').fancybox({
    centerOnScroll: true,
    autoDimensions: false,
    padding: 0,
    titleShow: false,
    width: 440,
    type: 'ajax',
    ajax: { 
      dataFilter: function(data) { 
        return $(data).find('#content')[0]; 
      } 
    },
    onComplete: function() {
      Cufon.replace('h3, h2', {
        fontFamily: 'gill'
      });
      $('#fancybox-inner').children(':first').height($('#fancybox-inner').children(':first').height());
      $('#fancybox-inner').children(':first').width($('#fancybox-inner').children(':first').width());
      $.fancybox.resize();
    }
  });
  
  // Popup upcoming object.
  upcomingObjectFancybox();
  
  // Inline labels
  $('form').inlineLabels();
  
  // Validate and ajaxifies the contact form.
  $.validator.addMethod('forbidLabel', function(value, element) {
    var label = $('label[for=' + element.id + ']:not(.error)').text().replace(':', '').replace(' *', '').toLowerCase();
    return this.optional(element) || value.toLowerCase() != label;
  });
  $('#webform-client-form-457').validate({
    rules: {
      'submitted[name]': {
        required: true,
        forbidLabel: true
      },
      'submitted[email]': {
        required: true,
        forbidLabel: true,
        email: true
      },
      'submitted[message]': {
        required: true,
        forbidLabel: true
      }
    },
    messages: {
      'submitted[name]': 'Ange ditt namn',
      'submitted[email]': 'Du mĂ„ste ange en riktig e-postadress',
      'submitted[message]': 'Du mĂ„ste skriva ett meddelande'
    },
    submitHandler: function(form) {
      $(form).ajaxSubmit({
        success: function(response, status) {
          if (status == 'success') {   
            var email = $('#edit-submitted-email').val();            
            $.fancybox({
              content: '<h2>Tack fĂ¶r ditt meddelande!</h2><p><strong>Vi hĂ¶r av oss sĂ„ fort vi kan.</strong><br/><span style="font-size: 11px;">En kopia av ditt meddelande har skickats till '+ email +'</span></p>',
              autoDimensions: false,
              width: 320,
              height: 100,
              padding: 20
            });
            Cufon.replace('h2', {
    		      fontFamily: 'gill'
  			    });
          }
          else {
            $.fancybox({
              content: '<p>Ett fel uppstod nĂ€r formulĂ€ret skulle skickas.</p><p>PrĂ¶va gĂ€rna att kontakta nĂ„gon av vĂ„ra mĂ€klare nedan.</p>',
              autoDimensions: false,
              width: 320,
              height: 100,
              padding: 20
            });
          }
        }
      });
    }
  });
  
  // Show displays in the list.
  $('a.show-displays').click(function(event) {
    event.preventDefault();
    $(this).siblings('.displays').slideToggle('fast');
  });
  
  // Popup displays form.
  if ($.browser.msie) {
    $('a.displays-form-link').attr('target', '_blank');
  }
  else {
    $('a.displays-form-link').fancybox({
      type: 'iframe',
      autoDimensions: false,
      width: 659,
      height: 630,
      padding: 0,
      margin: 0,
      scrolling: 'yes'
    });
  }
  
  // Popup value form.
  $('#value-form a, .free-evaluation a').fancybox({
    centerOnScroll: true,
    autoDimensions: false,
    width: 620,
    type: 'ajax',
    ajax: { 
      dataFilter: function(data) {  
        return $(data).find('#content')[0];
      } 
    },
    onComplete: function() {
    Cufon.replace('h3, h2, h1', {
        fontFamily: 'gill'
      });
      $('#webform-client-form-501').inlineLabels();
      $('#fancybox-inner').children(':first').height($('#fancybox-inner').children(':first').height());
      $('#fancybox-inner').children(':first').width($('#fancybox-inner').children(':first').width());
      $.fancybox.resize();
      // Validate and ajaxifies the displays form.
      $('#webform-client-form-501').validate({
        rules: {
          'submitted[ditt_namn]': {
            required: true,
            forbidLabel: true
          },
          'submitted[ditt_telefonnummer]': {
            required: true,
            forbidLabel: true,
            digits: true
          },
          'submitted[din_mobil]': {
            required: true,
            forbidLabel: true,
            digits: true
          },
          'submitted[din_epost]': {
            required: true,
            forbidLabel: true,
            email: true
          },
          'submitted[meddelande]': {
            required: true,
            forbidLabel: true
          }
        },
        messages: {
          'submitted[ditt_namn]': 'Ange ditt namn',
          'submitted[ditt_telefonnummer]': 'Du fĂ„r bara skriva siffror',
          'submitted[din_mobil]': 'Du fĂ„r bara skriva siffror',
          'submitted[din_epost]': 'Du mĂ„ste skriva en riktig e-postadress',
          'submitted[meddelande]': 'Du mĂ„ste skriva ett meddelande'
        },
        submitHandler: function(form) {
          $(form).ajaxSubmit({
            success: function(response, status) {      
              $.fancybox({
                content:  $(response).find('div#content .webform-confirmation')[0]
              });
            }
          });
        }
      });
    } 
  });
  
  // Lazyload.
  $('.view-id-vitec_objects.view-display-id-page_1 .view-content img').lazyload({
    container: $("#raster"),
    placeholder: Drupal.settings.basePath + 'sites/all/themes/bocenter/graphics/image-loader_small.gif'
  });
}

$(document).ready(function() {
  $('#follow-container').scrollFollow({
    container: 'content-area',
    offset: 20
  });

  // Avaliable images.
  var backgroundImages = {
    'front': Drupal.settings.basePath + 'sites/all/themes/bocenter/graphics/backgrounds/front.jpg',
    'front-2': Drupal.settings.basePath + 'sites/all/themes/bocenter/graphics/backgrounds/front-2.jpg',
    'front-3': Drupal.settings.basePath + 'sites/all/themes/bocenter/graphics/backgrounds/front-3.jpg',
    'front-4': Drupal.settings.basePath + 'sites/all/themes/bocenter/graphics/backgrounds/front-4.jpg',
    'sell': Drupal.settings.basePath + 'sites/all/themes/bocenter/graphics/backgrounds/front-5.jpg',
    'contact': Drupal.settings.basePath + 'sites/all/themes/bocenter/graphics/backgrounds/front-3.jpg'
  };
  // Set the random image.
  var count = 0;
  for (var image in backgroundImages) {
    if (Math.random() < 1 / ++count) {
      backgroundImages.random = backgroundImages[image];
    }
  }
  
  // Front page.
  if ($('body.front').size() > 0) {
    $(document).bgStretcher({
		  images: [backgroundImages.random],
		  imageWidth: 1920, imageHeight: 1200
	  });
	}
  // Sell page.
  else if ($('body.page-s-lja-bostad').size() > 0) {
    $(document).bgStretcher({
		  images: [backgroundImages.sell],
		  imageWidth: 1920, imageHeight: 1200
	  });
	}
	// Contact page.
	else if ($('body.page-kontakta-oss').size() > 0) {
    $(document).bgStretcher({
		  images: [backgroundImages.contact],
		  imageWidth: 1920, imageHeight: 1200
	  });
	}
	
	if ($('body.section-hemnet').size() > 0) {
    $("html").addClass("hemnet")
  }
  else if ($('body.section-bovision').size() > 0) {
    $("html").addClass("bovision")
  }
  
  // Show a random front splash image.
  if ($('body').hasClass('front')) {
    index = Math.floor(Math.random() * $('#content-area div').size());
    $($('#content-area div').get(index)).show();
  }
  
});


/**
 * Simple function to print any content without opening a new window.
 * Inspired by the printArea plugin.
 */
function bocenterPrintDetails(content) {
  // Add a hidden iframe to the document.
  var iframe = document.createElement('iframe');
  document.body.appendChild(iframe);
  $(iframe).attr('style', 'border:0; position:absolute; width:0px; height:0px; left:0px; top:0px;');

  // Set the new window and document contents.
  writeDoc = iframe.contentDocument ? iframe.contentDocument : (iframe.contentWindow ? iframe.contentWindow.document : iframe.document);
  printWindow = iframe.contentWindow || iframe;

  // Open the new document and add the specified content.
  writeDoc.open();
  writeDoc.write(content);
  writeDoc.close();

  // Open the print dialog and close the window.
  printWindow.focus();
  printWindow.print();
}

function upcomingObjectFancybox() {
  $('a.upcoming-object').fancybox({
    centerOnScroll: true,
    type: 'ajax',
    ajax: { 
      dataFilter: function(data) { 
        return $(data).find('#content')[0]; 
      } 
    },
    onComplete: function() {
      Cufon.replace('#content h1', {
        fontFamily: 'gill'
      });
      $('#webform-client-form-581').inlineLabels();
      // Validate and ajaxifies the displays form.
      $('#webform-client-form-581').validate({
        rules: {
          'submitted[contact][name]': {
            required: true,
            forbidLabel: true
          },
          'submitted[contact][phone]': {
            required: true,
            forbidLabel: true,
            digits: true
          },
          'submitted[contact][email]': {
            required: true,
            forbidLabel: true,
            email: true
          }
        },
        messages: {
          'submitted[contact][name]': 'Ange ditt namn',
          'submitted[contact][phone]': 'Du fĂ„r bara skriva siffror',
          'submitted[contact][email]': 'Du mĂ„ste skriva en riktig e-postadress'
        },
        submitHandler: function(form) {
          $(form).ajaxSubmit({
            success: function(response, status) {
              if (status == 'success') {
                var email = $('#edit-submitted-contact-email').val();            
                $.fancybox({
                  content: '<p>Du har nu anmĂ€lt ditt intresse fĂ¶r objektet!</p><p>En bekrĂ€ftelse har skickats till '+ email +'.</p>'
                });
              }
              else {  
                $.fancybox({
                  content: '<p>Ett fel uppstod nĂ€r formulĂ€ret skulle skickas.</p><p>PrĂ¶va gĂ€rna att kontakta Bocenter direkt pĂ„<br /><a href="mailto:info@bocenter.se" title="Skicka e-post till info@bocenter.se">info@bocenter.se</a><br />fĂ¶r att anmĂ€la ditt intresse.</p>'
                });
              }
            }  
          });
        }
      });
    }
  });
};

