/*
 * 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>';
  }
};
;
// $Id: fbconnect.js,v 1.6.2.4 2010/10/08 11:42:49 vectoroc Exp $

Drupal.fbconnect = Drupal.fbconnect || {};
Drupal.fbconnect.init = function () {
  Drupal.behaviors.fbconnect = function(context) {
    if (context != document) {
      jQuery(context).each(function() { FB.XFBML.parse(this); });
    }
    Drupal.fbconnect.initLogoutLinks(context);
  }
  
  if (Drupal.settings.fbconnect.loginout_mode == 'auto') {
    FB.Event.subscribe('auth.sessionChange', Drupal.fbconnect.reload_ifUserConnected);
//    FB.Event.subscribe('auth.login', function(response) {
//      console.log('event auth.login');
//    });
  }
  
  Drupal.behaviors.fbconnect(document);
}

Drupal.fbconnect.logout = function(keep_fbaccount_logged) {
  var logout_url = Drupal.settings.basePath + 'logout'; 
  
  if (!keep_fbaccount_logged) {
    FB.logout(function(response) { 
      window.location.href = logout_url; 
    });
  }
  else {
    window.location.href = logout_url;
  }
}

Drupal.fbconnect.reload_ifUserConnected = function(state) {
  var user = Drupal.settings.fbconnect.user;
  
  if (!state.session || user.uid) return;
  if (state.session.uid != user.fbuid) {
    window.location.reload();
  }
};

Drupal.fbconnect.initLogoutLinks = function(context) {
  var loginout_mode = Drupal.settings.fbconnect.loginout_mode;
  var user          = Drupal.settings.fbconnect.user;
  var basePath      = Drupal.settings.basePath;
  var logout_url    = basePath + 'logout'; 
  var links         = $('a[href='+ logout_url +']', context).not('.logout_link_inited');
  
  if (loginout_mode == 'manual') return;
  
  links.addClass('logout_link_inited').click(function() {
    var fbuid = FB.getSession() && FB.getSession().uid;
    if (!user.fbuid || user.fbuid != fbuid) return;
    if (loginout_mode == 'auto') { 
      Drupal.fbconnect.logout();
    }
    else if (loginout_mode == 'ask') {    
      var t_args  = {'!site_name' : Drupal.settings.fbconnect.invite_name};
      var buttons = [
          { 
            'label': Drupal.t('Facebook and !site_name', t_args), 
            'click': function() {
              this.close();
              Drupal.fbconnect.logout();
            }
          }, {
            'name': 'cancel', 
            'label': Drupal.t('!site_name Only', t_args), 
            'click': function() {
              this.close();
              Drupal.fbconnect.logout(true);
            }
          }              
      ];
    
      var dialog = new Drupal.fbconnect.PopupDialog({
        'title'   : Drupal.t('Logout'),
        'message' : Drupal.t('Do you also want to logout from your Facebook account?'),
        'buttons' : buttons 
      });      
    }
    
    return false;
  });
};

Drupal.fbconnect.DoFastRegistration =  function(link) {
  FB.login(function(response) {
    if (response.session && /email/.test(response.perms)) {
      window.location.href = link.href;
    }
  }, {perms:'email'});
};


function facebook_onlogin_ready() {
  // http://github.com/facebook/connect-js/issues/194
  if (!FB.getSession()) {
    return;
  }
  $("#fbconnect-autoconnect-form").submit();
}

/**
 * Create a dialog. 
 *
 * @param opts {Object} Options:
 * @see Drupal.fbconnect.PopupDialog.prototype.prepareDefaults
 *
 * @return {Object}
 */
Drupal.fbconnect.PopupDialog = function(options) {
  this.prepareDefaults(options);
  this.container = Drupal.theme('fb_popup_dialog', this.options);  
  this.dialog = FB.Dialog.create({
    content : this.container,
    visible : false,
    loader  : true,
    onClose : this.__close_handler,
    closeIcon : true
  });
  
//  FB.XFBML.parse(dialog);
  
//  var popup = new FB.UI.PopupDialog(
//    oThis.options.title, 
//    oThis.container, 
//    oThis.options.showLoading,
//    oThis.options.hideUntilLoaded
//  );
  
  this.callback('load', this.dialog);
};

Drupal.fbconnect.PopupDialog.prototype.options = {};

Drupal.fbconnect.PopupDialog.prototype.createHandler = function(event, data) {
  var oThis = this;
  return function() { oThis.callback(event, data); };
};

Drupal.fbconnect.PopupDialog.prototype.callback = function(event, data) {
  data = data || {};
  switch (event) {
  case 'click':
    var btn = data;
    if (btn.click instanceof Function) btn.click.apply(this, [btn]);
    else if (btn.name == 'cancel') this.close();
    break;
    
  case 'close':
    var btn = this.findButton('cancel'); 
    if (btn) this.callback('click', btn);
    break;
    
  case 'load':
    this.show();
    break;
  }
};

Drupal.fbconnect.PopupDialog.prototype.prepareDefaults = function(options) {
  var defaults = {
    'title'           : '',
    'message'         : ' - ',
    'buttons'         : {},
    'showLoading'     : false,
    'hideUntilLoaded' : false
  };  
  $.extend(this.options, defaults, options);
  
  this.__close_handler = this.createHandler('close', {});
  this.options.dialog = this; 
  if (this.options.callback instanceof Function) {
    this.callback = this.options.callback;
  }
};

Drupal.fbconnect.PopupDialog.prototype.show = function() {
  if (this.dialog) {    
    FB.Dialog.show(this.dialog);
  }
};

Drupal.fbconnect.PopupDialog.prototype.close = function() {
  if (this.dialog) {
    FB.Dialog.remove(this.dialog);
  }
};

Drupal.fbconnect.PopupDialog.prototype.findButton = function(name) {
  var button = null;
  jQuery.each(this.options.buttons, function(i, btn) {
    if (btn.name == name) {
      button = btn;
      return true;
    }
  });
  
  return button;
}

Drupal.theme.prototype.fb_popup_dialog_buttons = function(buttons, dialog) {
  buttons = buttons || {};
  var container = $('<div class="dialog_buttons"></div>');
  
  jQuery.each(buttons, function(i, btn) {
    var button = $('<input type="button" class="dialog_inputbutton">');
    if (!btn['name']) btn['name'] = i;
    if (btn.attr) button.attr(btn.attr);
    if (btn['class']) button.addClass(btn['class']);
    if (btn['name'] == 'cancel') button.addClass('dialog_inputaux');
    button.addClass('fb_button_' + i);
    button.attr('value', btn.label);
    button.click(dialog.createHandler('click', btn));
    button.appendTo(container);
  });
    
  return container.get(0);
};

Drupal.theme.prototype.fb_popup_dialog = function(options) {
  options = options || {buttons:{}};
  var container = document.createDocumentFragment();
  var elements  =  [
     '<h2 class="dialog_header"><span>',
    options.title.toString(),
    '</span></h2>',
       '<div class="dialog_stripes"></div>',
    '<div class="dialog_content">',
    options.message.toString(),
    '</div>'
  ];
  
  $(elements.join("\n")).each(function() {
    container.appendChild(this);
  });
  if (options.buttons) {
    container.appendChild(
      Drupal.theme('fb_popup_dialog_buttons', options.buttons, options.dialog)
    );
  }

  return container;
};


Drupal.theme.prototype.fbml_name = function(fbuid, options) {
  var output = ['<fb:name uid="', fbuid, '"'];
  var defaults = {
    'useyou' : false,
    'linked' : false
  };
  
  options = $.extend({}, defaults, options);
  
  output.push('" useyou="'+ (!!options.useyou ? 'true' : 'false') +'"');
  output.push('" linked="'+ (!!options.linked ? 'true' : 'false') +'"');
  output.push('></fb:name>');
  
  return output.join('');
};

Drupal.theme.prototype.fbml_profile_pic = function(fbuid, options) {
  var output = ['<fb:profile-pic uid="', fbuid, '"'];
  options = options || {};
  
  if (options.width)  output.push('" width="'+ options.width +'"');
  if (options.height) output.push('" height="'+ options.height +'"');
  if (options.size)   output.push('" size="'+ options.size +'"');
  
  output.push('" facebook-logo="'+ (!!options['facebook-logo'] ? 'true' : 'false') +'"')
  output.push('" linked="'+ (!!options.linked ? 'true' : 'false') +'"');  
  output.push('></fb:profile-pic>');
  
  return output.join('');
};

jQuery(document).bind('fb:init', Drupal.fbconnect.init);;

$(document).ready(function() {

  // Attach onclick event to document only and catch clicks on all elements.
  $(document.body).click(function(event) {
    // Catch only the first parent link of a clicked element.
    $(event.target).parents("a:first,area:first").andSelf().filter("a,area").each(function() {

      var ga = Drupal.settings.googleanalytics;
      // Expression to check for absolute internal links.
      var isInternal = new RegExp("^(https?):\/\/" + window.location.host, "i");
      // Expression to check for special links like gotwo.module /go/* links.
      var isInternalSpecial = new RegExp("(\/go\/.*)$", "i");
      // Expression to check for download links.
      var isDownload = new RegExp("\\.(" + ga.trackDownloadExtensions + ")$", "i");

      // Is the clicked URL internal?
      if (isInternal.test(this.href)) {
        // Is download tracking activated and the file extension configured for download tracking?
        if (ga.trackDownload && isDownload.test(this.href)) {
          // Download link clicked.
          var extension = isDownload.exec(this.href);
          _gaq.push(["_trackEvent", "Downloads", extension[1].toUpperCase(), this.href.replace(isInternal, '')]);
        }
        else if (isInternalSpecial.test(this.href)) {
          // Keep the internal URL for Google Analytics website overlay intact.
          _gaq.push(["_trackPageview", this.href.replace(isInternal, '')]);
        }
      }
      else {
        if (ga.trackMailto && $(this).is("a[href^=mailto:],area[href^=mailto:]")) {
          // Mailto link clicked.
          _gaq.push(["_trackEvent", "Mails", "Click", this.href.substring(7)]);
        }
        else if (ga.trackOutgoing && this.href) {
          if (ga.trackOutboundAsPageview) {
            // Track all external links as page views after URL cleanup.
            // Currently required, if click should be tracked as goal.
            _gaq.push(["_trackPageview", '/outbound/' + this.href.replace(/^(https?|ftp|news|nntp|telnet|irc|ssh|sftp|webcal):\/\//i, '').split('/').join('--')]);
          }
          else {
            // External link clicked.
            _gaq.push(["_trackEvent", "Outbound links", "Click", this.href]);
          }
        }
      }
    });
  });
});
;
// $Id: custom_search.js,v 1.1.2.15 2010/12/22 13:36:36 jdanthinne Exp $

Drupal.behaviors.custom_search = function (context) {

  if (!Drupal.settings.custom_search.solr) {
    // Check if the search box is not empty on submit
    $('form.search-form', context).submit(function(){
      var box = $(this).find('input.custom-search-box');
      if (box.val() != undefined && (box.val() == '' || box.val() == $(this).find('input.default-text').val())) {
        $(this).find('input.custom-search-box').addClass('error');
        return false;
      }
      // If basic search is hidden, copy or value to the keys
      if ($(this).find('#edit-keys').parents('div.element-invisible').attr('class') == 'element-invisible') {
        $(this).find('#edit-keys').val($(this).find('#edit-or').val());
        $(this).find('#edit-or').val('');
      }
      return true;
    });
  }

  // Search from target
  $('form.search-form').attr('target', Drupal.settings.custom_search.form_target);

  // Clear default text on focus, and put it back on blur. Also displays Popup.
  $('input.custom-search-box', context)
    .blur(function(e){
      $this = $(this);
      $parentForm = $this.parents('form');
      if ($this.val() == '') {
        $this.addClass('custom-search-default-value');
        $this.val($parentForm.find('input.default-text').val());
      }
    })
    .bind('click focus', function(e){
      $this = $(this);
      $parentForm = $this.parents('form');
      if ($this.val() == $parentForm.find('input.default-text').val()) $this.val('');
      $this.removeClass('custom-search-default-value');
      // check if there's something in the popup and displays it
      var popup = $parentForm.find('fieldset.custom_search-popup');
      if (popup.find('input,select').length && !popup.hasClass('opened')) popup.fadeIn().addClass('opened');
      e.stopPropagation();
    }
  );
  $(document).bind('click focus', function(){
    $('fieldset.custom_search-popup').hide().removeClass('opened');
  });

  // Handle checkboxes
  $('.custom-search-selector input:checkbox', context).each(function(){
    var el = $(this);
    if (el.val() == 'c-all') {
      el.change(function(){
        $(this).parents('.custom-search-selector').find('input:checkbox[value!=c-all]').attr('checked', false);
      });
    }
    else {
      if (el.val().substr(0,2) == 'c-') {
        el.change(function(){
          $('.custom-search-selector input:checkbox').each(function(){
            if ($(this).val().substr(0,2) == 'o-') $(this).attr('checked', false);
          });
          $(this).parents('.custom-search-selector').find('input:checkbox[value=c-all]').attr('checked', false);
        });
      } else {
        el.change(function(){
          $(this).parents('.custom-search-selector').find('input:checkbox[value!='+el.val()+']').attr('checked', false);
        });
      }
    }
  });

  // Reselect types and terms in advanced search
  var edit_keys = $('#edit-keys').val();
  if(edit_keys) {
    // types
    var pos = edit_keys.indexOf('type:');
    if (pos) {
      var pos2 = edit_keys.indexOf(' ',pos);
      if (pos2==-1) pos2 = edit_keys.length;
      var types = edit_keys.substring(pos+5,pos2);
      types = types.split(',');
      for (var i in types) {
        $('.search-form input:checkbox[value='+types[i]+']').attr('checked', true);
      }
    }
    // terms
    var pos = edit_keys.indexOf('category:');
    if (pos) {
      var pos2 = edit_keys.indexOf(' ',pos);
      if (pos2==-1) pos2 = edit_keys.length;
      var terms = edit_keys.substring(pos+9,pos2);
      terms = terms.split(',');
      for (var i in terms) {
        $('.search-form option[value='+terms[i]+']').attr('selected', true);
      }
    }
  }

  var popup = $('fieldset.custom_search-popup:not(.custom_search-processed)', context).addClass("custom_search-processed");
  popup.click(function(e){
    e.stopPropagation();
  })
  popup.append('<a class="custom_search-popup-close" href="#">' + Drupal.t('Close') + '</a>');
  $('a.custom_search-popup-close').click(function(e){
    $('fieldset.custom_search-popup.opened').hide().removeClass('opened');
    e.preventDefault();
  });

}
;
// $Id: base.js,v 1.11.2.1 2010/03/10 20:08:58 merlinofchaos Exp $
/**
 * @file base.js
 *
 * Some basic behaviors and utility functions for Views.
 */

Drupal.Views = {};

/**
 * jQuery UI tabs, Views integration component
 */
Drupal.behaviors.viewsTabs = function (context) {
  $('#views-tabset:not(.views-processed)').addClass('views-processed').each(function() {
    new Drupal.Views.Tabs($(this), {selectedClass: 'active'});
  });

  $('a.views-remove-link')
    .addClass('views-processed')
    .click(function() {
      var id = $(this).attr('id').replace('views-remove-link-', '');
      $('#views-row-' + id).hide();
      $('#views-removed-' + id).attr('checked', true);
      return false;
    });
}

/**
 * For IE, attach some javascript so that our hovers do what they're supposed
 * to do.
 */
Drupal.behaviors.viewsHoverlinks = function() {
  if ($.browser.msie) {
    // If IE, attach a hover event so we can see our admin links.
    $("div.view:not(.views-hover-processed)").addClass('views-hover-processed').hover(
      function() {
        $('div.views-hide', this).addClass("views-hide-hover"); return true;
      },
      function(){
        $('div.views-hide', this).removeClass("views-hide-hover"); return true;
      }
    );
    $("div.views-admin-links:not(.views-hover-processed)")
      .addClass('views-hover-processed')
      .hover(
        function() {
          $(this).addClass("views-admin-links-hover"); return true;
        },
        function(){
          $(this).removeClass("views-admin-links-hover"); return true;
        }
      );
  }
}

/**
 * Helper function to parse a querystring.
 */
Drupal.Views.parseQueryString = function (query) {
  var args = {};
  var pos = query.indexOf('?');
  if (pos != -1) {
    query = query.substring(pos + 1);
  }
  var pairs = query.split('&');
  /*for(var i in pairs) {
    var pair = pairs[i].split('=');
    // Ignore the 'q' path argument, if present.
    if (pair[0] != 'q' && pair[1]) {
      args[pair[0]] = decodeURIComponent(pair[1].replace(/\+/g, ' '));
    }*/
	for(var i = 0; i < pairs.length; i++) {
    var pair = pairs[i].split('=');
    // Ignore the 'q' path argument, if present.
    if (pair[0] != 'q' && pair[1]) {
      args[pair[0]] = decodeURIComponent(pair[1].replace(/\+/g, ' '));
    }
	
  }
  return args;
};

/**
 * Helper function to return a view's arguments based on a path.
 */
Drupal.Views.parseViewArgs = function (href, viewPath) {
  var returnObj = {};
  var path = Drupal.Views.getPath(href);
  // Ensure we have a correct path.
  if (viewPath && path.substring(0, viewPath.length + 1) == viewPath + '/') {
    var args = decodeURIComponent(path.substring(viewPath.length + 1, path.length));
    returnObj.view_args = args;
    returnObj.view_path = path;
  }
  return returnObj;
};

/**
 * Strip off the protocol plus domain from an href.
 */
Drupal.Views.pathPortion = function (href) {
  // Remove e.g. http://example.com if present.
  var protocol = window.location.protocol;
  if (href.substring(0, protocol.length) == protocol) {
    // 2 is the length of the '//' that normally follows the protocol
    href = href.substring(href.indexOf('/', protocol.length + 2));
  }
  return href;
};

/**
 * Return the Drupal path portion of an href.
 */
Drupal.Views.getPath = function (href) {
  href = Drupal.Views.pathPortion(href);
  href = href.substring(Drupal.settings.basePath.length, href.length);
  // 3 is the length of the '?q=' added to the url without clean urls.
  if (href.substring(0, 3) == '?q=') {
    href = href.substring(3, href.length);
  }
  var chars = ['#', '?', '&'];
  for (i in chars) {
    if (href.indexOf(chars[i]) > -1) {
      href = href.substr(0, href.indexOf(chars[i]));
    }
  }
  return href;
};
;
// $Id: ajax_view.js,v 1.19.2.5 2010/03/25 18:25:28 merlinofchaos Exp $

/**
 * @file ajaxView.js
 *
 * Handles AJAX fetching of views, including filter submission and response.
 */

Drupal.Views.Ajax = Drupal.Views.Ajax || {};

/**
 * An ajax responder that accepts a packet of JSON data and acts appropriately.
 *
 * The following fields control behavior.
 * - 'display': Display the associated data in the view area.
 */
Drupal.Views.Ajax.ajaxViewResponse = function(target, response) {

  if (response.debug) {
    alert(response.debug);
  }

  var $view = $(target);

  // Check the 'display' for data.
  if (response.status && response.display) {
    var $newView = $(response.display);
    $view.replaceWith($newView);
    $view = $newView;
    Drupal.attachBehaviors($view.parent());
  }

  if (response.messages) {
    // Show any messages (but first remove old ones, if there are any).
    $view.find('.views-messages').remove().end().prepend(response.messages);
  }
};

/**
 * Ajax behavior for views.
 */
Drupal.behaviors.ViewsAjaxView = function() {
  if (Drupal.settings && Drupal.settings.views && Drupal.settings.views.ajaxViews) {
    var ajax_path = Drupal.settings.views.ajax_path;
    // If there are multiple views this might've ended up showing up multiple times.
    if (ajax_path.constructor.toString().indexOf("Array") != -1) {
      ajax_path = ajax_path[0];
    }
    $.each(Drupal.settings.views.ajaxViews, function(i, settings) {
      var view = '.view-dom-id-' + settings.view_dom_id;
      if (!$(view).size()) {
        // Backward compatibility: if 'views-view.tpl.php' is old and doesn't
        // contain the 'view-dom-id-#' class, we fall back to the old way of
        // locating the view:
        view = '.view-id-' + settings.view_name + '.view-display-id-' + settings.view_display_id;
      }


      // Process exposed filter forms.
      $('form#views-exposed-form-' + settings.view_name.replace(/_/g, '-') + '-' + settings.view_display_id.replace(/_/g, '-'))
      .filter(':not(.views-processed)')
      .each(function () {
        // remove 'q' from the form; it's there for clean URLs
        // so that it submits to the right place with regular submit
        // but this method is submitting elsewhere.
        $('input[name=q]', this).remove();
        var form = this;
        // ajaxSubmit doesn't accept a data argument, so we have to
        // pass additional fields this way.
        $.each(settings, function(key, setting) {
          $(form).append('<input type="hidden" name="'+ key + '" value="'+ setting +'"/>');
        });
      })
      .addClass('views-processed')
      .submit(function () {
        $('input[type=submit], button', this).after('<span class="views-throbbing">&nbsp</span>');
        var object = this;
        $(this).ajaxSubmit({
          url: ajax_path,
          type: 'GET',
          success: function(response) {
            // Call all callbacks.
            if (response.__callbacks) {
              $.each(response.__callbacks, function(i, callback) {
                eval(callback)(view, response);
              });
              $('.views-throbbing', object).remove();
            }
          },
          error: function(xhr) { Drupal.Views.Ajax.handleErrors(xhr, ajax_path); $('.views-throbbing', object).remove(); },
          dataType: 'json'
        });

        return false;
      });

      $(view).filter(':not(.views-processed)')
        // Don't attach to nested views. Doing so would attach multiple behaviors
        // to a given element.
        .filter(function() {
          // If there is at least one parent with a view class, this view
          // is nested (e.g., an attachment). Bail.
          return !$(this).parents('.view').size();
        })
        .each(function() {
          // Set a reference that will work in subsequent calls.
          var target = this;
          $(this)
            .addClass('views-processed')
            // Process pager, tablesort, and attachment summary links.
            .find('ul.pager > li > a, th.views-field a, .attachment .views-summary a')
            .each(function () {
              var viewData = { 'js': 1 };
              // Construct an object using the settings defaults and then overriding
              // with data specific to the link.
              $.extend(
                viewData,
                Drupal.Views.parseQueryString($(this).attr('href')),
                // Extract argument data from the URL.
                Drupal.Views.parseViewArgs($(this).attr('href'), settings.view_base_path),
                // Settings must be used last to avoid sending url aliases to the server.
                settings
              );
              $(this).click(function () {
                $.extend(viewData, Drupal.Views.parseViewArgs($(this).attr('href'), settings.view_base_path));
                $(this).addClass('views-throbbing');
                $.ajax({
                  url: ajax_path,
                  type: 'GET',
                  data: viewData,
                  success: function(response) {
                    $(this).removeClass('views-throbbing');
                    // Scroll to the top of the view. This will allow users
                    // to browse newly loaded content after e.g. clicking a pager
                    // link.
                    var offset = $(target).offset();
                    // We can't guarantee that the scrollable object should be
                    // the body, as the view could be embedded in something
                    // more complex such as a modal popup. Recurse up the DOM
                    // and scroll the first element that has a non-zero top.
                    var scrollTarget = target;
                    while ($(scrollTarget).scrollTop() == 0 && $(scrollTarget).parent()) {
                      scrollTarget = $(scrollTarget).parent()
                    }
                    // Only scroll upward
                    if (offset.top - 10 < $(scrollTarget).scrollTop()) {
                      $(scrollTarget).animate({scrollTop: (offset.top - 10)}, 500);
                    }
                    // Call all callbacks.
                    if (response.__callbacks) {
                      $.each(response.__callbacks, function(i, callback) {
                        eval(callback)(target, response);
                      });
                    }
                  },
                  error: function(xhr) { $(this).removeClass('views-throbbing'); Drupal.Views.Ajax.handleErrors(xhr, ajax_path); },
                  dataType: 'json'
                });

                return false;
              });
            }); // .each function () {
      }); // $view.filter().each
    }); // .each Drupal.settings.views.ajaxViews
  } // if
};
;
$(document).ready(function(){
	$('#topnav a').click(function(){
		$(this).attr('target', '_parent');
	});
	
	$('.careers-tertiary a').click(function(){
		$(this).attr('target', 'parent');
		window.location = $(this).attr('href');
		return false;
	});
	
	$("a[href^='http://']").attr("target","_blank"); //open external links in new window
	
	//init functions
	expander();
	handleResources();
	
	$().ajaxComplete(function(e,r,o) {
	  expander();
	  highlightFilters(e,r,o);
	  Cufon.refresh();
	  handleResources();
	  $('#ajax-overlay').hide();
	  $('.view').css({'opacity':'1'});
	});
	$().ajaxSend(function(e,r,o) {
		$('#maincontent').append('<div id="ajax-overlay"></div>')
		$('#ajax-overlay').height($('.view').height()+20);
		$('#ajax-overlay').width($('.view').width());
	    $('#ajax-overlay').show();
	  	$('.view').css({'opacity':'.2'});
		
	});
	
	//tertiary-rollovers
	$('li a','#tertiary-nav').bind('mouseover',function(){
		if (!$(this).parent().hasClass('active-trail')) $(this).parent().addClass('highlight');
	});
	$('li a','#tertiary-nav').bind('mouseout',function(){
		$(this).parent().removeClass('highlight');
	});
	
	//hide drop shadow
	$('.no-bg').siblings('#dropshadow').hide();
	
	//style 0 height fix
	$('#maincontent','.style0').append($('#view','.style0'));
	$('#masthead','.style0').height() > $('#maincontent').height() ? $('#maincontent').height($('#masthead','.style0').height()) : $('#masthead','.style0').height($('#maincontent').height()) ;
	

	//research/resource height fix
	$('#masthead-wrapper.featured').height() > $('div.resource','#masthead-featured-item').height() ? $('div.resource','#masthead-featured-item').height($('#masthead-wrapper.featured').height()) : $('#masthead-wrapper.featured').height($('div.resource','#masthead-featured-item').height()) ;
	

	//retheme search results page since it's nearly impossible with templates
	$('#search-form').hide();
	$('#col1','#search-content-area').append($('.block-search').clone());
	$('#col2','#search-content-area').height() > $('#col1','#search-content-area').height() ? $('#col1','#search-content-area').height($('#col2','#search-content-area').height()) : $('#col2','#search-content-area').height($('#col1','#search-content-area').height()) ;

	$('#footer-contact-bar-send-link').bind('click',function(){
		$('.addthis_toolbox .hover_menu').slideToggle('slow')
	});
	$('.addthis_toolbox .hover_menu').bind('mouseleave',function(){
		$('.addthis_toolbox .hover_menu').slideToggle('slow')
	});


	//retheme contact page
	$('.page.contact label').each(function(){
		$(this).html($(this).html().replace(':',''));
	});
	$('.page.contact').siblings('#dropshadow').css({
		'width': $('#maincontent').outerWidth()
	});
	if($('.page.contact #callout .content').height() > $('.page').height()) {
		 $('.page').height($('.page.contact #callout .content').height()-45)
	} else {
		$('.page.contact #callout .content').height($('.page').height())
	}
	//$('.page.contact #callout .content').height($('.page.contact').outerHeight() - 1);
	$('form','.page.contact').validate();

	
	//show messages pane
	$('div.messages').show();
	
	//footer message
	$('.footer-menu').append($('#footer-message'));
	
	// Add gradient on news items
	/*if($('.view-mbo-in-the-news').length){
		viewHeight = 0;
		$('.views-row').each(function(){
			if($(this).height() > viewHeight){
				viewHeight = $(this).outerHeight();
			}
		});
		$('.views-row').each(function(){
			if($(this).height() != viewHeight){
				myHeight = $(this).height();
				adjHeight = viewHeight - myHeight;
				$(this).css({'margin-bottom': adjHeight+5});
			}
		});
	}*/
	
	// Change expander click to header
	if($('.advisors h3').length){
		$('.advisors h3').click(function(){
			$(this).parent('div').find('.expand-link').click();
		});
	}
	
	// Set height for 4-col col-bg layout
	if($('.style3 #columns').length){
		var cHeight = $('#col1').height();
		if($('#col2').height() > cHeight) cHeight = $('#col2').height();
		if($('#col3').height() > cHeight) cHeight = $('#col3').height();
		if($('#col4').height() > cHeight) cHeight = $('#col4').height();
		$('#col1, #col2, #col3, #col4').height(cHeight);
	}
	
	// login form
	//footer contact form modal
	/*$('#topnav-mbo-login').bind('click',function(){
		$('.login-form').modal({
			containerCss:{
				width:365
			}
		});
		//$('.login-form .form-required').show();
		Cufon.refresh();
	});
	
	//validation
	$('form','.login-form').validate();*/
	
	$('#comment-form').validate({
		rules: {
			mail: {
				required: true,
				email: true
			},
			'recaptcha_response_field':'required'
		}
	})
	
}); // End document ready
	


function handleResources(){
	//video links
	$('.resource-link-video a').bind('click',function(){
		$(this).parent().siblings('.resource-video').modal({
			opacity: 60,
			containerCss:{
				width:"auto"
			}
		});
	});
	
	//whitepaper links
	$('.resource-link-whitepaper a').bind('click',function(e){
		/*e.preventDefault();
		$('.whitepaper-request-form').modal({
			opacity: 60,
			containerCss:{
				width:"auto"
			}
		});
		$('h3','.whitepaper-request-form').text($(this).attr('title'));
		
		if ($(this).attr('href').indexOf('http://') > -1) {
			path = $(this).attr('href');
		} else {
			path = "/" + $(this).attr('href');
		}
		$('#edit-submitted-filepath').val(path);
		
		$('form','.whitepaper-request-form').attr("target","_blank");
		$('form','.whitepaper-request-form').validate();*/
	});
	
	//image links
	$('.resource-image a, .resource-image-featured a').bind('click',function(e){
		//e.preventDefault();
		$('a',$(this).parent().siblings('.resource-link-video')).trigger('click');
	});
	$('.resource-link-trigger a').bind('click',function(e){
		//e.preventDefault();
		$('a',$(this).parent().parent().siblings('.resource-link-video')).trigger('click');
	});
	
	
	if (jQuery.validator) {
		jQuery.each(jQuery.validator.messages, function(i) {
		  jQuery.validator.messages[i] = "";
		});
	}
	
}
function randomMinToMax(min, max){
	var range = max - min + 1;
	return Math.floor(Math.random()*range+min);
}
function highlightFilters(e,r,o){
	//highlight sort filters
	if(window.location.pathname != "/"){
		if (getUrlVars(o.url).type) {
			$('.pager.sort li.all').removeClass('active');
			highlightedItem = getUrlVars(o.url).type.toLowerCase();
			$('.pager.sort li.'+highlightedItem).addClass('active');
		}
	}
}
function expander(){
	//expander: reorganize expander items into the correct numbers of columns.
	var arrCols = $('div.expander-column');
	var colLength = arrCols.length;
	var i = 0;
	$('div.expander-item').each(function(obj){
		i = i < colLength ? i : 0;
		$(arrCols[i]).append($(this));
		i++;
	});
	$('.expand-link').bind('click',function(){
		if ($(this).hasClass('expanded')) {
			$(this).siblings('.full').slideUp('slow',function(){
				$(this).siblings('.summary').fadeIn('slow');
				if($(this).siblings('.expand-link').children('a').text() != "") {$(this).siblings('.expand-link').children('a').text("Read Summary")};
			},this);
			$(this).removeClass('expanded');
		} else {
			$(this).siblings('.summary').fadeOut('slow',function(){
				$(this).siblings('.full').slideDown();
				if($(this).siblings('.expand-link').children('a').text() != "") {$(this).siblings('.expand-link').children('a').text("Close Summary")};
			},this);
			$(this).addClass('expanded');
		}
	});	
}
function getUrlVars(url) {
    var vars = [], hash;
    var hashes = url.slice(url.indexOf('?') + 1).split('&');
    for(var i = 0; i < hashes.length; i++)
    {
        hash = hashes[i].split('=');
        vars.push(hash[0]);
        vars[hash[0]] = hash[1];
    }
    return vars;
};
/*
 * SimpleModal 1.4.1 - jQuery Plugin
 * http://www.ericmmartin.com/projects/simplemodal/
 * Copyright (c) 2010 Eric Martin (http://twitter.com/ericmmartin)
 * Dual licensed under the MIT and GPL licenses
 * Revision: $Id: jquery.simplemodal.js 261 2010-11-05 21:16:20Z emartin24 $
 */
(function(d){var k=d.browser.msie&&parseInt(d.browser.version)===6&&typeof window.XMLHttpRequest!=="object",m=d.browser.msie&&parseInt(d.browser.version)===7,l=null,f=[];d.modal=function(a,b){return d.modal.impl.init(a,b)};d.modal.close=function(){d.modal.impl.close()};d.modal.focus=function(a){d.modal.impl.focus(a)};d.modal.setContainerDimensions=function(){d.modal.impl.setContainerDimensions()};d.modal.setPosition=function(){d.modal.impl.setPosition()};d.modal.update=function(a,b){d.modal.impl.update(a,
b)};d.fn.modal=function(a){return d.modal.impl.init(this,a)};d.modal.defaults={appendTo:"body",focus:true,opacity:50,overlayId:"simplemodal-overlay",overlayCss:{},containerId:"simplemodal-container",containerCss:{},dataId:"simplemodal-data",dataCss:{},minHeight:null,minWidth:null,maxHeight:null,maxWidth:null,autoResize:false,autoPosition:true,zIndex:1E3,close:true,closeHTML:'<a class="modalCloseImg" title="Close"></a>',closeClass:"simplemodal-close",escClose:true,overlayClose:false,position:null,
persist:false,modal:true,onOpen:null,onShow:null,onClose:null};d.modal.impl={d:{},init:function(a,b){var c=this;if(c.d.data)return false;l=d.browser.msie&&!d.boxModel;c.o=d.extend({},d.modal.defaults,b);c.zIndex=c.o.zIndex;c.occb=false;if(typeof a==="object"){a=a instanceof jQuery?a:d(a);c.d.placeholder=false;if(a.parent().parent().size()>0){a.before(d("<span></span>").attr("id","simplemodal-placeholder").css({display:"none"}));c.d.placeholder=true;c.display=a.css("display");if(!c.o.persist)c.d.orig=
a.clone(true)}}else if(typeof a==="string"||typeof a==="number")a=d("<div></div>").html(a);else{alert("SimpleModal Error: Unsupported data type: "+typeof a);return c}c.create(a);c.open();d.isFunction(c.o.onShow)&&c.o.onShow.apply(c,[c.d]);return c},create:function(a){var b=this;f=b.getDimensions();if(b.o.modal&&k)b.d.iframe=d('<iframe src="javascript:false;"></iframe>').css(d.extend(b.o.iframeCss,{display:"none",opacity:0,position:"fixed",height:f[0],width:f[1],zIndex:b.o.zIndex,top:0,left:0})).appendTo(b.o.appendTo);
b.d.overlay=d("<div></div>").attr("id",b.o.overlayId).addClass("simplemodal-overlay").css(d.extend(b.o.overlayCss,{display:"none",opacity:b.o.opacity/100,height:b.o.modal?f[0]:0,width:b.o.modal?f[1]:0,position:"fixed",left:0,top:0,zIndex:b.o.zIndex+1})).appendTo(b.o.appendTo);b.d.container=d("<div></div>").attr("id",b.o.containerId).addClass("simplemodal-container").css(d.extend(b.o.containerCss,{display:"none",position:"fixed",zIndex:b.o.zIndex+2})).append(b.o.close&&b.o.closeHTML?d(b.o.closeHTML).addClass(b.o.closeClass):
"").appendTo(b.o.appendTo);b.d.wrap=d("<div></div>").attr("tabIndex",-1).addClass("simplemodal-wrap").css({height:"100%",outline:0,width:"100%"}).appendTo(b.d.container);b.d.data=a.attr("id",a.attr("id")||b.o.dataId).addClass("simplemodal-data").css(d.extend(b.o.dataCss,{display:"none"})).appendTo("body");b.setContainerDimensions();b.d.data.appendTo(b.d.wrap);if(k||l)b.fixIE()},bindEvents:function(){var a=this;d("."+a.o.closeClass).bind("click.simplemodal",function(b){b.preventDefault();a.close()});
a.o.modal&&a.o.close&&a.o.overlayClose&&a.d.overlay.bind("click.simplemodal",function(b){b.preventDefault();a.close()});d(document).bind("keydown.simplemodal",function(b){if(a.o.modal&&b.keyCode===9)a.watchTab(b);else if(a.o.close&&a.o.escClose&&b.keyCode===27){b.preventDefault();a.close()}});d(window).bind("resize.simplemodal",function(){f=a.getDimensions();a.o.autoResize?a.setContainerDimensions():a.o.autoPosition&&a.setPosition();if(k||l)a.fixIE();else if(a.o.modal){a.d.iframe&&a.d.iframe.css({height:f[0],
width:f[1]});a.d.overlay.css({height:f[0],width:f[1]})}})},unbindEvents:function(){d("."+this.o.closeClass).unbind("click.simplemodal");d(document).unbind("keydown.simplemodal");d(window).unbind("resize.simplemodal");this.d.overlay.unbind("click.simplemodal")},fixIE:function(){var a=this,b=a.o.position;d.each([a.d.iframe||null,!a.o.modal?null:a.d.overlay,a.d.container],function(c,h){if(h){var g=h[0].style;g.position="absolute";if(c<2){g.removeExpression("height");g.removeExpression("width");g.setExpression("height",
'document.body.scrollHeight > document.body.clientHeight ? document.body.scrollHeight : document.body.clientHeight + "px"');g.setExpression("width",'document.body.scrollWidth > document.body.clientWidth ? document.body.scrollWidth : document.body.clientWidth + "px"')}else{var e;if(b&&b.constructor===Array){c=b[0]?typeof b[0]==="number"?b[0].toString():b[0].replace(/px/,""):h.css("top").replace(/px/,"");c=c.indexOf("%")===-1?c+' + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"':
parseInt(c.replace(/%/,""))+' * ((document.documentElement.clientHeight || document.body.clientHeight) / 100) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"';if(b[1]){e=typeof b[1]==="number"?b[1].toString():b[1].replace(/px/,"");e=e.indexOf("%")===-1?e+' + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"':parseInt(e.replace(/%/,""))+' * ((document.documentElement.clientWidth || document.body.clientWidth) / 100) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"'}}else{c=
'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"';e='(document.documentElement.clientWidth || document.body.clientWidth) / 2 - (this.offsetWidth / 2) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"'}g.removeExpression("top");g.removeExpression("left");g.setExpression("top",
c);g.setExpression("left",e)}}})},focus:function(a){var b=this;a=a&&d.inArray(a,["first","last"])!==-1?a:"first";var c=d(":input:enabled:visible:"+a,b.d.wrap);setTimeout(function(){c.length>0?c.focus():b.d.wrap.focus()},10)},getDimensions:function(){var a=d(window);return[d.browser.opera&&d.browser.version>"9.5"&&d.fn.jquery<"1.3"||d.browser.opera&&d.browser.version<"9.5"&&d.fn.jquery>"1.2.6"?a[0].innerHeight:a.height(),a.width()]},getVal:function(a,b){return a?typeof a==="number"?a:a==="auto"?0:
a.indexOf("%")>0?parseInt(a.replace(/%/,""))/100*(b==="h"?f[0]:f[1]):parseInt(a.replace(/px/,"")):null},update:function(a,b){var c=this;if(!c.d.data)return false;c.d.origHeight=c.getVal(a,"h");c.d.origWidth=c.getVal(b,"w");c.d.data.hide();a&&c.d.container.css("height",a);b&&c.d.container.css("width",b);c.setContainerDimensions();c.d.data.show();c.o.focus&&c.focus();c.unbindEvents();c.bindEvents()},setContainerDimensions:function(){var a=this,b=k||m,c=a.d.origHeight?a.d.origHeight:d.browser.opera?
a.d.container.height():a.getVal(b?a.d.container[0].currentStyle.height:a.d.container.css("height"),"h");b=a.d.origWidth?a.d.origWidth:d.browser.opera?a.d.container.width():a.getVal(b?a.d.container[0].currentStyle.width:a.d.container.css("width"),"w");var h=a.d.data.outerHeight(true),g=a.d.data.outerWidth(true);a.d.origHeight=a.d.origHeight||c;a.d.origWidth=a.d.origWidth||b;var e=a.o.maxHeight?a.getVal(a.o.maxHeight,"h"):null,i=a.o.maxWidth?a.getVal(a.o.maxWidth,"w"):null;e=e&&e<f[0]?e:f[0];i=i&&i<
f[1]?i:f[1];var j=a.o.minHeight?a.getVal(a.o.minHeight,"h"):"auto";c=c?a.o.autoResize&&c>e?e:c<j?j:c:h?h>e?e:a.o.minHeight&&j!=="auto"&&h<j?j:h:j;e=a.o.minWidth?a.getVal(a.o.minWidth,"w"):"auto";b=b?a.o.autoResize&&b>i?i:b<e?e:b:g?g>i?i:a.o.minWidth&&e!=="auto"&&g<e?e:g:e;a.d.container.css({height:c,width:b});a.d.wrap.css({overflow:h>c||g>b?"auto":"visible"});a.o.autoPosition&&a.setPosition()},setPosition:function(){var a=this,b,c;b=f[0]/2-a.d.container.outerHeight(true)/2;c=f[1]/2-a.d.container.outerWidth(true)/
2;if(a.o.position&&Object.prototype.toString.call(a.o.position)==="[object Array]"){b=a.o.position[0]||b;c=a.o.position[1]||c}else{b=b;c=c}a.d.container.css({left:c,top:b})},watchTab:function(a){var b=this;if(d(a.target).parents(".simplemodal-container").length>0){b.inputs=d(":input:enabled:visible:first, :input:enabled:visible:last",b.d.data[0]);if(!a.shiftKey&&a.target===b.inputs[b.inputs.length-1]||a.shiftKey&&a.target===b.inputs[0]||b.inputs.length===0){a.preventDefault();b.focus(a.shiftKey?"last":
"first")}}else{a.preventDefault();b.focus()}},open:function(){var a=this;a.d.iframe&&a.d.iframe.show();if(d.isFunction(a.o.onOpen))a.o.onOpen.apply(a,[a.d]);else{a.d.overlay.show();a.d.container.show();a.d.data.show()}a.o.focus&&a.focus();a.bindEvents()},close:function(){var a=this;if(!a.d.data)return false;a.unbindEvents();if(d.isFunction(a.o.onClose)&&!a.occb){a.occb=true;a.o.onClose.apply(a,[a.d])}else{if(a.d.placeholder){var b=d("#simplemodal-placeholder");if(a.o.persist)b.replaceWith(a.d.data.removeClass("simplemodal-data").css("display",
a.display));else{a.d.data.hide().remove();b.replaceWith(a.d.orig)}}else a.d.data.hide().remove();a.d.container.hide().remove();a.d.overlay.hide();a.d.iframe&&a.d.iframe.hide().remove();setTimeout(function(){a.d.overlay.remove();a.d={}},10)}}}})(jQuery);
;
/*
 * jQuery validation plug-in 1.7
 *
 * 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(true,{},$.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"),eventType="on"+event.type.replace(/^validate/,"");validator.settings[eventType]&&validator.settings[eventType].call(validator,this[0]);}$(this.currentForm).validateDelegate(":text, :password, :file, select, textarea","focusin focusout keyup",delegate).validateDelegate(":radio, :checkbox, select, option","click",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().trigger("focusin");}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($){if(!jQuery.event.special.focusin&&!jQuery.event.special.focusout&&document.addEventListener){$.each({focus:'focusin',blur:'focusout'},function(original,fix){$.event.special[fix]={setup:function(){this.addEventListener(original,handler,true);},teardown:function(){this.removeEventListener(original,handler,true);},handler:function(e){arguments[0]=$.event.fix(e);arguments[0].type=fix;return $.event.handle.apply(this,arguments);}};function handler(e){e=$.event.fix(e);e.type=fix;return $.event.handle.call(this,e);}});};$.extend($.fn,{validateDelegate:function(delegate,type,handler){return this.bind(type,function(event){var target=$(event.target);if(target.is(delegate)){return handler.apply(target,arguments);}});}});})(jQuery);;
/*
 * 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}})());;
/*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Copyright:
 * Copyright © 1989, 1995, 2002 Adobe Systems Incorporated.  All Rights Reserved.
 * © 1981, 1995, 2002 Heidelberger Druckmaschinen AG. All rights reserved.
 * 
 * Trademark:
 * Avenir is a trademark of Heidelberger Druckmaschinen AG, exclusively licensed
 * through Linotype Library GmbH, and may be registered in certain jurisdictions.
 * 
 * Full name:
 * AvenirLTStd-Heavy
 * 
 * Designer:
 * Adrian Frutiger
 * 
 * Vendor URL:
 * http://www.adobe.com/type
 * 
 * License information:
 * http://www.adobe.com/type/legal.html
 */
Cufon.registerFont({"w":592,"face":{"font-family":"avenir","font-weight":700,"font-stretch":"normal","units-per-em":"1000","panose-1":"2 11 7 3 2 2 3 2 2 4","ascent":"756","descent":"-244","x-height":"12","bbox":"-58 -786 981 250","underline-thickness":"50","underline-position":"-50","stemh":"102","stemv":"120","unicode-range":"U+0020-U+00F3"},"glyphs":{" ":{"w":296},"!":{"d":"208,-708r0,486r-120,0r0,-486r120,0xm68,-70v0,-43,36,-78,80,-78v43,0,80,33,80,76v0,43,-36,78,-80,78v-42,0,-80,-33,-80,-76","w":296},"\"":{"d":"120,-444r0,-264r102,0r0,264r-102,0xm297,-444r0,-264r102,0r0,264r-102,0","w":519},"#":{"d":"107,0r30,-209r-90,0r0,-84r101,0r18,-122r-90,0r0,-84r101,0r30,-209r88,0r-30,209r103,0r30,-209r87,0r-30,209r90,0r0,84r-102,0r-17,122r90,0r0,84r-100,0r-31,209r-87,0r30,-209r-104,0r-30,209r-87,0xm356,-415r-103,0r-17,122r103,0"},"$":{"d":"264,-307v-114,-30,-216,-73,-216,-206v0,-119,104,-195,216,-206r0,-67r54,0r0,66v76,-1,150,22,205,69r-83,93v-31,-33,-76,-54,-122,-54r0,200v114,30,229,65,229,204v0,132,-102,206,-229,219r0,72r-54,0r0,-71v-87,1,-172,-25,-233,-89r91,-93v32,45,87,69,142,74r0,-211xm264,-427r0,-183v-47,8,-90,40,-90,91v0,61,42,71,90,92xm318,-291r0,195v55,-11,103,-44,103,-103v0,-59,-56,-76,-103,-92"},"%":{"d":"505,-174v0,-103,83,-186,186,-186v103,0,186,83,186,186v0,103,-83,186,-186,186v-103,0,-186,-83,-186,-186xm781,-174v0,-50,-40,-90,-90,-90v-50,0,-90,40,-90,90v0,50,40,90,90,90v50,0,90,-40,90,-90xm30,-534v0,-103,83,-186,186,-186v103,0,186,83,186,186v0,103,-83,186,-186,186v-103,0,-186,-83,-186,-186xm306,-534v0,-50,-40,-90,-90,-90v-50,0,-90,40,-90,90v0,50,40,90,90,90v50,0,90,-40,90,-90xm205,-6r416,-734r83,38r-416,734","w":907},"&":{"d":"716,-372r-142,205r153,167r-155,0r-75,-81v-57,67,-119,99,-209,99v-125,0,-240,-73,-240,-208v0,-95,68,-166,153,-199v-45,-50,-81,-93,-81,-163v0,-116,96,-174,203,-174v106,0,200,52,200,168v0,87,-71,147,-141,183r114,123r79,-120r141,0xm325,-618v-46,0,-85,29,-85,71v0,37,36,74,67,103v41,-22,96,-56,96,-108v0,-38,-35,-66,-78,-66xm422,-160r-145,-158v-47,28,-97,60,-97,121v0,62,52,107,112,107v55,0,94,-35,130,-70","w":741},"(":{"d":"279,-680v-77,114,-129,253,-129,392v0,138,48,278,128,389r-84,55v-91,-126,-146,-281,-146,-444v0,-162,55,-318,146,-444","w":296},")":{"d":"17,104v77,-114,129,-253,129,-392v0,-138,-48,-277,-128,-388r84,-56v91,126,146,281,146,444v0,162,-55,318,-146,444","w":296},"*":{"d":"274,-708r0,142r135,-44r26,80r-136,44r86,117r-69,50r-86,-118r-84,115r-67,-51r86,-113r-137,-47r26,-80r136,47r0,-142r84,0","w":463},"+":{"d":"62,-354r220,0r0,-220r102,0r0,220r220,0r0,102r-220,0r0,220r-102,0r0,-220r-220,0r0,-102","w":666},",":{"d":"38,126r70,-264r122,0r-85,264r-107,0","w":296},"-":{"d":"281,-297r0,102r-247,0r0,-102r247,0","w":315},".":{"d":"68,-70v0,-43,36,-78,80,-78v43,0,80,33,80,76v0,43,-36,78,-80,78v-42,0,-80,-33,-80,-76","w":296},"\/":{"d":"386,-726r-312,774r-83,-30r312,-776","w":389},"0":{"d":"40,-354v0,-335,177,-366,256,-366v79,0,256,31,256,366v0,335,-177,366,-256,366v-79,0,-256,-31,-256,-366xm160,-354v0,88,16,252,136,252v120,0,136,-164,136,-252v0,-88,-16,-252,-136,-252v-120,0,-136,164,-136,252"},"1":{"d":"268,0r0,-570r-133,123r-70,-83r214,-178r109,0r0,708r-120,0"},"2":{"d":"59,0r0,-127r275,-266v33,-32,73,-71,73,-120v0,-58,-48,-93,-103,-93v-59,0,-101,38,-109,96r-126,-10v12,-131,107,-200,235,-200v127,0,229,65,229,201v0,89,-46,150,-109,208r-219,203r328,0r0,108r-474,0"},"3":{"d":"222,-315r0,-108v86,1,169,2,169,-96v0,-54,-42,-93,-101,-93v-48,0,-89,29,-106,78r-127,-34v50,-216,454,-201,454,37v0,78,-50,138,-121,162v90,13,138,85,138,172v0,135,-113,209,-239,209v-116,0,-212,-48,-243,-166r128,-34v15,58,51,92,115,92v64,0,119,-45,119,-111v0,-102,-96,-110,-186,-108"},"4":{"d":"335,0r0,-144r-301,0r0,-119r285,-445r136,0r0,456r103,0r0,108r-103,0r0,144r-120,0xm335,-252r0,-286r-2,0r-177,286r179,0"},"5":{"d":"505,-708r0,108r-285,0r-3,141v170,-40,312,57,312,226v0,152,-111,245,-256,245v-112,0,-196,-53,-229,-162r126,-34v16,51,55,82,116,82v72,0,123,-52,123,-121v1,-159,-203,-159,-314,-103r7,-382r403,0"},"6":{"d":"291,-708r146,0r-170,262v145,-44,281,68,281,216v0,147,-107,242,-252,242v-148,0,-252,-91,-252,-241v0,-74,27,-132,66,-194xm170,-231v0,71,58,129,129,129v71,0,129,-58,129,-129v0,-71,-58,-129,-129,-129v-71,0,-129,58,-129,129"},"7":{"d":"42,-594r0,-114r481,0r0,110r-283,598r-141,0r289,-594r-346,0"},"8":{"d":"296,-720v120,0,217,67,217,186v0,77,-40,136,-107,161v68,14,129,85,129,172v0,140,-107,213,-239,213v-132,0,-239,-73,-239,-213v0,-90,66,-155,129,-174v-71,-21,-107,-84,-107,-159v0,-119,97,-186,217,-186xm296,-618v-61,0,-97,43,-97,96v0,56,38,99,97,99v53,0,97,-43,97,-99v0,-53,-42,-96,-97,-96xm296,-327v-65,0,-119,46,-119,111v0,67,50,114,119,114v69,0,119,-47,119,-114v0,-65,-54,-111,-119,-111"},"9":{"d":"301,0r-146,0r170,-262v-145,44,-281,-68,-281,-216v0,-147,107,-242,252,-242v148,0,252,91,252,241v0,74,-27,132,-66,194xm422,-477v0,-71,-58,-129,-129,-129v-71,0,-129,58,-129,129v0,71,58,129,129,129v71,0,129,-58,129,-129"},":":{"d":"68,-70v0,-43,36,-78,80,-78v43,0,80,33,80,76v0,43,-36,78,-80,78v-42,0,-80,-33,-80,-76xm68,-409v0,-43,36,-78,80,-78v43,0,80,33,80,76v0,43,-36,78,-80,78v-42,0,-80,-33,-80,-76","w":296},";":{"d":"38,126r70,-264r122,0r-85,264r-107,0xm68,-409v0,-43,36,-78,80,-78v43,0,80,33,80,76v0,43,-36,78,-80,78v-42,0,-80,-33,-80,-76","w":296},"<":{"d":"586,-42r-506,-225r0,-72r506,-225r0,110r-338,151r338,151r0,110","w":666},"=":{"d":"62,-444r542,0r0,102r-542,0r0,-102xm62,-264r542,0r0,102r-542,0r0,-102","w":666},">":{"d":"80,-564r506,225r0,72r-506,225r0,-110r338,-151r-338,-151r0,-110","w":666},"?":{"d":"330,-209r-120,0v-1,-87,3,-120,54,-172r77,-78v53,-53,16,-153,-65,-153v-56,0,-95,44,-100,98r-128,-10v15,-127,106,-202,233,-202v119,0,211,69,211,195v0,87,-49,131,-109,184v-46,41,-56,64,-53,138xm190,-70v0,-43,36,-78,80,-78v43,0,80,33,80,76v0,43,-36,78,-80,78v-42,0,-80,-33,-80,-76","w":519},"@":{"d":"401,-456v-67,0,-106,55,-106,121v0,21,0,92,83,92v76,0,97,-66,97,-121v0,-53,-24,-92,-74,-92xm617,-133r110,0v-71,98,-185,151,-307,151v-213,0,-388,-154,-388,-371v0,-213,171,-373,382,-373v176,0,354,117,354,329v0,213,-162,244,-222,244v-59,0,-74,-31,-81,-54v-26,27,-65,54,-128,54v-86,0,-144,-69,-144,-168v0,-117,76,-225,200,-225v55,0,86,20,110,57r8,-45r94,0r-37,197v-7,30,-24,93,18,94v42,0,86,-45,86,-149v0,-160,-109,-244,-261,-244v-166,0,-277,119,-277,283v0,175,125,281,294,281v75,0,140,-22,189,-61","w":800},"A":{"d":"0,0r308,-708r109,0r305,708r-144,0r-66,-162r-307,0r-64,162r-141,0xm248,-270r220,0r-109,-288","w":722},"B":{"d":"79,0r0,-708v220,7,484,-52,493,178v3,82,-54,130,-123,157v89,10,153,80,153,171v0,245,-285,199,-523,202xm205,-600r0,180r115,0v84,0,126,-36,126,-89v0,-61,-42,-91,-137,-91r-104,0xm205,-312r0,204r116,0v65,0,155,-11,155,-104v0,-74,-48,-100,-150,-100r-121,0","w":648},"C":{"d":"663,-614r-98,72v-52,-55,-100,-70,-149,-70v-146,0,-243,112,-243,253v0,151,97,263,243,263v57,0,112,-26,159,-86r104,74v-64,88,-160,126,-264,126v-218,0,-374,-148,-374,-369v0,-227,156,-375,374,-375v96,0,178,31,248,112","w":685},"D":{"d":"79,0r0,-708r279,0v186,0,360,114,360,354v0,242,-205,354,-375,354r-264,0xm205,-114v210,12,381,-33,381,-240v0,-172,-112,-240,-266,-240r-115,0r0,480","w":759},"E":{"d":"79,0r0,-708r469,0r0,114r-343,0r0,174r325,0r0,114r-325,0r0,192r361,0r0,114r-487,0","w":611},"F":{"d":"79,0r0,-708r457,0r0,114r-331,0r0,186r312,0r0,114r-312,0r0,294r-126,0","w":574,"k":{"A":55,",":129,".":129}},"G":{"d":"708,-414r0,362v-86,46,-184,70,-293,70v-218,0,-374,-148,-374,-369v0,-227,156,-375,374,-375v108,0,205,23,279,89r-93,94v-45,-44,-114,-69,-185,-69v-146,0,-243,112,-243,253v0,151,97,263,243,263v64,0,122,-12,166,-37r0,-167r-145,0r0,-114r271,0","w":778},"H":{"d":"79,0r0,-708r126,0r0,282r331,0r0,-282r126,0r0,708r-126,0r0,-312r-331,0r0,312r-126,0","w":741},"I":{"d":"76,0r0,-708r126,0r0,708r-126,0","w":278},"J":{"d":"426,-708r0,512v0,113,-71,214,-213,214v-111,0,-186,-51,-208,-163r118,-28v8,46,40,77,84,77v72,0,93,-52,93,-137r0,-475r126,0","w":500},"K":{"d":"79,0r0,-708r126,0r0,300r6,0r293,-300r170,0r-331,327r353,381r-177,0r-307,-348r-7,0r0,348r-126,0","w":685},"L":{"d":"79,0r0,-708r126,0r0,594r301,0r0,114r-427,0","w":519,"k":{"T":92,"V":92,"W":55,"y":37,"Y":111}},"M":{"d":"82,0r0,-708r192,0r189,496r191,-496r190,0r0,708r-120,0r0,-588r-2,0r-215,588r-88,0r-215,-588r-2,0r0,588r-120,0","w":926},"N":{"d":"79,0r0,-708r167,0r343,526r2,0r0,-526r126,0r0,708r-160,0r-350,-543r-2,0r0,543r-126,0","w":796},"O":{"d":"41,-351v0,-227,156,-375,374,-375v221,0,377,144,377,371v0,221,-156,373,-377,373v-218,0,-374,-148,-374,-369xm173,-359v0,151,97,263,243,263v147,0,244,-112,244,-263v0,-141,-97,-253,-244,-253v-146,0,-243,112,-243,253","w":833},"P":{"d":"79,0r0,-708v234,2,499,-40,499,205v0,212,-178,214,-373,210r0,293r-126,0xm205,-401v109,-4,241,23,241,-100v0,-119,-131,-97,-241,-99r0,199","w":611,"k":{"A":74,",":169,".":169}},"Q":{"d":"839,-102r0,102r-412,0v-220,0,-386,-139,-386,-369v0,-208,170,-357,372,-357v202,0,372,149,372,357v0,150,-84,224,-149,267r203,0xm410,-612v-137,0,-237,105,-237,246v0,145,101,252,239,252v140,0,241,-107,241,-252v0,-141,-100,-246,-243,-246","w":852},"R":{"d":"79,0r0,-708v236,5,510,-46,510,203v0,102,-59,177,-164,192r188,313r-152,0r-164,-300r-92,0r0,300r-126,0xm205,-408v114,-5,252,28,252,-98v0,-122,-140,-89,-252,-94r0,192","w":630,"k":{"T":18,"Y":37}},"S":{"d":"518,-653r-92,97v-27,-38,-75,-56,-124,-56v-58,0,-116,26,-116,91v0,142,336,61,336,313v0,253,-356,292,-491,130r95,-92v31,47,84,74,140,74v58,0,124,-32,124,-97v0,-155,-336,-66,-336,-319v0,-228,321,-274,464,-141","w":574},"T":{"d":"224,0r0,-594r-217,0r0,-114r560,0r0,114r-217,0r0,594r-126,0","w":574,"k":{"w":111,"y":111,"A":92,",":111,".":111,"c":111,"e":111,"o":111,"\u00f3":111,"-":129,"a":100,"r":92,"s":111,"u":92,":":83,";":83}},"U":{"d":"646,-708r0,448v0,171,-123,278,-285,278v-162,0,-285,-107,-285,-278r0,-448r126,0r0,444v0,70,38,162,159,162v121,0,159,-92,159,-162r0,-444r126,0","w":722},"V":{"d":"275,0r-278,-708r145,0r193,535r199,-535r136,0r-286,708r-109,0","w":667,"k":{"y":18,"A":55,",":129,".":129,"e":55,"o":55,"\u00f3":55,"-":55,"a":55,"r":37,"u":37,":":46,";":46,"i":-10}},"W":{"d":"209,0r-209,-708r138,0r133,510r2,0r159,-510r124,0r156,510r2,0r139,-510r128,0r-206,708r-120,0r-164,-539r-2,0r-164,539r-116,0","w":981,"k":{"A":25,",":74,".":74,"e":18,"o":18,"\u00f3":18,"-":28,"a":37,"r":18,"u":18,":":18,";":18}},"X":{"d":"0,0r252,-370r-236,-338r159,0r167,262r165,-262r153,0r-232,338r257,370r-160,0r-187,-299r-186,299r-152,0","w":685},"Y":{"d":"252,0r0,-303r-266,-405r158,0r174,282r176,-282r150,0r-266,405r0,303r-126,0","w":630,"k":{"v":55,"A":74,",":111,".":111,"e":92,"o":92,"\u00f3":92,"q":92,"-":111,"a":92,"u":86,":":92,";":92,"i":9,"p":86}},"Z":{"d":"35,0r0,-114r378,-480r-372,0r0,-114r529,0r0,114r-381,480r387,0r0,114r-541,0","w":611},"[":{"d":"258,-732r0,78r-90,0r0,732r90,0r0,78r-192,0r0,-888r192,0","w":278},"\\":{"d":"3,-726r83,-32r312,776r-83,30","w":389},"]":{"d":"20,156r0,-78r90,0r0,-732r-90,0r0,-78r192,0r0,888r-192,0","w":278},"^":{"d":"187,-343r-118,0r223,-365r82,0r223,365r-118,0r-147,-239","w":666},"_":{"d":"500,125r-500,0r0,-50r500,0r0,50","w":500},"a":{"d":"368,0r0,-66r-3,0v-71,126,-329,97,-329,-66v0,-166,193,-168,332,-167v13,-129,-177,-123,-238,-53r-63,-63v53,-54,128,-77,204,-77v205,0,205,148,205,216r0,276r-108,0xm240,-78v92,-1,127,-50,121,-137v-79,0,-205,-2,-205,74v0,44,45,63,84,63","w":537},"b":{"d":"68,0r0,-756r120,0r0,337r3,0v25,-31,73,-73,163,-73v137,0,232,110,232,252v0,142,-89,252,-237,252v-69,0,-128,-30,-167,-84r0,72r-114,0xm466,-240v0,-75,-53,-144,-141,-144v-88,0,-141,69,-141,144v0,75,53,144,141,144v88,0,141,-69,141,-144","w":630},"c":{"d":"479,-419r-83,83v-28,-29,-59,-48,-91,-48v-88,0,-141,69,-141,144v0,75,53,144,141,144v37,0,71,-16,93,-45r80,86v-167,148,-434,37,-434,-185v0,-225,286,-335,435,-179","w":482},"d":{"d":"448,0v-2,-23,4,-53,-2,-72v-35,58,-98,84,-165,84v-148,0,-237,-110,-237,-252v0,-142,95,-252,232,-252v90,0,138,42,163,73r3,0r0,-337r120,0r0,756r-114,0xm164,-240v0,75,53,144,141,144v88,0,141,-69,141,-144v0,-75,-53,-144,-141,-144v-88,0,-141,69,-141,144","w":630},"e":{"d":"530,-198r-366,0v8,71,62,114,129,114v60,0,99,-28,129,-65r86,65v-141,185,-464,87,-464,-156v0,-151,116,-252,261,-252v144,0,235,110,225,294xm164,-288r246,0v-1,-70,-47,-114,-122,-114v-71,0,-115,45,-124,114","w":574},"f":{"d":"111,0r0,-378r-99,0r0,-102r99,0v-4,-163,3,-291,179,-288v26,0,51,2,76,7r-8,102v-17,-4,-33,-7,-50,-7v-100,1,-73,99,-77,186r111,0r0,102r-111,0r0,378r-120,0","w":352,"k":{"f":18}},"g":{"d":"448,-480r114,0r0,437v0,173,-84,283,-271,283v-89,0,-170,-19,-238,-79r72,-98v48,44,98,69,165,69v128,1,162,-84,150,-196v-35,47,-97,70,-157,70v-144,0,-239,-110,-239,-246v0,-142,89,-252,237,-252v69,0,128,30,167,84r0,-72xm306,-384v-84,0,-142,58,-142,143v0,76,60,139,141,139v89,0,143,-61,143,-141v0,-83,-55,-141,-142,-141","w":630},"h":{"d":"188,-756r0,343r2,0v19,-40,67,-79,141,-79v129,0,175,91,175,189r0,303r-120,0r0,-243v0,-53,-4,-141,-88,-141v-79,0,-110,58,-110,122r0,262r-120,0r0,-756r120,0","w":574},"i":{"d":"70,0r0,-480r120,0r0,480r-120,0xm53,-643v0,-38,32,-72,76,-72v44,0,78,31,78,72v0,41,-34,72,-78,72v-44,0,-76,-34,-76,-72","w":260},"j":{"d":"70,-480r120,0r0,509v0,120,-25,211,-162,211v-22,0,-44,-2,-65,-9r9,-104v13,3,25,5,38,5v60,0,60,-58,60,-102r0,-510xm53,-643v0,-38,32,-72,76,-72v44,0,78,31,78,72v0,41,-34,72,-78,72v-44,0,-76,-34,-76,-72","w":260},"k":{"d":"68,0r0,-756r120,0r0,475r185,-199r154,0r-206,218r219,262r-159,0r-191,-245r-2,0r0,245r-120,0","w":537},"l":{"d":"70,0r0,-756r120,0r0,756r-120,0","w":260},"m":{"d":"63,0r0,-480r114,0v2,24,-4,55,2,75v21,-45,67,-87,147,-87v74,0,125,29,150,89v35,-61,86,-89,158,-89v232,0,162,278,173,492r-120,0r0,-272v0,-60,-18,-112,-89,-112v-75,0,-103,62,-103,124r0,260r-120,0r0,-286v0,-59,-24,-98,-82,-98v-79,0,-110,58,-110,122r0,262r-120,0","w":870},"n":{"d":"68,0r0,-480r114,0v2,24,-4,57,2,77v22,-48,67,-89,147,-89v129,0,175,91,175,189r0,303r-120,0r0,-243v0,-53,-4,-141,-88,-141v-79,0,-110,58,-110,122r0,262r-120,0","w":574},"o":{"d":"44,-240v0,-151,116,-252,261,-252v145,0,261,101,261,252v0,151,-116,252,-261,252v-145,0,-261,-101,-261,-252xm164,-240v0,75,53,144,141,144v88,0,141,-69,141,-144v0,-75,-53,-144,-141,-144v-88,0,-141,69,-141,144","w":610},"p":{"d":"68,228r0,-708r114,0v2,23,-4,53,2,72v35,-58,98,-84,165,-84v148,0,237,110,237,252v0,142,-95,252,-232,252v-90,0,-138,-42,-163,-73r-3,0r0,289r-120,0xm466,-240v0,-75,-53,-144,-141,-144v-88,0,-141,69,-141,144v0,75,53,144,141,144v88,0,141,-69,141,-144","w":630},"q":{"d":"562,-480r0,708r-120,0r0,-289r-3,0v-25,31,-73,73,-163,73v-137,0,-232,-110,-232,-252v0,-142,89,-252,237,-252v69,0,128,30,167,84r0,-72r114,0xm164,-240v0,75,53,144,141,144v88,0,141,-69,141,-144v0,-75,-53,-144,-141,-144v-88,0,-141,69,-141,144","w":630},"r":{"d":"68,0r0,-480r120,0v2,24,-4,56,2,76v32,-66,103,-104,185,-81r0,116v-20,-5,-39,-9,-58,-9v-113,0,-129,95,-129,121r0,257r-120,0","w":389,"k":{",":92,".":92,"c":18,"d":18,"e":18,"g":18,"m":-18,"n":-18,"o":18,"\u00f3":18,"q":18,"-":55}},"s":{"d":"404,-419r-80,72v-23,-32,-53,-49,-94,-49v-32,0,-70,15,-70,51v0,86,259,16,259,203v0,114,-109,154,-207,154v-74,0,-138,-19,-187,-74r80,-75v31,34,63,59,114,59v35,0,80,-17,80,-55v0,-99,-259,-21,-259,-204v0,-179,273,-201,364,-82","w":444},"t":{"d":"111,-378r-99,0r0,-102r99,0r0,-139r120,0r0,139r132,0r0,102r-132,0r0,210v0,48,14,78,67,78v21,0,50,-4,65,-15r0,101v-25,12,-67,16,-95,16v-127,0,-157,-57,-157,-170r0,-220","w":389},"u":{"d":"506,-480r0,480r-114,0v-2,-24,4,-57,-2,-77v-22,48,-67,89,-147,89v-129,0,-175,-91,-175,-189r0,-303r120,0r0,243v0,53,4,141,88,141v79,0,110,-58,110,-122r0,-262r120,0","w":574},"v":{"d":"199,0r-196,-480r131,0r128,336r2,0r129,-336r123,0r-189,480r-128,0","w":519,"k":{",":92,".":92}},"w":{"d":"170,0r-167,-480r130,0r104,336r2,0r97,-336r130,0r104,336r2,0r100,-336r121,0r-163,480r-119,0r-114,-328r-2,0r-101,328r-124,0","w":796,"k":{",":74,".":74}},"x":{"d":"-1,0r193,-258r-166,-222r146,0r96,144r104,-144r137,0r-164,222r193,258r-146,0r-125,-172r-126,172r-142,0","w":537},"y":{"d":"208,4r-205,-484r132,0r134,333r2,0r120,-333r125,0r-227,583v-35,90,-77,137,-183,137v-31,0,-62,-4,-92,-12r15,-108v19,7,40,12,61,12v84,0,91,-71,118,-128","w":519,"k":{",":92,".":92}},"z":{"d":"34,0r0,-111r257,-273r-245,0r0,-96r390,0r0,109r-260,275r272,0r0,96r-414,0","w":482},"{":{"d":"0,-244r0,-88v28,0,94,-13,94,-70r0,-198v0,-90,85,-132,128,-132r91,0r0,84r-55,0v-57,0,-62,41,-62,70r0,188v0,81,-69,93,-98,103v32,3,98,14,98,107r0,182v0,29,5,70,62,70r55,0r0,84r-91,0v-43,0,-128,-42,-128,-132r0,-191v0,-63,-66,-77,-94,-77","w":278},"|":{"d":"60,-750r102,0r0,1000r-102,0r0,-1000","w":222},"}":{"d":"278,-332r0,88v-28,0,-94,13,-94,70r0,198v0,90,-85,132,-128,132r-91,0r0,-84r55,0v57,0,62,-41,62,-70r0,-188v0,-81,69,-93,98,-103v-32,-3,-98,-14,-98,-107r0,-182v0,-29,-5,-70,-62,-70r-55,0r0,-84r91,0v43,0,128,42,128,132r0,191v0,63,66,77,94,77","w":278},"~":{"d":"223,-385v72,0,157,68,217,68v41,0,66,-37,89,-68r36,84v-30,42,-63,86,-125,86v-80,0,-130,-68,-217,-68v-46,0,-70,37,-86,68r-36,-84v22,-42,58,-86,122,-86","w":666},"'":{"d":"97,-444r0,-264r102,0r0,264r-102,0","w":296},"`":{"d":"78,-708r99,144r-94,0r-141,-144r136,0","w":260},"\u00f3":{"d":"44,-240v0,-151,116,-252,261,-252v145,0,261,101,261,252v0,151,-116,252,-261,252v-145,0,-261,-101,-261,-252xm164,-240v0,75,53,144,141,144v88,0,141,-69,141,-144v0,-75,-53,-144,-141,-144v-88,0,-141,69,-141,144xm258,-564r99,-144r136,0r-141,144r-94,0","w":610},"\u00a0":{"w":296}}});
;
/*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Copyright:
 * HTF Didot © 1992 The Hoefler Type Foundry, Inc. This typeface and the digital
 * software that describes it are the exclusive property of HTF. HTF Didot is a
 * trademark of The Hoefler Type Foundry, Inc.
 */
Cufon.registerFont({"w":185,"face":{"font-family":"DidotBoldItal","font-weight":700,"font-style":"italic","font-stretch":"normal","units-per-em":"360","panose-1":"2 0 8 3 0 0 0 0 0 0","ascent":"288","descent":"-72","x-height":"3","bbox":"-84 -291.273 388.267 122.027","underline-thickness":"7.2","underline-position":"-47.88","stemh":"8","stemv":"41","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{"w":72},"!":{"d":"124,-241v0,27,-58,119,-77,182v-1,2,-10,2,-9,0v19,-63,19,-132,31,-168v8,-26,22,-34,36,-34v12,0,19,9,19,20xm49,-24v3,25,-40,43,-42,12v-3,-25,39,-43,42,-12","w":106},"\"":{"d":"147,-242v0,22,-24,45,-35,67v-4,4,-11,2,-7,-4v7,-32,-3,-73,25,-82v11,0,17,7,17,19xm88,-242v0,22,-26,43,-35,67v-4,4,-11,2,-7,-4v6,-32,-5,-73,25,-82v11,0,17,7,17,19","w":124},"#":{"d":"157,-107r-40,0r-14,53r38,0v1,0,1,9,0,9r-40,0r-17,60v0,1,-8,1,-8,0r17,-60r-40,0r-16,60v0,1,-9,1,-9,0r17,-60r-34,0v-1,0,-1,-9,0,-9r37,0r12,-53r-32,0v-1,0,-1,-9,0,-9r35,0r14,-53v0,-1,8,0,8,1r-13,52r39,0r14,-53v0,-1,8,0,8,1r-13,52r37,0v1,0,1,9,0,9xm109,-107r-40,0r-14,53r40,0","w":162},"$":{"d":"168,-258v43,4,44,80,3,81v-9,0,-15,-6,-15,-15v0,-33,37,10,37,-28v0,-14,-11,-24,-27,-29r-32,101v48,47,34,150,-49,153r-10,33v0,1,-9,-1,-9,-2v1,-9,11,-24,8,-30v-6,0,-11,-1,-17,-2r-11,34v0,1,-9,-1,-9,-2r11,-33v-23,-6,-42,-22,-42,-46v0,-26,16,-39,35,-39v20,0,25,34,5,33v-12,-1,-29,-13,-28,9v0,17,13,29,32,35r35,-109v-49,-47,-27,-134,45,-145r10,-32v0,-1,9,1,9,2r-9,29v6,-1,12,-2,19,0v6,-10,3,-37,19,-29xm157,-251r-19,-1r-24,76v4,6,8,13,13,19xm127,-250v-30,7,-30,38,-19,62xm88,-4v30,-5,35,-42,23,-70v-9,28,-18,56,-23,70xm104,-85v-4,-6,-8,-14,-13,-20r-32,102v6,1,13,1,19,0","w":190},"%":{"d":"136,-211v0,37,-33,82,-78,82v-23,0,-40,-17,-40,-45v0,-37,33,-83,78,-83v23,0,40,18,40,46xm211,-261r-153,270v0,1,-7,-4,-7,-5r152,-270v0,-1,8,5,8,5xm244,-79v0,37,-34,82,-79,82v-23,0,-40,-17,-40,-45v0,-37,34,-83,78,-83v23,0,41,18,41,46xm60,-138v35,-2,51,-60,51,-86v0,-17,-3,-24,-14,-24v-36,1,-51,60,-51,86v0,17,3,24,14,24xm168,-5v34,0,51,-60,51,-86v0,-17,-5,-25,-15,-25v-35,3,-51,59,-51,86v0,17,4,25,15,25","w":250},"&":{"d":"243,-139v30,0,43,49,10,49v-23,0,-14,-23,-31,-23v-14,0,-17,33,-36,61v15,35,57,45,72,11v0,-1,8,1,8,2v-7,47,-97,62,-122,20v-31,38,-131,34,-131,-39v0,-43,31,-82,90,-104v0,-54,37,-99,86,-99v18,0,27,11,27,26v0,22,-23,43,-60,61v0,46,11,82,26,114v19,-32,22,-79,61,-79xm207,-238v0,-9,-3,-13,-13,-13v-24,0,-37,34,-38,69v34,-17,51,-33,51,-56xm140,-25v-21,-31,-37,-69,-37,-129v-50,20,-62,141,11,139v11,0,21,-3,26,-10","w":277},"'":{"d":"88,-242v0,22,-26,43,-35,67v-4,4,-11,2,-7,-4v6,-32,-5,-73,25,-82v11,0,17,7,17,19","w":65},"(":{"d":"172,-258v-29,16,-48,35,-62,60v-32,58,-62,198,-62,230v0,30,5,44,15,50v1,0,-3,5,-4,5v-26,-22,-47,-54,-47,-107v0,-104,77,-199,158,-245v0,0,3,7,2,7","w":116},")":{"d":"102,-158v0,104,-77,199,-158,245v0,0,-4,-7,-3,-7v29,-16,49,-35,63,-60v32,-58,62,-199,62,-231v0,-30,-5,-43,-15,-49v-1,0,3,-5,4,-5v26,22,47,54,47,107","w":116},"*":{"d":"85,-221v17,-8,20,-18,31,-19v6,1,10,8,9,14v-7,16,-19,1,-38,10v18,16,28,2,32,22v-14,25,-20,-6,-35,-19v-3,24,11,35,-9,40v-21,-13,3,-17,4,-41v-17,7,-20,20,-31,19v-6,-1,-9,-7,-8,-13v7,-16,19,-1,38,-10v-16,-17,-28,-3,-33,-22v1,-6,7,-11,13,-10v11,3,6,19,23,28v3,-24,-13,-34,9,-39v21,11,-2,19,-5,40","w":104},"+":{"d":"123,-71r-46,0r0,50v0,1,-11,1,-11,0r0,-50r-50,0v-1,0,-1,-11,0,-11r50,0r0,-54v0,-1,11,-1,11,0r0,54r46,0v1,0,1,11,0,11","w":142},",":{"d":"-23,46v17,-6,37,-10,38,-29v-7,-20,-16,-54,15,-55v14,0,19,12,19,23v0,28,-33,62,-73,70v0,0,0,-9,1,-9","w":76},"-":{"d":"106,-98v-1,6,-6,15,-6,24r-90,0v1,-6,6,-15,6,-24r90,0","w":115},".":{"d":"49,-21v3,26,-38,43,-41,12v-3,-24,38,-44,41,-12","w":76},"\/":{"d":"140,-271r-115,279v0,1,-8,-2,-7,-3r114,-280v0,-1,8,3,8,4","w":118},"0":{"d":"175,-96v0,51,-51,99,-98,99v-32,0,-61,-25,-61,-60v0,-51,49,-99,98,-99v32,0,61,24,61,60xm142,-125v0,-29,-49,-32,-57,-4v-9,14,-36,82,-36,101v-1,30,48,31,56,4v9,-14,37,-82,37,-101","w":198},"1":{"d":"139,-153v3,13,-19,7,-29,10r-42,133v6,3,17,0,25,1v1,0,-2,9,-3,9r-92,0v-3,-13,19,-7,29,-10r41,-133v-6,-3,-17,0,-24,-1v-1,0,1,-9,2,-9r93,0","w":144},"2":{"d":"139,-47v-6,15,-8,34,-16,47r-140,0v-1,0,-2,-5,0,-6v82,-29,112,-76,112,-116v0,-17,-6,-23,-24,-23v-19,0,-37,21,-37,33v0,22,37,-9,37,18v0,8,-8,17,-18,17v-18,0,-30,-10,-30,-31v0,-22,26,-48,63,-48v30,0,51,15,51,43v0,29,-28,53,-91,84v-2,1,-2,2,1,2v32,-2,79,10,83,-20v1,-1,9,-1,9,0","w":159},"3":{"d":"136,-112v0,28,-42,58,-73,68v32,-5,56,11,56,44v0,61,-66,103,-111,103v-69,0,-64,-81,-9,-82v10,0,19,8,19,19v0,38,-46,-10,-48,27v0,12,8,27,39,27v48,0,66,-42,66,-92v0,-43,-19,-41,-43,-27v-1,1,-6,-6,-5,-6v55,-25,69,-52,69,-86v0,-19,-6,-28,-25,-28v-25,0,-37,21,-37,30v0,28,35,-11,34,22v0,9,-7,15,-15,15v-18,0,-30,-14,-30,-33v0,-20,24,-45,58,-45v42,0,55,23,55,44","w":149},"4":{"d":"196,-193r-200,184r72,0r13,-36v16,-1,39,-25,44,-38v0,-2,9,-1,9,0r-24,74r38,0v1,15,-26,7,-40,9r-31,100r-42,0r32,-100r-81,0v-1,0,-4,-5,-3,-6v49,-51,97,-116,144,-171v13,5,51,-8,64,-22","w":167},"5":{"d":"149,-147v3,42,-85,40,-95,9r-21,94v30,-31,92,-8,92,36v0,59,-69,111,-120,111v-69,0,-64,-81,-9,-82v10,0,19,8,19,19v-1,38,-46,-10,-49,27v0,12,8,28,39,28v54,0,76,-47,76,-117v0,-40,-39,-28,-51,-5v-1,10,-7,21,-15,9v16,-39,20,-90,33,-133v11,-7,18,13,36,9v30,0,41,-19,51,-19v10,0,14,6,14,14","w":157},"6":{"d":"160,-256v58,0,53,79,5,79v-11,0,-19,-7,-19,-18v-1,-38,46,7,46,-26v0,-15,-12,-26,-33,-26v-36,0,-76,91,-85,124v26,-41,88,-17,88,35v0,47,-44,91,-88,91v-28,0,-55,-17,-55,-60v0,-84,81,-199,141,-199xm72,-6v37,0,51,-75,58,-107v0,-17,-7,-22,-23,-22v-41,0,-52,70,-60,105v0,17,6,24,25,24","w":183},"7":{"d":"163,-154v4,-2,4,3,3,6v-57,73,-103,167,-154,248r-49,0r171,-219v-39,6,-96,-18,-100,25v0,1,-9,1,-9,0v7,-19,11,-43,20,-60r118,0","w":162},"8":{"d":"194,-205v0,29,-20,49,-63,68v16,19,27,37,27,65v0,46,-40,75,-85,75v-33,0,-61,-19,-61,-54v0,-35,29,-60,73,-78v-39,-44,-17,-128,55,-127v39,0,54,29,54,51xm165,-214v0,-19,-6,-33,-27,-33v-58,1,-44,79,-13,104v43,-17,40,-60,40,-71xm121,-60v0,-22,-15,-43,-31,-62v-31,14,-46,29,-46,80v0,24,12,37,34,37v30,0,43,-18,43,-55"},"9":{"d":"162,-96v0,84,-81,198,-142,198v-27,0,-44,-13,-44,-36v-7,-29,49,-58,57,-21v-1,40,-44,-11,-46,27v0,12,14,22,33,22v28,0,55,-28,84,-118v-25,35,-88,23,-88,-35v0,-48,47,-97,91,-97v38,0,55,29,55,60xm71,-13v40,-1,61,-74,61,-111v0,-17,-5,-24,-24,-24v-37,0,-51,80,-59,113v0,16,6,22,22,22","w":183},":":{"d":"81,-126v3,25,-38,41,-41,12v-3,-24,38,-44,41,-12xm49,-21v3,26,-38,43,-41,12v-3,-24,38,-44,41,-12","w":99},";":{"d":"81,-126v3,25,-38,41,-41,12v-3,-24,38,-44,41,-12xm-23,46v17,-6,37,-10,38,-29v-7,-20,-16,-54,15,-55v14,0,19,12,19,23v0,28,-33,62,-73,70v0,0,0,-9,1,-9","w":99},"<":{"d":"99,-35v1,0,-3,10,-4,9r-76,-48r0,-6r76,-47v1,0,5,8,4,8r-66,42","w":115},"=":{"d":"110,-94r-89,0r0,-8r89,0r0,8xm110,-51r-89,0r0,-8r89,0r0,8","w":129},">":{"d":"103,-74r-77,48v-1,0,-5,-8,-4,-8r66,-43r-66,-42v-1,0,3,-9,4,-8r77,48r0,5","w":120},"?":{"d":"89,-119v37,-3,40,-82,48,-115v0,-9,-2,-18,-20,-18v-32,0,-37,30,-26,53v0,10,-7,18,-20,18v-13,0,-21,-11,-21,-23v0,-27,34,-57,71,-57v33,0,57,29,57,62v0,50,-42,88,-87,88v-10,0,-21,-4,-23,-9r-19,61v0,2,-10,2,-9,0r22,-71v11,-9,11,12,27,11xm51,-24v2,25,-39,43,-42,12v-3,-25,39,-43,42,-12","w":174},"@":{"d":"268,-145v0,57,-46,82,-79,82v-27,0,-41,-19,-36,-37v-8,29,-21,37,-34,37v-26,0,-35,-23,-35,-46v0,-37,34,-83,75,-83v10,0,15,5,15,16r3,-13r31,0r-17,58v-13,46,-15,58,4,58v33,0,63,-30,63,-72v0,-68,-49,-107,-105,-107v-64,0,-116,54,-116,125v0,100,117,163,189,96v1,0,6,6,5,7v-78,71,-204,4,-204,-103v0,-74,57,-134,126,-134v62,0,115,42,115,116xm155,-183v-32,7,-41,62,-42,88v0,17,3,22,11,22v31,-13,36,-62,47,-93v0,-13,-5,-17,-16,-17","w":277},"A":{"d":"217,0r-115,0v-3,-14,21,-7,31,-10r0,-75r-81,0r-46,61v-9,13,-9,15,-4,15r23,0v1,0,-2,9,-3,9r-72,0v2,-21,36,3,45,-23r176,-237v1,-1,12,-1,12,0r2,251r35,0v1,0,-2,9,-3,9xm133,-94r0,-100r-74,100r74,0","w":235},"B":{"d":"226,-200v0,36,-34,61,-82,64v40,3,65,21,65,57v0,41,-48,79,-112,79r-117,0v-3,-16,26,-5,38,-10r72,-237r-33,0v-1,0,2,-8,3,-8v69,0,166,-12,166,55xm110,-141v63,13,68,-46,75,-89v4,-20,-24,-19,-42,-15xm98,-9v51,7,58,-59,64,-100v3,-24,-29,-24,-55,-23r-38,122v7,3,20,0,29,1","w":231},"C":{"d":"238,-260r-27,84v0,1,-9,1,-9,0v11,-36,0,-76,-39,-76v-26,0,-41,10,-52,31v-13,25,-52,135,-52,177v0,24,9,41,41,41v38,0,67,-17,93,-55v0,-1,6,6,6,6v-47,82,-181,82,-181,-38v0,-86,68,-171,145,-171v31,0,51,24,66,1v0,-1,9,-1,9,0","w":217},"D":{"d":"255,-157v0,82,-88,157,-165,157r-110,0v-2,-15,26,-6,38,-10r74,-235v-9,-3,-23,0,-34,-1v-1,0,1,-9,2,-9r101,0v52,0,94,41,94,98xm69,-10v116,21,130,-106,144,-194v4,-27,-28,-47,-70,-41","w":261},"E":{"d":"237,-255v-2,23,-15,51,-20,75v0,1,-9,1,-9,0v17,-39,-14,-79,-65,-65r-33,106v34,2,53,-14,62,-41v0,-1,9,-1,9,0r-31,99v0,1,-9,1,-9,0v9,-26,0,-52,-34,-49r-38,120v64,8,116,-31,125,-72v0,-1,9,-1,9,0r-27,82r-196,0v-2,-15,26,-6,38,-10r74,-235v-7,-5,-23,-1,-34,-2v-1,0,1,-8,2,-8r177,0","w":226},"F":{"d":"240,-256r-20,75v0,1,-9,1,-9,0v16,-40,-14,-75,-67,-65r-33,106v34,2,54,-14,63,-41v0,-1,9,-1,9,0r-31,99v0,1,-9,1,-9,0v9,-27,0,-52,-35,-49r-39,120v7,5,24,1,35,2v1,0,-2,8,-3,8r-120,0v-2,-16,27,-3,37,-10r74,-235v-9,-3,-23,0,-34,-1v-1,0,2,-9,3,-9r179,0","w":209},"G":{"d":"244,-102v2,15,-26,6,-38,10r-30,93v0,1,-9,1,-9,0v2,-7,-3,-13,-13,-13v-17,0,-27,18,-57,18v-52,0,-79,-36,-79,-96v0,-86,68,-172,145,-172v31,0,51,26,66,1v0,-1,9,0,9,0r-27,85v0,1,-9,1,-9,0v12,-36,-1,-77,-39,-77v-26,0,-41,11,-52,32v-13,25,-52,134,-52,177v0,24,6,41,38,41v24,0,32,-9,36,-22v6,-22,17,-47,20,-68r-33,0v-1,0,2,-9,3,-9r121,0","w":232},"H":{"d":"308,-255v2,16,-28,3,-38,10r-74,235v9,3,23,0,34,1v1,0,-1,9,-2,9r-114,0v-3,-13,20,-7,31,-10r37,-119r-75,0r-38,119v7,3,18,0,27,1v1,0,-2,9,-3,9r-113,0v-2,-15,26,-6,38,-10r74,-235v-7,-5,-23,-1,-34,-2v-1,0,1,-8,2,-8r114,0v2,13,-23,4,-31,10r-34,108r76,0r34,-108v-4,-5,-19,-1,-27,-2v-1,0,2,-8,3,-8r113,0","w":277},"I":{"d":"181,-255v2,16,-27,3,-37,10r-75,235v9,3,24,0,35,1v1,0,-2,9,-3,9r-121,0v-2,-15,26,-6,38,-10r74,-235v-7,-5,-23,-1,-34,-2v-1,0,2,-8,3,-8r120,0","w":150},"J":{"d":"242,-255v2,15,-28,3,-38,10r-53,169v-18,58,-54,82,-103,82v-36,0,-56,-26,-56,-59v0,-15,14,-34,34,-34v30,0,36,44,7,52v-7,1,-11,7,-11,16v0,12,11,17,29,17v18,0,28,-8,35,-31r67,-212v-7,-5,-24,-1,-35,-2v-1,0,2,-8,3,-8r121,0","w":207},"K":{"d":"274,-255v2,11,-16,8,-27,8v-6,0,-10,5,-21,16r-79,77v19,47,31,101,53,145r33,0v1,0,-1,9,-2,9r-120,0v-2,-12,17,-9,29,-9v3,0,4,-1,3,-3r-39,-110r-35,112v6,3,17,0,25,1v1,0,-2,9,-3,9r-111,0v-2,-15,26,-6,38,-10r74,-235v-7,-5,-23,-1,-34,-2v-1,0,1,-8,2,-8r121,0v2,15,-28,3,-38,10r-36,116r108,-104v9,-9,10,-14,2,-14r-20,0v-1,0,2,-8,3,-8r74,0","w":245},"L":{"d":"197,-82r-27,82r-190,0v-3,-16,26,-5,38,-10r72,-237r-33,0v-1,0,2,-8,3,-8r121,0v2,15,-28,3,-38,10r-74,235v61,7,110,-33,119,-72v0,-1,9,-1,9,0","w":210},"M":{"d":"350,-255v2,15,-28,3,-38,10r-73,236r33,0v1,0,-2,9,-3,9r-121,0v-2,-15,26,-6,38,-10r72,-228r-148,243v-1,1,-9,1,-9,0r0,-244r-72,229v9,3,23,0,34,1v1,0,-2,9,-3,9r-78,0v-2,-15,25,-6,37,-10r75,-235v-7,-5,-24,-1,-35,-2v-1,0,2,-8,3,-8r86,0v3,0,3,2,3,6r-2,174r106,-173v3,-4,6,-7,7,-7r88,0","w":318},"N":{"d":"290,-255v2,15,-28,3,-38,10r-78,250v0,1,-10,1,-10,0r-71,-223r-66,208v9,3,23,0,34,1v1,0,-2,9,-3,9r-78,0v-2,-15,26,-6,38,-10r74,-235v-5,-5,-19,-1,-27,-2v-1,0,2,-8,3,-8r62,0v3,0,5,2,6,6r54,171r53,-167v-7,-5,-24,-1,-34,-2v-1,0,2,-8,3,-8r78,0","w":257},"O":{"d":"246,-165v0,86,-69,171,-146,171v-52,0,-82,-36,-82,-96v0,-86,68,-171,145,-171v52,0,83,36,83,96xm204,-211v0,-24,-9,-41,-41,-41v-25,0,-41,10,-52,31v-13,25,-52,135,-52,177v0,24,9,41,41,41v25,0,41,-10,52,-31v13,-26,52,-134,52,-177","w":252},"P":{"d":"240,-192v0,52,-70,106,-141,87r-30,95v9,3,23,0,34,1v1,0,-1,9,-2,9r-121,0v-2,-15,26,-6,38,-10r74,-235v-7,-5,-24,-1,-34,-2v-1,0,1,-8,2,-8v76,2,180,-17,180,63xm127,-110v53,1,57,-70,67,-115v6,-24,-30,-25,-51,-20r-41,131v6,3,11,4,25,4","w":232},"Q":{"d":"23,31v16,-10,61,-19,81,-25v-56,1,-85,-35,-86,-96v0,-86,68,-171,145,-171v52,0,83,36,83,96v-2,101,-78,169,-171,187v82,-4,66,91,131,91v1,0,1,9,0,9v-132,2,-99,-109,-179,-83v-2,0,-4,-4,-4,-8xm204,-211v0,-24,-9,-41,-41,-41v-25,0,-41,10,-52,31v-13,25,-52,135,-52,177v0,24,9,41,41,41v25,0,41,-10,52,-31v13,-26,52,-134,52,-177","w":252},"R":{"d":"228,-200v0,33,-22,64,-76,68v70,-2,44,66,37,107v-4,23,24,25,38,15v7,15,-19,15,-35,16v-25,0,-50,-12,-50,-44v0,-33,45,-93,-13,-91r-22,0r-38,119v9,3,23,0,34,1v1,0,-2,9,-3,9r-120,0v-2,-15,26,-6,38,-10r74,-235v-7,-5,-23,-1,-34,-2v-1,0,1,-8,2,-8v69,1,168,-13,168,55xm109,-137v61,11,69,-43,77,-88v3,-20,-24,-27,-43,-20","w":237},"S":{"d":"186,-261r-21,69v0,1,-9,1,-9,0v13,-41,-9,-61,-34,-61v-23,0,-38,15,-38,40v0,50,76,69,76,129v0,51,-30,90,-85,90v-39,1,-48,-27,-69,-6v0,1,-9,0,-9,0r25,-82v0,-1,9,-1,9,0v-12,37,3,79,44,79v31,0,49,-13,49,-44v0,-54,-75,-67,-75,-130v0,-59,63,-104,115,-76v10,2,11,-12,22,-8","w":181},"T":{"d":"254,-255r-26,86v0,1,-9,1,-9,0v17,-43,7,-85,-44,-76r-74,235v9,3,23,0,34,1v1,0,-2,9,-3,9r-120,0v-3,-16,25,-6,37,-10r73,-237v-53,-1,-74,34,-87,75v0,1,-9,1,-9,0v10,-27,15,-59,27,-83r201,0","w":218},"U":{"d":"294,-255v3,15,-25,4,-34,10r-55,174v-15,49,-49,77,-100,77v-66,0,-80,-49,-64,-101r48,-150v-7,-5,-24,-1,-35,-2v-1,0,2,-8,3,-8r121,0v2,15,-28,3,-38,10v-18,66,-58,129,-58,201v0,25,14,36,37,36v40,0,63,-20,79,-70r53,-167v-6,-5,-21,-1,-30,-2v-1,0,1,-8,2,-8r71,0","w":262},"V":{"d":"292,-255v2,13,-22,7,-33,8v-4,0,-9,8,-15,16r-166,236v-1,1,-9,1,-9,0r-2,-252r-33,0v-1,0,2,-8,3,-8r115,0v2,14,-25,4,-34,10r0,178r116,-164v9,-13,9,-16,5,-16r-30,0v-1,0,2,-8,3,-8r80,0","w":229},"W":{"d":"388,-255v3,13,-20,7,-31,8r-172,252v-1,1,-10,1,-10,0r-5,-114r-80,114v-1,1,-10,1,-10,0r-13,-252r-32,0v-1,0,1,-8,2,-8r259,0v3,11,-15,8,-25,8v-14,6,-41,53,-54,70r5,111r113,-165v22,-26,1,-13,-18,-16v-1,0,1,-8,2,-8r69,0xm252,-247v-12,1,-29,-3,-38,2r3,55v9,-16,35,-42,35,-57xm169,-123v-3,-40,0,-87,-7,-124v-14,1,-33,-3,-43,2r8,182","w":329},"X":{"d":"279,-255v3,11,-15,8,-25,8v-35,24,-65,71,-96,102r32,135v11,3,27,0,40,1v1,0,-1,9,-2,9r-127,0v-2,-15,26,-6,38,-10r-23,-94r-71,80v-12,14,-12,15,-6,15r22,0v1,0,-1,9,-2,9r-73,0v-2,-11,16,-9,27,-9v5,0,10,-3,20,-15r80,-90r-32,-131v-7,-5,-22,-1,-32,-2v-1,0,2,-8,3,-8r115,0v2,14,-25,4,-34,10r23,90r69,-80v8,-9,10,-12,2,-12r-23,0v-1,0,2,-8,3,-8r72,0","w":248},"Y":{"d":"289,-255v2,12,-20,7,-31,8v-34,36,-72,90,-105,130r-34,107v9,3,23,0,34,1v1,0,-1,9,-2,9r-121,0v-2,-15,26,-6,38,-10r34,-108r-30,-127v-8,-5,-25,-1,-36,-2v-1,0,2,-8,3,-8r128,0v1,0,-1,8,-2,8v-13,1,-31,-3,-41,2r28,115r80,-101v11,-14,12,-16,9,-16r-27,0v-1,0,1,-8,2,-8r73,0","w":239},"Z":{"d":"244,-255v1,0,0,5,-1,6r-189,240v75,7,123,-30,134,-73v0,-1,9,-1,9,0r-27,82r-178,0v-1,0,0,-4,1,-6r190,-239v-55,-13,-106,27,-119,76v0,1,-9,1,-9,0v10,-28,15,-61,28,-86r161,0","w":226},"[":{"d":"176,-256v-15,1,-32,-1,-45,1r-103,334r41,0v1,0,-1,8,-2,8r-87,-1r112,-351r86,0v1,0,-1,9,-2,9","w":118},"\\":{"d":"109,5v1,1,-7,4,-7,3r-115,-279v0,-1,8,-5,8,-4","w":128},"]":{"d":"133,-265r-111,352r-85,0v-1,0,1,-9,2,-9v14,-1,32,2,44,-1r105,-332v-10,-5,-30,0,-43,-2v-1,0,1,-8,2,-8r86,0","w":118},"^":{"d":"123,-188r-28,3v-6,-10,-11,-21,-15,-39v-13,13,-25,24,-42,39v-1,1,-9,-3,-8,-4v27,-23,49,-52,66,-69v1,0,9,1,9,2v3,21,10,50,18,68","w":117},"_":{"d":"175,0r-159,0v-1,0,-1,-9,0,-9r159,0v1,0,1,9,0,9","w":190},"`":{"d":"136,-187v1,1,-1,10,-2,10v-67,-16,-76,-51,-76,-65v0,-12,6,-20,17,-20v21,0,10,63,61,75","w":127},"a":{"d":"184,-158r-42,135v-1,5,0,10,7,10v12,0,23,-11,29,-23r9,3v-10,20,-33,36,-52,36v-21,0,-34,-13,-30,-31v-12,21,-25,31,-47,31v-35,0,-48,-30,-48,-58v0,-45,44,-101,99,-101v12,0,24,6,27,18r8,-15xm109,-148v-41,0,-58,84,-59,118v0,19,8,23,16,23v24,8,57,-80,66,-118v-1,-14,-10,-23,-23,-23","w":194},"b":{"d":"171,-103v0,56,-54,106,-104,106v-54,0,-65,-23,-49,-75r58,-182v-4,-3,-15,-1,-22,-2v-1,0,2,-8,3,-8v21,1,45,-3,64,0r-43,137v22,-46,93,-37,93,24xm68,-5v41,2,64,-76,64,-116v0,-20,-4,-24,-16,-24v-29,-7,-56,71,-67,106v-6,21,3,34,19,34"},"c":{"d":"98,-147v-38,3,-50,81,-50,117v0,19,5,25,20,25v25,0,43,-15,57,-34r7,5v-30,52,-122,50,-122,-23v0,-51,40,-100,89,-100v27,0,51,24,51,43v0,13,-9,19,-20,19v-40,-3,13,-56,-32,-52","w":155},"d":{"d":"217,-265v-20,79,-52,163,-76,243v-1,4,3,9,9,9v10,0,21,-9,29,-23r8,3v-13,25,-43,36,-56,36v-20,0,-33,-12,-29,-33v-8,15,-26,33,-47,33v-31,0,-45,-24,-45,-56v0,-47,46,-103,101,-103v12,0,24,5,27,15r35,-114r-21,0v-1,0,1,-8,2,-8xm109,-147v-41,0,-58,83,-59,117v0,19,4,23,13,23v29,3,60,-75,69,-116v3,-15,-7,-24,-23,-24","w":191},"e":{"d":"148,-121v1,29,-41,48,-93,47v-7,22,-17,69,13,69v24,0,38,-12,54,-29r5,6v-32,48,-118,39,-117,-29v0,-52,43,-100,91,-100v30,0,47,16,47,36xm113,-129v0,-14,-5,-18,-14,-18v-22,0,-32,29,-42,65v45,2,56,-20,56,-47","w":154},"f":{"d":"55,-157v15,-56,52,-110,100,-110v28,0,44,22,44,41v0,24,-40,28,-37,7v2,-17,15,-39,-9,-39v-14,0,-28,9,-49,75r-8,26r42,0v1,0,-2,9,-2,9r-42,0v-15,57,-32,129,-45,168v-18,54,-46,93,-90,93v-21,0,-43,-17,-43,-37v0,-26,36,-31,37,-8v-5,15,-15,35,8,36v18,0,27,-13,45,-70v16,-49,31,-127,46,-182r-37,0v-1,-15,26,-7,40,-9","w":115},"g":{"d":"16,55v1,20,-22,16,-22,31v0,10,8,19,29,19v27,0,42,-14,75,-118r5,-14v-12,21,-27,31,-45,31v-36,0,-48,-28,-48,-56v0,-48,44,-104,99,-104v13,0,25,7,30,15v5,-16,30,-12,46,-17r-50,158v-23,72,-65,114,-114,114v-27,0,-52,-22,-52,-48v0,-32,44,-41,47,-11xm111,-147v-43,9,-62,64,-62,117v0,19,5,24,14,24v27,10,60,-79,70,-119v0,-14,-9,-22,-22,-22","w":184},"h":{"d":"186,-33v-12,23,-33,36,-54,36v-66,0,-2,-81,-2,-122v0,-9,-2,-15,-11,-15v-18,0,-40,13,-55,61r-23,73r-41,0r80,-254v-5,-2,-15,0,-22,-1v-1,0,1,-9,2,-9r64,-1r-50,160v24,-43,46,-52,65,-52v67,0,1,110,0,130v0,8,3,14,11,14v11,0,19,-6,29,-23","w":192},"i":{"d":"110,-222v0,11,-9,21,-21,21v-13,0,-23,-10,-23,-21v0,-13,10,-22,23,-22v12,0,21,9,21,22xm103,-33v-10,21,-32,36,-55,36v-70,0,4,-98,3,-131v0,-10,-4,-13,-10,-13v-5,0,-15,10,-20,20r-9,-3v7,-33,78,-50,78,-4v0,36,-35,78,-35,101v0,8,3,14,11,14v11,0,19,-6,29,-23","w":109},"j":{"d":"110,-222v0,11,-9,21,-21,21v-13,0,-23,-10,-23,-21v0,-13,10,-22,23,-22v12,0,21,9,21,22xm82,-94v-24,66,-46,214,-118,206v-35,5,-58,-57,-20,-57v38,0,-8,49,22,49v11,0,14,-3,27,-46r57,-183v3,-10,0,-16,-7,-16v-8,0,-15,8,-20,19r-9,-3v8,-18,26,-32,46,-32v33,0,34,28,22,63","w":104},"k":{"d":"153,-157v32,0,36,49,6,49v-30,0,2,-26,-16,-31v-19,0,-21,27,-44,43v53,23,2,87,46,87v11,0,21,-8,21,-18v0,-14,-22,-11,-22,-28v0,-9,6,-18,18,-18v14,0,22,14,22,25v0,30,-19,51,-53,51v-70,0,-29,-90,-63,-89r-27,86r-41,0r80,-254v-5,-2,-15,0,-22,-1v-1,0,2,-9,2,-9r64,-1r-53,170v44,-2,41,-62,82,-62","w":191},"l":{"d":"127,-265r-74,238v-3,10,1,14,7,14v12,0,21,-10,28,-23r10,3v-13,23,-33,36,-56,36v-23,0,-34,-17,-24,-48r64,-210r-20,0v-1,0,2,-9,3,-9","w":109},"m":{"d":"283,-33v-12,23,-34,36,-55,36v-66,0,-3,-81,-3,-122v0,-9,-1,-15,-10,-15v-11,0,-35,13,-51,66r-21,68r-41,0r30,-98v7,-23,5,-36,-7,-36v-14,0,-24,11,-52,61r-22,73r-42,0r40,-124v3,-10,-1,-17,-8,-17v-8,0,-13,5,-20,20r-8,-3v8,-18,25,-33,46,-33v21,0,35,17,25,52v24,-43,43,-52,62,-52v22,0,39,18,30,52v21,-37,41,-52,59,-52v68,0,1,106,-1,130v0,8,4,14,12,14v11,0,19,-6,29,-23","w":288},"n":{"d":"197,-33v-12,23,-33,36,-54,36v-67,0,-3,-81,-3,-122v0,-9,-2,-15,-11,-15v-18,0,-40,14,-55,62r-23,72r-41,0r39,-124v3,-10,-1,-17,-8,-17v-8,0,-13,5,-20,20r-8,-3v8,-18,25,-33,46,-33v21,0,35,17,25,52v24,-43,46,-52,65,-52v67,0,1,110,0,130v0,8,3,14,11,14v11,0,19,-6,29,-23","w":202},"o":{"d":"158,-95v0,50,-43,98,-91,98v-32,0,-57,-24,-57,-60v0,-51,44,-100,92,-100v32,0,56,26,56,62xm67,-5v39,0,53,-80,53,-116v0,-17,-5,-26,-19,-26v-40,-1,-53,79,-53,115v0,18,4,27,19,27","w":175},"p":{"d":"182,-100v0,54,-75,133,-128,90r-38,120r-42,0r75,-235v3,-9,-1,-16,-8,-16v-8,0,-12,5,-20,19r-8,-3v8,-18,27,-32,46,-32v18,0,35,15,27,41v14,-23,30,-41,48,-41v35,0,48,29,48,57xm87,-6v40,-9,55,-83,55,-118v0,-19,-4,-22,-12,-22v-33,4,-60,80,-72,123v4,13,14,17,29,17","w":199},"q":{"d":"185,-158r-85,269r-41,0r44,-142v-16,53,-93,41,-93,-17v0,-51,42,-108,101,-108v10,0,23,6,26,18r8,-14xm109,-147v-45,0,-59,82,-59,117v0,18,6,23,16,23v28,0,57,-79,66,-116v0,-14,-10,-24,-23,-24"},"r":{"d":"133,-157v35,0,41,59,8,61v-32,2,-3,-34,-23,-40v-17,-5,-58,96,-67,136r-42,0r40,-124v3,-10,-1,-17,-8,-17v-8,0,-14,7,-20,20r-8,-3v13,-40,88,-51,72,15v15,-32,30,-48,48,-48","w":160},"s":{"d":"129,-124v0,25,-34,25,-33,6v6,-15,16,-29,-12,-30v-14,0,-22,7,-22,20v0,31,50,38,50,83v0,26,-24,48,-62,48v-27,0,-50,-12,-50,-36v0,-27,37,-31,36,-7v-5,20,-19,33,14,35v19,0,27,-10,27,-24v0,-36,-45,-40,-45,-77v0,-28,25,-51,54,-51v22,0,43,13,43,33","w":137},"t":{"d":"121,-157v1,13,-18,8,-30,9r-39,124v-2,6,1,11,7,11v11,0,19,-6,29,-23r8,3v-12,24,-30,36,-52,36v-22,0,-35,-20,-26,-50r32,-101r-26,0v-2,-12,17,-9,29,-9r15,-50r42,-2r-16,52r27,0","w":111},"u":{"d":"189,-156r-41,132v-3,8,1,11,9,11v11,0,18,-6,27,-23r8,3v-13,25,-32,36,-51,36v-20,0,-39,-16,-27,-52v-24,42,-44,52,-63,52v-69,-4,-4,-112,-2,-133v0,-8,-2,-11,-8,-11v-6,0,-14,7,-20,19r-8,-3v9,-35,73,-47,73,-4v0,30,-28,62,-28,94v0,9,2,16,11,16v17,0,40,-14,55,-62r23,-72","w":199},"v":{"d":"175,-127v0,65,-60,130,-105,130v-75,0,-29,-83,-23,-134v0,-8,-2,-10,-10,-10v-7,0,-15,10,-19,20r-9,-3v9,-36,75,-48,75,-1v0,34,-21,65,-21,91v0,18,5,24,18,24v26,0,57,-28,57,-68v1,-37,-16,-70,14,-79v16,0,23,14,23,30"},"w":{"d":"255,-126v0,65,-58,130,-103,130v-27,0,-51,-17,-45,-45v-10,22,-39,45,-58,45v-74,-1,-4,-115,-4,-134v0,-8,-2,-11,-8,-11v-6,0,-13,7,-19,19r-9,-3v10,-34,73,-46,73,-3v0,30,-27,64,-27,96v0,12,4,17,13,17v31,-1,61,-96,71,-138r42,-1r-34,114v-6,19,-4,30,14,30v27,0,57,-28,57,-67v0,-28,-3,-34,-3,-54v0,-13,5,-25,17,-25v16,0,23,14,23,30","w":265},"x":{"d":"161,-157v33,0,32,59,4,59v-17,0,-17,-15,-14,-28v0,-6,-1,-8,-7,-8v-12,0,-20,15,-35,47v10,58,29,98,56,48r9,3v-9,24,-25,39,-50,39v-21,0,-38,-18,-46,-54v-18,39,-37,54,-57,54v-15,0,-33,-11,-33,-30v0,-27,36,-40,40,-15v-4,12,-10,28,7,28v14,0,21,-11,39,-48v-1,-4,-1,-8,-2,-14v-10,-54,-13,-60,-25,-60v-7,0,-13,8,-18,18r-7,-7v25,-45,75,-48,84,23v18,-38,34,-55,55,-55","w":187},"y":{"d":"172,-157v20,0,9,22,-2,25v-32,9,-40,26,-80,123v-34,82,-52,122,-94,122v-21,0,-41,-16,-41,-37v0,-28,40,-31,38,-8v-1,14,-17,35,5,36v31,0,46,-31,73,-93v-10,-41,-18,-189,-60,-128r-6,-5v10,-20,27,-35,46,-35v34,-1,38,67,48,102v30,-71,50,-102,73,-102","w":168},"z":{"d":"156,-154r-110,112v28,-10,58,25,74,24v22,5,25,-28,10,-31v-7,3,-36,11,-34,-8v0,-11,7,-17,18,-17v21,0,35,18,35,35v0,28,-23,42,-49,42v-35,0,-73,-33,-97,1r-7,-7r110,-113v-18,10,-41,4,-65,-5v-5,8,-4,27,-17,21r24,-59v51,24,75,30,102,0","w":162},"{":{"d":"39,-86v-5,-18,26,-2,26,-28v0,-26,-14,-43,-14,-73v0,-50,44,-79,101,-78v1,1,0,12,-6,9v-62,-4,-48,88,-63,137v-4,11,-11,26,-27,28v8,3,10,10,10,19v0,29,-42,84,-42,126v-1,16,6,26,28,25v0,1,0,11,-5,8v-35,0,-61,-24,-61,-55v0,-50,69,-92,69,-113v0,-7,-10,-6,-16,-5","w":110},"|":{"d":"34,8v0,1,-8,1,-8,0r0,-280v0,-1,8,-1,8,0r0,280","w":58},"}":{"d":"68,-92v5,18,-26,2,-26,28v0,26,14,43,14,73v0,50,-44,79,-101,78v-1,-1,0,-12,6,-9v62,4,48,-88,63,-137v4,-11,11,-26,27,-28v-8,-3,-10,-10,-10,-19v0,-29,41,-84,41,-126v1,-16,-5,-26,-27,-25v0,-1,0,-11,5,-8v35,0,61,24,61,55v0,50,-69,92,-69,113v0,7,10,6,16,5","w":110},"~":{"d":"154,-150v0,23,-16,43,-45,43v-24,0,-45,-17,-61,-17v-16,0,-23,9,-23,21v0,1,-8,1,-8,0v0,-23,16,-44,45,-44v24,0,45,18,61,18v16,0,22,-9,22,-21v0,-1,9,-1,9,0","w":156},"\u00a0":{"w":72}}});
;
$(document).ready(function(){
	
	$('#topnav-mbo-partners a').addClass('active');
	
	//blog page height fix
	$('#view','div.blog').height() > $('div.blog #callout').height() ? $('div.blog #callout').height($('#view','div.blog').outerHeight(true)) : $('#view','div.blog').height($('div.blog #callout').outerHeight(true)) ;
	$('#view','div.press').height() > $('div.press #callout').height() ? $('div.press #callout').height($('#view','div.press').height()) : $('#view','div.press').height($('div.press #callout').height()-1);
	$('.node-type-press-releases #native-content').height() > $('div.press #callout').height() ? $('div.press #callout').height($('.node-type-press-releases #native-content').height()-26) : $('.node-type-press-releases #native-content').height($('div.press #callout').height());
	
	//blog 
	$('.box .comment-form','.blog').append('<div class="col1"></div><div class="col2"></div>');
	$('.col1','.comment-form').append($('#edit-name-wrapper, #edit-mail-wrapper, #edit-homepage-wrapper','.box'));
	$('.col2','.comment-form').append($('#edit-comment-wrapper, .comment-form p, .comment-form ul, .captcha, #edit-submit','.box'));
	$('#edit-preview','.comment-form').hide();
	$('#comments').prepend($('.box','.blog'));
	
	// Main nav highlight
	if( window.location.href.search( 'news-events' ) != -1)
	{
		highlightNav('#block-menu-primary-links','news_-amp-_events');
	}
	if( window.location.href.search( 'news-events/news' ) != -1)
	{
		highlightNav('#block-block-6','news');
	}
	if( window.location.href.search( 'news-events/events' ) != -1)
	{
		highlightNav('#block-block-6','events');
	}
	
	
	// Homepage
	if($('body.home #view-control').length){
		
	} else {
		$('#view-control .linear-view, #view-control .grid-view').removeClass('active').addClass('disabled');
	}	
	
	// Widget nav scrolling
	var sections = $('ul.section').size();
	var sectionHeight = 0;
	var wrapperHeight = 300;
	$('.section').each(function(){
		sectionHeight = $(this).outerHeight(true)*sections;
	});
	
	//alert(sectionHeight+' '+wrapperHeight + ' ' + sections);
	if(sectionHeight > wrapperHeight){
		$('.widget-nav-wrapper').append('<a href="javascript:;" id="nav-up" class="inactive">Up</a><a href="javascript:;" id="nav-down">Down</a>');
	}
	
	$('.widget-nav-wrapper').height(wrapperHeight);
	
	var speed = 1000;
	var inmotion = false;
	var newspeed = 0;
	var sectop;
	
	if($('#nav-down').length){
		$('#nav-down').hover(function(){
			$('.widget-nav-wrapper .section-wrapper').stop().animate({'marginTop': (wrapperHeight-sectionHeight)+2+'px'}, 1000, 
			function(){ 
				$('#nav-down').addClass('inactive');
					inmotion = false;
					speed = 1000;
			});
			inmotion = true;
			$('#nav-up').removeClass('inactive');
			
		}, function(){
			$('.widget-nav-wrapper .section-wrapper').stop();
			sectop = $('.section-wrapper').css('margin-top').replace('px', '');
			if(inmotion == true){
				newspeed = Math.floor((-sectop/(-(wrapperHeight-sectionHeight)))*speed);
				speed = speed-newspeed;
			}
		});
	}
	if($('#nav-up').length){
		$('#nav-up').hover(function(){
			$('.widget-nav-wrapper .section-wrapper').stop().animate({'marginTop': '0'}, 1000, 
			function(){ 
				$('#nav-up').addClass('inactive');
					inmotion = false;
					speed = 1000;
			 });
			 inmotion = true;
			 $('#nav-down').removeClass('inactive');
			 
		}, function(){
			$('.widget-nav-wrapper .section-wrapper').stop();
			sectop = $('.section-wrapper').css('margin-top').replace('px', '');
			if(inmotion == true){
				newspeed = Math.floor((wrapperHeight-sectionHeight)-(-sectop))/(wrapperHeight-sectionHeight)*speed;
				speed = newspeed;
			}
		});
	}
	
	$('#topnav-mbo-lets-talk').click(function(){
		$('.lets-talk').modal({onShow: function() { Cufon.refresh(); }, onClose: function(){ if($('.home').length) { removeFilter(); } $.modal.close(); }});
	});
	$('#mktForm_4').validate();
		
	
	//
	Cufon.replace('a.primary-link', { fontFamily: 'Avenir', hover:true  });
	Cufon.replace('#tertiary-nav ul li', { fontFamily: 'Avenir', hover:true  });
	Cufon.replace('.ave', { fontFamily: 'Avenir', hover:true  });
	Cufon.replace('#subheader h3', { fontFamily: 'Avenir', hover:true  });
	Cufon.replace('#columns h3', { fontFamily: 'Avenir', hover:true  });
	Cufon.replace('#left-nav li', { fontFamily: 'Avenir', hover:true  });
	Cufon.replace('#search-content-area #col2 h2', { fontFamily: 'Avenir', hover:true  });
	Cufon.replace('#callout h3.title', { fontFamily: 'Avenir', hover:true  });
	Cufon.replace('.front .featured-event h3', { fontFamily: 'Avenir', hover:true  });
		
	//h1, .didot, .blog .featured-event h3, #mission p
	Cufon.replace( 'h1', { fontFamily: 'DidotBoldItal' });
	Cufon.replace( '.didot', { fontFamily: 'DidotBoldItal' });
	Cufon.replace( '.blog .featured-event h3', { fontFamily: 'DidotBoldItal' });
	Cufon.replace( '#mission p', { fontFamily: 'DidotBoldItal' });

	// Work around Internet Explorer rendering delay
	Cufon.now();
	
	
	//add commas to terms
	$('.terms li:not(.last)').append(',');
	
	
});
// Nav highlight
function highlightNav(nav, li){
	if(nav == '#block-menu-primary-links'){
		$( nav+' li.'+li ).addClass( 'active-trail' );
		$(nav+' li.'+li+' a').addClass('active');
	} else {
		$(nav+' li').removeClass('active');
		$(nav+' li.'+li).addClass('active');
	}
	Cufon.refresh();
}

function closeOverlay(overlay){
	$('.modalCloseImg.simplemodal-close').trigger('click');
	setTimeout(function(){if(overlay == "letstalk") $('.lets-talk').modal();} , 200);
}

function showFeedback(on){
	if(on == true) {
		$('#overlay .feedback').show();
		$('#overlay #webform-client-form-40').validate();
		$('#webform-client-form-40 #edit-submitted-subject').val($('.feedback .content p span').text()+' Widget Feedback');
	} else { 
		$('#overlay .feedback').hide(); 
	}
}
;

