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

;(function($){var _remove=$.fn.remove,isFF2=$.browser.mozilla&&(parseFloat($.browser.version)<1.9);$.ui={version:"1.6rc4",plugin:{add:function(module,option,set){var proto=$.ui[module].prototype;for(var i in set){proto.plugins[i]=proto.plugins[i]||[];proto.plugins[i].push([option,set[i]]);}},call:function(instance,name,args){var set=instance.plugins[name];if(!set){return;}
for(var i=0;i<set.length;i++){if(instance.options[set[i][0]]){set[i][1].apply(instance.element,args);}}}},contains:function(a,b){var safari2=$.browser.safari&&$.browser.version<522;if(a.contains&&!safari2){return a.contains(b);}
if(a.compareDocumentPosition)
return!!(a.compareDocumentPosition(b)&16);while(b=b.parentNode)
if(b==a)return true;return false;},cssCache:{},css:function(name){if($.ui.cssCache[name]){return $.ui.cssCache[name];}
var tmp=$('<div class="ui-gen">').addClass(name).css({position:'absolute',top:'-5000px',left:'-5000px',display:'block'}).appendTo('body');$.ui.cssCache[name]=!!((!(/auto|default/).test(tmp.css('cursor'))||(/^[1-9]/).test(tmp.css('height'))||(/^[1-9]/).test(tmp.css('width'))||!(/none/).test(tmp.css('backgroundImage'))||!(/transparent|rgba\(0, 0, 0, 0\)/).test(tmp.css('backgroundColor'))));try{$('body').get(0).removeChild(tmp.get(0));}catch(e){}
return $.ui.cssCache[name];},hasScroll:function(el,a){if($(el).css('overflow')=='hidden'){return false;}
var scroll=(a&&a=='left')?'scrollLeft':'scrollTop',has=false;if(el[scroll]>0){return true;}
el[scroll]=1;has=(el[scroll]>0);el[scroll]=0;return has;},isOverAxis:function(x,reference,size){return(x>reference)&&(x<(reference+size));},isOver:function(y,x,top,left,height,width){return $.ui.isOverAxis(y,top,height)&&$.ui.isOverAxis(x,left,width);},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(isFF2){var attr=$.attr,removeAttr=$.fn.removeAttr,ariaNS="http://www.w3.org/2005/07/aaa",ariaState=/^aria-/,ariaRole=/^wairole:/;$.attr=function(elem,name,value){var set=value!==undefined;return(name=='role'?(set?attr.call(this,elem,name,"wairole:"+value):(attr.apply(this,arguments)||"").replace(ariaRole,"")):(ariaState.test(name)?(set?elem.setAttributeNS(ariaNS,name.replace(ariaState,"aaa:"),value):attr.call(this,elem,name.replace(ariaState,"aaa:"))):attr.apply(this,arguments)));};$.fn.removeAttr=function(name){return(ariaState.test(name)?this.each(function(){this.removeAttributeNS(ariaNS,name.replace(ariaState,""));}):removeAttr.call(this,name));};}
$.fn.extend({remove:function(){$("*",this).add(this).each(function(){$(this).triggerHandler("remove");});return _remove.apply(this,arguments);},enableSelection:function(){return this.attr('unselectable','off').css('MozUserSelect','').unbind('selectstart.ui');},disableSelection:function(){return this.attr('unselectable','on').css('MozUserSelect','none').bind('selectstart.ui',function(){return false;});},scrollParent:function(){var scrollParent;if(($.browser.msie&&(/(static|relative)/).test(this.css('position')))||(/absolute/).test(this.css('position'))){scrollParent=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test($.curCSS(this,'position',1))&&(/(auto|scroll)/).test($.curCSS(this,'overflow',1)+$.curCSS(this,'overflow-y',1)+$.curCSS(this,'overflow-x',1));}).eq(0);}else{scrollParent=this.parents().filter(function(){return(/(auto|scroll)/).test($.curCSS(this,'overflow',1)+$.curCSS(this,'overflow-y',1)+$.curCSS(this,'overflow-x',1));}).eq(0);}
return(/fixed/).test(this.css('position'))||!scrollParent.length?$(document):scrollParent;}});$.extend($.expr[':'],{data:function(a,i,m){return!!$.data(a,m[3]);},tabbable:function(a,i,m){var nodeName=a.nodeName.toLowerCase();function isVisible(element){return!($(element).is(':hidden')||$(element).parents(':hidden').length);}
return(a.tabIndex>=0&&(('a'==nodeName&&a.href)||(/input|select|textarea|button/.test(nodeName)&&'hidden'!=a.type&&!a.disabled))&&isVisible(a));}});function getter(namespace,plugin,method,args){function getMethods(type){var methods=$[namespace][plugin][type]||[];return(typeof methods=='string'?methods.split(/,?\s+/):methods);}
var methods=getMethods('getter');if(args.length==1&&typeof args[0]=='string'){methods=methods.concat(getMethods('getterSetter'));}
return($.inArray(method,methods)!=-1);}
$.widget=function(name,prototype){var namespace=name.split(".")[0];name=name.split(".")[1];$.fn[name]=function(options){var isMethodCall=(typeof options=='string'),args=Array.prototype.slice.call(arguments,1);if(isMethodCall&&options.substring(0,1)=='_'){return this;}
if(isMethodCall&&getter(namespace,name,options,args)){var instance=$.data(this[0],name);return(instance?instance[options].apply(instance,args):undefined);}
return this.each(function(){var instance=$.data(this,name);(!instance&&!isMethodCall&&$.data(this,name,new $[namespace][name](this,options)));(instance&&isMethodCall&&$.isFunction(instance[options])&&instance[options].apply(instance,args));});};$[namespace]=$[namespace]||{};$[namespace][name]=function(element,options){var self=this;this.namespace=namespace;this.widgetName=name;this.widgetEventPrefix=$[namespace][name].eventPrefix||name;this.widgetBaseClass=namespace+'-'+name;this.options=$.extend({},$.widget.defaults,$[namespace][name].defaults,$.metadata&&$.metadata.get(element)[name],options);this.element=$(element).bind('setData.'+name,function(event,key,value){if(event.target==element){return self._setData(key,value);}}).bind('getData.'+name,function(event,key){if(event.target==element){return self._getData(key);}}).bind('remove',function(){return self.destroy();});this._init();};$[namespace][name].prototype=$.extend({},$.widget.prototype,prototype);$[namespace][name].getterSetter='option';};$.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+'-disabled'+' '+this.namespace+'-state-disabled').removeAttr('aria-disabled');},option:function(key,value){var options=key,self=this;if(typeof key=="string"){if(value===undefined){return this._getData(key);}
options={};options[key]=value;}
$.each(options,function(key,value){self._setData(key,value);});},_getData:function(key){return this.options[key];},_setData:function(key,value){this.options[key]=value;if(key=='disabled'){this.element
[value?'addClass':'removeClass'](this.widgetBaseClass+'-disabled'+' '+
this.namespace+'-state-disabled').attr("aria-disabled",value);}},enable:function(){this._setData('disabled',false);},disable:function(){this._setData('disabled',true);},_trigger:function(type,event,data){var eventName=(type==this.widgetEventPrefix?type:this.widgetEventPrefix+type);event=event||$.event.fix({type:eventName,target:this.element[0]});return this.element.triggerHandler(eventName,[event,data],this.options[type]);}};$.widget.defaults={disabled:false};$.ui.mouse={_mouseInit:function(){var self=this;this.element.bind('mousedown.'+this.widgetName,function(event){return self._mouseDown(event);}).bind('click.'+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false;return false;}});if($.browser.msie){this._mouseUnselectable=this.element.attr('unselectable');this.element.attr('unselectable','on');}
this.started=false;},_mouseDestroy:function(){this.element.unbind('.'+this.widgetName);($.browser.msie&&this.element.attr('unselectable',this._mouseUnselectable));},_mouseDown:function(event){(this._mouseStarted&&this._mouseUp(event));this._mouseDownEvent=event;var self=this,btnIsLeft=(event.which==1),elIsCancel=(typeof this.options.cancel=="string"?$(event.target).parents().add(event.target).filter(this.options.cancel).length:false);if(!btnIsLeft||elIsCancel||!this._mouseCapture(event)){return true;}
this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){self.mouseDelayMet=true;},this.options.delay);}
if(this._mouseDistanceMet(event)&&this._mouseDelayMet(event)){this._mouseStarted=(this._mouseStart(event)!==false);if(!this._mouseStarted){event.preventDefault();return true;}}
this._mouseMoveDelegate=function(event){return self._mouseMove(event);};this._mouseUpDelegate=function(event){return self._mouseUp(event);};$(document).bind('mousemove.'+this.widgetName,this._mouseMoveDelegate).bind('mouseup.'+this.widgetName,this._mouseUpDelegate);if(!$.browser.safari)event.preventDefault();return true;},_mouseMove:function(event){if($.browser.msie&&!event.button){return this._mouseUp(event);}
if(this._mouseStarted){this._mouseDrag(event);return event.preventDefault();}
if(this._mouseDistanceMet(event)&&this._mouseDelayMet(event)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,event)!==false);(this._mouseStarted?this._mouseDrag(event):this._mouseUp(event));}
return!this._mouseStarted;},_mouseUp:function(event){$(document).unbind('mousemove.'+this.widgetName,this._mouseMoveDelegate).unbind('mouseup.'+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=true;this._mouseStop(event);}
return false;},_mouseDistanceMet:function(event){return(Math.max(Math.abs(this._mouseDownEvent.pageX-event.pageX),Math.abs(this._mouseDownEvent.pageY-event.pageY))>=this.options.distance);},_mouseDelayMet:function(event){return this.mouseDelayMet;},_mouseStart:function(event){},_mouseDrag:function(event){},_mouseStop:function(event){},_mouseCapture:function(event){return true;}};$.ui.mouse.defaults={cancel:null,distance:1,delay:0};})(jQuery);(function($){$.widget("ui.accordion",{_init:function(){var options=this.options;if(options.navigation){var current=this.element.find("a").filter(options.navigationFilter);if(current.length){if(current.filter(options.header).length){options.active=current;}else{options.active=current.parent().parent().prev();current.addClass("current");}}}
this.element.addClass("ui-accordion ui-widget ui-helper-reset");var groups=this.element.children().addClass("ui-accordion-group");var headers=options.headers=groups.find("> :first-child").addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all").bind("mouseenter.accordion",function(){$(this).addClass('ui-state-hover');}).bind("mouseleave.accordion",function(){$(this).removeClass('ui-state-hover');});headers.next().wrap("<div></div>").addClass("ui-accordion-content").parent().addClass("ui-accordion-content-wrap ui-helper-reset ui-widget-content ui-corner-bottom");var active=options.active=findActive(headers,options.active).toggleClass("ui-state-default").toggleClass("ui-state-active").toggleClass("ui-corner-all").toggleClass("ui-corner-top");active.parent().addClass("selected");$("<span/>").addClass("ui-icon "+this.options.icons.header).prependTo(headers);active.find(".ui-icon").toggleClass(this.options.icons.header).toggleClass(this.options.icons.headerSelected);if($.browser.msie){this.element.find('a').css('zoom','1');}
this.resize();this.element.attr('role','tablist');var self=this;options.headers.attr('role','tab').bind('keydown',function(event){return self._keydown(event);}).next().attr('role','tabpanel');options.headers.not(options.active||"").attr('aria-expanded','false').attr("tabIndex","-1").next().hide();if(!options.active.length){options.headers.eq(0).attr('tabIndex','0');}else{options.active.attr('aria-expanded','true').attr("tabIndex","0");}
if(!$.browser.safari)
options.headers.find('a').attr('tabIndex','-1');if(options.event){this.element.bind((options.event)+".accordion",clickHandler);}},destroy:function(){this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role").unbind(".accordion");$.removeData(this.element[0],"accordion");var groups=this.element.children().removeClass("ui-accordion-group selected");var headers=this.options.headers.unbind(".accordion").removeClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("tabindex");headers.find("a").removeAttr("tabindex");headers.children(".ui-icon").remove();headers.next().children().removeClass("ui-accordion-content").each(function(){$(this).parent().replaceWith(this);})},_keydown:function(event){if(this.options.disabled||event.altKey||event.ctrlKey)
return;var keyCode=$.ui.keyCode;var length=this.options.headers.length;var currentIndex=this.options.headers.index(event.target);var toFocus=false;switch(event.keyCode){case keyCode.RIGHT:case keyCode.DOWN:toFocus=this.options.headers[(currentIndex+1)%length];break;case keyCode.LEFT:case keyCode.UP:toFocus=this.options.headers[(currentIndex-1+length)%length];break;case keyCode.SPACE:case keyCode.ENTER:return clickHandler.call(this.element[0],{target:event.target});}
if(toFocus){$(event.target).attr('tabIndex','-1');$(toFocus).attr('tabIndex','0');toFocus.focus();return false;}
return true;},resize:function(){var options=this.options,maxHeight;if(options.fillSpace){maxHeight=this.element.parent().height();options.headers.each(function(){maxHeight-=$(this).outerHeight();});var maxPadding=0;options.headers.next().each(function(){maxPadding=Math.max(maxPadding,$(this).innerHeight()-$(this).height());}).height(maxHeight-maxPadding).css('overflow','auto');}else if(options.autoHeight){maxHeight=0;options.headers.next().each(function(){maxHeight=Math.max(maxHeight,$(this).outerHeight());}).height(maxHeight);}},activate:function(index){clickHandler.call(this.element[0],{target:findActive(this.options.headers,index)[0]});}});function scopeCallback(callback,scope){return function(){return callback.apply(scope,arguments);};};function completed(cancel){if(!$.data(this,"accordion")){return;}
var instance=$.data(this,"accordion");var options=instance.options;options.running=cancel?0:--options.running;if(options.running){return;}
if(options.clearStyle){options.toShow.add(options.toHide).css({height:"",overflow:""});}
instance._trigger('change',null,options.data);}
function toggle(toShow,toHide,data,clickedActive,down){var options=$.data(this,"accordion").options;options.toShow=toShow;options.toHide=toHide;options.data=data;var complete=scopeCallback(completed,this);$.data(this,"accordion")._trigger("changestart",null,options.data);options.running=toHide.size()===0?toShow.size():toHide.size();if(options.animated){var animOptions={};if(!options.alwaysOpen&&clickedActive){animOptions={toShow:$([]),toHide:toHide,complete:complete,down:down,autoHeight:options.autoHeight||options.fillSpace};}else{animOptions={toShow:toShow,toHide:toHide,complete:complete,down:down,autoHeight:options.autoHeight||options.fillSpace};}
if(!options.proxied){options.proxied=options.animated;}
if(!options.proxiedDuration){options.proxiedDuration=options.duration;}
options.animated=$.isFunction(options.proxied)?options.proxied(animOptions):options.proxied;options.duration=$.isFunction(options.proxiedDuration)?options.proxiedDuration(animOptions):options.proxiedDuration;var animations=$.ui.accordion.animations,duration=options.duration,easing=options.animated;if(!animations[easing]){animations[easing]=function(options){this.slide(options,{easing:easing,duration:duration||700});};}
animations[easing](animOptions);}else{if(!options.alwaysOpen&&clickedActive){toShow.toggle();}else{toHide.hide();toShow.show();}
complete(true);}
toHide.prev().attr('aria-expanded','false').attr("tabIndex","-1");toShow.prev().attr('aria-expanded','true').attr("tabIndex","0").focus();;}
function clickHandler(event){var options=$.data(this,"accordion").options;if(options.disabled){return false;}
if(!event.target&&!options.alwaysOpen){options.active.parent().toggleClass(options.selectedClass);var toHide=options.active.next(),data={options:options,newHeader:$([]),oldHeader:options.active,newContent:$([]),oldContent:toHide},toShow=(options.active=$([]));toggle.call(this,toShow,toHide,data);return false;}
var clicked=$(event.target);clicked=$(clicked.parents(options.header)[0]||clicked);var clickedActive=clicked[0]==options.active[0];if(options.running||(options.alwaysOpen&&clickedActive)){return false;}
if(!clicked.is(options.header)){return;}
options.active.parent().toggleClass(options.selectedClass);options.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").find(".ui-icon").removeClass(options.icons.headerSelected).addClass(options.icons.header);if(!clickedActive){clicked.parent().addClass(options.selectedClass);clicked.removeClass("ui-state-default ui-corner-all").addClass("ui-state-active ui-corner-top").find(".ui-icon").removeClass(options.icons.header).addClass(options.icons.headerSelected);}
var toShow=clicked.next(),toHide=options.active.next(),data={options:options,newHeader:clickedActive&&!options.alwaysOpen?$([]):clicked,oldHeader:options.active,newContent:clickedActive&&!options.alwaysOpen?$([]):toShow,oldContent:toHide},down=options.headers.index(options.active[0])>options.headers.index(clicked[0]);options.active=clickedActive?$([]):clicked;toggle.call(this,toShow,toHide,data,clickedActive,down);return false;};function findActive(headers,selector){return selector?typeof selector=="number"?headers.filter(":eq("+selector+")"):headers.not(headers.not(selector)):selector===false?$([]):headers.filter(":eq(0)");}
$.extend($.ui.accordion,{version:"1.6rc4",defaults:{autoHeight:true,alwaysOpen:true,animated:'slide',event:"click",header:"a",icons:{header:"ui-icon-triangle-1-e",headerSelected:"ui-icon-triangle-1-s"},navigationFilter:function(){return this.href.toLowerCase()==location.href.toLowerCase();},running:0,selectedClass:"selected"},animations:{slide:function(options,additions){options=$.extend({easing:"swing",duration:300},options,additions);if(!options.toHide.size()){options.toShow.animate({height:"show"},options);return;}
var hideHeight=options.toHide.height(),showHeight=options.toShow.height(),difference=showHeight/hideHeight,overflow=options.toShow.css('overflow');options.toShow.css({height:0,overflow:'hidden'}).show();options.toHide.filter(":hidden").each(options.complete).end().filter(":visible").animate({height:"hide"},{step:function(now){var current=(hideHeight-now)*difference;if($.browser.msie||$.browser.opera){current=Math.ceil(current);}
options.toShow.height(current);},duration:options.duration,easing:options.easing,complete:function(){if(!options.autoHeight){options.toShow.css("height","auto");}
options.toShow.css({overflow:overflow});options.complete();}});},bounceslide:function(options){this.slide(options,{easing:options.down?"easeOutBounce":"swing",duration:options.down?1000:200});},easeslide:function(options){this.slide(options,{easing:"easeinout",duration:700});}}});})(jQuery);(function($){$.extend($.ui,{datepicker:{version:"1.6rc4"}});var PROP_NAME='datepicker';function Datepicker(){this.debug=false;this._curInst=null;this._keyEvent=false;this._disabledInputs=[];this._datepickerShowing=false;this._inDialog=false;this._mainDivId='ui-datepicker-div';this._inlineClass='ui-datepicker-inline';this._appendClass='ui-datepicker-append';this._triggerClass='ui-datepicker-trigger';this._dialogClass='ui-datepicker-dialog';this._disableClass='ui-datepicker-disabled';this._unselectableClass='ui-datepicker-unselectable';this._currentClass='ui-datepicker-current-day';this._dayOverClass='ui-datepicker-days-cell-over';this.regional=[];this.regional['']={clearText:'Clear',closeText:'Done',prevText:'Prev',prevBigText:'&#x3c;&#x3c;',nextText:'Next',nextBigText:'&#x3e;&#x3e;',currentText:'Today',monthNames:['January','February','March','April','May','June','July','August','September','October','November','December'],monthNamesShort:['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],dayNames:['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],dayNamesShort:['Sun','Mon','Tue','Wed','Thu','Fri','Sat'],dayNamesMin:['Su','Mo','Tu','We','Th','Fr','Sa'],dateFormat:'mm/dd/yy',firstDay:0,isRTL:false};this._defaults={showOn:'focus',showAnim:'show',showOptions:{},defaultDate:null,appendText:'',buttonText:'...',buttonImage:'',buttonImageOnly:false,hideIfNoPrevNext:false,navigationAsDateFormat:false,gotoCurrent:false,changeMonth:false,changeYear:false,showMonthAfterYear:false,yearRange:'-10:+10',showOtherMonths:false,calculateWeek:this.iso8601Week,shortYearCutoff:'+10',minDate:null,maxDate:null,duration:'normal',beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:'',altFormat:'',constrainInput:true,showButtonPanel:false};$.extend(this._defaults,this.regional['']);this.dpDiv=$('<div id="'+this._mainDivId+'" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all ui-helper-hidden-accessible"></div>');}
$.extend(Datepicker.prototype,{markerClassName:'hasDatepicker',log:function(){if(this.debug)
console.log.apply('',arguments);},setDefaults:function(settings){extendRemove(this._defaults,settings||{});return this;},_attachDatepicker:function(target,settings){var inlineSettings=null;for(var attrName in this._defaults){var attrValue=target.getAttribute('date:'+attrName);if(attrValue){inlineSettings=inlineSettings||{};try{inlineSettings[attrName]=eval(attrValue);}catch(err){inlineSettings[attrName]=attrValue;}}}
var nodeName=target.nodeName.toLowerCase();var inline=(nodeName=='div'||nodeName=='span');if(!target.id)
target.id='dp'+(++this.uuid);var inst=this._newInst($(target),inline);inst.settings=$.extend({},settings||{},inlineSettings||{});if(nodeName=='input'){this._connectDatepicker(target,inst);}else if(inline){this._inlineDatepicker(target,inst);}},_newInst:function(target,inline){var id=target[0].id.replace(/([:\[\]\.])/g,'\\\\$1');return{id:id,input:target,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:inline,dpDiv:(!inline?this.dpDiv:$('<div class="'+this._inlineClass+' ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>'))};},_connectDatepicker:function(target,inst){var input=$(target);if(input.hasClass(this.markerClassName))
return;var appendText=this._get(inst,'appendText');var isRTL=this._get(inst,'isRTL');if(appendText)
input[isRTL?'before':'after']('<span class="'+this._appendClass+'">'+appendText+'</span>');var showOn=this._get(inst,'showOn');if(showOn=='focus'||showOn=='both')
input.focus(this._showDatepicker);if(showOn=='button'||showOn=='both'){var buttonText=this._get(inst,'buttonText');var buttonImage=this._get(inst,'buttonImage');var trigger=$(this._get(inst,'buttonImageOnly')?$('<img/>').addClass(this._triggerClass).attr({src:buttonImage,alt:buttonText,title:buttonText}):$('<button type="button"></button>').addClass(this._triggerClass).html(buttonImage==''?buttonText:$('<img/>').attr({src:buttonImage,alt:buttonText,title:buttonText})));input[isRTL?'before':'after'](trigger);trigger.click(function(){if($.datepicker._datepickerShowing&&$.datepicker._lastInput==target)
$.datepicker._hideDatepicker();else
$.datepicker._showDatepicker(target);return false;});}
input.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).bind("setData.datepicker",function(event,key,value){inst.settings[key]=value;}).bind("getData.datepicker",function(event,key){return this._get(inst,key);});$.data(target,PROP_NAME,inst);},_inlineDatepicker:function(target,inst){var divSpan=$(target);if(divSpan.hasClass(this.markerClassName))
return;divSpan.addClass(this.markerClassName).append(inst.dpDiv).bind("setData.datepicker",function(event,key,value){inst.settings[key]=value;}).bind("getData.datepicker",function(event,key){return this._get(inst,key);});$.data(target,PROP_NAME,inst);this._setDate(inst,this._getDefaultDate(inst));this._updateDatepicker(inst);this._updateAlternate(inst);},_dialogDatepicker:function(input,dateText,onSelect,settings,pos){var inst=this._dialogInst;if(!inst){var id='dp'+(++this.uuid);this._dialogInput=$('<input type="text" id="'+id+'" size="1" style="position: absolute; top: -100px;"/>');this._dialogInput.keydown(this._doKeyDown);$('body').append(this._dialogInput);inst=this._dialogInst=this._newInst(this._dialogInput,false);inst.settings={};$.data(this._dialogInput[0],PROP_NAME,inst);}
extendRemove(inst.settings,settings||{});this._dialogInput.val(dateText);this._pos=(pos?(pos.length?pos:[pos.pageX,pos.pageY]):null);if(!this._pos){var browserWidth=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;var browserHeight=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;var scrollX=document.documentElement.scrollLeft||document.body.scrollLeft;var scrollY=document.documentElement.scrollTop||document.body.scrollTop;this._pos=[(browserWidth/2)-100+scrollX,(browserHeight/2)-150+scrollY];}
this._dialogInput.css('left',this._pos[0]+'px').css('top',this._pos[1]+'px');inst.settings.onSelect=onSelect;this._inDialog=true;this.dpDiv.addClass(this._dialogClass);this._showDatepicker(this._dialogInput[0]);if($.blockUI)
$.blockUI(this.dpDiv);$.data(this._dialogInput[0],PROP_NAME,inst);return this;},_destroyDatepicker:function(target){var $target=$(target);if(!$target.hasClass(this.markerClassName)){return;}
var nodeName=target.nodeName.toLowerCase();$.removeData(target,PROP_NAME);if(nodeName=='input'){$target.siblings('.'+this._appendClass).remove().end().siblings('.'+this._triggerClass).remove().end().removeClass(this.markerClassName).unbind('focus',this._showDatepicker).unbind('keydown',this._doKeyDown).unbind('keypress',this._doKeyPress);}else if(nodeName=='div'||nodeName=='span')
$target.removeClass(this.markerClassName).empty();},_enableDatepicker:function(target){var $target=$(target);if(!$target.hasClass(this.markerClassName)){return;}
var nodeName=target.nodeName.toLowerCase();if(nodeName=='input'){target.disabled=false;$target.siblings('button.'+this._triggerClass).each(function(){this.disabled=false;}).end().siblings('img.'+this._triggerClass).css({opacity:'1.0',cursor:''});}
else if(nodeName=='div'||nodeName=='span'){var inline=$target.children('.'+this._inlineClass);inline.children().removeClass('ui-state-disabled');}
this._disabledInputs=$.map(this._disabledInputs,function(value){return(value==target?null:value);});},_disableDatepicker:function(target){var $target=$(target);if(!$target.hasClass(this.markerClassName)){return;}
var nodeName=target.nodeName.toLowerCase();if(nodeName=='input'){target.disabled=true;$target.siblings('button.'+this._triggerClass).each(function(){this.disabled=true;}).end().siblings('img.'+this._triggerClass).css({opacity:'0.5',cursor:'default'});}
else if(nodeName=='div'||nodeName=='span'){var inline=$target.children('.'+this._inlineClass);inline.children().addClass('ui-state-disabled');}
this._disabledInputs=$.map(this._disabledInputs,function(value){return(value==target?null:value);});this._disabledInputs[this._disabledInputs.length]=target;},_isDisabledDatepicker:function(target){if(!target){return false;}
for(var i=0;i<this._disabledInputs.length;i++){if(this._disabledInputs[i]==target)
return true;}
return false;},_getInst:function(target){try{return $.data(target,PROP_NAME);}
catch(err){throw'Missing instance data for this datepicker';}},_optionDatepicker:function(target,name,value){var settings=name||{};if(typeof name=='string'){settings={};settings[name]=value;}
var inst=this._getInst(target);if(inst){if(this._curInst==inst){this._hideDatepicker(null);}
extendRemove(inst.settings,settings);var date=new Date();extendRemove(inst,{rangeStart:null,endDay:null,endMonth:null,endYear:null,selectedDay:date.getDate(),selectedMonth:date.getMonth(),selectedYear:date.getFullYear(),currentDay:date.getDate(),currentMonth:date.getMonth(),currentYear:date.getFullYear(),drawMonth:date.getMonth(),drawYear:date.getFullYear()});this._updateDatepicker(inst);}},_changeDatepicker:function(target,name,value){this._optionDatepicker(target,name,value);},_refreshDatepicker:function(target){var inst=this._getInst(target);if(inst){this._updateDatepicker(inst);}},_setDateDatepicker:function(target,date,endDate){var inst=this._getInst(target);if(inst){this._setDate(inst,date,endDate);this._updateDatepicker(inst);this._updateAlternate(inst);}},_getDateDatepicker:function(target){var inst=this._getInst(target);if(inst&&!inst.inline)
this._setDateFromField(inst);return(inst?this._getDate(inst):null);},_doKeyDown:function(event){var inst=$.datepicker._getInst(event.target);var handled=true;var isRTL=inst.dpDiv.is('.ui-datepicker-rtl');inst._keyEvent=true;if($.datepicker._datepickerShowing)
switch(event.keyCode){case 9:$.datepicker._hideDatepicker(null,'');break;case 13:var sel=$('td.'+$.datepicker._dayOverClass+', td.'+$.datepicker._currentClass,inst.dpDiv);if(sel[0])
$.datepicker._selectDay(event.target,inst.selectedMonth,inst.selectedYear,sel[0]);else
$.datepicker._hideDatepicker(null,$.datepicker._get(inst,'duration'));return false;break;case 27:$.datepicker._hideDatepicker(null,$.datepicker._get(inst,'duration'));break;case 33:$.datepicker._adjustDate(event.target,(event.ctrlKey?-$.datepicker._get(inst,'stepBigMonths'):-$.datepicker._get(inst,'stepMonths')),'M');break;case 34:$.datepicker._adjustDate(event.target,(event.ctrlKey?+$.datepicker._get(inst,'stepBigMonths'):+$.datepicker._get(inst,'stepMonths')),'M');break;case 35:if(event.ctrlKey||event.metaKey)$.datepicker._clearDate(event.target);handled=event.ctrlKey||event.metaKey;break;case 36:if(event.ctrlKey||event.metaKey)$.datepicker._gotoToday(event.target);handled=event.ctrlKey||event.metaKey;break;case 37:if(event.ctrlKey||event.metaKey)$.datepicker._adjustDate(event.target,(isRTL?+1:-1),'D');handled=event.ctrlKey||event.metaKey;if(event.originalEvent.altKey)$.datepicker._adjustDate(event.target,(event.ctrlKey?-$.datepicker._get(inst,'stepBigMonths'):-$.datepicker._get(inst,'stepMonths')),'M');break;case 38:if(event.ctrlKey||event.metaKey)$.datepicker._adjustDate(event.target,-7,'D');handled=event.ctrlKey||event.metaKey;break;case 39:if(event.ctrlKey||event.metaKey)$.datepicker._adjustDate(event.target,(isRTL?-1:+1),'D');handled=event.ctrlKey||event.metaKey;if(event.originalEvent.altKey)$.datepicker._adjustDate(event.target,(event.ctrlKey?+$.datepicker._get(inst,'stepBigMonths'):+$.datepicker._get(inst,'stepMonths')),'M');break;case 40:if(event.ctrlKey||event.metaKey)$.datepicker._adjustDate(event.target,+7,'D');handled=event.ctrlKey||event.metaKey;break;default:handled=false;}
else if(event.keyCode==36&&event.ctrlKey)
$.datepicker._showDatepicker(this);else{handled=false;}
if(handled){event.preventDefault();event.stopPropagation();}},_doKeyPress:function(event){var inst=$.datepicker._getInst(event.target);if($.datepicker._get(inst,'constrainInput')){var chars=$.datepicker._possibleChars($.datepicker._get(inst,'dateFormat'));var chr=String.fromCharCode(event.charCode==undefined?event.keyCode:event.charCode);return event.ctrlKey||(chr<' '||!chars||chars.indexOf(chr)>-1);}},_showDatepicker:function(input){input=input.target||input;if(input.nodeName.toLowerCase()!='input')
input=$('input',input.parentNode)[0];if($.datepicker._isDisabledDatepicker(input)||$.datepicker._lastInput==input)
return;var inst=$.datepicker._getInst(input);var beforeShow=$.datepicker._get(inst,'beforeShow');extendRemove(inst.settings,(beforeShow?beforeShow.apply(input,[input,inst]):{}));$.datepicker._hideDatepicker(null,'');$.datepicker._lastInput=input;$.datepicker._setDateFromField(inst);if($.datepicker._inDialog)
input.value='';if(!$.datepicker._pos){$.datepicker._pos=$.datepicker._findPos(input);$.datepicker._pos[1]+=input.offsetHeight;}
var isFixed=false;$(input).parents().each(function(){isFixed|=$(this).css('position')=='fixed';return!isFixed;});if(isFixed&&$.browser.opera){$.datepicker._pos[0]-=document.documentElement.scrollLeft;$.datepicker._pos[1]-=document.documentElement.scrollTop;}
var offset={left:$.datepicker._pos[0],top:$.datepicker._pos[1]};$.datepicker._pos=null;inst.rangeStart=null;inst.dpDiv.css({position:'absolute',display:'block',top:'-1000px'});$.datepicker._updateDatepicker(inst);offset=$.datepicker._checkOffset(inst,offset,isFixed);inst.dpDiv.css({position:($.datepicker._inDialog&&$.blockUI?'static':(isFixed?'fixed':'absolute')),display:'none',left:offset.left+'px',top:offset.top+'px'});if(!inst.inline){var showAnim=$.datepicker._get(inst,'showAnim')||'show';var duration=$.datepicker._get(inst,'duration');var postProcess=function(){$.datepicker._datepickerShowing=true;if($.browser.msie&&parseInt($.browser.version,10)<7)
$('iframe.ui-datepicker-cover').css({width:inst.dpDiv.width()+4,height:inst.dpDiv.height()+4});};if($.effects&&$.effects[showAnim])
inst.dpDiv.show(showAnim,$.datepicker._get(inst,'showOptions'),duration,postProcess);else
inst.dpDiv[showAnim](duration,postProcess);if(duration=='')
postProcess();if(inst.input[0].type!='hidden')
inst.input[0].focus();$.datepicker._curInst=inst;}},_updateDatepicker:function(inst){var dims={width:inst.dpDiv.width()+4,height:inst.dpDiv.height()+4};var self=this;inst.dpDiv.empty().append(this._generateHTML(inst)).find('iframe.ui-datepicker-cover').css({width:dims.width,height:dims.height}).end().find('button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a').bind('mouseout',function(){$(this).removeClass('ui-state-hover');}).bind('mouseover',function(){if(!self._isDisabledDatepicker(inst.inline?inst.dpDiv.parent()[0]:inst.input[0])){$(this).parents('.ui-datepicker-calendar').find('a').removeClass('ui-state-hover');$(this).addClass('ui-state-hover');}}).end().find('.'+this._dayOverClass+' a').trigger('mouseover').end();var numMonths=this._getNumberOfMonths(inst);var cols=numMonths[1];var width=17;if(cols>1){inst.dpDiv.addClass('ui-datepicker-multi-'+cols).css('width',(width*cols)+'em');}else{inst.dpDiv.removeClass('ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4').width('');}
inst.dpDiv[(numMonths[0]!=1||numMonths[1]!=1?'add':'remove')+'Class']('ui-datepicker-multi');inst.dpDiv[(this._get(inst,'isRTL')?'add':'remove')+'Class']('ui-datepicker-rtl');if(inst.input&&inst.input[0].type!='hidden'&&inst==$.datepicker._curInst)
$(inst.input[0]).focus();},_checkOffset:function(inst,offset,isFixed){var pos=inst.input?this._findPos(inst.input[0]):null;var browserWidth=window.innerWidth||(document.documentElement?document.documentElement.clientWidth:document.body.clientWidth);var browserHeight=window.innerHeight||(document.documentElement?document.documentElement.clientHeight:document.body.clientHeight);var scrollX=document.documentElement.scrollLeft||document.body.scrollLeft;var scrollY=document.documentElement.scrollTop||document.body.scrollTop;if(this._get(inst,'isRTL')||(offset.left+inst.dpDiv.width()-scrollX)>browserWidth)
offset.left=Math.max((isFixed?0:scrollX),pos[0]+(inst.input?inst.input.width():0)-(isFixed?scrollX:0)-inst.dpDiv.width()-
(isFixed&&$.browser.opera?document.documentElement.scrollLeft:0));else
offset.left-=(isFixed?scrollX:0);if((offset.top+inst.dpDiv.height()-scrollY)>browserHeight)
offset.top=Math.max((isFixed?0:scrollY),pos[1]-(isFixed?scrollY:0)-(this._inDialog?0:inst.dpDiv.height())-
(isFixed&&$.browser.opera?document.documentElement.scrollTop:0));else
offset.top-=(isFixed?scrollY:0);return offset;},_findPos:function(obj){while(obj&&(obj.type=='hidden'||obj.nodeType!=1)){obj=obj.nextSibling;}
var position=$(obj).offset();return[position.left,position.top];},_hideDatepicker:function(input,duration){var inst=this._curInst;if(!inst||(input&&inst!=$.data(input,PROP_NAME)))
return;if(inst.stayOpen)
this._selectDate('#'+inst.id,this._formatDate(inst,inst.currentDay,inst.currentMonth,inst.currentYear));inst.stayOpen=false;if(this._datepickerShowing){duration=(duration!=null?duration:this._get(inst,'duration'));var showAnim=this._get(inst,'showAnim');var postProcess=function(){$.datepicker._tidyDialog(inst);};if(duration!=''&&$.effects&&$.effects[showAnim])
inst.dpDiv.hide(showAnim,$.datepicker._get(inst,'showOptions'),duration,postProcess);else
inst.dpDiv[(duration==''?'hide':(showAnim=='slideDown'?'slideUp':(showAnim=='fadeIn'?'fadeOut':'hide')))](duration,postProcess);if(duration=='')
this._tidyDialog(inst);var onClose=this._get(inst,'onClose');if(onClose)
onClose.apply((inst.input?inst.input[0]:null),[(inst.input?inst.input.val():''),inst]);this._datepickerShowing=false;this._lastInput=null;if(this._inDialog){this._dialogInput.css({position:'absolute',left:'0',top:'-100px'});if($.blockUI){$.unblockUI();$('body').append(this.dpDiv);}}
this._inDialog=false;}
this._curInst=null;},_tidyDialog:function(inst){inst.dpDiv.removeClass(this._dialogClass).unbind('.ui-datepicker-calendar');},_checkExternalClick:function(event){if(!$.datepicker._curInst)
return;var $target=$(event.target);if(($target.parents('#'+$.datepicker._mainDivId).length==0)&&!$target.hasClass($.datepicker.markerClassName)&&!$target.hasClass($.datepicker._triggerClass)&&$.datepicker._datepickerShowing&&!($.datepicker._inDialog&&$.blockUI))
$.datepicker._hideDatepicker(null,'');},_adjustDate:function(id,offset,period){var target=$(id);var inst=this._getInst(target[0]);if(this._isDisabledDatepicker(target[0])){return;}
this._adjustInstDate(inst,offset,period);this._updateDatepicker(inst);},_gotoToday:function(id){var target=$(id);var inst=this._getInst(target[0]);if(this._get(inst,'gotoCurrent')&&inst.currentDay){inst.selectedDay=inst.currentDay;inst.drawMonth=inst.selectedMonth=inst.currentMonth;inst.drawYear=inst.selectedYear=inst.currentYear;}
else{var date=new Date();inst.selectedDay=date.getDate();inst.drawMonth=inst.selectedMonth=date.getMonth();inst.drawYear=inst.selectedYear=date.getFullYear();}
this._notifyChange(inst);this._adjustDate(target);},_selectMonthYear:function(id,select,period){var target=$(id);var inst=this._getInst(target[0]);inst._selectingMonthYear=false;inst['selected'+(period=='M'?'Month':'Year')]=inst['draw'+(period=='M'?'Month':'Year')]=parseInt(select.options[select.selectedIndex].value,10);this._notifyChange(inst);this._adjustDate(target);},_clickMonthYear:function(id){var target=$(id);var inst=this._getInst(target[0]);if(inst.input&&inst._selectingMonthYear&&!$.browser.msie)
inst.input[0].focus();inst._selectingMonthYear=!inst._selectingMonthYear;},_selectDay:function(id,month,year,td){var target=$(id);if($(td).hasClass(this._unselectableClass)||this._isDisabledDatepicker(target[0])){return;}
var inst=this._getInst(target[0]);inst.selectedDay=inst.currentDay=$('a',td).html();inst.selectedMonth=inst.currentMonth=month;inst.selectedYear=inst.currentYear=year;if(inst.stayOpen){inst.endDay=inst.endMonth=inst.endYear=null;}
this._selectDate(id,this._formatDate(inst,inst.currentDay,inst.currentMonth,inst.currentYear));if(inst.stayOpen){inst.rangeStart=this._daylightSavingAdjust(new Date(inst.currentYear,inst.currentMonth,inst.currentDay));this._updateDatepicker(inst);}},_clearDate:function(id){var target=$(id);var inst=this._getInst(target[0]);inst.stayOpen=false;inst.endDay=inst.endMonth=inst.endYear=inst.rangeStart=null;this._selectDate(target,'');},_selectDate:function(id,dateStr){var target=$(id);var inst=this._getInst(target[0]);dateStr=(dateStr!=null?dateStr:this._formatDate(inst));if(inst.input)
inst.input.val(dateStr);this._updateAlternate(inst);var onSelect=this._get(inst,'onSelect');if(onSelect)
onSelect.apply((inst.input?inst.input[0]:null),[dateStr,inst]);else if(inst.input)
inst.input.trigger('change');if(inst.inline)
this._updateDatepicker(inst);else if(!inst.stayOpen){this._hideDatepicker(null,this._get(inst,'duration'));this._lastInput=inst.input[0];if(typeof(inst.input[0])!='object')
inst.input[0].focus();this._lastInput=null;}},_updateAlternate:function(inst){var altField=this._get(inst,'altField');if(altField){var altFormat=this._get(inst,'altFormat')||this._get(inst,'dateFormat');var date=this._getDate(inst);dateStr=this.formatDate(altFormat,date,this._getFormatConfig(inst));$(altField).each(function(){$(this).val(dateStr);});}},noWeekends:function(date){var day=date.getDay();return[(day>0&&day<6),''];},iso8601Week:function(date){var checkDate=new Date(date.getFullYear(),date.getMonth(),date.getDate());var firstMon=new Date(checkDate.getFullYear(),1-1,4);var firstDay=firstMon.getDay()||7;firstMon.setDate(firstMon.getDate()+1-firstDay);if(firstDay<4&&checkDate<firstMon){checkDate.setDate(checkDate.getDate()-3);return $.datepicker.iso8601Week(checkDate);}else if(checkDate>new Date(checkDate.getFullYear(),12-1,28)){firstDay=new Date(checkDate.getFullYear()+1,1-1,4).getDay()||7;if(firstDay>4&&(checkDate.getDay()||7)<firstDay-3){return 1;}}
return Math.floor(((checkDate-firstMon)/86400000)/7)+1;},parseDate:function(format,value,settings){if(format==null||value==null)
throw'Invalid arguments';value=(typeof value=='object'?value.toString():value+'');if(value=='')
return null;var shortYearCutoff=(settings?settings.shortYearCutoff:null)||this._defaults.shortYearCutoff;var dayNamesShort=(settings?settings.dayNamesShort:null)||this._defaults.dayNamesShort;var dayNames=(settings?settings.dayNames:null)||this._defaults.dayNames;var monthNamesShort=(settings?settings.monthNamesShort:null)||this._defaults.monthNamesShort;var monthNames=(settings?settings.monthNames:null)||this._defaults.monthNames;var year=-1;var month=-1;var day=-1;var doy=-1;var literal=false;var lookAhead=function(match){var matches=(iFormat+1<format.length&&format.charAt(iFormat+1)==match);if(matches)
iFormat++;return matches;};var getNumber=function(match){lookAhead(match);var origSize=(match=='@'?14:(match=='y'?4:(match=='o'?3:2)));var size=origSize;var num=0;while(size>0&&iValue<value.length&&value.charAt(iValue)>='0'&&value.charAt(iValue)<='9'){num=num*10+parseInt(value.charAt(iValue++),10);size--;}
if(size==origSize)
throw'Missing number at position '+iValue;return num;};var getName=function(match,shortNames,longNames){var names=(lookAhead(match)?longNames:shortNames);var size=0;for(var j=0;j<names.length;j++)
size=Math.max(size,names[j].length);var name='';var iInit=iValue;while(size>0&&iValue<value.length){name+=value.charAt(iValue++);for(var i=0;i<names.length;i++)
if(name==names[i])
return i+1;size--;}
throw'Unknown name at position '+iInit;};var checkLiteral=function(){if(value.charAt(iValue)!=format.charAt(iFormat))
throw'Unexpected literal at position '+iValue;iValue++;};var iValue=0;for(var iFormat=0;iFormat<format.length;iFormat++){if(literal)
if(format.charAt(iFormat)=="'"&&!lookAhead("'"))
literal=false;else
checkLiteral();else
switch(format.charAt(iFormat)){case'd':day=getNumber('d');break;case'D':getName('D',dayNamesShort,dayNames);break;case'o':doy=getNumber('o');break;case'm':month=getNumber('m');break;case'M':month=getName('M',monthNamesShort,monthNames);break;case'y':year=getNumber('y');break;case'@':var date=new Date(getNumber('@'));year=date.getFullYear();month=date.getMonth()+1;day=date.getDate();break;case"'":if(lookAhead("'"))
checkLiteral();else
literal=true;break;default:checkLiteral();}}
if(year==-1)
year=new Date().getFullYear();else if(year<100)
year+=new Date().getFullYear()-new Date().getFullYear()%100+
(year<=shortYearCutoff?0:-100);if(doy>-1){month=1;day=doy;do{var dim=this._getDaysInMonth(year,month-1);if(day<=dim)
break;month++;day-=dim;}while(true);}
var date=this._daylightSavingAdjust(new Date(year,month-1,day));if(date.getFullYear()!=year||date.getMonth()+1!=month||date.getDate()!=day)
throw'Invalid date';return date;},ATOM:'yy-mm-dd',COOKIE:'D, dd M yy',ISO_8601:'yy-mm-dd',RFC_822:'D, d M y',RFC_850:'DD, dd-M-y',RFC_1036:'D, d M y',RFC_1123:'D, d M yy',RFC_2822:'D, d M yy',RSS:'D, d M y',TIMESTAMP:'@',W3C:'yy-mm-dd',formatDate:function(format,date,settings){if(!date)
return'';var dayNamesShort=(settings?settings.dayNamesShort:null)||this._defaults.dayNamesShort;var dayNames=(settings?settings.dayNames:null)||this._defaults.dayNames;var monthNamesShort=(settings?settings.monthNamesShort:null)||this._defaults.monthNamesShort;var monthNames=(settings?settings.monthNames:null)||this._defaults.monthNames;var lookAhead=function(match){var matches=(iFormat+1<format.length&&format.charAt(iFormat+1)==match);if(matches)
iFormat++;return matches;};var formatNumber=function(match,value,len){var num=''+value;if(lookAhead(match))
while(num.length<len)
num='0'+num;return num;};var formatName=function(match,value,shortNames,longNames){return(lookAhead(match)?longNames[value]:shortNames[value]);};var output='';var literal=false;if(date)
for(var iFormat=0;iFormat<format.length;iFormat++){if(literal)
if(format.charAt(iFormat)=="'"&&!lookAhead("'"))
literal=false;else
output+=format.charAt(iFormat);else
switch(format.charAt(iFormat)){case'd':output+=formatNumber('d',date.getDate(),2);break;case'D':output+=formatName('D',date.getDay(),dayNamesShort,dayNames);break;case'o':var doy=date.getDate();for(var m=date.getMonth()-1;m>=0;m--)
doy+=this._getDaysInMonth(date.getFullYear(),m);output+=formatNumber('o',doy,3);break;case'm':output+=formatNumber('m',date.getMonth()+1,2);break;case'M':output+=formatName('M',date.getMonth(),monthNamesShort,monthNames);break;case'y':output+=(lookAhead('y')?date.getFullYear():(date.getYear()%100<10?'0':'')+date.getYear()%100);break;case'@':output+=date.getTime();break;case"'":if(lookAhead("'"))
output+="'";else
literal=true;break;default:output+=format.charAt(iFormat);}}
return output;},_possibleChars:function(format){var chars='';var literal=false;for(var iFormat=0;iFormat<format.length;iFormat++)
if(literal)
if(format.charAt(iFormat)=="'"&&!lookAhead("'"))
literal=false;else
chars+=format.charAt(iFormat);else
switch(format.charAt(iFormat)){case'd':case'm':case'y':case'@':chars+='0123456789';break;case'D':case'M':return null;case"'":if(lookAhead("'"))
chars+="'";else
literal=true;break;default:chars+=format.charAt(iFormat);}
return chars;},_get:function(inst,name){return inst.settings[name]!==undefined?inst.settings[name]:this._defaults[name];},_setDateFromField:function(inst){var dateFormat=this._get(inst,'dateFormat');var dates=inst.input?inst.input.val():null;inst.endDay=inst.endMonth=inst.endYear=null;var date=defaultDate=this._getDefaultDate(inst);var settings=this._getFormatConfig(inst);try{date=this.parseDate(dateFormat,dates,settings)||defaultDate;}catch(event){this.log(event);date=defaultDate;}
inst.selectedDay=date.getDate();inst.drawMonth=inst.selectedMonth=date.getMonth();inst.drawYear=inst.selectedYear=date.getFullYear();inst.currentDay=(dates?date.getDate():0);inst.currentMonth=(dates?date.getMonth():0);inst.currentYear=(dates?date.getFullYear():0);this._adjustInstDate(inst);},_getDefaultDate:function(inst){var date=this._determineDate(this._get(inst,'defaultDate'),new Date());var minDate=this._getMinMaxDate(inst,'min',true);var maxDate=this._getMinMaxDate(inst,'max');date=(minDate&&date<minDate?minDate:date);date=(maxDate&&date>maxDate?maxDate:date);return date;},_determineDate:function(date,defaultDate){var offsetNumeric=function(offset){var date=new Date();date.setDate(date.getDate()+offset);return date;};var offsetString=function(offset,getDaysInMonth){var date=new Date();var year=date.getFullYear();var month=date.getMonth();var day=date.getDate();var pattern=/([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g;var matches=pattern.exec(offset);while(matches){switch(matches[2]||'d'){case'd':case'D':day+=parseInt(matches[1],10);break;case'w':case'W':day+=parseInt(matches[1],10)*7;break;case'm':case'M':month+=parseInt(matches[1],10);day=Math.min(day,getDaysInMonth(year,month));break;case'y':case'Y':year+=parseInt(matches[1],10);day=Math.min(day,getDaysInMonth(year,month));break;}
matches=pattern.exec(offset);}
return new Date(year,month,day);};date=(date==null?defaultDate:(typeof date=='string'?offsetString(date,this._getDaysInMonth):(typeof date=='number'?(isNaN(date)?defaultDate:offsetNumeric(date)):date)));date=(date&&date.toString()=='Invalid Date'?defaultDate:date);if(date){date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0);}
return this._daylightSavingAdjust(date);},_daylightSavingAdjust:function(date){if(!date)return null;date.setHours(date.getHours()>12?date.getHours()+2:0);return date;},_setDate:function(inst,date,endDate){var clear=!(date);var origMonth=inst.selectedMonth;var origYear=inst.selectedYear;date=this._determineDate(date,new Date());inst.selectedDay=inst.currentDay=date.getDate();inst.drawMonth=inst.selectedMonth=inst.currentMonth=date.getMonth();inst.drawYear=inst.selectedYear=inst.currentYear=date.getFullYear();if(origMonth!=inst.selectedMonth||origYear!=inst.selectedYear)
this._notifyChange(inst);this._adjustInstDate(inst);if(inst.input){inst.input.val(clear?'':this._formatDate(inst));}},_getDate:function(inst){var startDate=(!inst.currentYear||(inst.input&&inst.input.val()=='')?null:this._daylightSavingAdjust(new Date(inst.currentYear,inst.currentMonth,inst.currentDay)));return startDate;},_generateHTML:function(inst){var today=new Date();today=this._daylightSavingAdjust(new Date(today.getFullYear(),today.getMonth(),today.getDate()));var isRTL=this._get(inst,'isRTL');var showButtonPanel=this._get(inst,'showButtonPanel');var hideIfNoPrevNext=this._get(inst,'hideIfNoPrevNext');var navigationAsDateFormat=this._get(inst,'navigationAsDateFormat');var numMonths=this._getNumberOfMonths(inst);var showCurrentAtPos=this._get(inst,'showCurrentAtPos');var stepMonths=this._get(inst,'stepMonths');var stepBigMonths=this._get(inst,'stepBigMonths');var isMultiMonth=(numMonths[0]!=1||numMonths[1]!=1);var currentDate=this._daylightSavingAdjust((!inst.currentDay?new Date(9999,9,9):new Date(inst.currentYear,inst.currentMonth,inst.currentDay)));var minDate=this._getMinMaxDate(inst,'min',true);var maxDate=this._getMinMaxDate(inst,'max');var drawMonth=inst.drawMonth-showCurrentAtPos;var drawYear=inst.drawYear;if(drawMonth<0){drawMonth+=12;drawYear--;}
if(maxDate){var maxDraw=this._daylightSavingAdjust(new Date(maxDate.getFullYear(),maxDate.getMonth()-numMonths[1]+1,maxDate.getDate()));maxDraw=(minDate&&maxDraw<minDate?minDate:maxDraw);while(this._daylightSavingAdjust(new Date(drawYear,drawMonth,1))>maxDraw){drawMonth--;if(drawMonth<0){drawMonth=11;drawYear--;}}}
var prevText=this._get(inst,'prevText');prevText=(!navigationAsDateFormat?prevText:this.formatDate(prevText,this._daylightSavingAdjust(new Date(drawYear,drawMonth-stepMonths,1)),this._getFormatConfig(inst)));var prev=(this._canAdjustMonth(inst,-1,drawYear,drawMonth)?'<a class="ui-datepicker-prev ui-corner-all" onclick="jQuery.datepicker._adjustDate(\'#'+inst.id+'\', -'+stepMonths+', \'M\');"'+' title="'+prevText+'"><span class="ui-icon ui-icon-circle-triangle-'+(isRTL?'e':'w')+'">'+prevText+'</span></a>':(hideIfNoPrevNext?'':'<a class="ui-datepicker-prev ui-corner-all ui-state-disabled" title="'+prevText+'"><span class="ui-icon ui-icon-circle-triangle-'+(isRTL?'e':'w')+'">'+prevText+'</span></a>'));var nextText=this._get(inst,'nextText');nextText=(!navigationAsDateFormat?nextText:this.formatDate(nextText,this._daylightSavingAdjust(new Date(drawYear,drawMonth+stepMonths,1)),this._getFormatConfig(inst)));var next=(this._canAdjustMonth(inst,+1,drawYear,drawMonth)?'<a class="ui-datepicker-next ui-corner-all" onclick="jQuery.datepicker._adjustDate(\'#'+inst.id+'\', +'+stepMonths+', \'M\');"'+' title="'+nextText+'"><span class="ui-icon ui-icon-circle-triangle-'+(isRTL?'w':'e')+'">'+nextText+'</span></a>':(hideIfNoPrevNext?'':'<a class="ui-datepicker-next ui-corner-all ui-state-disabled" title="'+nextText+'"><span class="ui-icon ui-icon-circle-triangle-'+(isRTL?'w':'e')+'">'+nextText+'</span></a>'));var currentText=this._get(inst,'currentText');var gotoDate=(this._get(inst,'gotoCurrent')&&inst.currentDay?currentDate:today);currentText=(!navigationAsDateFormat?currentText:this.formatDate(currentText,gotoDate,this._getFormatConfig(inst)));var controls='<button type="button" class="ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all" onclick="jQuery.datepicker._hideDatepicker();">'+this._get(inst,'closeText')+'</button>';var buttonPanel=(showButtonPanel)?'<div class="ui-datepicker-buttonpane ui-widget-content">'+(isRTL?controls:'')+
(this._isInRange(inst,gotoDate)?'<button type="button" class="ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all" onclick="jQuery.datepicker._gotoToday(\'#'+inst.id+'\');"'+'>'+currentText+'</button>':'')+(isRTL?'':controls)+'</div>':'';var firstDay=parseInt(this._get(inst,'firstDay'));firstDay=(isNaN(firstDay)?0:firstDay);var dayNames=this._get(inst,'dayNames');var dayNamesShort=this._get(inst,'dayNamesShort');var dayNamesMin=this._get(inst,'dayNamesMin');var monthNames=this._get(inst,'monthNames');var monthNamesShort=this._get(inst,'monthNamesShort');var beforeShowDay=this._get(inst,'beforeShowDay');var showOtherMonths=this._get(inst,'showOtherMonths');var calculateWeek=this._get(inst,'calculateWeek')||this.iso8601Week;var endDate=inst.endDay?this._daylightSavingAdjust(new Date(inst.endYear,inst.endMonth,inst.endDay)):currentDate;var defaultDate=this._getDefaultDate(inst);var html='';for(var row=0;row<numMonths[0];row++){var group='';for(var col=0;col<numMonths[1];col++){var selectedDate=this._daylightSavingAdjust(new Date(drawYear,drawMonth,inst.selectedDay));var cornerClass=' ui-corner-all';var calender='';if(isMultiMonth){calender+='<div class="ui-datepicker-group ui-datepicker-group-';switch(col){case 0:calender+='first';cornerClass=' ui-corner-'+(isRTL?'right':'left');break;case numMonths[1]-1:calender+='last';cornerClass=' ui-corner-'+(isRTL?'left':'right');break;default:calender+='middle';cornerClass='';break;}
calender+='">';}
calender+='<div class="ui-datepicker-header ui-widget-header ui-helper-clearfix'+cornerClass+'">'+
(/all|left/.test(cornerClass)&&row==0?(isRTL?next:prev):'')+
(/all|right/.test(cornerClass)&&row==0?(isRTL?prev:next):'')+
this._generateMonthYearHeader(inst,drawMonth,drawYear,minDate,maxDate,selectedDate,row>0||col>0,monthNames,monthNamesShort)+'</div><table class="ui-datepicker-calendar"><thead>'+'<tr>';var thead='';for(var dow=0;dow<7;dow++){var day=(dow+firstDay)%7;thead+='<th'+((dow+firstDay+6)%7>=5?' class="ui-datepicker-week-end"':'')+'>'+'<span title="'+dayNames[day]+'">'+dayNamesMin[day]+'</span></th>';}
calender+=thead+'</tr></thead><tbody>';var daysInMonth=this._getDaysInMonth(drawYear,drawMonth);if(drawYear==inst.selectedYear&&drawMonth==inst.selectedMonth)
inst.selectedDay=Math.min(inst.selectedDay,daysInMonth);var leadDays=(this._getFirstDayOfMonth(drawYear,drawMonth)-firstDay+7)%7;var numRows=(isMultiMonth?6:Math.ceil((leadDays+daysInMonth)/7));var printDate=this._daylightSavingAdjust(new Date(drawYear,drawMonth,1-leadDays));for(var dRow=0;dRow<numRows;dRow++){calender+='<tr>';var tbody='';for(var dow=0;dow<7;dow++){var daySettings=(beforeShowDay?beforeShowDay.apply((inst.input?inst.input[0]:null),[printDate]):[true,'']);var otherMonth=(printDate.getMonth()!=drawMonth);var unselectable=otherMonth||!daySettings[0]||(minDate&&printDate<minDate)||(maxDate&&printDate>maxDate);tbody+='<td class="'+
((dow+firstDay+6)%7>=5?' ui-datepicker-week-end':'')+
(otherMonth?' ui-datepicker-other-month':'')+
((printDate.getTime()==selectedDate.getTime()&&drawMonth==inst.selectedMonth&&inst._keyEvent)||(defaultDate.getTime()==printDate.getTime()&&defaultDate.getTime()==selectedDate.getTime())?' '+this._dayOverClass:'')+
(unselectable?' '+this._unselectableClass+' ui-state-disabled':'')+
(otherMonth&&!showOtherMonths?'':' '+daySettings[1]+
(printDate.getTime()>=currentDate.getTime()&&printDate.getTime()<=endDate.getTime()?' '+this._currentClass:'')+
(printDate.getTime()==today.getTime()?' ui-datepicker-today':''))+'"'+
((!otherMonth||showOtherMonths)&&daySettings[2]?' title="'+daySettings[2]+'"':'')+
(unselectable?'':' onclick="jQuery.datepicker._selectDay(\'#'+
inst.id+'\','+drawMonth+','+drawYear+', this);return false;"')+'>'+
(otherMonth?(showOtherMonths?printDate.getDate():'&#xa0;'):(unselectable?printDate.getDate():'<a class="ui-state-default'+
(printDate.getTime()==today.getTime()?' ui-state-highlight':'')+
(printDate.getTime()>=currentDate.getTime()&&printDate.getTime()<=endDate.getTime()?' ui-state-active':'')+'" href="#">'+printDate.getDate()+'</a>'))+'</td>';printDate.setDate(printDate.getDate()+1);printDate=this._daylightSavingAdjust(printDate);}
calender+=tbody+'</tr>';}
drawMonth++;if(drawMonth>11){drawMonth=0;drawYear++;}
calender+='</tbody></table>'+(isMultiMonth?'</div>':'');group+=calender;}
html+=group;}
html+=(!inst.inline?buttonPanel:'')+
($.browser.msie&&parseInt($.browser.version,10)<7&&!inst.inline?'<iframe src="javascript:false;" class="ui-datepicker-cover" frameborder="0"></iframe>':'');inst._keyEvent=false;return html;},_generateMonthYearHeader:function(inst,drawMonth,drawYear,minDate,maxDate,selectedDate,secondary,monthNames,monthNamesShort){minDate=(inst.rangeStart&&minDate&&selectedDate<minDate?selectedDate:minDate);var changeMonth=this._get(inst,'changeMonth');var changeYear=this._get(inst,'changeYear');var showMonthAfterYear=this._get(inst,'showMonthAfterYear');var html='<div class="ui-datepicker-title">';var monthHtml='';if(secondary||!changeMonth)
monthHtml+='<span class="ui-datepicker-month">'+monthNames[drawMonth]+'</span> ';else{var inMinYear=(minDate&&minDate.getFullYear()==drawYear);var inMaxYear=(maxDate&&maxDate.getFullYear()==drawYear);monthHtml+='<select class="ui-datepicker-month" '+'onchange="jQuery.datepicker._selectMonthYear(\'#'+inst.id+'\', this, \'M\');" '+'onclick="jQuery.datepicker._clickMonthYear(\'#'+inst.id+'\');"'+'>';for(var month=0;month<12;month++){if((!inMinYear||month>=minDate.getMonth())&&(!inMaxYear||month<=maxDate.getMonth()))
monthHtml+='<option value="'+month+'"'+
(month==drawMonth?' selected="selected"':'')+'>'+monthNamesShort[month]+'</option>';}
monthHtml+='</select>';}
if(!showMonthAfterYear)
html+=monthHtml+((secondary||changeMonth||changeYear)&&(!(changeMonth&&changeYear))?'&#xa0;':'');if(secondary||!changeYear)
html+='<span class="ui-datepicker-year">'+drawYear+'</span>';else{var years=this._get(inst,'yearRange').split(':');var year=0;var endYear=0;if(years.length!=2){year=drawYear-10;endYear=drawYear+10;}else if(years[0].charAt(0)=='+'||years[0].charAt(0)=='-'){year=endYear=new Date().getFullYear();year+=parseInt(years[0],10);endYear+=parseInt(years[1],10);}else{year=parseInt(years[0],10);endYear=parseInt(years[1],10);}
year=(minDate?Math.max(year,minDate.getFullYear()):year);endYear=(maxDate?Math.min(endYear,maxDate.getFullYear()):endYear);html+='<select class="ui-datepicker-year" '+'onchange="jQuery.datepicker._selectMonthYear(\'#'+inst.id+'\', this, \'Y\');" '+'onclick="jQuery.datepicker._clickMonthYear(\'#'+inst.id+'\');"'+'>';for(;year<=endYear;year++){html+='<option value="'+year+'"'+
(year==drawYear?' selected="selected"':'')+'>'+year+'</option>';}
html+='</select>';}
if(showMonthAfterYear)
html+=(secondary||changeMonth||changeYear?'&#xa0;':'')+monthHtml;html+='</div>';return html;},_adjustInstDate:function(inst,offset,period){var year=inst.drawYear+(period=='Y'?offset:0);var month=inst.drawMonth+(period=='M'?offset:0);var day=Math.min(inst.selectedDay,this._getDaysInMonth(year,month))+
(period=='D'?offset:0);var date=this._daylightSavingAdjust(new Date(year,month,day));var minDate=this._getMinMaxDate(inst,'min',true);var maxDate=this._getMinMaxDate(inst,'max');date=(minDate&&date<minDate?minDate:date);date=(maxDate&&date>maxDate?maxDate:date);inst.selectedDay=date.getDate();inst.drawMonth=inst.selectedMonth=date.getMonth();inst.drawYear=inst.selectedYear=date.getFullYear();if(period=='M'||period=='Y')
this._notifyChange(inst);},_notifyChange:function(inst){var onChange=this._get(inst,'onChangeMonthYear');if(onChange)
onChange.apply((inst.input?inst.input[0]:null),[inst.selectedYear,inst.selectedMonth+1,inst]);},_getNumberOfMonths:function(inst){var numMonths=this._get(inst,'numberOfMonths');return(numMonths==null?[1,1]:(typeof numMonths=='number'?[1,numMonths]:numMonths));},_getMinMaxDate:function(inst,minMax,checkRange){var date=this._determineDate(this._get(inst,minMax+'Date'),null);return(!checkRange||!inst.rangeStart?date:(!date||inst.rangeStart>date?inst.rangeStart:date));},_getDaysInMonth:function(year,month){return 32-new Date(year,month,32).getDate();},_getFirstDayOfMonth:function(year,month){return new Date(year,month,1).getDay();},_canAdjustMonth:function(inst,offset,curYear,curMonth){var numMonths=this._getNumberOfMonths(inst);var date=this._daylightSavingAdjust(new Date(curYear,curMonth+(offset<0?offset:numMonths[1]),1));if(offset<0)
date.setDate(this._getDaysInMonth(date.getFullYear(),date.getMonth()));return this._isInRange(inst,date);},_isInRange:function(inst,date){var newMinDate=(!inst.rangeStart?null:this._daylightSavingAdjust(new Date(inst.selectedYear,inst.selectedMonth,inst.selectedDay)));newMinDate=(newMinDate&&inst.rangeStart<newMinDate?inst.rangeStart:newMinDate);var minDate=newMinDate||this._getMinMaxDate(inst,'min');var maxDate=this._getMinMaxDate(inst,'max');return((!minDate||date>=minDate)&&(!maxDate||date<=maxDate));},_getFormatConfig:function(inst){var shortYearCutoff=this._get(inst,'shortYearCutoff');shortYearCutoff=(typeof shortYearCutoff!='string'?shortYearCutoff:new Date().getFullYear()%100+parseInt(shortYearCutoff,10));return{shortYearCutoff:shortYearCutoff,dayNamesShort:this._get(inst,'dayNamesShort'),dayNames:this._get(inst,'dayNames'),monthNamesShort:this._get(inst,'monthNamesShort'),monthNames:this._get(inst,'monthNames')};},_formatDate:function(inst,day,month,year){if(!day){inst.currentDay=inst.selectedDay;inst.currentMonth=inst.selectedMonth;inst.currentYear=inst.selectedYear;}
var date=(day?(typeof day=='object'?day:this._daylightSavingAdjust(new Date(year,month,day))):this._daylightSavingAdjust(new Date(inst.currentYear,inst.currentMonth,inst.currentDay)));return this.formatDate(this._get(inst,'dateFormat'),date,this._getFormatConfig(inst));}});function extendRemove(target,props){$.extend(target,props);for(var name in props)
if(props[name]==null||props[name]==undefined)
target[name]=props[name];return target;};function isArray(a){return(a&&(($.browser.safari&&typeof a=='object'&&a.length)||(a.constructor&&a.constructor.toString().match(/\Array\(\)/))));};$.fn.datepicker=function(options){if(!$.datepicker.initialized){$(document.body).append($.datepicker.dpDiv).mousedown($.datepicker._checkExternalClick);$.datepicker.initialized=true;}
var otherArgs=Array.prototype.slice.call(arguments,1);if(typeof options=='string'&&(options=='isDisabled'||options=='getDate'))
return $.datepicker['_'+options+'Datepicker'].apply($.datepicker,[this[0]].concat(otherArgs));return this.each(function(){typeof options=='string'?$.datepicker['_'+options+'Datepicker'].apply($.datepicker,[this].concat(otherArgs)):$.datepicker._attachDatepicker(this,options);});};$.datepicker=new Datepicker();$.datepicker.initialized=false;$.datepicker.uuid=new Date().getTime();$.datepicker.version="1.6rc4";})(jQuery);

(function($){$().ajaxSend(function(a,xhr,s){xhr.setRequestHeader("Accept","text/javascript, text/html, application/xml, text/xml, */*")})})(jQuery);(function($){$.fn.reset=function(){return this.each(function(){if(typeof this.reset=="function"||(typeof this.reset=="object"&&!this.reset.nodeType)){this.reset()}})};$.fn.enable=function(){return this.each(function(){this.disabled=false})};$.fn.disable=function(){return this.each(function(){this.disabled=true})}})(jQuery);(function($){$.extend({fieldEvent:function(el,obs){var field=el[0]||el,e="change";if(field.type=="radio"||field.type=="checkbox"){e="click"}else{if(obs&&field.type=="text"||field.type=="textarea"){e="keyup"}}return e}});$.fn.extend({delayedObserver:function(delay,callback){var el=$(this);if(typeof window.delayedObserverStack=="undefined"){window.delayedObserverStack=[]}if(typeof window.delayedObserverCallback=="undefined"){window.delayedObserverCallback=function(stackPos){observed=window.delayedObserverStack[stackPos];if(observed.timer){clearTimeout(observed.timer)}observed.timer=setTimeout(function(){observed.timer=null;observed.callback(observed.obj,observed.obj.formVal())},observed.delay*1000);observed.oldVal=observed.obj.formVal()}}window.delayedObserverStack.push({obj:el,timer:null,delay:delay,oldVal:el.formVal(),callback:callback});var stackPos=window.delayedObserverStack.length-1;if(el[0].tagName=="FORM"){$(":input",el).each(function(){var field=$(this);field.bind($.fieldEvent(field,delay),function(){observed=window.delayedObserverStack[stackPos];if(observed.obj.formVal()==observed.obj.oldVal){return}else{window.delayedObserverCallback(stackPos)}})})}else{el.bind($.fieldEvent(el,delay),function(){observed=window.delayedObserverStack[stackPos];if(observed.obj.formVal()==observed.obj.oldVal){return}else{window.delayedObserverCallback(stackPos)}})}},formVal:function(){var el=this[0];if(el.tagName=="FORM"){return this.serialize()}if(el.type=="checkbox"||self.type=="radio"){return this.filter("input:checked").val()||""}else{return this.val()}}})})(jQuery);(function($){$.fn.extend({visualEffect:function(o){e=o.replace(/\_(.)/g,function(m,l){return l.toUpperCase()});return eval("$(this)."+e+"()")},appear:function(speed,callback){return this.fadeIn(speed,callback)},blindDown:function(speed,callback){return this.show("blind",{direction:"vertical"},speed,callback)},blindUp:function(speed,callback){return this.hide("blind",{direction:"vertical"},speed,callback)},blindRight:function(speed,callback){return this.show("blind",{direction:"horizontal"},speed,callback)},blindLeft:function(speed,callback){this.hide("blind",{direction:"horizontal"},speed,callback);return this},dropOut:function(speed,callback){return this.hide("drop",{direction:"down"},speed,callback)},dropIn:function(speed,callback){return this.show("drop",{direction:"up"},speed,callback)},fade:function(speed,callback){return this.fadeOut(speed,callback)},fadeToggle:function(speed,callback){return this.animate({opacity:"toggle"},speed,callback)},fold:function(speed,callback){return this.hide("fold",{},speed,callback)},foldOut:function(speed,callback){return this.show("fold",{},speed,callback)},grow:function(speed,callback){return this.show("scale",{},speed,callback)},highlight:function(speed,callback){return this.show("highlight",{},speed,callback)},puff:function(speed,callback){return this.hide("puff",{},speed,callback)},pulsate:function(speed,callback){return this.show("pulsate",{},speed,callback)},shake:function(speed,callback){return this.show("shake",{},speed,callback)},shrink:function(speed,callback){return this.hide("scale",{},speed,callback)},squish:function(speed,callback){return this.hide("scale",{origin:["top","left"]},speed,callback)},slideUp:function(speed,callback){return this.hide("slide",{direction:"up"},speed,callback)},slideDown:function(speed,callback){return this.show("slide",{direction:"up"},speed,callback)},switchOff:function(speed,callback){return this.hide("clip",{},speed,callback)},switchOn:function(speed,callback){return this.show("clip",{},speed,callback)}})})(jQuery);

// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults


/*!
 * Copyright (c) 2008 Simo Kinnunen.
 * Licensed under the MIT license.
 */

var Cufon = (function() {
	
	var api = function() {	
		return api.replace.apply(null, arguments);
	};
	
	var DOM = api.DOM = {
			
		ready: (function() {
		
			var complete = false, readyStatus = { loaded: 1, complete: 1 };
		
			var queue = [], perform = function() {
				if (complete) return;
				complete = true;
				for (var fn; fn = queue.shift(); fn());
			};
			
			// Gecko, Opera, WebKit r26101+
			
			if (document.addEventListener) {
				document.addEventListener('DOMContentLoaded', perform, false);
				window.addEventListener('pageshow', perform, false); // For cached Gecko pages
			}
			
			// Old WebKit, Internet Explorer
			
			if (!window.opera && document.readyState) (function() {
				readyStatus[document.readyState] ? perform() : setTimeout(arguments.callee, 10);
			})();
			
			// Internet Explorer
			
			if (document.readyState && document.createStyleSheet) (function() {
				try {
					document.body.doScroll('left');
					perform();
				}
				catch (e) {
					setTimeout(arguments.callee, 1);
				}
			})();
			
			addEvent(window, 'load', perform); // Fallback
			
			return function(listener) {
				if (!arguments.length) perform();
				else complete ? listener() : queue.push(listener);
			};
			
		})()
		
	};

	var CSS = api.CSS = {
	
		Size: function(value, base) {
		
			this.value = parseFloat(value);
			this.unit = String(value).match(/[a-z%]*$/)[0] || 'px';
		
			this.convert = function(value) {
				return value / base * this.value;
			};
			
			this.convertFrom = function(value) {
				return value / this.value * base;
			};
			
			this.toString = function() {
				return this.value + this.unit;
			};

		},
	
		getStyle: function(el) {
			var view = document.defaultView;
			if (view && view.getComputedStyle) return new Style(view.getComputedStyle(el, null));
			if (el.currentStyle) return new Style(el.currentStyle);
			return new Style(el.style);
		},
		
		ready: (function() {
			
			var complete = false;
			
			var queue = [], perform = function() {
				complete = true;
				for (var fn; fn = queue.shift(); fn());
			};
			
			// Safari 2 does not include <style> elements in document.styleSheets.
			// Safari 2 also does not support Object.prototype.propertyIsEnumerable.
			
			var styleElements = Object.prototype.propertyIsEnumerable ? elementsByTagName('style') : { length: 0 };
			var linkElements = elementsByTagName('link');
			
			DOM.ready(function() {
				// These checks are actually only needed for WebKit-based browsers, but don't really hurt other browsers.
				var linkStyles = 0, link;
				for (var i = 0, l = linkElements.length; link = linkElements[i], i < l; ++i) {
					// WebKit does not load alternate stylesheets.
					if (!link.disabled && link.rel.toLowerCase() == 'stylesheet') ++linkStyles;
				}
				if (document.styleSheets.length >= styleElements.length + linkStyles) perform();
				else setTimeout(arguments.callee, 10);
			});
			
			return function(listener) {
				if (complete) listener();
				else queue.push(listener);
			};
			
		})(),

		supports: function(property, value) {
			var checker = document.createElement('span').style;
			if (checker[property] === undefined) return false;
			checker[property] = value;
			return checker[property] === value;
		},
		
		textAlign: function(word, style, position, wordCount) {
			if (style.get('textAlign') == 'right') {
				if (position > 0) word = ' ' + word;
			}
			else if (position < wordCount - 1) word += ' ';
			return word;
		},
		
		textDecoration: function(el, style) {
			if (!style) style = this.getStyle(el);
			var types = {
				underline: null,
				overline: null,
				'line-through': null
			};
			for (var search = el; search.parentNode && search.parentNode.nodeType == 1; ) {
				var foundAll = true;
				for (var type in types) {
					if (types[type]) continue;
					if (style.get('textDecoration').indexOf(type) != -1) types[type] = style.get('color');
					foundAll = false;
				}
				if (foundAll) break; // this is rather unlikely to happen
				style = this.getStyle(search = search.parentNode);
			}
			return types;
		},
		
		textShadow: cached(function(value) {
			if (value == 'none') return null;
			var shadows = [], currentShadow = {}, result, offCount = 0;
			var re = /(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;
			while (result = re.exec(value)) {
				if (result[0] == ',') {
					shadows.push(currentShadow);
					currentShadow = {}, offCount = 0;
				}
				else if (result[1]) {
					currentShadow.color = result[1];
				}
				else {
					currentShadow[[ 'offX', 'offY', 'blur' ][offCount++]] = result[2];
				}
			}
			shadows.push(currentShadow);
			return shadows;
		}),
		
		color: cached(function(value) {
			var parsed = {};
			parsed.color = value.replace(/^rgba\((.*?),\s*([\d.]+)\)/, function($0, $1, $2) {
				parsed.opacity = parseFloat($2);
				return 'rgb(' + $1 + ')';
			});
			return parsed;
		}),
		
		textTransform: function(text, style) {
			return text[{
				uppercase: 'toUpperCase',
				lowercase: 'toLowerCase'
			}[style.get('textTransform')] || 'toString']();
		}
		
	};
	
	api.VML = {
	
		parsePath: function(path) {
			var cmds = [], re = /([mrvxe])([^a-z]*)/g, match;
			while (match = re.exec(path)) {
				cmds.push({
					type: match[1],
					coords: match[2].split(',')
				});
			}
			return cmds;
		}
			
	};
	
	function Font(data) {
		
		var face = this.face = data.face;
		this.glyphs = data.glyphs;
		this.w = data.w;
		this.baseSize = parseInt(face['units-per-em'], 10);
		
		this.family = face['font-family'].toLowerCase();
		this.weight = face['font-weight'];
		this.style = face['font-style'] || 'normal';
		
		this.viewBox = (function () {
			var parts = face.bbox.split(/\s+/);
			return {
				minX: parseInt(parts[0], 10),
				minY: parseInt(parts[1], 10),
				width: parseInt(parts[2], 10) - parseInt(parts[0], 10),
				height: parseInt(parts[3], 10) - parseInt(parts[1], 10),
				toString: function() {
					return [ this.minX, this.minY, this.width, this.height ].join(' ');
				}
			};
		})();
		
		this.ascent = -parseInt(face.ascent, 10);
		this.descent = -parseInt(face.descent, 10);
		
		this.height = -this.ascent + this.descent;
		
	}
	
	function FontFamily() {

		this.styles = {};
		
		this.add = function(font) {
			(this.styles[font.style] || (this.styles[font.style] = {}))[font.weight] = font;
		};
		
		this.get = function(style, weight) {
			var weights = this.styles[style], closest;
			if (!weights) return null;
			weight = {
				normal: 400,
				bold: 700
			}[weight] || parseInt(weight, 10);
			if (weights[weight]) return weights[weight];
			for (var alt in weights) {
				alt = parseInt(alt, 10);
				if (!closest || (alt < weight && alt > closest)) closest = alt;
			}
			return weights[closest];
		};
	
	}
	
	function Storage() {
		
		var map = {}, at = 0;
		
		function identify(el) {
			return el.cufid || (el.cufid = ++at);
		}
		
		this.get = function(el) {
			var id = identify(el);
			return map[id] || (map[id] = {});
		};
		
	}
	
	function Style(style) {
		
		var custom = {}, sizes = {};
		
		this.get = function(property) {
			return custom[property] != undefined ? custom[property] : style[property];
		};
		
		this.getSize = function(property, base) {
			return sizes[property] || (sizes[property] = new CSS.Size(this.get(property), base));
		};
		
		this.extend = function(styles) {
			for (var property in styles) custom[property] = styles[property];
			return this;
		};
		
	}
	
	function addEvent(el, type, listener) {
		if (el.addEventListener) {
			el.addEventListener(type, listener, false);
		}
		else if (el.attachEvent) {
			el.attachEvent('on' + type, function() {
				return listener.apply(el, arguments);
			});
		}
	}
	
	function cached(fun) {
		var cache = {};
		return function(key) {
			if (!cache.hasOwnProperty(key)) cache[key] = fun.apply(null, arguments);
			return cache[key];
		};	
	}
	
	function getFont(el, style) {
		if (!style) style = CSS.getStyle(el);
		var families = style.get('fontFamily').split(/\s*,\s*/), family;
		for (var i = 0, l = families.length; i < l; ++i) {
			family = families[i].toLowerCase();
			if (family[0] == '"' || family[0] == "'") family = family.substring(1, family.length - 1);
			if (fonts[family]) return fonts[family].get(style.get('fontStyle'), style.get('fontWeight'));
		}
		return null;
	}
	
	function elementsByTagName(query) {
		return document.getElementsByTagName(query);
	}
	
	function merge() {
		var merged = {}, key;
		for (var i = 0, l = arguments.length; i < l; ++i) {
			for (key in arguments[i]) merged[key] = arguments[i][key];
		}
		return merged;
	}
	
	function process(font, text, style, options, node, el) {
		if (options.separateWords) {
			var fragment = document.createDocumentFragment(), processed;
			var words = text.split(/\s+/);
			if (HAS_BROKEN_REGEXP) {
				// @todo figure out a better way to do this
				if (/^\s/.test(text)) words.unshift('');
				if (/\s$/.test(text)) words.push('');
			}
			for (var i = 0, l = words.length; i < l; ++i) {
				processed = engines[options.engine](font,
					CSS.textAlign(words[i], style, i, l),
					style, options, node, el, i < l - 1);
				if (processed) fragment.appendChild(processed);
			}
			return fragment;
		}
		return engines[options.engine].apply(null, arguments);
	}
	
	function replaceElement(el, options) {
		var storage = sharedStorage.get(el);
		if (!options) options = storage.options;
		var font, style, nextNode;
		for (var node = el.firstChild; node; node = nextNode) {
			nextNode = node.nextSibling;
			if (node.nodeType == 1) {
				if (!node.firstChild) continue;
				if (!/cufon/.test(node.className)) {
					arguments.callee(node, options);
					continue;
				}
			}
			var text = node.nodeType == 3 ? node.data : node.alt;
			if (text === '') continue;
			if (!style) style = CSS.getStyle(el).extend(options);
			if (!font) font = getFont(el, style);
			if (!font) continue;
			var processed = process(font, text, style, options, node, el);
			if (processed) node.parentNode.replaceChild(processed, node);
			else node.parentNode.removeChild(node);
		}
		if (!storage.options) {
			storage.options = options;
		}
	}
	
	var HAS_BROKEN_REGEXP = ' '.split(/\s+/).length == 0;
	
	var sharedStorage = new Storage();
	var replaceHistory = [];
	
	var engines = {}, fonts = {}, defaultOptions = {
		enableTextDecoration: false,
		engine: null,
		//fontScale: 1,
		//fontScaling: false,
		//hover: false,
		printable: true,
		//rotation: 0,
		//selectable: false,
		selector: (
				window.Sizzle
			||	(window.$$ && function(query) { return $$(query); })
			||	window.$
			||	(document.querySelectorAll && function(query) { return document.querySelectorAll(query); })
			||	elementsByTagName
		),
		separateWords: true,
		textShadow: 'none'
	};
	
	api.now = function() {
		DOM.ready();
		return api;
	};
	
	api.refresh = function() {
		var currentHistory = replaceHistory.splice(0, replaceHistory.length);
		for (var i = 0, l = currentHistory.length; i < l; ++i) {
			api.replace.apply(null, currentHistory[i]);
		}
		return api;
	};
	
	api.registerEngine = function(id, engine) {
		if (!engine) return api;
		engines[id] = engine;
		return api.set('engine', id);
	};
	
	api.registerFont = function(data) {
		var font = new Font(data), family = font.family;
		if (!fonts[family]) fonts[family] = new FontFamily();
		fonts[family].add(font);
		return api.set('fontFamily', family);
	};
	
	api.replace = function(elements, options, ignoreHistory) {
		options = merge(defaultOptions, options);
		if (!options.engine) return api; // there's no browser support so we'll just stop here
		if (typeof options.textShadow == 'string')
			options.textShadow = CSS.textShadow(options.textShadow);
		if (!ignoreHistory) replaceHistory.push(arguments);
		if (elements.nodeType || typeof elements == 'string') elements = [ elements ];
		CSS.ready(function() {
			for (var i = 0, l = elements.length; i < l; ++i) {
				var el = elements[i];
				if (typeof el == 'string') api.replace(options.selector(el), options, true);
				else replaceElement(el, options);
			}
		});
		return api;
	};
	
	api.set = function(option, value) {
		defaultOptions[option] = value;
		return api;
	};
	
	return api;
	
})();

Cufon.registerEngine('canvas', (function() {

	// Safari 2 doesn't support .apply() on native methods
	
	var check = document.createElement('canvas');
	if (!check || !check.getContext || !check.getContext.apply) return null;
	check = null;
	
	var HAS_INLINE_BLOCK = Cufon.CSS.supports('display', 'inline-block');
	
	// Firefox 2 w/ non-strict doctype (almost standards mode)
	var HAS_BROKEN_LINEHEIGHT = !HAS_INLINE_BLOCK && (document.compatMode == 'BackCompat' || /frameset|transitional/i.test(document.doctype.publicId));
	
	var styleSheet = document.createElement('style');
	styleSheet.type = 'text/css';
	styleSheet.appendChild(document.createTextNode(
		'@media screen,projection{' +
			'.cufon-canvas{display:inline;display:inline-block;position:relative;vertical-align:middle' + 
			(HAS_BROKEN_LINEHEIGHT
				? ''
				: ';font-size:1px;line-height:1px') +
			'}.cufon-canvas .cufon-alt{display:none}' +
			(HAS_INLINE_BLOCK
				? '.cufon-canvas canvas{position:relative}'
				: '.cufon-canvas canvas{position:absolute}') +
		'}' +
		'@media print{' +
			'.cufon-canvas{padding:0 !important}' +
			'.cufon-canvas canvas{display:none}' +
			'.cufon-canvas .cufon-alt{display:inline}' +
		'}'
	));
	document.getElementsByTagName('head')[0].appendChild(styleSheet);

	function generateFromVML(path, context) {
		var atX = 0, atY = 0;
		var cmds = Cufon.VML.parsePath(path);
		var code = new Array(cmds.length - 1);
		generate: for (var i = 0, l = cmds.length; i < l; ++i) {
			var c = cmds[i].coords;
			switch (cmds[i].type) {
				case 'v':
					code[i] = { m: 'bezierCurveTo', a: [ atX + Number(c[0]), atY + Number(c[1]), atX + Number(c[2]), atY + Number(c[3]), atX += Number(c[4]), atY += Number(c[5]) ] };
					break;
				case 'r':
					code[i] = { m: 'lineTo', a: [ atX += Number(c[0]), atY += Number(c[1]) ] };
					break;
				case 'm':
					code[i] = { m: 'moveTo', a: [ atX = Number(c[0]), atY = Number(c[1]) ] };
					break;
				case 'x':
					code[i] = { m: 'closePath' };
					break;
				case 'e':
					break generate;
			}
			context[code[i].m].apply(context, code[i].a);
		}
		return code;
	}
	
	function interpret(code, context) {
		for (var i = 0, l = code.length; i < l; ++i) {
			var line = code[i];
			context[line.m].apply(context, line.a);
		}
	}
	
	return function(font, text, style, options, node, el) {
		
		var viewBox = font.viewBox;
		
		var size = style.getSize('fontSize', font.baseSize);
		
		var letterSpacing = style.get('letterSpacing');
		letterSpacing = (letterSpacing == 'normal') ? 0 : size.convertFrom(parseInt(letterSpacing, 10));
		
		var expandTop = 0, expandRight = 0, expandBottom = 0, expandLeft = 0;
		var shadows = options.textShadow, shadowOffsets = [];
		if (shadows) {
			for (var i = 0, l = shadows.length; i < l; ++i) {
				var shadow = shadows[i];
				var x = size.convertFrom(parseFloat(shadow.offX));
				var y = size.convertFrom(parseFloat(shadow.offY));
				shadowOffsets[i] = [ x, y ];
				if (y < expandTop) expandTop = y;
				if (x > expandRight) expandRight = x;
				if (y > expandBottom) expandBottom = y;
				if (x < expandLeft) expandLeft = x;
			}
		}
		
		var chars = Cufon.CSS.textTransform(text, style).split('');
		
		var width = 0, lastWidth = null;
		
		for (var i = 0, l = chars.length; i < l; ++i) {
			var glyph = font.glyphs[chars[i]] || font.missingGlyph;
			if (!glyph) continue;
			width += lastWidth = Number(glyph.w || font.w) + letterSpacing;
		}
		
		if (lastWidth === null) return null; // there's nothing to render
		
		expandRight += (viewBox.width - lastWidth);
		expandLeft += viewBox.minX;
		
		var wrapper = document.createElement('span');
		wrapper.className = 'cufon cufon-canvas';
		wrapper.alt = text;
		
		var canvas = document.createElement('canvas');
		
		var wStyle = wrapper.style;
		var cStyle = canvas.style;
		
		var height = size.convert(viewBox.height - expandTop + expandBottom);
		var roundedHeight = Math.ceil(height);
		var roundingFactor = roundedHeight / height;
		
		canvas.width = Math.ceil(size.convert(width + expandRight - expandLeft) * roundingFactor);
		canvas.height = roundedHeight;
		
		// minY has no part in canvas.height
		expandTop += viewBox.minY;
		
		cStyle.top = Math.round(size.convert(expandTop - font.ascent)) + 'px';
		cStyle.left = Math.round(size.convert(expandLeft)) + 'px';
		
		var wrapperWidth = Math.ceil(size.convert(width * roundingFactor)) + 'px';
		
		if (HAS_INLINE_BLOCK) {
			wStyle.width = wrapperWidth;
			wStyle.height = size.convert(font.height) + 'px';
		}
		else {
			wStyle.paddingLeft = wrapperWidth;
			wStyle.paddingBottom = (size.convert(font.height) - 1) + 'px';
		}
		
		var g = canvas.getContext('2d'), scale = roundedHeight / viewBox.height;
		
		g.scale(scale, scale);
		g.translate(-expandLeft, -expandTop);
		
		g.lineWidth = font.face['underline-thickness'];
		
		g.save();
		
		function line(y, color) {
			g.strokeStyle = color;
			
			g.beginPath();
			
			g.moveTo(0, y);
			g.lineTo(width, y);
			
			g.stroke();
		}
		
		var textDecoration = options.enableTextDecoration ? Cufon.CSS.textDecoration(el, style) : {};
		
		if (textDecoration.underline) line(-font.face['underline-position'], textDecoration.underline);
		if (textDecoration.overline) line(font.ascent, textDecoration.overline);
		
		g.fillStyle = style.get('color');
		
		function renderText() {
			for (var i = 0, l = chars.length; i < l; ++i) {
				var glyph = font.glyphs[chars[i]] || font.missingGlyph;
				if (!glyph) continue;
				g.beginPath();
				if (glyph.d) {
					if (glyph.code) interpret(glyph.code, g);
					else glyph.code = generateFromVML('m' + glyph.d, g);
				}
				g.fill();
				g.translate(Number(glyph.w || font.w) + letterSpacing, 0);
			}
		}
		
		if (shadows) {
			for (var i = 0, l = shadows.length; i < l; ++i) {
				var shadow = shadows[i];
				g.save();
				g.fillStyle = shadow.color;
				g.translate.apply(g, shadowOffsets[i]);
				renderText();
				g.restore();
			}
		}
		
		renderText();
		
		g.restore();
		
		if (textDecoration['line-through']) line(-font.descent, textDecoration['line-through']);
		
		wrapper.appendChild(canvas);
		
		if (options.printable) {
			var print = document.createElement('span');
			print.className = 'cufon-alt';
			print.appendChild(document.createTextNode(text));
			wrapper.appendChild(print);
		}
		
		return wrapper;
			
	};
	
})());

Cufon.registerEngine('vml', (function() {

	if (!document.namespaces) return;

	// isn't undocumented stuff great?
	document.write('<!--[if vml]><script type="text/javascript">Cufon.vmlEnabled=true;</script><![endif]-->');
	if (!Cufon.vmlEnabled) return;
	
	if (document.namespaces['cvml'] == null) {
		document.namespaces.add('cvml', 'urn:schemas-microsoft-com:vml');
		document.write('<style type="text/css">' +
			'@media screen{' + 
				'cvml\\:shape,cvml\\:group,cvml\\:shapetype,cvml\\:fill{behavior:url(#default#VML);display:inline-block;antialias:true;position:absolute}' +
				'.cufon-vml{display:inline-block;position:relative;vertical-align:middle}' +
				'.cufon-vml .cufon-alt{display:none}' +
				'a .cufon-vml{cursor:pointer}' +
			'}' +
			'@media print{' + 
				'.cufon-vml *{display:none}' +
				'.cufon-vml .cufon-alt{display:inline}' +
			'}' +
		'</style>');
	}

	var typeIndex = 0; // this is used to reference VML ShapeTypes

	function getFontSizeInPixels(el, value) {
		return getSizeInPixels(el, /(?:em|ex|%)$/i.test(value) ? '1em' : value);
	}
	
	// Original by Dead Edwards.
	// Combined with getFontSizeInPixels it also works with relative units.
	function getSizeInPixels(el, value) {
		if (/px$/i.test(value)) return parseFloat(value);
		var style = el.style.left, runtimeStyle = el.runtimeStyle.left;
		el.runtimeStyle.left = el.currentStyle.left;
		el.style.left = value;
		var result = el.style.pixelLeft;
		el.style.left = style;
		el.runtimeStyle.left = runtimeStyle;
		return result;
	}
	
	function createType(glyph, viewBox) {
		var shapeType = document.createElement('cvml:shapetype');
		shapeType.id = 'cufon-glyph-' + typeIndex++;
		glyph.typeRef = '#' + shapeType.id;
		shapeType.stroked = 'f';
		shapeType.coordsize = viewBox.width + ',' + viewBox.height;
		shapeType.coordorigin = viewBox.minX + ',' + viewBox.minY;
		var ensureSize = 'm' + viewBox.minX + ',' + viewBox.minY + ' r' + viewBox.width + ',' + viewBox.height;
		shapeType.path = (glyph.d ? 'm' + glyph.d + 'x' : '') + ensureSize;
		document.body.insertBefore(shapeType, document.body.firstChild);
	}
	
	return function(font, text, style, options, node, el, hasNext) {
	
		// @todo word-spacing, text-decoration
	
		var viewBox = font.viewBox;
		
		var size = style.computedFontSize || (style.computedFontSize = new Cufon.CSS.Size(getFontSizeInPixels(el, style.get('fontSize')) + 'px', font.baseSize));
		
		var letterSpacing = style.computedLSpacing;
		
		if (letterSpacing == undefined) {
			letterSpacing = style.get('letterSpacing');
			style.computedLSpacing = letterSpacing = (letterSpacing == 'normal') ? 0 : size.convertFrom(getSizeInPixels(el, letterSpacing));
		}
		
		var wrapper = document.createElement('span');
		wrapper.className = 'cufon cufon-vml';
		wrapper.alt = text;
		
		var canvas = document.createElement('cvml:group');
		
		var wStyle = wrapper.runtimeStyle;
		var cStyle = canvas.runtimeStyle;
		
		var height = size.convert(viewBox.height);
		
		cStyle.height = Math.ceil(height);
		cStyle.top = Math.round(size.convert(viewBox.minY - font.ascent));
		cStyle.left = Math.round(size.convert(viewBox.minX));
		
		var roundingFactor = parseInt(cStyle.height, 10) / height;
		
		wStyle.height = size.convert(-font.ascent + font.descent) + 'px';
		
		var textDecoration = options.enableTextDecoration ? Cufon.CSS.textDecoration(el, style) : {};
		
		var color = style.get('color');
		var chars = Cufon.CSS.textTransform(text, style).split('');
		
		var width = 0, offsetX = 0, advance = null;
		
		var shadows = options.textShadow;
		
		for (var i = 0, l = chars.length; i < l; ++i) {
		
			var glyph = font.glyphs[chars[i]] || font.missingGlyph;
			if (!glyph) continue;
			
			if (!glyph.typeRef) createType(glyph, viewBox);
			
			var shape = document.createElement('cvml:shape');
			shape.type = glyph.typeRef;
			var sStyle = shape.runtimeStyle;
			sStyle.width = viewBox.width;
			sStyle.height = viewBox.height;
			sStyle.top = 0;
			sStyle.left = offsetX;
			sStyle.zIndex = 1;
			shape.fillcolor = color;
			canvas.appendChild(shape);
			
			if (shadows) {
				// the VML shadow element is not used because it can only support
				// up to 2 shadows. and it breaks text selection.
				for (var z = 0, p = shadows.length; z < p; ++z) {
					var shadow = shadows[z];
					var shadowColor = Cufon.CSS.color(shadow.color);
					var shadowNode = shape.cloneNode(false), zStyle = shadowNode.runtimeStyle;
					zStyle.top = size.convertFrom(parseFloat(shadow.offY));
					zStyle.left = offsetX + size.convertFrom(parseFloat(shadow.offX));
					zStyle.zIndex = 0;
					shadowNode.fillcolor = shadowColor.color;
					if (shadowColor.opacity) {
						var shadowFill = document.createElement('cvml:fill');
						shadowFill.opacity = shadowColor.opacity;
						shadowNode.appendChild(shadowFill);
					}
					canvas.appendChild(shadowNode);
				}
			}
			
			advance = Number(glyph.w || font.w) + letterSpacing;
			
			width += advance;
			offsetX += advance;
			
		}
		
		if (advance === null) return null;
		
		var fullWidth = -viewBox.minX + width + (viewBox.width - advance);
		
		canvas.coordsize = fullWidth + ',' + viewBox.height;
		
		cStyle.width = size.convert(fullWidth * roundingFactor);
		
		wStyle.width = Math.max(Math.ceil(size.convert(width * roundingFactor)), 0);
		
		wrapper.appendChild(canvas);
	
		if (options.printable) {
			var print = document.createElement('span');
			print.className = 'cufon-alt';
			print.innerText = text;
			wrapper.appendChild(print);
		}
		
		// ie6, for some reason, has trouble rendering the last VML element in the document.
		// we can work around this by injecting a dummy element where needed.
		// @todo find a better solution
		if (!hasNext) wrapper.appendChild(document.createElement('cvml:group'));
		
		return wrapper;
		
	};
	
})());


if (!{"foliosus.com":1,"www.foliosus.com":1}[location.host]) throw Error("Host not allowed");Cufon.registerFont({"w":248,"face":{"font-family":"Eurostile LT Std","font-weight":"400","font-stretch":"normal","units-per-em":"360","panose-1":"2 11 5 4 2 2 2 5 2 4","ascent":"270","descent":"-90","x-height":"2","bbox":"-18 -295 404 90","underline-thickness":"18","underline-position":"-36","stemh":"23","stemv":"28","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{"w":124},"!":{"d":"66,-37r0,37r-33,0r0,-37r33,0xm66,-270r-3,195r-27,0r-3,-195r33,0","w":97},"\"":{"d":"18,-270r34,0v2,35,-4,62,-10,89r-14,0v-6,-27,-12,-54,-10,-89xm76,-270r33,0v2,34,-3,62,-9,89r-15,0v-5,-27,-11,-54,-9,-89","w":127},"#":{"d":"98,-270r28,0r-13,73r45,0r12,-73r29,0r-13,73r33,0r0,29r-38,0r-10,59r36,0r0,29r-42,0r-13,80r-28,0r14,-80r-45,0r-14,80r-27,0r13,-80r-36,0r0,-29r42,0r9,-59r-38,0r0,-29r43,0xm108,-168r-9,59r44,0r10,-59r-45,0"},"$":{"d":"113,-150r0,-95v-48,0,-69,0,-69,47v0,49,26,49,69,48xm136,-125r0,100v53,0,72,-2,72,-50v0,-51,-23,-48,-72,-50xm136,-245r0,95v57,1,102,0,102,72v0,68,-31,78,-102,78r0,31r-23,0r0,-31v-71,2,-105,-9,-102,-84r30,0v0,48,-2,60,72,59r0,-100v-58,0,-100,-1,-100,-69v0,-70,35,-76,100,-76r0,-25r23,0r0,25v69,-2,99,7,96,76r-31,0v1,-45,-6,-52,-65,-51"},"%":{"d":"251,-18v48,0,37,-31,38,-69v0,-28,-7,-28,-38,-28v-49,0,-34,32,-36,67v0,30,6,30,36,30xm251,-135v60,-8,62,32,59,88v0,43,-17,49,-59,49v-59,8,-60,-33,-58,-88v1,-43,16,-49,58,-49xm263,-270r-183,272r-24,0r182,-272r25,0xm65,-272v60,-8,63,32,60,88v-1,43,-18,49,-59,49v-60,8,-60,-33,-58,-88v1,-43,15,-49,57,-49xm65,-155v49,0,37,-31,38,-69v0,-28,-6,-28,-38,-28v-48,0,-33,32,-35,67v0,30,6,30,35,30","w":318},"&":{"d":"203,-52r-106,-87v-39,9,-43,15,-43,58v0,52,8,56,72,56v29,0,70,3,77,-27xm266,0r-40,-33v-15,35,-57,35,-100,35v-60,0,-103,1,-103,-84v0,-65,21,-63,55,-73v-18,-15,-24,-23,-24,-53v0,-54,30,-64,82,-64v55,-3,82,20,77,85r-31,0v0,-40,3,-61,-46,-58v-29,0,-52,1,-52,37v0,19,5,25,19,37r105,89v1,-13,2,-25,0,-37r29,0v0,21,1,41,-3,59r49,39","w":283},"(":{"d":"90,-272r0,27v-38,-6,-41,32,-40,57r0,157v-1,25,2,64,40,58r0,27v-59,4,-72,-36,-70,-85r0,-157v-1,-49,11,-88,70,-84","w":112},")":{"d":"22,-245r0,-27v59,-4,73,35,71,84r0,157v1,49,-12,90,-71,85r0,-27v38,6,41,-32,40,-58r0,-157v1,-24,-2,-63,-40,-57","w":112},"*":{"d":"196,-212r-55,20r33,47r-16,12r-33,-48r-36,48r-16,-12r34,-47r-55,-21r7,-19r55,20r0,-58r20,0r0,58r55,-20"},"+":{"d":"92,-189r27,0r0,73r73,0r0,27r-73,0r0,74r-27,0r0,-74r-74,0r0,-27r74,0r0,-73","w":210},",":{"d":"57,0r-13,0r0,-37r32,0v-3,37,13,82,-36,77r0,-16v16,1,18,-8,17,-24","w":124},"-":{"d":"0,-112r94,0r0,27r-94,0r0,-27","w":93},".":{"d":"72,-37r0,37r-32,0r0,-37r32,0","w":124},"\/":{"d":"252,-270r-209,311r-33,0r208,-311r34,0","w":261},"0":{"d":"124,-245v-66,0,-84,0,-84,70r0,80v0,70,18,70,84,70v67,0,84,0,84,-70r0,-80v0,-70,-17,-70,-84,-70xm125,2v-85,0,-114,-11,-116,-97r0,-80v2,-86,31,-97,115,-97v84,0,113,11,115,97r0,80v-2,86,-31,97,-114,97"},"1":{"d":"161,-270r0,270r-30,0r0,-247r-69,76r-20,-18r75,-81r44,0"},"2":{"d":"220,-27r0,27r-194,0r0,-46v0,-70,30,-75,95,-81v57,-6,69,-4,69,-60v0,-56,-12,-58,-63,-58v-73,-3,-72,11,-70,68r-31,0v0,-69,-1,-95,101,-95v72,0,94,17,94,85v0,72,-25,81,-93,87v-69,3,-73,17,-71,73r163,0"},"3":{"d":"99,-125r0,-27v47,-3,92,14,87,-45v0,-44,-7,-48,-70,-48v-58,-2,-61,10,-61,58r-31,0v-4,-74,28,-88,96,-85v57,0,96,0,96,70v1,36,-8,58,-44,64v41,3,50,22,50,62v0,81,-41,78,-105,78v-70,3,-102,-16,-96,-89r30,0v-1,51,-2,65,66,62v65,1,74,-1,74,-55v3,-58,-44,-42,-92,-45"},"4":{"d":"193,-270r0,181r40,0r0,27r-40,0r0,62r-30,0r0,-62r-152,0r0,-36r136,-172r46,0xm163,-89r-1,-161r-126,161r127,0"},"5":{"d":"60,-243r0,81v13,-22,50,-23,73,-23v84,0,91,40,91,91v0,85,-18,96,-99,96v-77,2,-98,-12,-101,-79r31,0v-2,48,17,54,70,52v63,0,68,-10,68,-69v0,-58,-10,-64,-68,-64v-22,0,-60,-4,-65,25r-31,0r0,-137r184,0r0,27r-153,0"},"6":{"d":"131,-140v-60,0,-76,3,-76,47v0,58,5,68,69,68v67,0,70,-9,70,-57v0,-52,-6,-58,-63,-58xm24,-93r0,-107v1,-64,39,-72,102,-72v47,-2,96,3,92,70r-30,0v2,-41,-19,-44,-62,-43v-50,0,-70,-1,-71,45r0,58v7,-17,28,-25,69,-25v75,0,100,9,100,85v0,72,-23,84,-100,84v-75,0,-100,-11,-100,-95"},"7":{"d":"220,-270r0,39r-131,231r-36,0r141,-245r-171,0r0,-25r197,0"},"8":{"d":"23,-75v-1,-39,7,-57,47,-66v-37,-6,-43,-21,-43,-61v0,-67,31,-70,97,-70v65,0,98,2,98,70v0,34,-4,55,-43,62v37,6,46,22,46,65v0,69,-22,77,-101,77v-64,0,-101,1,-101,-77xm58,-202v0,41,4,49,66,49v62,0,67,-7,67,-49v0,-37,-5,-43,-67,-43v-62,0,-66,4,-66,43xm54,-75v0,44,4,49,70,50v60,1,70,-8,70,-50v0,-45,-8,-51,-70,-51v-60,0,-70,4,-70,51"},"9":{"d":"126,-132v62,0,69,-3,69,-54v0,-58,-15,-59,-69,-59v-62,0,-69,2,-69,59v0,51,9,54,69,54xm126,2v-68,1,-107,-4,-103,-71r30,0v-1,41,7,44,73,44v57,0,69,-2,69,-58v-1,-15,2,-33,-1,-46v-11,26,-58,24,-68,24v-75,0,-100,-9,-100,-81v0,-75,22,-86,100,-86v76,0,100,12,100,86r0,103v0,68,-14,85,-100,85"},":":{"d":"72,-37r0,37r-32,0r0,-37r32,0xm72,-189r0,37r-32,0r0,-37r32,0","w":124},";":{"d":"57,0r-13,0r0,-37r32,0v-3,37,13,82,-36,77r0,-16v16,1,18,-8,17,-24xm76,-189r0,37r-32,0r0,-37r32,0","w":124},"<":{"d":"192,-174r0,29r-142,58r142,58r0,29r-174,-75r0,-25","w":210},"=":{"d":"18,-144r174,0r0,27r-174,0r0,-27xm18,-88r174,0r0,27r-174,0r0,-27","w":210},">":{"d":"192,-100r0,25r-174,75r0,-29r141,-58r-141,-58r0,-29","w":210},"?":{"d":"108,-77r-31,0v-1,-43,6,-51,51,-67v29,-12,33,-15,33,-56v0,-40,-9,-45,-54,-45v-52,-4,-60,11,-58,60r-28,0v-3,-71,22,-91,86,-87v59,0,83,13,83,72v0,43,-4,65,-47,80v-35,11,-36,13,-35,43xm108,-37r0,37r-32,0r0,-37r32,0","w":210},"@":{"d":"232,-198r25,0r-32,101v-3,10,4,16,20,16v34,0,50,-48,50,-81v0,-54,-60,-87,-111,-87v-64,1,-122,61,-121,125v2,84,98,123,175,92r9,21v-97,39,-212,-12,-211,-116v3,-78,71,-145,147,-145v63,0,137,38,137,107v0,49,-30,105,-83,105v-16,0,-33,-5,-36,-23v-12,12,-24,23,-43,23v-33,1,-53,-30,-51,-60v-4,-59,86,-122,118,-57xm166,-81v41,-2,75,-99,20,-103v-32,0,-51,37,-52,65v-1,17,12,38,32,38","w":356},"A":{"d":"192,-57r-137,0r-21,57r-32,0r98,-270r44,0r100,270r-31,0xm183,-82r-60,-163r-60,163r120,0","w":246},"B":{"d":"53,-125r0,98r96,0v34,0,50,-4,50,-45v0,-36,-6,-54,-46,-53r-100,0xm166,0r-144,0r0,-270r137,0v51,0,62,24,62,71v1,30,-7,47,-33,58v36,6,41,32,41,66v0,48,-18,75,-63,75xm53,-243r0,91v60,-7,138,26,138,-51v0,-68,-85,-31,-138,-40","w":249},"C":{"d":"231,-67v1,79,-66,68,-136,69v-50,0,-79,-31,-79,-85r0,-104v0,-87,61,-86,138,-85v60,-1,75,28,74,86r-31,0v4,-48,-15,-63,-65,-59v-63,0,-85,7,-85,57v5,68,-22,172,53,163v51,0,110,6,101,-45r0,-22r30,0r0,25","w":239},"D":{"d":"23,0r0,-270r131,0v33,0,93,4,93,104r0,64v0,27,-4,102,-85,102r-139,0xm54,-27r100,0v81,3,58,-80,62,-151v0,-15,-5,-65,-57,-65r-105,0r0,216","w":264},"E":{"d":"45,-243r0,92r137,0r0,25r-137,0r0,99r143,0r0,27r-173,0r0,-270r173,0r0,27r-143,0","w":201},"F":{"d":"54,-243r0,94r131,0r0,26r-131,0r0,123r-31,0r0,-270r166,0r0,27r-135,0","w":197},"G":{"d":"122,-135r117,0r0,59v3,75,-47,80,-119,78v-72,0,-104,-13,-104,-97r0,-83v0,-106,62,-95,150,-94v49,-1,78,24,72,81r-31,0v13,-58,-37,-56,-94,-54v-58,0,-67,11,-67,70r0,87v-4,64,37,64,97,63v70,6,66,-25,65,-83r-86,0r0,-27","w":250},"H":{"d":"245,-270r0,270r-31,0r0,-124r-158,0r0,124r-30,0r0,-270r30,0r0,119r158,0r0,-119r31,0","w":270},"I":{"d":"57,-270r0,270r-31,0r0,-270r31,0","w":82},"J":{"d":"147,-270r30,0r0,205v0,54,-33,67,-82,67v-46,0,-85,-7,-85,-61r0,-39r31,0v1,45,-8,78,49,73v28,0,57,0,57,-36r0,-209","w":203},"K":{"d":"57,-270r0,118r26,0r110,-118r40,0r-123,131r138,139r-41,0r-124,-125r-26,0r0,125r-31,0r0,-270r31,0","w":244},"L":{"d":"58,-270r0,243r137,0r0,27r-168,0r0,-270r31,0","w":200},"M":{"d":"292,-247r-103,247r-30,0r-103,-247r0,247r-31,0r0,-270r53,0r96,231r95,-231r53,0r0,270r-30,0r0,-247","w":347},"N":{"d":"257,-270r0,270r-50,0r-152,-245r0,245r-31,0r0,-270r51,0r152,247r0,-247r30,0","w":281},"O":{"d":"15,-181v-5,-83,42,-95,124,-91v67,1,88,23,88,91r0,96v4,77,-44,92,-124,87v-65,0,-88,-24,-88,-87r0,-96xm196,-181v5,-70,-34,-64,-93,-64v-83,0,-52,93,-58,160v-3,69,38,59,94,60v40,0,57,-7,57,-60r0,-96","w":241},"P":{"d":"21,0r0,-270r138,0v52,0,64,35,64,82v0,24,0,83,-66,83r-105,0r0,105r-31,0xm193,-184v0,-93,-76,-49,-141,-59r0,111v62,-9,141,30,141,-52","w":237},"Q":{"d":"264,-33r-12,21r-21,-14v-23,31,-69,28,-120,28v-107,9,-93,-84,-93,-179v-5,-83,50,-100,135,-95v69,0,94,24,94,95v-2,43,4,95,-5,129xm137,-117r78,51v5,-37,1,-82,2,-122v0,-33,-9,-57,-58,-57v-60,-1,-118,-6,-110,61r0,88v-7,84,44,70,110,71v19,0,39,-4,48,-17r-84,-54","w":265},"R":{"d":"55,-108r0,108r-30,0r0,-270v91,7,218,-32,208,78v1,39,-6,65,-47,72v57,0,42,66,44,120r-31,0v-3,-51,14,-112,-45,-108r-99,0xm55,-135r95,0v47,-1,53,-16,53,-60v0,-71,-91,-43,-148,-48r0,108","w":252},"S":{"d":"112,-125v-53,-4,-99,3,-99,-69v0,-72,33,-78,100,-78v58,0,100,2,97,76r-31,0v-1,-47,-10,-49,-67,-49v-60,0,-68,7,-68,45v0,51,24,47,74,48v65,4,97,2,97,75v0,77,-36,79,-104,79v-69,0,-105,-8,-99,-86r31,0v-1,59,11,59,68,59v57,0,73,0,73,-53v0,-51,-23,-43,-72,-47","w":226},"T":{"d":"120,-243r0,243r-31,0r0,-243r-88,0r0,-27r206,0r0,27r-87,0","w":208},"U":{"d":"209,-270r31,0r0,194v0,73,-43,78,-107,78v-59,0,-107,-1,-107,-78r0,-194r31,0r0,194v0,44,10,51,76,51v54,0,76,0,76,-51r0,-194","w":265},"V":{"d":"201,-270r33,0r-96,270r-44,0r-96,-270r33,0r86,247","w":231},"W":{"d":"404,-270r-85,270r-47,0r-71,-243r-72,243r-45,0r-83,-270r31,0r74,247r73,-247r45,0r73,247r75,-247r32,0","w":404},"X":{"d":"231,-270r-87,130r93,140r-36,0r-82,-124r-84,124r-37,0r96,-140r-88,-130r36,0r77,116r76,-116r36,0","w":235},"Y":{"d":"230,-270r-103,157r0,113r-30,0r0,-113r-99,-157r35,0r80,126r80,-126r37,0","w":227},"Z":{"d":"216,-270r0,28r-170,215r174,0r0,27r-211,0r0,-27r170,-216r-165,0r0,-27r202,0","w":229},"[":{"d":"20,-272r70,0r0,27r-40,0r0,272r40,0r0,27r-70,0r0,-326","w":111},"\\":{"d":"85,41r-103,-311r33,0r103,311r-33,0","w":100},"]":{"d":"92,54r-70,0r0,-27r40,0r0,-272r-40,0r0,-27r70,0r0,326","w":111},"^":{"d":"93,-270r25,0r74,176r-29,0r-58,-141r-58,141r-29,0","w":210},"_":{"d":"180,27r0,18r-180,0r0,-18r180,0","w":180},"a":{"d":"95,-21v28,0,57,-1,57,-35v0,-36,-21,-35,-57,-35v-34,0,-48,2,-48,32v0,36,15,38,48,38xm181,0r-28,0v-1,-6,1,-15,-1,-20v-11,21,-39,22,-62,22v-43,0,-72,-8,-72,-57v0,-52,27,-59,73,-59v19,0,56,1,60,19r2,0r0,-35v0,-35,-19,-38,-51,-38v-24,-1,-53,1,-49,32r-30,0v-2,-50,33,-57,76,-55v48,-1,82,5,82,62r0,129","w":205},"b":{"d":"159,-94v0,-62,-7,-74,-52,-74v-50,0,-53,20,-53,74v0,61,11,73,53,73v50,0,52,-21,52,-73xm24,0r0,-270r29,0r1,105v9,-24,39,-26,60,-26v66,0,74,38,74,97v0,61,-8,96,-74,96v-25,0,-50,-5,-60,-25v-3,5,0,16,-1,23r-29,0","w":206},"c":{"d":"153,-68r29,0v4,58,-31,72,-80,70v-79,0,-84,-30,-84,-100v0,-62,10,-93,79,-93v48,-1,84,7,82,64r-29,0v2,-37,-16,-42,-51,-41v-51,0,-52,17,-52,78v0,53,2,69,58,69v39,2,50,-9,48,-47","w":196},"d":{"d":"101,-21v44,0,52,-15,52,-73v0,-52,-6,-74,-52,-74v-44,0,-54,7,-54,74v0,65,13,73,54,73xm153,0r0,-24v-12,22,-36,26,-61,26v-68,0,-74,-39,-74,-96v0,-57,6,-97,74,-97v21,0,52,2,61,25r0,-104r29,0r0,270r-29,0","w":206},"e":{"d":"155,-57r29,0v3,54,-35,60,-80,59v-74,0,-85,-24,-85,-96v0,-79,17,-97,85,-97v68,-4,83,28,80,103r-136,0v0,60,5,67,56,67v43,0,52,-3,51,-36xm48,-111r107,0v-2,-54,-8,-57,-51,-57v-52,0,-54,13,-56,57","w":203},"f":{"d":"60,-189r50,0r0,23r-50,0r0,166r-28,0r0,-166r-29,0r0,-23r29,0v-6,-62,13,-92,78,-82r0,23v-31,-4,-55,1,-50,33r0,26","w":108},"g":{"d":"100,-21v54,0,54,-31,54,-73v0,-53,-3,-74,-54,-74v-53,0,-52,24,-52,74v0,45,-3,73,52,73xm183,-189r0,211v0,51,-38,62,-83,62v-44,0,-79,-7,-76,-62r29,0v0,37,17,39,47,39v34,0,54,-4,54,-41r0,-43v-8,23,-39,25,-61,25v-61,0,-75,-32,-75,-96v0,-63,10,-97,75,-97v26,0,50,3,61,26r0,-24r29,0","w":206},"h":{"d":"53,-270r1,104v9,-23,37,-25,58,-25v49,0,72,13,72,65r0,126r-29,0r0,-128v0,-34,-13,-40,-45,-40v-89,-9,-48,99,-57,168r-28,0r0,-270r28,0","w":208},"i":{"d":"53,-189r0,189r-29,0r0,-189r29,0xm53,-270r0,31r-29,0r0,-31r29,0","w":77},"j":{"d":"53,-189r0,212v3,34,-16,60,-55,50r0,-22v25,6,28,-18,26,-38r0,-202r29,0xm53,-270r0,31r-29,0r0,-31r29,0","w":75},"k":{"d":"53,-270r0,156r11,0r68,-75r35,0r-81,87r96,102r-37,0r-81,-91r-11,0r0,91r-29,0r0,-270r29,0","w":175},"l":{"d":"53,-270r0,270r-29,0r0,-270r29,0","w":77},"m":{"d":"52,-189v1,9,-2,22,1,29v10,-24,39,-31,63,-31v23,0,52,6,58,31v31,-51,133,-44,133,35r0,125r-28,0r0,-122v0,-32,-5,-46,-42,-46v-85,-10,-50,100,-57,168r-29,0r0,-127v-1,-25,-1,-41,-42,-41v-81,-7,-52,98,-57,168r-28,0r0,-189r28,0","w":330},"n":{"d":"53,-189v1,7,-2,18,1,23v9,-23,37,-25,58,-25v49,0,72,13,72,65r0,126r-29,0r0,-128v0,-34,-13,-40,-45,-40v-89,-9,-48,99,-57,168r-28,0r0,-189r28,0","w":208},"o":{"d":"19,-94v0,-80,13,-97,84,-97v70,0,83,17,83,97v0,79,-13,96,-83,96v-71,0,-84,-17,-84,-96xm48,-94v0,65,4,73,55,73v50,0,54,-8,54,-73v0,-66,-4,-74,-54,-74v-51,0,-55,8,-55,74","w":205},"p":{"d":"106,-168v-54,0,-54,24,-54,74v0,44,3,73,54,73v44,0,52,-12,52,-73v0,-57,-4,-74,-52,-74xm52,-189v1,8,-1,18,1,24v11,-22,37,-26,61,-26v69,0,74,40,74,97v0,75,-19,96,-74,96v-23,1,-49,-4,-62,-24r0,104r-28,0r0,-271r28,0","w":206},"q":{"d":"102,-21v48,0,52,-24,52,-73v0,-53,-2,-74,-56,-74v-38,0,-50,8,-50,74v0,53,1,73,54,73xm183,-189r0,271r-29,0r0,-104v-10,22,-38,24,-56,24v-57,0,-79,-15,-79,-96v0,-62,8,-97,79,-97v23,0,45,5,56,25r0,-23r29,0","w":207},"r":{"d":"21,-189r28,0v0,8,-3,18,-1,24v23,-43,115,-34,106,27r0,14r-27,0v1,-28,-2,-46,-32,-44v-75,-2,-37,105,-46,168r-28,0r0,-189","w":159},"s":{"d":"100,-191v36,-1,78,3,74,51r-29,0v2,-26,-11,-26,-45,-26v-35,0,-52,0,-52,23v0,34,9,31,38,33v49,3,93,-5,93,57v0,53,-36,55,-79,55v-48,1,-92,-5,-83,-62r29,0v-2,34,2,36,54,37v20,0,50,4,50,-29v0,-35,-15,-29,-50,-31v-41,-3,-82,1,-82,-52v0,-55,31,-56,82,-56","w":193},"t":{"d":"125,-189r0,23r-74,0r0,120v1,20,6,25,27,25v33,0,26,-21,27,-46r27,0v3,45,-10,70,-55,69v-85,10,-45,-102,-54,-168r-25,0r0,-23r25,0r0,-46r28,0r0,46r74,0","w":131},"u":{"d":"151,0v-1,-8,2,-19,-1,-25v-10,23,-34,27,-59,27v-96,9,-60,-110,-67,-191r28,0r0,121v0,31,2,47,39,47v40,0,61,-6,61,-51r0,-117r28,0r0,189r-29,0","w":205},"v":{"d":"165,-189r-64,189r-40,0r-62,-189r28,0r55,167r52,-167r31,0","w":163},"w":{"d":"270,-189r-53,189r-41,0r-41,-169r-41,169r-41,0r-52,-189r30,0r43,169r42,-169r40,0r42,169r43,-169r29,0","w":271},"x":{"d":"158,-189r-60,90r67,99r-34,0r-49,-76r-49,76r-34,0r68,-99r-61,-90r32,0r44,69r43,-69r33,0","w":163},"y":{"d":"159,-189r-55,202v-9,40,-25,80,-76,69r0,-22v37,9,43,-35,49,-60r-10,0r-68,-189r29,0r59,168r42,-168r30,0","w":157},"z":{"d":"155,-189r0,26r-113,140r113,0r0,23r-146,0r0,-26r113,-140r-104,0r0,-23r137,0","w":163},"{":{"d":"17,-96r0,-27v70,-3,-25,-169,88,-149r0,27v-44,-11,-25,46,-29,80v0,38,-23,54,-26,56v3,2,26,18,26,55r0,59v-2,22,9,23,29,22r0,27v-60,15,-63,-44,-60,-102v0,-28,-3,-45,-28,-48","w":120},"|":{"d":"60,-270r0,360r-27,0r0,-360r27,0","w":93},"}":{"d":"103,-122r0,27v-70,3,25,169,-88,149r0,-27v44,11,25,-47,29,-81v0,-37,23,-53,26,-55v-3,-3,-26,-18,-26,-56r0,-58v2,-22,-9,-23,-29,-22r0,-27v60,-15,63,44,60,102v0,27,3,44,28,48","w":120},"~":{"d":"43,-77r-25,0v-4,-35,29,-74,64,-54v23,11,41,36,69,36v14,0,17,-17,16,-31r25,0v5,39,-35,75,-74,48v-18,-12,-36,-27,-58,-33v-9,0,-18,16,-17,34","w":210},"'":{"d":"18,-270r33,0v2,34,-3,62,-9,89r-15,0v-5,-27,-11,-54,-9,-89","w":68},"`":{"d":"41,-267r54,40r-10,15r-58,-36","w":121}}});Cufon.registerFont({"w":259,"face":{"font-family":"Eurostile LT Std","font-weight":"700","font-stretch":"normal","units-per-em":"360","panose-1":"2 11 8 4 2 2 2 5 2 4","ascent":"270","descent":"-90","x-height":"2","bbox":"-7 -302 401 90","underline-thickness":"18","underline-position":"-36","stemh":"45","stemv":"62","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{"w":129},"!":{"d":"92,-63r0,63r-58,0r0,-63r58,0xm96,-270r-2,164r-62,0r-2,-164r66,0","w":125},"\"":{"d":"15,-270r49,0v3,39,-5,67,-15,93r-19,0v-10,-26,-18,-54,-15,-93xm95,-270r49,0v3,39,-5,67,-15,93r-19,0v-10,-26,-18,-54,-15,-93","w":159},"#":{"d":"102,-270r38,0r-14,76r36,0r14,-76r38,0r-14,76r29,0r0,41r-36,0r-8,47r34,0r0,41r-43,0r-12,65r-38,0r12,-65r-36,0r-12,65r-39,0r12,-65r-32,0r0,-41r40,0r9,-47r-35,0r0,-41r42,0xm118,-153r-9,47r37,0r10,-47r-38,0"},"$":{"d":"77,-189v-6,30,44,21,69,26v65,5,105,8,105,79v0,66,-30,86,-105,86r0,33r-35,0r0,-33v-66,0,-103,-13,-103,-91r65,0v-4,49,36,31,73,35v26,0,40,0,40,-28v8,-30,-47,-25,-75,-29v-87,-6,-99,-24,-99,-78v0,-69,24,-83,99,-83r0,-30r35,0r0,30v57,3,96,8,96,83r-63,0v4,-37,-37,-25,-68,-27v-22,0,-34,2,-34,27"},"%":{"d":"258,-135v61,-8,63,32,60,88v0,43,-17,49,-59,49v-59,8,-60,-33,-58,-88v1,-43,16,-49,57,-49xm258,-29v31,7,23,-28,24,-53v0,-21,-4,-22,-24,-22v-29,-7,-19,29,-21,52v0,22,4,23,21,23xm66,-272v60,-8,62,32,59,88v0,43,-17,49,-59,49v-59,8,-60,-33,-58,-88v1,-43,16,-49,58,-49xm66,-166v30,7,22,-28,23,-53v0,-21,-4,-22,-23,-22v-30,-7,-20,28,-22,52v0,22,4,23,22,23xm267,-270r-159,270r-44,0r160,-270r43,0","w":326},"&":{"d":"174,-61r-72,-62v-17,2,-16,19,-16,32v-3,50,53,38,88,30xm168,-185v2,-30,-2,-33,-31,-34v-33,-4,-26,37,-10,51r67,59r0,-36r57,0v-1,28,4,60,-7,79r30,27r-32,39r-25,-22v-18,24,-51,24,-80,24v-69,0,-118,-7,-118,-86v0,-34,7,-69,48,-70v-17,-15,-20,-23,-20,-46v0,-62,30,-72,90,-72v66,-2,98,15,93,87r-62,0","w":278},"(":{"d":"21,-60v9,-105,-39,-220,97,-212r0,59v-27,0,-29,16,-29,46r0,116v0,23,0,46,29,46r0,59v-94,0,-97,-31,-97,-114","w":138},")":{"d":"21,-272v136,-7,87,106,97,212v0,83,-4,114,-97,114r0,-59v28,0,29,-23,29,-46r0,-116v0,-30,-2,-46,-29,-46r0,-59","w":138},"*":{"d":"203,-203r-45,14r27,39r-26,20r-28,-41r-30,40r-28,-19r29,-39r-46,-17r11,-32r46,17r0,-49r33,0r0,49r47,-17"},"+":{"d":"87,-120r0,-69r42,0r0,69r69,0r0,41r-69,0r0,72r-42,0r0,-72r-69,0r0,-41r69,0","w":216},",":{"d":"34,-60r59,0v-2,62,15,117,-62,111r0,-27v20,0,26,-6,26,-24r-23,0r0,-60","w":129},"-":{"d":"0,-129r98,0r0,59r-98,0r0,-59","w":97},".":{"d":"91,-63r0,63r-59,0r0,-63r59,0","w":129},"\/":{"d":"219,-270r-159,311r-49,0r159,-311r49,0","w":229},"0":{"d":"130,-272v56,0,112,3,112,95r0,84v0,92,-56,95,-112,95v-57,0,-113,-3,-113,-95r0,-84v0,-92,56,-95,113,-95xm130,-213v-36,0,-44,1,-44,47r0,62v0,46,8,47,44,47v35,0,44,-1,44,-47r0,-62v0,-46,-9,-47,-44,-47"},"1":{"d":"201,-270r0,270r-72,0r0,-206r-70,63r-41,-46r99,-81r84,0"},"2":{"d":"235,-56r0,56r-213,0v0,-94,-11,-132,95,-148v46,-11,50,-10,50,-38v0,-27,-9,-30,-38,-30v-40,-3,-38,12,-38,45r-69,0v-4,-80,32,-103,107,-101v63,0,106,9,106,85v0,60,-18,72,-74,87v-55,15,-70,7,-70,44r144,0"},"3":{"d":"112,-112r0,-52v29,0,63,1,55,-22v0,-22,-1,-30,-38,-30v-28,-2,-40,4,-38,37r-68,0v-3,-81,36,-96,109,-93v44,0,103,3,103,73v0,30,-8,56,-41,60r0,3v35,2,45,27,45,58v0,70,-46,80,-107,80v-67,3,-118,-12,-112,-97r68,0v-3,34,12,44,41,41v30,0,41,-1,41,-33v8,-23,-25,-26,-58,-25"},"4":{"d":"222,-270r0,165r24,0r0,52r-24,0r0,53r-68,0r0,-53r-141,0r0,-77r103,-140r106,0xm154,-105v-2,-35,4,-79,-2,-110r-83,110r85,0"},"5":{"d":"23,-78r69,0v1,22,14,24,34,24v32,0,41,-1,41,-36v0,-34,0,-42,-41,-42v-23,0,-30,0,-34,13r-62,0r0,-151r195,0r0,52r-133,0r0,52v18,-19,25,-20,59,-20v66,0,85,26,85,89v0,86,-32,99,-110,99v-66,0,-101,-14,-103,-80"},"6":{"d":"123,-108v-26,0,-34,3,-34,24v0,25,4,30,34,30v39,0,44,-2,44,-31v0,-23,-12,-23,-44,-23xm238,-188r-69,0v0,-27,-11,-28,-37,-28v-51,-12,-44,40,-42,80v9,-27,26,-28,49,-28v63,0,96,7,96,78v0,75,-34,88,-103,88v-89,0,-111,-18,-111,-109r0,-68v0,-83,33,-97,111,-97v60,-2,111,8,106,84"},"7":{"d":"225,-270r0,60r-90,210r-76,0r92,-210r-130,0r0,-60r204,0"},"8":{"d":"129,-111v-33,0,-41,3,-41,29v0,23,10,28,41,28v40,0,42,-6,42,-30v0,-25,-5,-27,-42,-27xm130,2v-58,0,-110,-6,-110,-77v0,-30,15,-60,49,-62r0,-2v-33,-9,-44,-28,-44,-62v0,-66,52,-71,105,-71v58,0,105,5,105,74v2,39,-12,46,-41,61v35,5,45,30,45,62v0,72,-49,77,-109,77xm130,-163v30,0,37,-3,37,-29v0,-18,-2,-24,-37,-24v-30,0,-37,3,-37,27v0,23,10,26,37,26"},"9":{"d":"135,-162v26,0,34,-3,34,-24v0,-25,-4,-30,-34,-30v-39,0,-44,2,-44,31v0,23,12,23,44,23xm21,-82r68,0v0,27,11,28,37,28v51,12,44,-40,42,-80v-9,27,-25,28,-49,28v-63,0,-96,-7,-96,-78v0,-75,34,-88,103,-88v89,0,111,18,111,109r0,68v0,83,-33,97,-111,97v-59,2,-110,-8,-105,-84"},":":{"d":"91,-63r0,63r-59,0r0,-63r59,0xm91,-189r0,63r-59,0r0,-63r59,0","w":129},";":{"d":"31,51r0,-27v20,0,26,-6,26,-24r-23,0r0,-60r59,0v-2,62,15,117,-62,111xm93,-189r0,63r-59,0r0,-63r59,0","w":129},"<":{"d":"198,-189r0,46r-122,44r122,42r0,47r-180,-68r0,-43","w":216},"=":{"d":"18,-162r180,0r0,42r-180,0r0,-42xm18,-79r180,0r0,42r-180,0r0,-42","w":216},">":{"d":"18,-189r180,68r0,43r-180,68r0,-47r122,-43r-122,-43r0,-46","w":216},"?":{"d":"130,-95r-62,0v-5,-46,12,-62,50,-77v12,-6,22,-11,22,-31v0,-19,-10,-22,-29,-22v-23,-2,-37,7,-33,33r-61,0v-3,-67,32,-82,94,-80v55,0,91,8,91,69v0,47,-14,58,-53,74v-19,9,-20,14,-19,34xm128,-63r0,63r-58,0r0,-63r58,0","w":217},"@":{"d":"140,-165v-37,-2,-51,68,-8,70v40,3,53,-69,8,-70xm179,-182r4,-19r34,0r-18,106v-1,6,-3,13,5,13v15,0,35,-27,35,-66v0,-59,-42,-92,-97,-92v-60,0,-100,46,-100,106v-7,93,112,132,175,80r36,0v-66,103,-254,51,-247,-80v0,-78,61,-138,137,-138v61,0,125,47,125,112v0,54,-41,105,-90,105v-12,0,-21,-6,-21,-19v-34,39,-95,5,-95,-47v0,-61,75,-112,117,-61","w":273},"A":{"d":"181,-46r-97,0r-13,46r-75,0r81,-270r109,0r82,270r-73,0xm166,-99r-34,-117r-33,117r67,0","w":263},"B":{"d":"22,0r0,-270r141,0v54,0,86,10,86,69v0,34,-7,57,-43,62r0,3v40,3,47,27,47,61v0,66,-31,75,-88,75r-143,0xm94,-211r0,49v32,-4,89,14,83,-26v5,-36,-53,-19,-83,-23xm94,-112r0,53v35,-4,87,14,87,-27v0,-42,-54,-21,-87,-26","w":265},"C":{"d":"176,-102r74,0v0,34,2,62,-25,84v-24,21,-54,20,-85,20v-74,0,-127,-3,-127,-102r0,-70v0,-89,47,-102,127,-102v78,-3,112,13,110,99r-74,0v2,-31,-16,-37,-44,-37v-59,0,-42,46,-45,94v0,40,2,56,45,56v33,1,46,-7,44,-42","w":262},"D":{"d":"19,0r0,-270r137,0v98,-6,115,61,108,161v0,74,-24,109,-99,109r-146,0xm91,-207r0,144v49,-1,105,11,99,-46v-1,-42,11,-98,-36,-98r-63,0","w":279},"E":{"d":"95,-211r0,49r115,0r0,50r-115,0r0,53r125,0r0,59r-197,0r0,-270r195,0r0,59r-123,0","w":244},"F":{"d":"92,-211r0,53r110,0r0,59r-110,0r0,99r-72,0r0,-270r191,0r0,59r-119,0","w":221},"G":{"d":"259,-186r-73,0v-1,-27,-25,-27,-46,-27v-71,-6,-50,48,-54,103v0,48,16,53,54,53v36,0,46,-8,46,-46r-50,0r0,-50r123,0r0,48v0,91,-23,107,-119,107v-85,0,-128,-14,-128,-102r0,-70v0,-89,48,-102,128,-102v70,0,119,0,119,86","w":272},"H":{"d":"261,-270r0,270r-72,0r0,-106r-94,0r0,106r-72,0r0,-270r72,0r0,102r94,0r0,-102r72,0","w":283},"I":{"d":"94,-270r0,270r-72,0r0,-270r72,0","w":116},"J":{"d":"123,-270r72,0r0,187v0,72,-21,85,-97,85v-84,4,-92,-32,-90,-115r68,0v1,25,-5,53,22,53v23,0,25,-6,25,-23r0,-187","w":216},"K":{"d":"95,-270r0,102r22,0r69,-102r87,0r-95,132r103,138r-89,0r-75,-106r-22,0r0,106r-72,0r0,-270r72,0","w":270},"L":{"d":"93,-270r0,207r113,0r0,63r-185,0r0,-270r72,0","w":210},"M":{"d":"87,-207r7,207r-72,0r0,-270r114,0r52,170r2,0r49,-170r117,0r0,270r-72,0r7,-207r-2,0r-69,207r-62,0r-69,-207r-2,0","w":377},"N":{"d":"90,-207r4,207r-72,0r0,-270r122,0r77,207r3,0r-4,-207r72,0r0,270r-123,0r-76,-207r-3,0","w":313},"O":{"d":"137,2v-73,0,-125,-16,-125,-99r0,-76v0,-83,52,-99,125,-99v73,0,125,16,125,99r0,76v0,83,-52,99,-125,99xm137,-60v64,0,50,-53,51,-106v0,-40,-14,-44,-51,-44v-65,0,-49,53,-51,105v1,41,13,45,51,45","w":273},"P":{"d":"93,0r-72,0r0,-270r136,0v67,0,92,28,92,99v0,76,-17,102,-92,102r-64,0r0,69xm93,-132v40,-4,91,17,82,-39v8,-49,-43,-34,-82,-36r0,75","w":255},"Q":{"d":"156,-136r38,27v-2,-53,12,-112,-51,-101v-65,-10,-48,51,-51,106v-5,55,45,46,83,40r-48,-32xm263,0r-26,-21v-26,22,-64,23,-94,23v-83,0,-125,-18,-125,-109r0,-56v0,-89,43,-109,125,-109v82,0,126,20,126,109v-1,34,3,80,-6,103r30,20","w":286},"R":{"d":"93,-134v42,-2,98,13,85,-42v6,-47,-49,-27,-85,-31r0,73xm21,0r0,-270v99,9,240,-36,231,82v0,45,0,71,-51,83r0,3v52,-2,52,50,49,102r-72,0v0,-35,7,-73,-30,-72r-55,0r0,72r-72,0","w":267},"S":{"d":"86,-190v-2,33,34,21,59,26v80,6,100,16,100,78v0,44,2,88,-117,88v-69,0,-115,-1,-115,-90r69,0v0,28,11,31,46,31v34,0,45,-2,45,-25v7,-29,-25,-23,-54,-26v-66,-5,-105,-4,-105,-82v0,-77,43,-82,114,-82v63,-3,114,7,109,87r-69,0v0,-28,-11,-28,-40,-28v-39,0,-42,8,-42,23","w":257},"T":{"d":"141,-207r0,207r-72,0r0,-207r-69,0r0,-63r214,0r0,63r-73,0","w":214},"U":{"d":"183,-270r72,0r0,180v0,72,-34,92,-113,92v-108,0,-119,-27,-119,-92r0,-180r72,0r0,179v0,30,17,31,47,31v31,0,41,-3,41,-35r0,-175","w":277},"V":{"d":"128,-62r59,-208r75,0r-79,270r-112,0r-77,-270r73,0r59,208r2,0","w":255},"W":{"d":"288,-62r40,-208r73,0r-60,270r-104,0r-37,-169r-3,0r-39,169r-103,0r-58,-270r73,0r39,208r2,0r51,-208r75,0r48,208r3,0","w":397},"X":{"d":"264,-270r-75,131r81,139r-84,0r-54,-104r-53,104r-85,0r81,-139r-76,-131r85,0r48,99r49,-99r83,0","w":263},"Y":{"d":"261,-270r-99,175r0,95r-72,0r0,-95r-96,-175r83,0v18,34,29,73,50,104r50,-104r84,0","w":254},"Z":{"d":"229,-270r0,60r-129,147r129,0r0,63r-221,0r0,-61r128,-146r-119,0r0,-63r212,0","w":237},"[":{"d":"21,-272r97,0r0,59r-29,0r0,208r29,0r0,59r-97,0r0,-326","w":138},"\\":{"d":"170,41r-159,-311r49,0r159,311r-49,0","w":230},"]":{"d":"118,54r-97,0r0,-59r29,0r0,-208r-29,0r0,-59r97,0r0,326","w":138},"^":{"d":"65,-90r-47,0r68,-180r44,0r68,180r-47,0r-43,-122","w":216},"_":{"d":"180,27r0,18r-180,0r0,-18r180,0","w":180},"a":{"d":"104,-78v-15,0,-27,2,-27,20v0,20,17,20,27,20v26,0,34,-3,34,-23v0,-16,-14,-17,-34,-17xm138,0v-1,-9,5,-23,0,-28v-5,26,-33,30,-55,30v-43,0,-68,-10,-68,-59v0,-45,24,-59,68,-59v18,0,45,0,52,21r3,0v-3,-30,11,-59,-29,-58v-15,0,-25,3,-25,20r-62,0v0,-59,43,-58,87,-58v64,0,90,8,90,73r0,118r-61,0","w":219},"b":{"d":"20,-270r62,0r0,108r3,0v10,-24,29,-29,52,-29v69,-5,76,52,72,124v0,50,-26,69,-72,69v-27,0,-47,-6,-54,-35r-3,0r2,33r-62,0r0,-270xm116,-45v26,0,31,-10,31,-50v0,-31,-2,-49,-31,-49v-26,0,-34,6,-34,49v0,37,1,50,34,50","w":220},"c":{"d":"131,-118v0,-22,-7,-25,-29,-26v-22,0,-29,6,-29,50v0,44,5,49,29,49v28,0,29,-7,29,-31r62,0v0,69,-22,78,-91,78v-74,0,-91,-22,-91,-96v0,-64,13,-97,91,-97v54,0,91,6,91,73r-62,0","w":200},"d":{"d":"201,-270r0,270r-62,0v-1,-10,4,-27,-1,-33v-8,29,-27,35,-54,35v-64,5,-78,-45,-72,-113v0,-57,20,-80,72,-80v22,0,42,5,52,29r3,0r0,-108r62,0xm74,-94v0,46,6,49,31,49v26,0,34,-6,34,-49v0,-37,-1,-50,-34,-50v-30,0,-31,12,-31,50","w":220},"e":{"d":"73,-118r61,0v0,-28,-11,-30,-32,-30v-22,0,-29,5,-29,30xm195,-63v0,56,-35,65,-92,65v-74,0,-92,-26,-92,-96v0,-73,16,-97,92,-97v75,-2,94,27,92,107r-122,0v0,33,5,43,30,43v19,0,32,-2,32,-22r60,0","w":206},"f":{"d":"136,-189r0,45r-42,0r0,144r-62,0r0,-144r-25,0r0,-45r25,0v-2,-65,10,-82,102,-81r0,47v-28,-6,-46,1,-40,34r42,0","w":141},"g":{"d":"106,-48v30,0,33,-14,33,-46v0,-43,-7,-50,-33,-50v-29,0,-31,6,-31,50v0,39,5,46,31,46xm79,17v0,19,11,23,28,22v41,9,34,-41,30,-70v-8,23,-28,31,-52,31v-67,0,-72,-41,-72,-94v0,-62,7,-97,72,-97v29,-2,44,10,56,35r-2,-33r62,0r0,181v0,70,-20,92,-92,92v-67,0,-87,-7,-89,-67r59,0","w":221},"h":{"d":"85,-154v8,-27,23,-37,56,-37v91,-5,53,114,61,191r-62,0r0,-116v0,-19,-5,-28,-25,-28v-28,0,-33,17,-33,40r0,104r-61,0r0,-270r61,0r0,116r3,0","w":222},"i":{"d":"77,-189r0,189r-62,0r0,-189r62,0xm77,-270r0,48r-62,0r0,-48r62,0","w":92},"j":{"d":"73,-189r0,192v2,49,-35,61,-80,54r0,-43v16,0,18,-9,18,-18r0,-185r62,0xm73,-270r0,48r-62,0r0,-48r62,0","w":87},"k":{"d":"82,-270r0,152r11,0r37,-71r68,0r-53,91r65,98r-72,0r-45,-77r-11,0r0,77r-62,0r0,-270r62,0","w":213},"l":{"d":"83,-270r0,270r-62,0r0,-270r62,0","w":104},"m":{"d":"21,-189r60,0r0,27r3,0v18,-45,100,-38,111,8v4,-27,29,-37,53,-37v94,-8,60,111,66,191r-62,0r0,-109v-1,-20,-1,-35,-25,-35v-24,0,-29,17,-29,37r0,107r-62,0r0,-114v0,-18,-1,-30,-23,-30v-26,0,-30,14,-30,37r0,107r-62,0r0,-189","w":334},"n":{"d":"85,-154v8,-27,23,-37,56,-37v91,-5,53,114,61,191r-62,0r0,-116v0,-19,-5,-28,-25,-28v-28,0,-33,17,-33,40r0,104r-61,0r0,-189r61,0r0,35r3,0","w":222},"o":{"d":"107,-191v79,0,94,17,94,97v0,77,-16,96,-94,96v-78,0,-95,-21,-95,-96v0,-78,16,-97,95,-97xm108,-144v-30,0,-34,9,-34,50v0,41,4,49,34,49v28,0,31,-8,31,-49v0,-41,-3,-50,-31,-50","w":213},"p":{"d":"20,82r0,-271r62,0r-2,30r3,0v7,-26,27,-32,54,-32v64,-5,78,45,72,113v0,57,-20,80,-72,80v-23,0,-42,-5,-52,-30r-3,0r0,110r-62,0xm113,-144v-27,0,-31,10,-31,50v0,31,2,49,31,49v25,0,34,-6,34,-49v0,-37,-2,-50,-34,-50","w":222},"q":{"d":"202,82r-62,0v-2,-35,4,-79,-2,-110v-11,25,-30,30,-53,30v-69,5,-76,-52,-72,-124v0,-50,26,-69,72,-69v27,0,47,6,54,32r3,0r-2,-30r62,0r0,271xm106,-144v-26,0,-31,10,-31,50v0,31,2,49,31,49v26,0,34,-6,34,-49v0,-37,-1,-50,-34,-50","w":222},"r":{"d":"82,-161v8,-21,22,-30,48,-30v48,1,46,42,46,84r-55,0v0,-17,3,-36,-17,-37v-18,0,-23,15,-23,31r0,113r-62,0r0,-189r61,0v1,9,-3,23,2,28","w":180},"s":{"d":"129,-135v-1,-14,-12,-16,-25,-16v-32,0,-32,4,-32,15v0,9,0,16,32,16v64,2,93,6,93,58v0,56,-43,64,-93,64v-49,0,-92,1,-92,-61r61,0v0,21,16,21,31,21v28,0,32,-2,32,-16v0,-19,-10,-19,-32,-19v-78,0,-92,-18,-92,-56v0,-61,39,-62,92,-62v38,-1,90,2,84,56r-59,0","w":208},"t":{"d":"162,-189r0,45r-72,0r0,85v0,11,3,16,14,16v20,0,14,-20,17,-35r49,0v3,59,-12,83,-70,80v-39,0,-72,-5,-72,-52r0,-94r-23,0r0,-45r23,0r0,-40r62,0r0,40r72,0","w":174},"u":{"d":"200,0r-60,0r2,-36r-3,0v-18,60,-126,51,-121,-24r0,-129r62,0r0,113v0,17,2,31,23,31v17,0,35,-9,35,-28r0,-116r62,0r0,189","w":221},"v":{"d":"193,-189r-46,189r-97,0r-53,-189r65,0v13,48,19,103,36,148r31,-148r64,0","w":190},"w":{"d":"301,-189r-33,189r-89,0r-26,-135r-3,0r-25,135r-90,0r-35,-189r60,0r21,148r3,0r31,-148r72,0v13,48,18,103,34,148r22,-148r58,0","w":301},"x":{"d":"193,-189r-49,89r54,100r-72,0r-27,-62r-27,62r-74,0r56,-100r-49,-89r72,0r22,52r22,-52r72,0","w":196},"y":{"d":"194,-189r-47,206v-10,57,-41,71,-103,66r0,-43v30,6,44,-14,43,-40r-33,0r-57,-189r65,0r38,154r31,-154r63,0","w":191},"z":{"d":"14,-189r157,0r0,49r-91,97r91,0r0,43r-163,0r0,-51r89,-95r-83,0r0,-43","w":178},"{":{"d":"9,-87r0,-48v7,0,29,0,29,-15r0,-74v7,-55,42,-49,92,-48r0,47v-46,-9,-26,42,-30,80v0,28,-25,31,-34,35v11,1,33,3,34,37r0,61v-4,14,12,21,30,18r0,48v-50,0,-85,8,-92,-48r0,-74v0,-19,-22,-19,-29,-19","w":138},"|":{"d":"129,-270r0,360r-42,0r0,-360r42,0","w":216},"}":{"d":"130,-135r0,48v-7,0,-30,0,-30,19r0,74v-6,56,-41,49,-91,48r0,-48v46,9,26,-42,30,-79v0,-36,25,-34,34,-38v-11,-1,-34,-7,-34,-34r0,-61v4,-14,-11,-22,-30,-19r0,-47v50,0,84,-8,91,48r0,74v0,15,23,15,30,15","w":138},"~":{"d":"163,-129r35,0v0,31,-9,74,-46,74v-33,0,-57,-40,-89,-47v-9,0,-9,21,-10,32r-35,0v-5,-41,28,-98,72,-66v19,11,39,32,61,37v9,0,13,-19,12,-30","w":216},"'":{"d":"15,-270r49,0v3,39,-5,67,-15,93r-19,0v-10,-26,-18,-54,-15,-93","w":79},"`":{"d":"45,-272r73,43r-10,22r-81,-25","w":145}}});Cufon.registerFont({"w":248,"face":{"font-family":"Eurostile LT Std","font-weight":"400","font-style":"oblique","font-stretch":"normal","units-per-em":"360","panose-1":"2 11 5 4 2 2 2 5 2 4","ascent":"270","descent":"-90","x-height":"2","bbox":"-17 -314 461 104","underline-thickness":"18","underline-position":"-36","slope":"-12","stemh":"23","stemv":"28","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{"w":124},"!":{"d":"73,-37r-7,37r-33,0r8,-37r32,0xm123,-270r-45,195r-26,0r39,-195r32,0","w":97},"\"":{"d":"76,-270r33,0v-5,34,-16,62,-28,89r-14,0v-1,-34,1,-64,9,-89xm133,-270r34,0v-6,34,-17,62,-29,89r-14,0v0,-33,2,-63,9,-89","w":127},"#":{"d":"156,-270r27,0r-28,73r44,0r29,-73r28,0r-28,73r33,0r-6,29r-39,0r-22,59r36,0r-6,29r-42,0r-30,80r-28,0r30,-80r-44,0r-31,80r-27,0r30,-80r-36,0r6,-29r42,0r22,-59r-38,0r6,-29r43,0xm144,-168r-22,59r44,0r22,-59r-44,0"},"$":{"d":"144,-150r21,-95v-48,0,-69,0,-79,47v-11,49,16,49,58,48xm163,-125r-22,100v54,0,72,-2,83,-50v10,-51,-13,-48,-61,-50xm188,-245r-20,95v57,1,102,0,87,72v-15,68,-48,78,-119,78r-6,31r-24,0r7,-31v-72,4,-103,-13,-84,-84r30,0v-9,44,-17,62,59,59r21,-100v-57,0,-99,-1,-85,-69v15,-70,51,-76,116,-76r5,-25r24,0r-6,25v70,-4,98,11,80,76r-30,0v8,-43,7,-53,-55,-51"},"%":{"d":"254,-18v47,10,45,-36,53,-69v6,-28,0,-28,-32,-28v-47,-9,-41,35,-50,67v-6,30,0,30,29,30xm329,-86v-9,48,-20,98,-78,88v-67,11,-49,-46,-39,-88v10,-43,26,-49,67,-49v42,0,58,5,50,49xm320,-270r-240,272r-25,0r240,-272r25,0xm172,-224v-8,50,-19,99,-78,89v-65,11,-49,-45,-39,-88v11,-43,26,-49,68,-49v42,0,58,5,49,48xm98,-155v47,10,45,-36,53,-69v6,-28,-1,-28,-32,-28v-49,0,-41,35,-50,67v-7,30,-1,30,29,30","w":318},"&":{"d":"214,-52r-87,-87v-42,9,-47,15,-56,58v-11,52,-4,56,60,56v29,0,70,3,83,-27xm262,-119v-3,21,-8,41,-15,59r41,39r-22,21r-32,-33v-23,35,-66,35,-109,35v-59,0,-102,1,-85,-84v14,-65,35,-63,71,-73v-15,-15,-20,-23,-13,-53v11,-54,43,-64,96,-64v58,-5,75,26,59,85r-31,0v8,-32,18,-64,-33,-58v-30,0,-53,1,-60,37v-4,19,-1,25,10,37r87,89r8,-37r28,0","w":283},"(":{"d":"148,-272r-6,27v-38,-5,-46,33,-52,57r-33,157v-6,25,-11,64,27,58r-6,27v-59,4,-64,-37,-52,-85r34,-157v9,-48,27,-88,88,-84","w":112},")":{"d":"75,-245r5,-27v59,-4,65,35,52,84r-33,157v-10,48,-27,89,-88,85r6,-27v38,5,46,-33,51,-58r34,-157v5,-24,12,-63,-27,-57","w":112},"*":{"d":"241,-212r-60,20r23,47r-18,12r-23,-48r-46,48r-14,-12r45,-47r-50,-21r10,-19r51,20r13,-58r20,0r-13,58r60,-20"},"+":{"d":"132,-189r27,0r-16,73r74,0r-6,27r-73,0r-16,74r-27,0r16,-74r-74,0r5,-27r74,0","w":210},",":{"d":"57,0r-13,0r7,-37r33,0v-11,33,-3,82,-53,77r4,-16v15,1,20,-9,22,-24","w":124},"-":{"d":"24,-112r94,0r-6,27r-94,0","w":93},".":{"d":"80,-37r-8,37r-32,0r8,-37r32,0","w":124},"\/":{"d":"309,-270r-275,311r-33,0r274,-311r34,0","w":261},"0":{"d":"176,-245v-66,0,-84,0,-99,70r-17,80v-15,70,3,70,69,70v67,0,85,0,100,-70r17,-80v15,-70,-3,-70,-70,-70xm124,2v-84,0,-111,-11,-94,-97r16,-80v21,-86,52,-97,136,-97v84,0,111,11,94,97r-17,80v-20,86,-51,97,-135,97"},"1":{"d":"219,-270r-58,270r-30,0r52,-247r-85,76r-15,-18r91,-81r45,0"},"2":{"d":"226,-27r-6,27r-194,0r10,-46v14,-70,45,-75,112,-81v58,-6,70,-4,82,-60v12,-56,0,-58,-51,-58v-73,-4,-74,14,-85,68r-30,0v13,-67,19,-97,121,-95v72,0,90,17,76,85v-15,72,-43,81,-112,87v-70,1,-78,22,-87,73r164,0"},"3":{"d":"126,-125r5,-27v53,-3,88,13,97,-45v9,-44,3,-48,-60,-48v-57,-3,-64,11,-73,58r-31,0v12,-69,46,-90,113,-85v58,0,97,0,82,70v-6,36,-19,58,-58,64v41,3,45,22,37,62v-17,81,-57,78,-122,78v-62,0,-95,-8,-80,-71r4,-18r30,0v-10,44,-19,67,52,62v65,1,75,-1,86,-55v16,-58,-35,-42,-82,-45"},"4":{"d":"251,-270r-39,181r39,0r-5,27r-40,0r-13,62r-30,0r13,-62r-152,0r8,-36r172,-172r47,0xm181,-89r34,-161r-160,161r126,0"},"5":{"d":"111,-243r-16,81v18,-22,54,-23,77,-23v85,0,83,40,72,91v-18,85,-38,96,-120,96v-76,2,-95,-12,-83,-79r31,0v-12,43,4,56,58,52v63,0,71,-10,83,-69v12,-58,3,-64,-55,-64v-22,0,-59,-4,-70,25r-30,0r28,-137r184,0r-6,27r-153,0"},"6":{"d":"161,-140v-60,0,-77,3,-86,47v-13,58,-9,68,55,68v67,0,71,-9,81,-57v11,-52,7,-58,-50,-58xm44,-93r23,-107v14,-64,54,-72,117,-72v48,-4,96,7,77,70r-31,0v12,-37,-7,-46,-52,-43v-49,0,-70,-1,-81,45v-3,19,-11,41,-11,58v10,-17,33,-25,74,-25v75,0,98,9,82,85v-16,72,-41,84,-118,84v-76,0,-98,-11,-80,-95"},"7":{"d":"277,-270r-8,39r-180,231r-36,0r194,-245r-172,0r5,-25r197,0"},"8":{"d":"39,-75v8,-39,18,-56,61,-66v-35,-6,-38,-21,-30,-61v14,-67,46,-70,112,-70v65,0,97,2,83,70v-8,34,-16,55,-56,62v35,6,41,22,32,65v-15,69,-39,77,-117,77v-65,0,-101,1,-85,-77xm100,-202v-8,41,-6,49,57,49v61,0,68,-7,77,-49v8,-37,5,-43,-58,-43v-62,0,-67,4,-76,43xm70,-75v-10,44,-7,49,60,50v59,1,72,-8,80,-50v10,-45,3,-51,-59,-51v-60,0,-71,4,-81,51"},"9":{"d":"154,-132v62,0,70,-3,81,-54v12,-58,-3,-59,-57,-59v-62,0,-70,2,-82,59v-11,51,-2,54,58,54xm125,2v-69,3,-105,-8,-88,-71r31,0v-9,38,-5,45,63,44v57,0,70,-2,82,-58r9,-46v-18,26,-63,24,-74,24v-75,0,-98,-9,-82,-81v15,-75,39,-86,118,-86v76,0,97,12,81,86r-22,103v-14,68,-31,85,-118,85"},":":{"d":"80,-37r-8,37r-32,0r8,-37r32,0xm112,-189r-8,37r-32,0r8,-37r32,0","w":124},";":{"d":"57,0r-13,0r7,-37r33,0v-11,33,-3,82,-53,77r4,-16v15,1,20,-9,22,-24xm116,-189r-8,37r-32,0r8,-37r32,0","w":124},"<":{"d":"229,-174r-6,29r-155,58r130,58r-6,29r-158,-75r5,-25","w":210},"=":{"d":"49,-144r174,0r-6,27r-174,0xm37,-88r174,0r-6,27r-174,0","w":210},">":{"d":"213,-100r-5,25r-190,75r6,-29r153,-58r-128,-58r6,-29","w":210},"?":{"d":"124,-77r-31,0v8,-41,17,-52,65,-67v32,-12,37,-15,46,-56v8,-40,0,-45,-45,-45v-52,-5,-63,14,-70,60r-29,0v11,-68,42,-93,105,-87v59,0,80,13,68,72v-10,43,-18,65,-65,80v-37,11,-39,15,-44,43xm116,-37r-8,37r-32,0r8,-37r32,0","w":210},"@":{"d":"274,-198r26,0r-54,101v-6,10,0,16,16,16v34,0,61,-48,68,-81v11,-54,-42,-87,-93,-87v-65,1,-135,61,-148,125v-17,86,80,123,156,92r4,21v-97,38,-212,-9,-186,-116v19,-78,102,-145,178,-145v63,0,129,38,114,107v-10,49,-53,105,-106,105v-16,0,-32,-5,-30,-23v-15,12,-29,23,-48,23v-33,1,-46,-30,-39,-60v11,-42,52,-83,96,-85v18,-2,32,13,35,28xm248,-160v2,-15,-9,-24,-23,-24v-32,0,-59,37,-66,65v-4,17,4,38,24,38v32,0,62,-55,65,-79","w":356},"A":{"d":"204,-57r-137,0r-33,57r-32,0r156,-270r43,0r43,270r-31,0xm201,-82r-26,-163r-94,163r120,0","w":246},"B":{"d":"79,-125r-21,98v66,-8,146,28,156,-45v8,-36,6,-54,-34,-53r-101,0xm166,0r-144,0r57,-270r137,0v51,0,58,24,48,71v-5,30,-18,48,-47,58v35,6,35,32,28,66v-10,48,-34,75,-79,75xm104,-243r-19,91v67,-6,136,22,149,-51v12,-69,-79,-31,-130,-40","w":249},"C":{"d":"246,-67v-16,78,-75,68,-152,69v-49,0,-72,-31,-60,-85r22,-104v19,-86,75,-86,156,-85v61,-3,68,33,55,86r-30,0v13,-45,-1,-65,-52,-59v-64,0,-88,7,-98,57v-4,50,-62,170,19,163v56,0,107,5,110,-45r4,-22r31,0","w":239},"D":{"d":"23,0r57,-270r132,0v32,0,91,4,70,104r-13,64v-6,27,-26,102,-107,102r-139,0xm59,-27r101,0v82,3,76,-87,94,-151v3,-15,8,-65,-43,-65r-106,0","w":264},"E":{"d":"97,-243r-20,92r137,0r-5,25r-137,0r-21,99r143,0r-6,27r-173,0r57,-270r174,0r-6,27r-143,0","w":201},"F":{"d":"105,-243r-19,94r131,0r-5,26r-132,0r-26,123r-31,0r58,-270r165,0r-6,27r-135,0","w":197},"G":{"d":"151,-135r116,0r-12,59v-14,74,-59,80,-136,78v-72,0,-101,-13,-83,-97r18,-83v23,-102,73,-96,170,-94v52,-4,71,32,55,81r-31,0v9,-36,10,-57,-45,-54v-73,-1,-112,-4,-119,70v-7,55,-62,162,36,150v59,0,101,4,104,-50r7,-33r-86,0","w":250},"H":{"d":"302,-270r-57,270r-31,0r26,-124r-158,0r-26,124r-30,0r57,-270r30,0r-25,119r158,0r25,-119r31,0","w":270},"I":{"d":"114,-270r-57,270r-31,0r57,-270r31,0","w":82},"J":{"d":"204,-270r31,0r-44,205v-11,54,-48,67,-96,67v-47,0,-83,-7,-72,-61r8,-39r31,0v-7,35,-29,80,33,73v28,0,57,0,65,-36","w":203},"K":{"d":"114,-270r-25,118r27,0r135,-118r40,0r-152,131r109,139r-41,0r-97,-125r-27,0r-26,125r-31,0r57,-270r31,0","w":244},"L":{"d":"115,-270r-52,243r138,0r-6,27r-168,0r57,-270r31,0","w":200},"M":{"d":"344,-247r-155,247r-30,0r-51,-247r-52,247r-31,0r57,-270r53,0r47,231r145,-231r52,0r-57,270r-30,0","w":347},"N":{"d":"315,-270r-58,270r-50,0r-100,-245r-52,245r-31,0r58,-270r50,0r100,247r52,-247r31,0","w":281},"O":{"d":"53,-181v15,-81,56,-95,144,-91v67,1,83,23,68,91v-19,83,-21,183,-126,183v-77,0,-130,-8,-106,-87xm235,-181v21,-70,-22,-64,-80,-64v-83,0,-71,100,-92,160v-18,70,26,59,81,60v40,0,59,-7,70,-60","w":241},"P":{"d":"21,0r57,-270r138,0v52,0,57,35,47,82v-5,24,-18,83,-83,83r-106,0r-22,105r-31,0xm232,-184v23,-95,-67,-48,-129,-59r-23,111v70,-8,133,26,152,-52","w":237},"Q":{"d":"271,-33r-17,21r-17,-14v-31,31,-72,28,-126,28v-118,12,-67,-107,-55,-179v15,-81,63,-100,155,-95v69,0,89,24,74,95v-10,42,-16,95,-33,129xm162,-117r67,51v12,-39,18,-81,28,-122v7,-33,3,-57,-45,-57v-67,-1,-118,-4,-125,61r-18,88v-25,85,31,70,96,71v18,0,39,-4,51,-17r-73,-54","w":265},"R":{"d":"78,-108r-23,108r-30,0r57,-270v88,7,225,-33,192,78v-7,39,-20,64,-62,72v62,4,22,79,18,120r-31,0v4,-39,43,-111,-22,-108r-99,0xm84,-135r95,0v47,-1,56,-16,65,-60v8,-35,5,-48,-43,-48r-94,0","w":252},"S":{"d":"139,-125v-53,-4,-100,3,-85,-69v15,-72,50,-78,117,-78v58,0,99,2,81,76r-31,0v9,-47,0,-49,-57,-49v-60,0,-70,7,-78,45v-11,51,14,47,64,48v64,4,97,2,81,75v-16,77,-52,79,-120,79v-69,0,-103,-8,-81,-86r31,0v-13,59,-2,59,55,59v58,0,74,0,85,-53v11,-51,-14,-43,-62,-47","w":226},"T":{"d":"171,-243r-51,243r-31,0r51,-243r-87,0r6,-27r205,0r-6,27r-87,0","w":208},"U":{"d":"266,-270r31,0r-41,194v-16,73,-60,78,-124,78v-59,0,-106,-1,-90,-78r41,-194r31,0r-41,194v-10,44,-1,51,65,51v55,0,77,0,87,-51","w":265},"V":{"d":"258,-270r33,0r-153,270r-44,0r-39,-270r33,0r34,247","w":231},"W":{"d":"461,-270r-142,270r-47,0r-20,-243r-123,243r-45,0r-26,-270r31,0r22,247r125,-247r45,0r21,247r127,-247r32,0","w":404},"X":{"d":"288,-270r-114,130r63,140r-36,0r-56,-124r-110,124r-37,0r126,-140r-61,-130r37,0r52,116r100,-116r36,0","w":235},"Y":{"d":"287,-270r-135,157r-25,113r-30,0r24,-113r-66,-157r36,0r53,126r107,-126r36,0","w":227},"Z":{"d":"274,-270r-6,28r-216,215r174,0r-6,27r-211,0r6,-27r215,-216r-164,0r6,-27r202,0","w":229},"[":{"d":"78,-272r70,0r-6,27r-39,0r-58,272r39,0r-6,27r-70,0","w":111},"\\":{"d":"77,41r-38,-311r34,0r36,311r-32,0","w":100},"]":{"d":"81,54r-70,0r6,-27r39,0r58,-272r-39,0r5,-27r70,0","w":111},"^":{"d":"150,-270r25,0r37,176r-29,0r-28,-141r-88,141r-29,0","w":210},"_":{"d":"174,27r-4,18r-180,0r4,-18r180,0","w":180},"a":{"d":"99,-21v28,0,58,-1,65,-35v7,-36,-14,-35,-50,-35v-34,0,-48,2,-54,32v-8,36,6,38,39,38xm181,0r-28,0v1,-6,5,-15,3,-20v-15,21,-43,22,-67,22v-42,0,-70,-8,-59,-57v10,-52,39,-59,86,-59v19,0,55,1,55,19r2,0r7,-35v8,-35,-10,-38,-42,-38v-24,-1,-55,2,-56,32r-30,0v9,-49,44,-58,88,-55v47,-1,81,5,68,62","w":205},"b":{"d":"179,-94v13,-62,9,-74,-37,-74v-49,0,-57,20,-68,74v-13,61,-5,73,37,73v50,0,57,-21,68,-73xm24,0r58,-270r28,0r-21,105v14,-24,44,-26,66,-26v65,0,66,38,53,97v-13,61,-28,96,-94,96v-25,0,-50,-5,-55,-25v-4,6,-4,16,-6,23r-29,0","w":206},"c":{"d":"168,-68r28,0v-7,56,-47,73,-95,70v-78,0,-77,-30,-62,-100v12,-62,30,-93,99,-93v48,-2,82,10,68,64r-29,0v11,-33,-6,-44,-43,-41v-50,0,-55,17,-68,78v-11,53,-12,69,43,69v40,2,53,-10,59,-47","w":196},"d":{"d":"105,-21v44,0,56,-15,69,-73v10,-52,9,-74,-38,-74v-43,0,-55,7,-69,74v-14,65,-3,73,38,73xm153,0r5,-24v-16,22,-41,26,-67,26v-67,0,-65,-39,-53,-96v12,-57,27,-97,94,-97v22,-1,51,4,57,25r22,-104r28,0r-57,270r-29,0","w":206},"e":{"d":"167,-57r30,0v-9,51,-49,62,-94,59v-73,0,-80,-24,-64,-96v16,-79,38,-97,105,-97v73,-7,77,36,59,103r-136,0v-13,60,-10,67,41,67v42,1,55,-4,59,-36xm72,-111r107,0v9,-54,4,-57,-40,-57v-51,0,-56,13,-67,57","w":203},"f":{"d":"100,-189r50,0r-5,23r-50,0r-35,166r-28,0r35,-166r-29,0r5,-23r29,0v8,-57,29,-93,96,-82r-5,23v-33,-4,-55,1,-57,33","w":108},"g":{"d":"104,-21v55,0,62,-31,71,-73v11,-53,11,-74,-40,-74v-52,0,-57,24,-67,74v-10,45,-19,73,36,73xm223,-189r-45,211v-11,51,-51,62,-96,62v-44,0,-77,-7,-63,-62r29,0v-8,37,9,39,39,39v34,0,55,-4,63,-41r9,-43v-13,23,-44,25,-66,25v-62,0,-69,-32,-54,-96v13,-63,30,-97,95,-97v27,-1,48,5,56,26r5,-24r28,0","w":206},"h":{"d":"111,-270r-22,104v14,-23,42,-25,64,-25v49,0,69,13,57,65r-26,126r-29,0r27,-128v8,-34,-5,-40,-37,-40v-46,0,-59,14,-68,58r-24,110r-28,0r57,-270r29,0","w":208},"i":{"d":"93,-189r-40,189r-29,0r41,-189r28,0xm110,-270r-6,31r-29,0r7,-31r28,0","w":77},"j":{"d":"93,-189r-45,212v-5,33,-25,59,-65,50v3,-7,-1,-25,10,-21v23,0,25,-21,29,-39r43,-202r28,0xm110,-270r-6,31r-29,0r7,-31r28,0","w":75},"k":{"d":"110,-270r-33,156r12,0r84,-75r35,0r-100,87r74,102r-37,0r-61,-91r-12,0r-19,91r-29,0r58,-270r28,0","w":175},"l":{"d":"110,-270r-57,270r-29,0r58,-270r28,0","w":77},"m":{"d":"93,-189v-1,9,-7,21,-6,29v15,-24,45,-31,70,-31v22,0,50,6,51,31v18,-25,49,-31,74,-31v49,0,61,20,52,66r-27,125r-28,0r26,-122v6,-32,5,-46,-32,-46v-40,0,-60,11,-69,52r-24,116r-29,0r27,-127v5,-25,8,-41,-33,-41v-84,-4,-73,104,-93,168r-28,0r40,-189r29,0","w":330},"n":{"d":"94,-189r-5,23v14,-23,42,-25,64,-25v49,0,69,13,57,65r-26,126r-29,0r27,-128v8,-34,-5,-40,-37,-40v-46,0,-59,14,-68,58r-24,110r-28,0r40,-189r29,0","w":208},"o":{"d":"39,-94v17,-80,34,-97,104,-97v70,0,81,17,64,97v-17,79,-35,96,-105,96v-70,0,-80,-17,-63,-96xm68,-94v-14,65,-12,73,39,73v51,0,56,-8,70,-73v14,-66,12,-74,-39,-74v-51,0,-56,8,-70,74","w":205},"p":{"d":"141,-168v-53,0,-58,24,-69,74v-9,44,-13,73,38,73v44,0,55,-12,68,-73v12,-57,12,-74,-37,-74xm93,-189v-1,8,-7,17,-5,24v16,-22,43,-26,66,-26v69,0,66,40,54,97v-16,75,-39,96,-95,96v-22,1,-48,-4,-56,-24r-22,104r-29,0r58,-271r29,0","w":206},"q":{"d":"107,-21v48,0,56,-24,67,-73v11,-53,14,-74,-40,-74v-39,0,-52,8,-66,74v-11,53,-14,73,39,73xm223,-189r-57,271r-29,0r21,-104v-14,22,-42,24,-60,24v-57,0,-76,-15,-59,-96v13,-62,28,-97,100,-97v23,-1,43,7,51,25r5,-23r28,0","w":207},"r":{"d":"61,-189r28,0v-1,8,-7,17,-6,24v27,-41,122,-37,100,27r-3,14r-27,0v6,-23,10,-48,-22,-44v-35,0,-50,17,-56,50r-26,118r-28,0","w":159},"s":{"d":"141,-191v36,-3,79,7,63,51r-30,0v8,-23,-3,-27,-38,-26v-36,0,-53,0,-58,23v-7,34,3,31,32,33v48,3,94,-5,80,57v-11,53,-48,55,-90,55v-41,0,-83,-2,-74,-44r3,-18r30,0v-7,29,-9,38,46,37v20,0,49,4,56,-29v7,-35,-9,-29,-43,-31v-40,-3,-83,1,-71,-52v11,-55,43,-56,94,-56","w":193},"t":{"d":"165,-189r-5,23r-73,0r-26,120v-4,20,1,25,21,25v34,0,31,-23,37,-46r27,0v-6,42,-24,71,-69,69v-44,0,-52,-12,-42,-57r23,-111r-25,0r5,-23r25,0r10,-46r29,0r-10,46r73,0","w":131},"u":{"d":"151,0v1,-8,6,-19,5,-25v-15,23,-40,27,-65,27v-50,0,-63,-20,-53,-70r26,-121r29,0r-26,121v-7,31,-8,47,28,47v40,0,62,-6,72,-51r25,-117r28,0r-40,189r-29,0","w":205},"v":{"d":"205,-189r-104,189r-40,0r-22,-189r29,0r18,167r88,-167r31,0","w":163},"w":{"d":"311,-189r-94,189r-41,0r-5,-169r-77,169r-41,0r-11,-189r29,0r7,169r78,-169r41,0r5,169r79,-169r30,0","w":271},"x":{"d":"198,-189r-80,90r47,99r-34,0r-33,-76r-65,76r-34,0r89,-99r-42,-90r32,0r29,69r58,-69r33,0","w":163},"y":{"d":"199,-189r-97,202v-19,39,-39,79,-92,69r5,-22v38,9,49,-36,62,-60r-10,0r-28,-189r29,0r23,168r79,-168r29,0","w":157},"z":{"d":"195,-189r-6,26r-142,140r113,0r-5,23r-146,0r6,-26r142,-140r-103,0r5,-23r136,0","w":163},"{":{"d":"38,-96r5,-27v73,-7,13,-171,120,-149r-6,27v-46,-8,-37,50,-46,80v-11,37,-34,54,-38,56v3,2,22,18,14,55r-12,59v-7,23,5,23,24,22r-6,27v-36,3,-54,-2,-50,-43v1,-32,39,-99,-5,-107","w":120},"|":{"d":"102,-314r23,0r0,418r-23,0r0,-418","w":168},"}":{"d":"129,-122r-6,27v-71,7,-13,171,-119,149r6,-27v46,8,33,-52,46,-81v8,-37,34,-53,37,-55v-2,-3,-22,-18,-14,-56r13,-58v7,-23,-5,-23,-24,-22r5,-27v36,-3,54,2,50,43v-1,33,-38,97,6,107","w":120},"~":{"d":"60,-77r-25,0v4,-33,37,-73,75,-54v20,11,36,30,61,36v14,0,21,-17,23,-31r25,0v-4,36,-46,77,-84,48v-16,-12,-31,-27,-51,-33v-10,0,-22,16,-24,34","w":210},"'":{"d":"75,-270r34,0v-6,34,-17,62,-29,89r-14,0v0,-33,2,-63,9,-89","w":68},"`":{"d":"98,-267r45,40r-13,15r-50,-36","w":121}}});

jQuery.fn.uniform = function(settings) {
  settings = jQuery.extend({
    valid_class    : 'valid',
    invalid_class  : 'invalid',
    focused_class  : 'focused',
    holder_class   : 'ctrlHolder',
    field_selector : 'input, select, textarea'
  }, settings);
  
  return this.each(function() {
    var form = jQuery(this);
    
    // Focus specific control holder
    var focusControlHolder = function(element) {
      var parent = element.parent();
      
      while(typeof(parent) == 'object') {
        if(parent) {
          if(parent[0] && (parent[0].className.indexOf(settings.holder_class) >= 0)) {
            parent.addClass(settings.focused_class);
            return;
          } // if
        } // if
        parent = jQuery(parent.parent());
      } // while
    };
    
    // Select form fields and attach them higlighter functionality
    form.find(settings.field_selector).focus(function() {
      form.find('.' + settings.focused_class).removeClass(settings.focused_class);
      focusControlHolder(jQuery(this));
    }).blur(function() {
      form.find('.' + settings.focused_class).removeClass(settings.focused_class);
    });
  });
};

// Auto set on page load...
$(document).ready(function() {
  jQuery('form.uniForm').uniform();
});