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

/*
 * jQuery UI 1.7.2
 *
 * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 * http://docs.jquery.com/UI
 */
jQuery.ui||(function(c){var i=c.fn.remove,d=c.browser.mozilla&&(parseFloat(c.browser.version)<1.9);c.ui={version:"1.7.2",plugin:{add:function(k,l,n){var m=c.ui[k].prototype;for(var j in n){m.plugins[j]=m.plugins[j]||[];m.plugins[j].push([l,n[j]])}},call:function(j,l,k){var n=j.plugins[l];if(!n||!j.element[0].parentNode){return}for(var m=0;m<n.length;m++){if(j.options[n[m][0]]){n[m][1].apply(j.element,k)}}}},contains:function(k,j){return document.compareDocumentPosition?k.compareDocumentPosition(j)&16:k!==j&&k.contains(j)},hasScroll:function(m,k){if(c(m).css("overflow")=="hidden"){return false}var j=(k&&k=="left")?"scrollLeft":"scrollTop",l=false;if(m[j]>0){return true}m[j]=1;l=(m[j]>0);m[j]=0;return l},isOverAxis:function(k,j,l){return(k>j)&&(k<(j+l))},isOver:function(o,k,n,m,j,l){return c.ui.isOverAxis(o,n,j)&&c.ui.isOverAxis(k,m,l)},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(d){var f=c.attr,e=c.fn.removeAttr,h="http://www.w3.org/2005/07/aaa",a=/^aria-/,b=/^wairole:/;c.attr=function(k,j,l){var m=l!==undefined;return(j=="role"?(m?f.call(this,k,j,"wairole:"+l):(f.apply(this,arguments)||"").replace(b,"")):(a.test(j)?(m?k.setAttributeNS(h,j.replace(a,"aaa:"),l):f.call(this,k,j.replace(a,"aaa:"))):f.apply(this,arguments)))};c.fn.removeAttr=function(j){return(a.test(j)?this.each(function(){this.removeAttributeNS(h,j.replace(a,""))}):e.call(this,j))}}c.fn.extend({remove:function(){c("*",this).add(this).each(function(){c(this).triggerHandler("remove")});return i.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 j;if((c.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){j=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(c.curCSS(this,"position",1))&&(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}else{j=this.parents().filter(function(){return(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!j.length?c(document):j}});c.extend(c.expr[":"],{data:function(l,k,j){return !!c.data(l,j[3])},focusable:function(k){var l=k.nodeName.toLowerCase(),j=c.attr(k,"tabindex");return(/input|select|textarea|button|object/.test(l)?!k.disabled:"a"==l||"area"==l?k.href||!isNaN(j):!isNaN(j))&&!c(k)["area"==l?"parents":"closest"](":hidden").length},tabbable:function(k){var j=c.attr(k,"tabindex");return(isNaN(j)||j>=0)&&c(k).is(":focusable")}});function g(m,n,o,l){function k(q){var p=c[m][n][q]||[];return(typeof p=="string"?p.split(/,?\s+/):p)}var j=k("getter");if(l.length==1&&typeof l[0]=="string"){j=j.concat(k("getterSetter"))}return(c.inArray(o,j)!=-1)}c.widget=function(k,j){var l=k.split(".")[0];k=k.split(".")[1];c.fn[k]=function(p){var n=(typeof p=="string"),o=Array.prototype.slice.call(arguments,1);if(n&&p.substring(0,1)=="_"){return this}if(n&&g(l,k,p,o)){var m=c.data(this[0],k);return(m?m[p].apply(m,o):undefined)}return this.each(function(){var q=c.data(this,k);(!q&&!n&&c.data(this,k,new c[l][k](this,p))._init());(q&&n&&c.isFunction(q[p])&&q[p].apply(q,o))})};c[l]=c[l]||{};c[l][k]=function(o,n){var m=this;this.namespace=l;this.widgetName=k;this.widgetEventPrefix=c[l][k].eventPrefix||k;this.widgetBaseClass=l+"-"+k;this.options=c.extend({},c.widget.defaults,c[l][k].defaults,c.metadata&&c.metadata.get(o)[k],n);this.element=c(o).bind("setData."+k,function(q,p,r){if(q.target==o){return m._setData(p,r)}}).bind("getData."+k,function(q,p){if(q.target==o){return m._getData(p)}}).bind("remove",function(){return m.destroy()})};c[l][k].prototype=c.extend({},c.widget.prototype,j);c[l][k].getterSetter="option"};c.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(l,m){var k=l,j=this;if(typeof l=="string"){if(m===undefined){return this._getData(l)}k={};k[l]=m}c.each(k,function(n,o){j._setData(n,o)})},_getData:function(j){return this.options[j]},_setData:function(j,k){this.options[j]=k;if(j=="disabled"){this.element[k?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",k)}},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(l,m,n){var p=this.options[l],j=(l==this.widgetEventPrefix?l:this.widgetEventPrefix+l);m=c.Event(m);m.type=j;if(m.originalEvent){for(var k=c.event.props.length,o;k;){o=c.event.props[--k];m[o]=m.originalEvent[o]}}this.element.trigger(m,n);return !(c.isFunction(p)&&p.call(this.element[0],m,n)===false||m.isDefaultPrevented())}};c.widget.defaults={disabled:false};c.ui.mouse={_mouseInit:function(){var j=this;this.element.bind("mousedown."+this.widgetName,function(k){return j._mouseDown(k)}).bind("click."+this.widgetName,function(k){if(j._preventClickEvent){j._preventClickEvent=false;k.stopImmediatePropagation();return false}});if(c.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);(c.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable))},_mouseDown:function(l){l.originalEvent=l.originalEvent||{};if(l.originalEvent.mouseHandled){return}(this._mouseStarted&&this._mouseUp(l));this._mouseDownEvent=l;var k=this,m=(l.which==1),j=(typeof this.options.cancel=="string"?c(l.target).parents().add(l.target).filter(this.options.cancel).length:false);if(!m||j||!this._mouseCapture(l)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){k.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(l)&&this._mouseDelayMet(l)){this._mouseStarted=(this._mouseStart(l)!==false);if(!this._mouseStarted){l.preventDefault();return true}}this._mouseMoveDelegate=function(n){return k._mouseMove(n)};this._mouseUpDelegate=function(n){return k._mouseUp(n)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(c.browser.safari||l.preventDefault());l.originalEvent.mouseHandled=true;return true},_mouseMove:function(j){if(c.browser.msie&&!j.button){return this._mouseUp(j)}if(this._mouseStarted){this._mouseDrag(j);return j.preventDefault()}if(this._mouseDistanceMet(j)&&this._mouseDelayMet(j)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,j)!==false);(this._mouseStarted?this._mouseDrag(j):this._mouseUp(j))}return !this._mouseStarted},_mouseUp:function(j){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(j.target==this._mouseDownEvent.target);this._mouseStop(j)}return false},_mouseDistanceMet:function(j){return(Math.max(Math.abs(this._mouseDownEvent.pageX-j.pageX),Math.abs(this._mouseDownEvent.pageY-j.pageY))>=this.options.distance)},_mouseDelayMet:function(j){return this.mouseDelayMet},_mouseStart:function(j){},_mouseDrag:function(j){},_mouseStop:function(j){},_mouseCapture:function(j){return true}};c.ui.mouse.defaults={cancel:null,distance:1,delay:0}})(jQuery);;
var Cufon=(function(){var P=function(){return P.replace.apply(null,arguments)};var D=P.DOM={ready:(function(){var c=false,a={loaded:1,complete:1};var d=[],b=function(){if(c){return}c=true;for(var e;e=d.shift();e()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",b,false);window.addEventListener("pageshow",b,false)}if(!window.opera&&document.readyState){(function(){a[document.readyState]?b():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");b()}catch(e){setTimeout(arguments.callee,1)}})()}K(window,"load",b);return function(e){if(!arguments.length){b()}else{c?e():d.push(e)}}})(),root:function(){return document.documentElement||document.body}};var O=P.CSS={Size:function(a,b){this.value=parseFloat(a);this.unit=String(a).match(/[a-z%]*$/)[0]||"px";this.convert=function(c){return c/b*this.value};this.convertFrom=function(c){return c/this.value*b};this.toString=function(){return this.value+this.unit}},addClass:function(b,c){var a=b.className;b.className=a+(a&&" ")+c;return b},color:S(function(a){var b={};b.color=a.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(d,e,c){b.opacity=parseFloat(c);return"rgb("+e+")"});return b}),fontStretch:S(function(a){if(typeof a=="number"){return a}if(/%$/.test(a)){return parseFloat(a)/100}return{"ultra-condensed":0.5,"extra-condensed":0.625,condensed:0.75,"semi-condensed":0.875,"semi-expanded":1.125,expanded:1.25,"extra-expanded":1.5,"ultra-expanded":2}[a]||1}),getStyle:function(a){var b=document.defaultView;if(b&&b.getComputedStyle){return new ab(b.getComputedStyle(a,null))}if(a.currentStyle){return new ab(a.currentStyle)}return new ab(a.style)},gradient:S(function(b){var a={id:b,type:b.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},e=b.substr(b.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var c=0,f=e.length,d;c<f;++c){d=e[c].split("=",2).reverse();a.stops.push([d[1]||c/(f-1),d[0]])}return a}),quotedList:S(function(a){var b=[],c=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,d;while(d=c.exec(a)){b.push(d[3]||d[1])}return b}),recognizesMedia:S(function(a){var c=document.createElement("style"),d,e,f;c.type="text/css";c.media=a;try{c.appendChild(document.createTextNode("/**/"))}catch(b){}e=V("head")[0];e.insertBefore(c,e.firstChild);d=(c.sheet||c.styleSheet);f=d&&!d.disabled;e.removeChild(c);return f}),removeClass:function(a,b){var c=RegExp("(?:^|\\s+)"+b+"(?=\\s|$)","g");a.className=a.className.replace(c,"");return a},supports:function(a,b){var c=document.createElement("span").style;if(c[a]===undefined){return false}c[a]=b;return c[a]===b},textAlign:function(a,b,d,c){if(b.get("textAlign")=="right"){if(d>0){a=" "+a}}else{if(d<c-1){a+=" "}}return a},textShadow:S(function(b){if(b=="none"){return null}var c=[],a={},f,e=0;var d=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(f=d.exec(b)){if(f[0]==","){c.push(a);a={};e=0}else{if(f[1]){a.color=f[1]}else{a[["offX","offY","blur"][e++]]=f[2]}}}c.push(a);return c}),textTransform:(function(){var a={uppercase:function(b){return b.toUpperCase()},lowercase:function(b){return b.toLowerCase()},capitalize:function(b){return b.replace(/\b./g,function(c){return c.toUpperCase()})}};return function(b,c){var d=a[c.get("textTransform")];return d?d(b):b}})(),whiteSpace:(function(){var a={inline:1,"inline-block":1,"run-in":1};var b=/^\s+/,c=/\s+$/;return function(d,f,e,g){if(g){if(g.nodeName.toLowerCase()=="br"){d=d.replace(b,"")}}if(a[f.get("display")]){return d}if(!e.previousSibling){d=d.replace(b,"")}if(!e.nextSibling){d=d.replace(c,"")}return d}})()};O.ready=(function(){var c=!O.recognizesMedia("all"),i=false;var a=[],f=function(){c=true;for(var j;j=a.shift();j()){}};var e=V("link"),d=V("style");function b(j){return j.disabled||g(j.sheet,j.media||"screen")}function g(p,m){if(!O.recognizesMedia(m||"all")){return true}if(!p||p.disabled){return false}try{var l=p.cssRules,n;if(l){search:for(var j=0,k=l.length;n=l[j],j<k;++j){switch(n.type){case 2:break;case 3:if(!g(n.styleSheet,n.media.mediaText)){return false}break;default:break search}}}}catch(o){}return true}function h(){if(document.createStyleSheet){return true}var j,k;for(k=0;j=e[k];++k){if(j.rel.toLowerCase()=="stylesheet"&&!b(j)){return false}}for(k=0;j=d[k];++k){if(!b(j)){return false}}return true}D.ready(function(){if(!i){i=O.getStyle(document.body).isUsable()}if(c||(i&&h())){f()}else{setTimeout(arguments.callee,10)}});return function(j){if(c){j()}else{a.push(j)}}})();function I(a){var b=this.face=a.face,c={"\u0020":1,"\u00a0":1,"\u3000":1};this.glyphs=a.glyphs;this.w=a.w;this.baseSize=parseInt(b["units-per-em"],10);this.family=b["font-family"].toLowerCase();this.weight=b["font-weight"];this.style=b["font-style"]||"normal";this.viewBox=(function(){var d=b.bbox.split(/\s+/);var e={minX:parseInt(d[0],10),minY:parseInt(d[1],10),maxX:parseInt(d[2],10),maxY:parseInt(d[3],10)};e.width=e.maxX-e.minX;e.height=e.maxY-e.minY;e.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")};return e})();this.ascent=-parseInt(b.ascent,10);this.descent=-parseInt(b.descent,10);this.height=-this.ascent+this.descent;this.spacing=function(h,f,o){var e=this.glyphs,g,i,m,d=[],n=0,j=-1,k=-1,l;while(l=h[++j]){g=e[l]||this.missingGlyph;if(!g){continue}if(i){n-=m=i[l]||0;d[k]-=m}n+=d[++k]=~~(g.w||this.w)+f+(c[l]?o:0);i=g.k}d.total=n;return d}}function W(){var a={},b={oblique:"italic",italic:"oblique"};this.add=function(c){(a[c.style]||(a[c.style]={}))[c.weight]=c};this.get=function(f,e){var g=a[f]||a[b[f]]||a.normal||a.italic||a.oblique;if(!g){return null}e={normal:400,bold:700}[e]||parseInt(e,10);if(g[e]){return g[e]}var i={1:1,99:0}[e%100],c=[],h,j;if(i===undefined){i=e>400}if(e==500){e=400}for(var d in g){if(!R(g,d)){continue}d=parseInt(d,10);if(!h||d<h){h=d}if(!j||d>j){j=d}c.push(d)}if(e<h){e=h}if(e>j){e=j}c.sort(function(l,k){return(i?(l>=e&&k>=e)?l<k:l>k:(l<=e&&k<=e)?l>k:l<k)?-1:1});return g[c[0]]}}function J(){function b(f,e){if(f.contains){return f.contains(e)}return f.compareDocumentPosition(e)&16}function d(e){var f=e.relatedTarget;if(!f||b(this,f)){return}c(this,e.type=="mouseover")}function a(e){c(this,e.type=="mouseenter")}function c(f,e){setTimeout(function(){var g=Y.get(f).options;P.replace(f,e?U(g,g.hover):g,true)},10)}this.attach=function(e){if(e.onmouseenter===undefined){K(e,"mouseover",d);K(e,"mouseout",d)}else{K(e,"mouseenter",a);K(e,"mouseleave",a)}}}function G(){var b=[],a={};function c(d){var g=[],e;for(var f=0;e=d[f];++f){g[f]=b[a[e]]}return g}this.add=function(d,e){a[d]=b.push(e)-1};this.repeat=function(){var f=arguments.length?c(arguments):b,e;for(var d=0;e=f[d++];){P.replace(e[0],e[1],true)}}}function M(){var a={},c=0;function b(d){return d.cufid||(d.cufid=++c)}this.get=function(e){var d=b(e);return a[d]||(a[d]={})}}function ab(c){var a={},b={};this.extend=function(e){for(var d in e){if(R(e,d)){a[d]=e[d]}}return this};this.get=function(d){return a[d]!=undefined?a[d]:c[d]};this.getSize=function(d,e){return b[d]||(b[d]=new O.Size(this.get(d),e))};this.isUsable=function(){return !!c}}function K(b,c,a){if(b.addEventListener){b.addEventListener(c,a,false)}else{if(b.attachEvent){b.attachEvent("on"+c,function(){return a.call(b,window.event)})}}}function F(b,c){var a=Y.get(b);if(a.options){return b}if(c.hover&&c.hoverables[b.nodeName.toLowerCase()]){aa.attach(b)}a.options=c;return b}function S(b){var a={};return function(c){if(!R(a,c)){a[c]=b.apply(null,arguments)}return a[c]}}function Z(a,b){var e=O.quotedList(b.get("fontFamily").toLowerCase()),c;for(var d=0;c=e[d];++d){if(T[c]){return T[c].get(b.get("fontStyle"),b.get("fontWeight"))}}return null}function V(a){return document.getElementsByTagName(a)}function R(a,b){return a.hasOwnProperty(b)}function U(){var d={},e,a;for(var b=0,c=arguments.length;e=arguments[b],b<c;++b){for(a in e){if(R(e,a)){d[a]=e[a]}}}return d}function N(m,e,b,d,l,a){var g=document.createDocumentFragment(),j;if(e===""){return g}var f=d.separate;var i=e.split(L[f]),c=(f=="words");if(c&&H){if(/^\s/.test(e)){i.unshift("")}if(/\s$/.test(e)){i.push("")}}for(var h=0,k=i.length;h<k;++h){j=B[d.engine](m,c?O.textAlign(i[h],b,h,k):i[h],b,d,l,a,h<k-1);if(j){g.appendChild(j)}}return g}function Q(a,d){var b=a.nodeName.toLowerCase();if(d.ignore[b]){return}var l=!d.textless[b];var c=O.getStyle(F(a,d)).extend(d);var k=Z(a,c),j,f,h,i,e,g;if(!k){return}for(j=a.firstChild;j;j=h){f=j.nodeType;h=j.nextSibling;if(l&&f==3){if(i){i.appendData(j.data);a.removeChild(j)}else{i=j}if(h){continue}}if(i){a.replaceChild(N(k,O.whiteSpace(i.data,c,i,g),c,d,j,a),i);i=null}if(f==1){if(j.firstChild){if(j.nodeName.toLowerCase()=="cufon"){B[d.engine](k,null,c,d,j,a)}else{arguments.callee(j,d)}}g=j}}}var H=" ".split(/\s+/).length==0;var Y=new M();var aa=new J();var C=new G();var X=false;var B={},T={},E={autoDetect:false,engine:null,forceHitArea:false,hover:false,hoverables:{a:true},ignore:{applet:1,canvas:1,col:1,colgroup:1,head:1,iframe:1,map:1,optgroup:1,option:1,script:1,select:1,style:1,textarea:1,title:1,pre:1},printable:true,selector:(window.Sizzle||(window.jQuery&&function(a){return jQuery(a)})||(window.dojo&&dojo.query)||(window.Ext&&Ext.query)||(window.YAHOO&&YAHOO.util&&YAHOO.util.Selector&&YAHOO.util.Selector.query)||(window.$$&&function(a){return $$(a)})||(window.$&&function(a){return $(a)})||(document.querySelectorAll&&function(a){return document.querySelectorAll(a)})||V),separate:"words",textless:{dl:1,html:1,ol:1,table:1,tbody:1,thead:1,tfoot:1,tr:1,ul:1},textShadow:"none"};var L={words:/\s/.test("\u00a0")?/[^\S\u00a0]+/:/\s+/,characters:"",none:/^/};P.now=function(){D.ready();return P};P.refresh=function(){C.repeat.apply(C,arguments);return P};P.registerEngine=function(a,b){if(!b){return P}B[a]=b;return P.set("engine",a)};P.registerFont=function(a){if(!a){return P}var c=new I(a),b=c.family;if(!T[b]){T[b]=new W()}T[b].add(c);return P.set("fontFamily",'"'+b+'"')};P.replace=function(a,b,c){b=U(E,b);if(!b.engine){return P}if(!X){O.addClass(D.root(),"cufon-active cufon-loading");O.ready(function(){O.addClass(O.removeClass(D.root(),"cufon-loading"),"cufon-ready")});X=true}if(b.hover){b.forceHitArea=true}if(b.autoDetect){delete b.fontFamily}if(typeof b.textShadow=="string"){b.textShadow=O.textShadow(b.textShadow)}if(typeof b.color=="string"&&/^-/.test(b.color)){b.textGradient=O.gradient(b.color)}else{delete b.textGradient}if(!c){C.add(a,arguments)}if(a.nodeType||typeof a=="string"){a=[a]}O.ready(function(){for(var e=0,f=a.length;e<f;++e){var d=a[e];if(typeof d=="string"){P.replace(b.selector(d),b,true)}else{Q(d,b)}}});return P};P.set=function(b,a){E[b]=a;return P};return P})();Cufon.registerEngine("canvas",(function(){var g=document.createElement("canvas");if(!g||!g.getContext||!g.getContext.apply){return}g=null;var h=Cufon.CSS.supports("display","inline-block");var j=!h&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId));var i=document.createElement("style");i.type="text/css";i.appendChild(document.createTextNode(("cufon{text-indent:0;}@media screen,projection{cufon{display:inline;display:inline-block;position:relative;vertical-align:middle;"+(j?"":"font-size:1px;line-height:1px;")+"}cufon cufontext{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;text-indent:-10000in;}"+(h?"cufon canvas{position:relative;}":"cufon canvas{position:absolute;}")+"}@media print{cufon{padding:0;}cufon canvas{display:none;}}").replace(/;/g,"!important;")));document.getElementsByTagName("head")[0].appendChild(i);function k(a,r){var c=0,d=0;var s=[],b=/([mrvxe])([^a-z]*)/g,f;generate:for(var q=0;f=b.exec(a);++q){var e=f[2].split(",");switch(f[1]){case"v":s[q]={m:"bezierCurveTo",a:[c+~~e[0],d+~~e[1],c+~~e[2],d+~~e[3],c+=~~e[4],d+=~~e[5]]};break;case"r":s[q]={m:"lineTo",a:[c+=~~e[0],d+=~~e[1]]};break;case"m":s[q]={m:"moveTo",a:[c=~~e[0],d=~~e[1]]};break;case"x":s[q]={m:"closePath"};break;case"e":break generate}r[s[q].m].apply(r,s[q].a)}return s}function l(a,b){for(var c=0,d=a.length;c<d;++c){var e=a[c];b[e.m].apply(b,e.a)}}return function(e,aw,ad,az,aq,d){var aH=(aw===null);if(aH){aw=aq.getAttribute("alt")}var at=e.viewBox;var aG=ad.getSize("fontSize",e.baseSize);var ar=0,ae=0,af=0,ay=0;var av=az.textShadow,ah=[];if(av){for(var f=av.length;f--;){var an=av[f];var ai=aG.convertFrom(parseFloat(an.offX));var ak=aG.convertFrom(parseFloat(an.offY));ah[f]=[ai,ak];if(ak<ar){ar=ak}if(ai>ae){ae=ai}if(ak>af){af=ak}if(ai<ay){ay=ai}}}var a=Cufon.CSS.textTransform(aw,ad).split("");var ao=e.spacing(a,~~aG.convertFrom(parseFloat(ad.get("letterSpacing"))||0),~~aG.convertFrom(parseFloat(ad.get("wordSpacing"))||0));if(!ao.length){return null}var aJ=ao.total;ae+=at.width-ao[ao.length-1];ay+=at.minX;var aA,aF;if(aH){aA=aq;aF=aq.firstChild}else{aA=document.createElement("cufon");aA.className="cufon cufon-canvas";aA.setAttribute("alt",aw);aF=document.createElement("canvas");aA.appendChild(aF);if(az.printable){var y=document.createElement("cufontext");y.appendChild(document.createTextNode(aw));aA.appendChild(y)}}var au=aA.style;var al=aF.style;var aI=aG.convert(at.height);var b=Math.ceil(aI);var ag=b/aI;var am=ag*Cufon.CSS.fontStretch(ad.get("fontStretch"));var aj=aJ*am;var ac=Math.ceil(aG.convert(aj+ae-ay));var aE=Math.ceil(aG.convert(at.height-ar+af));aF.width=ac;aF.height=aE;al.width=ac+"px";al.height=aE+"px";ar+=at.minY;al.top=Math.round(aG.convert(ar-e.ascent))+"px";al.left=Math.round(aG.convert(ay))+"px";var aB=Math.max(Math.ceil(aG.convert(aj)),0)+"px";if(h){au.width=aB;au.height=aG.convert(e.height)+"px"}else{au.paddingLeft=aB;au.paddingBottom=(aG.convert(e.height)-1)+"px"}var c=aF.getContext("2d"),ap=aI/at.height;c.scale(ap,ap*ag);c.translate(-ay,-ar);c.save();function x(){var m=e.glyphs,p,n=-1,o=-1,q;c.scale(am,1);while(q=a[++n]){var p=m[a[n]]||e.missingGlyph;if(!p){continue}if(p.d){c.beginPath();if(p.code){l(p.code,c)}else{p.code=k("m"+p.d,c)}c.fill()}c.translate(ao[++o],0)}c.restore()}if(av){for(var f=av.length;f--;){var an=av[f];c.save();c.fillStyle=an.color;c.translate.apply(c,ah[f]);x()}}var aC=az.textGradient;if(aC){var ax=aC.stops,aD=c.createLinearGradient(0,at.minY,0,at.maxY);for(var f=0,ab=ax.length;f<ab;++f){aD.addColorStop.apply(aD,ax[f])}c.fillStyle=aD}else{c.fillStyle=ad.get("color")}x();return aA}})());Cufon.registerEngine("vml",(function(){var n=document.namespaces;if(!n){return}n.add("cvml","urn:schemas-microsoft-com:vml");n=null;var i=document.createElement("cvml:shape");i.style.behavior="url(#default#VML)";if(!i.coordsize){return}i=null;var k=(document.documentMode||0)<8;document.write(('<style type="text/css">cufoncanvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}cufoncanvas{position:absolute;text-align:left;}cufon{display:inline-block;position:relative;vertical-align:'+(k?"middle":"text-bottom")+";}cufon cufontext{position:absolute;left:-10000in;font-size:1px;}a cufon{cursor:pointer}}@media print{cufon cufoncanvas{display:none;}}</style>").replace(/;/g,"!important;"));function p(b,a){return j(b,/(?:em|ex|%)$|^[a-z-]+$/i.test(a)?"1em":a)}function j(b,a){if(a==="0"){return 0}if(/px$/i.test(a)){return parseFloat(a)}var c=b.style.left,d=b.runtimeStyle.left;b.runtimeStyle.left=b.currentStyle.left;b.style.left=a.replace("%","em");var e=b.style.pixelLeft;b.style.left=c;b.runtimeStyle.left=d;return e}function m(b,c,d,f){var e="computed"+f,a=c[e];if(isNaN(a)){a=c.get(f);c[e]=a=(a=="normal")?0:~~d.convertFrom(j(b,a))}return a}var l={};function o(e){var d=e.id;if(!l[d]){var g=e.stops,f=document.createElement("cvml:fill"),c=[];f.type="gradient";f.angle=180;f.focus="0";f.method="sigma";f.color=g[0][1];for(var a=1,b=g.length-1;a<b;++a){c.push(g[a][0]*100+"% "+g[a][1])}f.colors=c.join(",");f.color2=g[b][1];l[d]=f}return l[d]}return function(aH,ax,b,aF,aq,aE,d){var aX=(ax===null);if(aX){ax=aq.alt}var at=aH.viewBox;var aV=b.computedFontSize||(b.computedFontSize=new Cufon.CSS.Size(p(aE,b.get("fontSize"))+"px",aH.baseSize));var aM,aU;if(aX){aM=aq;aU=aq.firstChild}else{aM=document.createElement("cufon");aM.className="cufon cufon-vml";aM.alt=ax;aU=document.createElement("cufoncanvas");aM.appendChild(aU);if(aF.printable){var a=document.createElement("cufontext");a.appendChild(document.createTextNode(ax));aM.appendChild(a)}if(!d){aM.appendChild(document.createElement("cvml:shape"))}}var au=aM.style;var aj=aU.style;var aZ=aV.convert(at.height),aB=Math.ceil(aZ);var e=aB/aZ;var al=e*Cufon.CSS.fontStretch(b.get("fontStretch"));var f=at.minX,g=at.minY;aj.height=aB;aj.top=Math.round(aV.convert(g-aH.ascent));aj.left=Math.round(aV.convert(f));au.height=aV.convert(aH.height)+"px";var az=b.get("color");var ay=Cufon.CSS.textTransform(ax,b).split("");var ap=aH.spacing(ay,m(aE,b,aV,"letterSpacing"),m(aE,b,aV,"wordSpacing"));if(!ap.length){return null}var a0=ap.total;var aN=-f+a0+(at.width-ap[ap.length-1]);var aw=aV.convert(aN*al),c=Math.round(aw);var am=aN+","+at.height,aY;var ar="r"+am+"ns";var aQ=aF.textGradient&&o(aF.textGradient);var aW=aH.glyphs,h=0;var av=aF.textShadow;var aJ=-1,aK=0,aO;while(aO=ay[++aJ]){var aD=aW[ay[aJ]]||aH.missingGlyph,aP;if(!aD){continue}if(aX){aP=aU.childNodes[aK];while(aP.firstChild){aP.removeChild(aP.firstChild)}}else{aP=document.createElement("cvml:shape");aU.appendChild(aP)}aP.stroked="f";aP.coordsize=am;aP.coordorigin=aY=(f-h)+","+g;aP.path=(aD.d?"m"+aD.d+"xe":"")+"m"+aY+ar;aP.fillcolor=az;if(aQ){aP.appendChild(aQ.cloneNode(false))}var aC=aP.style;aC.width=c;aC.height=aB;if(av){var aS=av[0],aT=av[1];var aG=Cufon.CSS.color(aS.color),aL;var an=document.createElement("cvml:shadow");an.on="t";an.color=aG.color;an.offset=aS.offX+","+aS.offY;if(aT){aL=Cufon.CSS.color(aT.color);an.type="double";an.color2=aL.color;an.offset2=aT.offX+","+aT.offY}an.opacity=aG.opacity||(aL&&aL.opacity)||1;aP.appendChild(an)}h+=ap[aK++]}var ao=aP.nextSibling,aR,aI;if(aF.forceHitArea){if(!ao){ao=document.createElement("cvml:rect");ao.stroked="f";ao.className="cufon-vml-cover";aR=document.createElement("cvml:fill");aR.opacity=0;ao.appendChild(aR);aU.appendChild(ao)}aI=ao.style;aI.width=c;aI.height=aB}else{if(ao){aU.removeChild(ao)}}au.width=Math.max(Math.ceil(aV.convert(a0*al)),0);if(k){var ak=b.computedYAdjust;if(ak===undefined){var aA=b.get("lineHeight");if(aA=="normal"){aA="1em"}else{if(!isNaN(aA)){aA+="em"}}b.computedYAdjust=ak=0.5*(j(aE,aA)-parseFloat(au.height))}if(ak){au.marginTop=Math.ceil(ak)+"px";au.marginBottom=ak+"px"}}return aM}})());
/*
 * jQuery Cycle Plugin (with Transition Definitions)
 * Examples and documentation at: http://jquery.malsup.com/cycle/
 * Copyright (c) 2007-2009 M. Alsup
 * Version: 2.73 (04-NOV-2009)
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 * Requires: jQuery v1.2.6 or later
 *
 * Originally based on the work of:
 *	1) Matt Oakes
 *	2) Torsten Baldes (http://medienfreunde.com/lab/innerfade/)
 *	3) Benjamin Sterling (http://www.benjaminsterling.com/experiments/jqShuffle/)
 */
(function(i){var l="2.73";if(i.support==undefined){i.support={opacity:!(i.browser.msie)}}function a(q){if(i.fn.cycle.debug){f(q)}}function f(){if(window.console&&window.console.log){window.console.log("[cycle] "+Array.prototype.join.call(arguments," "))}}i.fn.cycle=function(r,q){var s={s:this.selector,c:this.context};if(this.length===0&&r!="stop"){if(!i.isReady&&s.s){f("DOM not ready, queuing slideshow");i(function(){i(s.s,s.c).cycle(r,q)});return this}f("terminating; zero elements found by selector"+(i.isReady?"":" (DOM not ready)"));return this}return this.each(function(){var w=m(this,r,q);if(w===false){return}if(this.cycleTimeout){clearTimeout(this.cycleTimeout)}this.cycleTimeout=this.cyclePause=0;var x=i(this);var y=w.slideExpr?i(w.slideExpr,this):x.children();var u=y.get();if(u.length<2){f("terminating; too few slides: "+u.length);return}var t=k(x,y,u,w,s);if(t===false){return}var v=t.continuous?10:h(t.currSlide,t.nextSlide,t,!t.rev);if(v){v+=(t.delay||0);if(v<10){v=10}a("first timeout: "+v);this.cycleTimeout=setTimeout(function(){e(u,t,0,!t.rev)},v)}})};function m(q,t,r){if(q.cycleStop==undefined){q.cycleStop=0}if(t===undefined||t===null){t={}}if(t.constructor==String){switch(t){case"stop":q.cycleStop++;if(q.cycleTimeout){clearTimeout(q.cycleTimeout)}q.cycleTimeout=0;i(q).removeData("cycle.opts");return false;case"pause":q.cyclePause=1;return false;case"resume":q.cyclePause=0;if(r===true){t=i(q).data("cycle.opts");if(!t){f("options not found, can not resume");return false}if(q.cycleTimeout){clearTimeout(q.cycleTimeout);q.cycleTimeout=0}e(t.elements,t,1,1)}return false;case"prev":case"next":var u=i(q).data("cycle.opts");if(!u){f('options not found, "prev/next" ignored');return false}i.fn.cycle[t](u);return false;default:t={fx:t}}return t}else{if(t.constructor==Number){var s=t;t=i(q).data("cycle.opts");if(!t){f("options not found, can not advance slide");return false}if(s<0||s>=t.elements.length){f("invalid slide index: "+s);return false}t.nextSlide=s;if(q.cycleTimeout){clearTimeout(q.cycleTimeout);q.cycleTimeout=0}if(typeof r=="string"){t.oneTimeFx=r}e(t.elements,t,1,s>=t.currSlide);return false}}return t}function b(q,r){if(!i.support.opacity&&r.cleartype&&q.style.filter){try{q.style.removeAttribute("filter")}catch(s){}}}function k(y,J,u,t,E){var C=i.extend({},i.fn.cycle.defaults,t||{},i.metadata?y.metadata():i.meta?y.data():{});if(C.autostop){C.countdown=C.autostopCount||u.length}var r=y[0];y.data("cycle.opts",C);C.$cont=y;C.stopCount=r.cycleStop;C.elements=u;C.before=C.before?[C.before]:[];C.after=C.after?[C.after]:[];C.after.unshift(function(){C.busy=0});if(!i.support.opacity&&C.cleartype){C.after.push(function(){b(this,C)})}if(C.continuous){C.after.push(function(){e(u,C,0,!C.rev)})}n(C);if(!i.support.opacity&&C.cleartype&&!C.cleartypeNoBg){g(J)}if(y.css("position")=="static"){y.css("position","relative")}if(C.width){y.width(C.width)}if(C.height&&C.height!="auto"){y.height(C.height)}if(C.startingSlide){C.startingSlide=parseInt(C.startingSlide)}if(C.random){C.randomMap=[];for(var H=0;H<u.length;H++){C.randomMap.push(H)}C.randomMap.sort(function(L,w){return Math.random()-0.5});C.randomIndex=0;C.startingSlide=C.randomMap[0]}else{if(C.startingSlide>=u.length){C.startingSlide=0}}C.currSlide=C.startingSlide=C.startingSlide||0;var x=C.startingSlide;J.css({position:"absolute",top:0,left:0}).hide().each(function(w){var L=x?w>=x?u.length-(w-x):x-w:u.length-w;i(this).css("z-index",L)});i(u[x]).css("opacity",1).show();b(u[x],C);if(C.fit&&C.width){J.width(C.width)}if(C.fit&&C.height&&C.height!="auto"){J.height(C.height)}var D=C.containerResize&&!y.innerHeight();if(D){var v=0,B=0;for(var F=0;F<u.length;F++){var q=i(u[F]),K=q[0],A=q.outerWidth(),I=q.outerHeight();if(!A){A=K.offsetWidth}if(!I){I=K.offsetHeight}v=A>v?A:v;B=I>B?I:B}if(v>0&&B>0){y.css({width:v+"px",height:B+"px"})}}if(C.pause){y.hover(function(){this.cyclePause++},function(){this.cyclePause--})}if(c(C)===false){return false}var s=false;t.requeueAttempts=t.requeueAttempts||0;J.each(function(){var N=i(this);this.cycleH=(C.fit&&C.height)?C.height:N.height();this.cycleW=(C.fit&&C.width)?C.width:N.width();if(N.is("img")){var L=(i.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var O=(i.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete);var M=(i.browser.opera&&((this.cycleW==42&&this.cycleH==19)||(this.cycleW==37&&this.cycleH==17))&&!this.complete);var w=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(L||O||M||w){if(E.s&&C.requeueOnImageNotLoaded&&++t.requeueAttempts<100){f(t.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){i(E.s,E.c).cycle(t)},C.requeueTimeout);s=true;return false}else{f("could not determine size of image: "+this.src,this.cycleW,this.cycleH)}}}return true});if(s){return false}C.cssBefore=C.cssBefore||{};C.animIn=C.animIn||{};C.animOut=C.animOut||{};J.not(":eq("+x+")").css(C.cssBefore);if(C.cssFirst){i(J[x]).css(C.cssFirst)}if(C.timeout){C.timeout=parseInt(C.timeout);if(C.speed.constructor==String){C.speed=i.fx.speeds[C.speed]||parseInt(C.speed)}if(!C.sync){C.speed=C.speed/2}while((C.timeout-C.speed)<250){C.timeout+=C.speed}}if(C.easing){C.easeIn=C.easeOut=C.easing}if(!C.speedIn){C.speedIn=C.speed}if(!C.speedOut){C.speedOut=C.speed}C.slideCount=u.length;C.currSlide=C.lastSlide=x;if(C.random){C.nextSlide=C.currSlide;if(++C.randomIndex==u.length){C.randomIndex=0}C.nextSlide=C.randomMap[C.randomIndex]}else{C.nextSlide=C.startingSlide>=(u.length-1)?0:C.startingSlide+1}if(!C.multiFx){var G=i.fn.cycle.transitions[C.fx];if(i.isFunction(G)){G(y,J,C)}else{if(C.fx!="custom"&&!C.multiFx){f("unknown transition: "+C.fx,"; slideshow terminating");return false}}}var z=J[x];if(C.before.length){C.before[0].apply(z,[z,z,C,true])}if(C.after.length>1){C.after[1].apply(z,[z,z,C,true])}if(C.next){i(C.next).bind(C.prevNextEvent,function(){return o(C,C.rev?-1:1)})}if(C.prev){i(C.prev).bind(C.prevNextEvent,function(){return o(C,C.rev?1:-1)})}if(C.pager){d(u,C)}j(C,u);return C}function n(q){q.original={before:[],after:[]};q.original.cssBefore=i.extend({},q.cssBefore);q.original.cssAfter=i.extend({},q.cssAfter);q.original.animIn=i.extend({},q.animIn);q.original.animOut=i.extend({},q.animOut);i.each(q.before,function(){q.original.before.push(this)});i.each(q.after,function(){q.original.after.push(this)})}function c(w){var u,s,r=i.fn.cycle.transitions;if(w.fx.indexOf(",")>0){w.multiFx=true;w.fxs=w.fx.replace(/\s*/g,"").split(",");for(u=0;u<w.fxs.length;u++){var v=w.fxs[u];s=r[v];if(!s||!r.hasOwnProperty(v)||!i.isFunction(s)){f("discarding unknown transition: ",v);w.fxs.splice(u,1);u--}}if(!w.fxs.length){f("No valid transitions named; slideshow terminating.");return false}}else{if(w.fx=="all"){w.multiFx=true;w.fxs=[];for(p in r){s=r[p];if(r.hasOwnProperty(p)&&i.isFunction(s)){w.fxs.push(p)}}}}if(w.multiFx&&w.randomizeEffects){var t=Math.floor(Math.random()*20)+30;for(u=0;u<t;u++){var q=Math.floor(Math.random()*w.fxs.length);w.fxs.push(w.fxs.splice(q,1)[0])}a("randomized fx sequence: ",w.fxs)}return true}function j(r,q){r.addSlide=function(u,v){var t=i(u),w=t[0];if(!r.autostopCount){r.countdown++}q[v?"unshift":"push"](w);if(r.els){r.els[v?"unshift":"push"](w)}r.slideCount=q.length;t.css("position","absolute");t[v?"prependTo":"appendTo"](r.$cont);if(v){r.currSlide++;r.nextSlide++}if(!i.support.opacity&&r.cleartype&&!r.cleartypeNoBg){g(t)}if(r.fit&&r.width){t.width(r.width)}if(r.fit&&r.height&&r.height!="auto"){$slides.height(r.height)}w.cycleH=(r.fit&&r.height)?r.height:t.height();w.cycleW=(r.fit&&r.width)?r.width:t.width();t.css(r.cssBefore);if(r.pager){i.fn.cycle.createPagerAnchor(q.length-1,w,i(r.pager),q,r)}if(i.isFunction(r.onAddSlide)){r.onAddSlide(t)}else{t.hide()}}}i.fn.cycle.resetState=function(r,q){q=q||r.fx;r.before=[];r.after=[];r.cssBefore=i.extend({},r.original.cssBefore);r.cssAfter=i.extend({},r.original.cssAfter);r.animIn=i.extend({},r.original.animIn);r.animOut=i.extend({},r.original.animOut);r.fxFn=null;i.each(r.original.before,function(){r.before.push(this)});i.each(r.original.after,function(){r.after.push(this)});var s=i.fn.cycle.transitions[q];if(i.isFunction(s)){s(r.$cont,i(r.elements),r)}};function e(x,q,w,y){if(w&&q.busy&&q.manualTrump){i(x).stop(true,true);q.busy=false}if(q.busy){return}var u=q.$cont[0],A=x[q.currSlide],z=x[q.nextSlide];if(u.cycleStop!=q.stopCount||u.cycleTimeout===0&&!w){return}if(!w&&!u.cyclePause&&((q.autostop&&(--q.countdown<=0))||(q.nowrap&&!q.random&&q.nextSlide<q.currSlide))){if(q.end){q.end(q)}return}if(w||!u.cyclePause){var v=q.fx;A.cycleH=A.cycleH||i(A).height();A.cycleW=A.cycleW||i(A).width();z.cycleH=z.cycleH||i(z).height();z.cycleW=z.cycleW||i(z).width();if(q.multiFx){if(q.lastFx==undefined||++q.lastFx>=q.fxs.length){q.lastFx=0}v=q.fxs[q.lastFx];q.currFx=v}if(q.oneTimeFx){v=q.oneTimeFx;q.oneTimeFx=null}i.fn.cycle.resetState(q,v);if(q.before.length){i.each(q.before,function(B,C){if(u.cycleStop!=q.stopCount){return}C.apply(z,[A,z,q,y])})}var s=function(){i.each(q.after,function(B,C){if(u.cycleStop!=q.stopCount){return}C.apply(z,[A,z,q,y])})};if(q.nextSlide!=q.currSlide){q.busy=1;if(q.fxFn){q.fxFn(A,z,q,s,y)}else{if(i.isFunction(i.fn.cycle[q.fx])){i.fn.cycle[q.fx](A,z,q,s)}else{i.fn.cycle.custom(A,z,q,s,w&&q.fastOnEvent)}}}q.lastSlide=q.currSlide;if(q.random){q.currSlide=q.nextSlide;if(++q.randomIndex==x.length){q.randomIndex=0}q.nextSlide=q.randomMap[q.randomIndex]}else{var t=(q.nextSlide+1)==x.length;q.nextSlide=t?0:q.nextSlide+1;q.currSlide=t?x.length-1:q.nextSlide-1}if(q.pager){i.fn.cycle.updateActivePagerLink(q.pager,q.currSlide)}}var r=0;if(q.timeout&&!q.continuous){r=h(A,z,q,y)}else{if(q.continuous&&u.cyclePause){r=10}}if(r>0){u.cycleTimeout=setTimeout(function(){e(x,q,0,!q.rev)},r)}}i.fn.cycle.updateActivePagerLink=function(q,r){i(q).each(function(){i(this).find("a").removeClass("activeSlide").filter("a:eq("+r+")").addClass("activeSlide")})};function h(v,s,u,r){if(u.timeoutFn){var q=u.timeoutFn(v,s,u,r);while((q-u.speed)<250){q+=u.speed}a("calculated timeout: "+q+"; speed: "+u.speed);if(q!==false){return q}}return u.timeout}i.fn.cycle.next=function(q){o(q,q.rev?-1:1)};i.fn.cycle.prev=function(q){o(q,q.rev?1:-1)};function o(r,u){var q=r.elements;var t=r.$cont[0],s=t.cycleTimeout;if(s){clearTimeout(s);t.cycleTimeout=0}if(r.random&&u<0){r.randomIndex--;if(--r.randomIndex==-2){r.randomIndex=q.length-2}else{if(r.randomIndex==-1){r.randomIndex=q.length-1}}r.nextSlide=r.randomMap[r.randomIndex]}else{if(r.random){if(++r.randomIndex==q.length){r.randomIndex=0}r.nextSlide=r.randomMap[r.randomIndex]}else{r.nextSlide=r.currSlide+u;if(r.nextSlide<0){if(r.nowrap){return false}r.nextSlide=q.length-1}else{if(r.nextSlide>=q.length){if(r.nowrap){return false}r.nextSlide=0}}}}if(i.isFunction(r.prevNextClick)){r.prevNextClick(u>0,r.nextSlide,q[r.nextSlide])}e(q,r,1,u>=0);return false}function d(r,s){var q=i(s.pager);i.each(r,function(t,u){i.fn.cycle.createPagerAnchor(t,u,q,r,s)});i.fn.cycle.updateActivePagerLink(s.pager,s.startingSlide)}i.fn.cycle.createPagerAnchor=function(u,v,s,t,w){var r;if(i.isFunction(w.pagerAnchorBuilder)){r=w.pagerAnchorBuilder(u,v)}else{r='<a href="#">'+(u+1)+"</a>"}if(!r){return}var x=i(r);if(x.parents("body").length===0){var q=[];if(s.length>1){s.each(function(){var y=x.clone(true);i(this).append(y);q.push(y[0])});x=i(q)}else{x.appendTo(s)}}x.bind(w.pagerEvent,function(A){A.preventDefault();w.nextSlide=u;var z=w.$cont[0],y=z.cycleTimeout;if(y){clearTimeout(y);z.cycleTimeout=0}if(i.isFunction(w.pagerClick)){w.pagerClick(w.nextSlide,t[w.nextSlide])}e(t,w,1,w.currSlide<u);return false});if(w.pagerEvent!="click"){x.click(function(){return false})}if(w.pauseOnPagerHover){x.hover(function(){w.$cont[0].cyclePause++},function(){w.$cont[0].cyclePause--})}};i.fn.cycle.hopsFromLast=function(t,s){var r,q=t.lastSlide,u=t.currSlide;if(s){r=u>q?u-q:t.slideCount-q}else{r=u<q?q-u:q+t.slideCount-u}return r};function g(s){function r(t){t=parseInt(t).toString(16);return t.length<2?"0"+t:t}function q(w){for(;w&&w.nodeName.toLowerCase()!="html";w=w.parentNode){var t=i.css(w,"background-color");if(t.indexOf("rgb")>=0){var u=t.match(/\d+/g);return"#"+r(u[0])+r(u[1])+r(u[2])}if(t&&t!="transparent"){return t}}return"#ffffff"}s.each(function(){i(this).css("background-color",q(this))})}i.fn.cycle.commonReset=function(v,t,u,r,s,q){i(u.elements).not(v).hide();u.cssBefore.opacity=1;u.cssBefore.display="block";if(r!==false&&t.cycleW>0){u.cssBefore.width=t.cycleW}if(s!==false&&t.cycleH>0){u.cssBefore.height=t.cycleH}u.cssAfter=u.cssAfter||{};u.cssAfter.display="none";i(v).css("zIndex",u.slideCount+(q===true?1:0));i(t).css("zIndex",u.slideCount+(q===true?0:1))};i.fn.cycle.custom=function(B,v,q,s,r){var A=i(B),w=i(v);var t=q.speedIn,z=q.speedOut,u=q.easeIn,y=q.easeOut;w.css(q.cssBefore);if(r){if(typeof r=="number"){t=z=r}else{t=z=1}u=y=null}var x=function(){w.animate(q.animIn,t,u,s)};A.animate(q.animOut,z,y,function(){if(q.cssAfter){A.css(q.cssAfter)}if(!q.sync){x()}});if(q.sync){x()}};i.fn.cycle.transitions={fade:function(r,s,q){s.not(":eq("+q.currSlide+")").css("opacity",0);q.before.push(function(v,t,u){i.fn.cycle.commonReset(v,t,u);u.cssBefore.opacity=0});q.animIn={opacity:1};q.animOut={opacity:0};q.cssBefore={top:0,left:0}}};i.fn.cycle.ver=function(){return l};i.fn.cycle.defaults={fx:"fade",timeout:4000,timeoutFn:null,continuous:0,speed:1000,speedIn:null,speedOut:null,next:null,prev:null,prevNextClick:null,prevNextEvent:"click",pager:null,pagerClick:null,pagerEvent:"click",pagerAnchorBuilder:null,before:null,after:null,end:null,easing:null,easeIn:null,easeOut:null,shuffle:null,animIn:null,animOut:null,cssBefore:null,cssAfter:null,fxFn:null,height:"auto",startingSlide:0,sync:1,random:0,fit:0,containerResize:1,pause:0,pauseOnPagerHover:0,autostop:0,autostopCount:0,delay:0,slideExpr:null,cleartype:!i.support.opacity,cleartypeNoBg:false,nowrap:0,fastOnEvent:0,randomizeEffects:1,rev:0,manualTrump:true,requeueOnImageNotLoaded:true,requeueTimeout:250}})(jQuery);
/*
 * jQuery Cycle Plugin Transition Definitions
 * This script is a plugin for the jQuery Cycle Plugin
 * Examples and documentation at: http://malsup.com/jquery/cycle/
 * Copyright (c) 2007-2008 M. Alsup
 * Version:	 2.72
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 */
(function(a){a.fn.cycle.transitions.none=function(c,d,b){b.fxFn=function(g,e,f,h){a(e).show();a(g).hide();h()}};a.fn.cycle.transitions.scrollUp=function(d,e,c){d.css("overflow","hidden");c.before.push(a.fn.cycle.commonReset);var b=d.height();c.cssBefore={top:b,left:0};c.cssFirst={top:0};c.animIn={top:0};c.animOut={top:-b}};a.fn.cycle.transitions.scrollDown=function(d,e,c){d.css("overflow","hidden");c.before.push(a.fn.cycle.commonReset);var b=d.height();c.cssFirst={top:0};c.cssBefore={top:-b,left:0};c.animIn={top:0};c.animOut={top:b}};a.fn.cycle.transitions.scrollLeft=function(d,e,c){d.css("overflow","hidden");c.before.push(a.fn.cycle.commonReset);var b=d.width();c.cssFirst={left:0};c.cssBefore={left:b,top:0};c.animIn={left:0};c.animOut={left:0-b}};a.fn.cycle.transitions.scrollRight=function(d,e,c){d.css("overflow","hidden");c.before.push(a.fn.cycle.commonReset);var b=d.width();c.cssFirst={left:0};c.cssBefore={left:-b,top:0};c.animIn={left:0};c.animOut={left:b}};a.fn.cycle.transitions.scrollHorz=function(c,d,b){c.css("overflow","hidden").width();b.before.push(function(h,f,g,e){a.fn.cycle.commonReset(h,f,g);g.cssBefore.left=e?(f.cycleW-1):(1-f.cycleW);g.animOut.left=e?-h.cycleW:h.cycleW});b.cssFirst={left:0};b.cssBefore={top:0};b.animIn={left:0};b.animOut={top:0}};a.fn.cycle.transitions.scrollVert=function(c,d,b){c.css("overflow","hidden");b.before.push(function(h,f,g,e){a.fn.cycle.commonReset(h,f,g);g.cssBefore.top=e?(1-f.cycleH):(f.cycleH-1);g.animOut.top=e?h.cycleH:-h.cycleH});b.cssFirst={top:0};b.cssBefore={left:0};b.animIn={top:0};b.animOut={left:0}};a.fn.cycle.transitions.slideX=function(c,d,b){b.before.push(function(g,e,f){a(f.elements).not(g).hide();a.fn.cycle.commonReset(g,e,f,false,true);f.animIn.width=e.cycleW});b.cssBefore={left:0,top:0,width:0};b.animIn={width:"show"};b.animOut={width:0}};a.fn.cycle.transitions.slideY=function(c,d,b){b.before.push(function(g,e,f){a(f.elements).not(g).hide();a.fn.cycle.commonReset(g,e,f,true,false);f.animIn.height=e.cycleH});b.cssBefore={left:0,top:0,height:0};b.animIn={height:"show"};b.animOut={height:0}};a.fn.cycle.transitions.shuffle=function(e,f,d){var c,b=e.css("overflow","visible").width();f.css({left:0,top:0});d.before.push(function(i,g,h){a.fn.cycle.commonReset(i,g,h,true,true,true)});if(!d.speedAdjusted){d.speed=d.speed/2;d.speedAdjusted=true}d.random=0;d.shuffle=d.shuffle||{left:-b,top:15};d.els=[];for(c=0;c<f.length;c++){d.els.push(f[c])}for(c=0;c<d.currSlide;c++){d.els.push(d.els.shift())}d.fxFn=function(m,j,l,g,i){var h=i?a(m):a(j);a(j).css(l.cssBefore);var k=l.slideCount;h.animate(l.shuffle,l.speedIn,l.easeIn,function(){var o=a.fn.cycle.hopsFromLast(l,i);for(var q=0;q<o;q++){i?l.els.push(l.els.shift()):l.els.unshift(l.els.pop())}if(i){for(var r=0,n=l.els.length;r<n;r++){a(l.els[r]).css("z-index",n-r+k)}}else{var s=a(m).css("z-index");h.css("z-index",parseInt(s)+1+k)}h.animate({left:0,top:0},l.speedOut,l.easeOut,function(){a(i?this:m).hide();if(g){g()}})})};d.cssBefore={display:"block",opacity:1,top:0,left:0}};a.fn.cycle.transitions.turnUp=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,true,false);f.cssBefore.top=e.cycleH;f.animIn.height=e.cycleH});b.cssFirst={top:0};b.cssBefore={left:0,height:0};b.animIn={top:0};b.animOut={height:0}};a.fn.cycle.transitions.turnDown=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,true,false);f.animIn.height=e.cycleH;f.animOut.top=g.cycleH});b.cssFirst={top:0};b.cssBefore={left:0,top:0,height:0};b.animOut={height:0}};a.fn.cycle.transitions.turnLeft=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,false,true);f.cssBefore.left=e.cycleW;f.animIn.width=e.cycleW});b.cssBefore={top:0,width:0};b.animIn={left:0};b.animOut={width:0}};a.fn.cycle.transitions.turnRight=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,false,true);f.animIn.width=e.cycleW;f.animOut.left=g.cycleW});b.cssBefore={top:0,left:0,width:0};b.animIn={left:0};b.animOut={width:0}};a.fn.cycle.transitions.zoom=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,false,false,true);f.cssBefore.top=e.cycleH/2;f.cssBefore.left=e.cycleW/2;f.animIn={top:0,left:0,width:e.cycleW,height:e.cycleH};f.animOut={width:0,height:0,top:g.cycleH/2,left:g.cycleW/2}});b.cssFirst={top:0,left:0};b.cssBefore={width:0,height:0}};a.fn.cycle.transitions.fadeZoom=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,false,false);f.cssBefore.left=e.cycleW/2;f.cssBefore.top=e.cycleH/2;f.animIn={top:0,left:0,width:e.cycleW,height:e.cycleH}});b.cssBefore={width:0,height:0};b.animOut={opacity:0}};a.fn.cycle.transitions.blindX=function(d,e,c){var b=d.css("overflow","hidden").width();c.before.push(function(h,f,g){a.fn.cycle.commonReset(h,f,g);g.animIn.width=f.cycleW;g.animOut.left=h.cycleW});c.cssBefore={left:b,top:0};c.animIn={left:0};c.animOut={left:b}};a.fn.cycle.transitions.blindY=function(d,e,c){var b=d.css("overflow","hidden").height();c.before.push(function(h,f,g){a.fn.cycle.commonReset(h,f,g);g.animIn.height=f.cycleH;g.animOut.top=h.cycleH});c.cssBefore={top:b,left:0};c.animIn={top:0};c.animOut={top:b}};a.fn.cycle.transitions.blindZ=function(e,f,d){var c=e.css("overflow","hidden").height();var b=e.width();d.before.push(function(i,g,h){a.fn.cycle.commonReset(i,g,h);h.animIn.height=g.cycleH;h.animOut.top=i.cycleH});d.cssBefore={top:c,left:b};d.animIn={top:0,left:0};d.animOut={top:c,left:b}};a.fn.cycle.transitions.growX=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,false,true);f.cssBefore.left=this.cycleW/2;f.animIn={left:0,width:this.cycleW};f.animOut={left:0}});b.cssBefore={width:0,top:0}};a.fn.cycle.transitions.growY=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,true,false);f.cssBefore.top=this.cycleH/2;f.animIn={top:0,height:this.cycleH};f.animOut={top:0}});b.cssBefore={height:0,left:0}};a.fn.cycle.transitions.curtainX=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,false,true,true);f.cssBefore.left=e.cycleW/2;f.animIn={left:0,width:this.cycleW};f.animOut={left:g.cycleW/2,width:0}});b.cssBefore={top:0,width:0}};a.fn.cycle.transitions.curtainY=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,true,false,true);f.cssBefore.top=e.cycleH/2;f.animIn={top:0,height:e.cycleH};f.animOut={top:g.cycleH/2,height:0}});b.cssBefore={left:0,height:0}};a.fn.cycle.transitions.cover=function(f,g,e){var i=e.direction||"left";var b=f.css("overflow","hidden").width();var c=f.height();e.before.push(function(j,d,h){a.fn.cycle.commonReset(j,d,h);if(i=="right"){h.cssBefore.left=-b}else{if(i=="up"){h.cssBefore.top=c}else{if(i=="down"){h.cssBefore.top=-c}else{h.cssBefore.left=b}}}});e.animIn={left:0,top:0};e.animOut={opacity:1};e.cssBefore={top:0,left:0}};a.fn.cycle.transitions.uncover=function(f,g,e){var i=e.direction||"left";var b=f.css("overflow","hidden").width();var c=f.height();e.before.push(function(j,d,h){a.fn.cycle.commonReset(j,d,h,true,true,true);if(i=="right"){h.animOut.left=b}else{if(i=="up"){h.animOut.top=-c}else{if(i=="down"){h.animOut.top=c}else{h.animOut.left=-b}}}});e.animIn={left:0,top:0};e.animOut={opacity:1};e.cssBefore={top:0,left:0}};a.fn.cycle.transitions.toss=function(e,f,d){var b=e.css("overflow","visible").width();var c=e.height();d.before.push(function(i,g,h){a.fn.cycle.commonReset(i,g,h,true,true,true);if(!h.animOut.left&&!h.animOut.top){h.animOut={left:b*2,top:-c/2,opacity:0}}else{h.animOut.opacity=0}});d.cssBefore={left:0,top:0};d.animIn={left:0}};a.fn.cycle.transitions.wipe=function(s,m,e){var q=s.css("overflow","hidden").width();var j=s.height();e.cssBefore=e.cssBefore||{};var g;if(e.clip){if(/l2r/.test(e.clip)){g="rect(0px 0px "+j+"px 0px)"}else{if(/r2l/.test(e.clip)){g="rect(0px "+q+"px "+j+"px "+q+"px)"}else{if(/t2b/.test(e.clip)){g="rect(0px "+q+"px 0px 0px)"}else{if(/b2t/.test(e.clip)){g="rect("+j+"px "+q+"px "+j+"px 0px)"}else{if(/zoom/.test(e.clip)){var o=parseInt(j/2);var f=parseInt(q/2);g="rect("+o+"px "+f+"px "+o+"px "+f+"px)"}}}}}}e.cssBefore.clip=e.cssBefore.clip||g||"rect(0px 0px 0px 0px)";var k=e.cssBefore.clip.match(/(\d+)/g);var u=parseInt(k[0]),c=parseInt(k[1]),n=parseInt(k[2]),i=parseInt(k[3]);e.before.push(function(w,h,t){if(w==h){return}var d=a(w),b=a(h);a.fn.cycle.commonReset(w,h,t,true,true,false);t.cssAfter.display="block";var r=1,l=parseInt((t.speedIn/13))-1;(function v(){var y=u?u-parseInt(r*(u/l)):0;var z=i?i-parseInt(r*(i/l)):0;var A=n<j?n+parseInt(r*((j-n)/l||1)):j;var x=c<q?c+parseInt(r*((q-c)/l||1)):q;b.css({clip:"rect("+y+"px "+x+"px "+A+"px "+z+"px)"});(r++<=l)?setTimeout(v,13):d.css("display","none")})()});e.cssBefore={display:"block",opacity:1,top:0,left:0};e.animIn={left:0};e.animOut={left:0}}})(jQuery);
/*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Copyright:
 * © Copyright 1998, Neufville Digital. ALL RIGHTS RESERVED. This font is
 * licensed, not sold, and may not be reproduced without the written consent of
 * Neufville Digital. Parts © Visualogik Technology & Design, 1998.
 * 
 * Trademark:
 * Futura is a registered trademark of Bauer Types SA. Unauthorised use
 * prohibited. ALL RIGHTS RESERVED. Neufville Digital is a trademark of Visualogik,
 * used with the permission of Neufville SL.
 * 
 * Description:
 * Paul Renner (1878-1956) was a painter, typographer, typeface designer and
 * teacher. Between 1908 and 1917 he designed thousands of books for Munich
 * publishers in a refined traditional style. In the early 1920s he began to
 * support the modern styles of architecture and typography, becoming a leading
 * proponent of the New Typography. Renner is best known for designing the typeface
 * Futura, which became a standard tool for the New Typography, and remains a
 * popular typeface today.  Futura does give a restful, almost bland impression,
 * which accords with Renner's objectives. Futura seems classical, not only due to
 * the form of its capitals, but also to the open, wide forms of the geometrical
 * small letters. The typeface relies on notions of classical, yet contemporary
 * form, - harmony and evenness of texture. Thanks to the modern digital technology
 * Futura lives on in a greater variety than ever, offering a wide choice of
 * typographic solutions for contemporary design in the new millennium.
 * 
 * Designer:
 * Paul Renner (1928)
 * 
 * Vendor URL:
 * http://www.neufville.com
 */
Cufon.registerFont({"w":149,"face":{"font-family":"Futura","font-weight":500,"font-stretch":"condensed","units-per-em":"360","panose-1":"2 11 5 6 2 2 4 3 2 4","ascent":"288","descent":"-72","x-height":"3","bbox":"-17 -303 256 79","underline-thickness":"24.6094","underline-position":"-26.3672","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{"w":74},"!":{"d":"28,-19v0,-12,11,-21,22,-22v12,0,22,10,22,22v0,12,-10,21,-22,21v-12,0,-22,-10,-22,-21xm33,-271r35,0r0,206r-35,0r0,-206","w":100},"\"":{"d":"50,-165r-26,0r-8,-106r41,0xm112,-165r-26,0r-7,-106r41,0","w":135},"#":{"d":"136,-117r0,30r-29,0r-11,87r-29,0r11,-87r-23,0r-11,87r-28,0r10,-87r-25,0r0,-30r29,0r5,-43r-25,0r0,-30r29,0r10,-81r29,0r-10,81r23,0r10,-81r29,0r-10,81r28,0r0,30r-32,0r-5,43r25,0xm87,-160r-23,0r-5,43r23,0"},"$":{"d":"25,-156v-29,-39,-12,-119,41,-119r0,-24r16,0r0,24v31,4,45,14,53,41r-28,14v-4,-17,-14,-26,-31,-26v-20,0,-31,13,-31,38v0,64,100,55,93,133v-5,47,-12,71,-56,77r0,25r-16,0r0,-25v-32,-4,-43,-14,-53,-42r30,-14v10,36,63,33,60,-16v-2,-35,-10,-34,-37,-52v-21,-14,-35,-25,-41,-34"},"%":{"d":"51,-272v33,0,39,27,40,65v0,42,-14,63,-40,63v-32,0,-38,-26,-38,-64v0,-38,6,-64,38,-64xm52,-165v22,-4,21,-81,0,-85v-22,3,-21,81,0,85xm160,-271r23,0r-135,271r-22,0xm157,4v-31,0,-38,-26,-38,-64v0,-43,13,-64,38,-64v26,0,39,22,39,65v0,42,-13,63,-39,63xm157,-102v-22,3,-20,83,0,85v10,0,15,-14,15,-42v-1,-23,1,-41,-15,-43","w":208},"&":{"d":"136,-204v-1,35,-21,53,-40,73r35,58r23,-31r23,18r-29,41r29,45r-40,0r-13,-21v-35,47,-111,14,-108,-43v2,-34,17,-50,38,-73v-35,-44,-30,-114,31,-115v30,-1,51,20,51,48xm87,-225v-30,8,-23,35,-6,66v11,-14,25,-23,26,-44v0,-13,-8,-22,-20,-22xm71,-109v-29,26,-27,80,10,80v9,0,19,-6,28,-17","w":184},"'":{"d":"50,-165r-26,0r-8,-106r41,0","w":73},"(":{"d":"54,-303r35,9v-42,134,-41,233,0,363r-35,10v-45,-126,-45,-259,0,-382","w":105},")":{"d":"52,79r-36,-9v43,-134,42,-233,0,-364r36,-9v44,126,44,259,0,382","w":105},"*":{"d":"67,-299r15,0r-1,50r47,-17r4,15r-47,14r30,39r-13,9r-27,-40r-28,40r-13,-9r30,-39r-47,-14r5,-15r46,17"},"+":{"d":"11,-124r0,-30r48,0r0,-47r31,0r0,47r48,0r0,30r-48,0r0,48r-31,0r0,-48r-48,0"},",":{"d":"29,-38r29,9r-34,95r-19,-5","w":74,"k":{"1":21}},"-":{"d":"0,-107r64,0r0,28r-64,0r0,-28","w":63,"k":{"Y":7,"W":-5,"V":-4,"A":-10}},".":{"d":"16,-19v0,-12,10,-22,22,-22v11,0,21,10,21,22v0,12,-10,21,-22,21v-13,0,-21,-8,-21,-21","w":74,"k":{"1":21}},"\/":{"d":"145,-299r28,0r-162,374r-28,0","w":162},"0":{"d":"74,-275v60,8,62,56,62,141v0,77,-2,131,-61,137v-60,-6,-62,-58,-62,-139v0,-81,2,-131,61,-139xm74,-28v40,-9,25,-152,19,-191v-5,-32,-34,-30,-38,0v-6,39,-20,182,19,191","k":{"7":8,"1":15}},"1":{"d":"32,-271r62,0r0,271r-35,0r0,-240r-27,0r0,-31","k":{"9":23,"8":20,"7":24,"6":22,"5":22,"4":20,"3":22,"2":22,"1":31,"0":18,".":18,",":21}},"2":{"d":"14,0v23,-61,85,-133,85,-210v0,-22,-8,-33,-24,-33v-20,0,-23,31,-22,60r-36,0v-1,-58,7,-91,59,-92v40,0,60,23,60,67v0,38,-46,131,-70,177r67,0r0,31r-119,0","k":{"7":4,"4":13,"1":12}},"3":{"d":"55,-157v33,1,42,-9,42,-44v0,-28,-8,-42,-22,-42v-16,0,-22,19,-21,44r-34,0v-1,-45,10,-77,54,-76v43,1,57,26,57,71v0,39,-4,52,-30,64v27,10,33,25,33,64v0,50,-15,79,-63,79v-39,1,-58,-25,-56,-71r34,0v-1,21,4,40,23,39v24,-1,25,-24,25,-51v0,-34,-11,-49,-42,-45r0,-32","k":{"7":6,"1":14}},"4":{"d":"85,-271r34,0r0,169r17,0r0,28r-17,0r0,74r-34,0r0,-74r-74,0r0,-31xm85,-102r0,-114r-46,114r46,0","k":{"7":11,"4":-1,"1":18}},"5":{"d":"25,-40v41,25,70,-5,70,-51v0,-44,-28,-59,-67,-49r16,-131r86,0r0,31r-58,0r-9,68v50,-2,69,30,71,77v5,74,-53,121,-119,87","k":{"7":5,"1":13}},"6":{"d":"16,-89v0,-78,28,-123,55,-182r39,0r-53,116v46,-32,80,9,76,74v-3,53,-11,84,-58,84v-50,0,-59,-36,-59,-92xm75,-134v-23,0,-23,26,-23,52v0,36,8,54,23,54v15,0,23,-18,23,-53v-1,-26,1,-53,-23,-53","k":{"7":11,"1":23}},"7":{"d":"17,-271r122,0r-83,271r-39,0r76,-240r-76,0r0,-31","k":{":":15,"7":1,"6":21,"4":22,"1":9,".":31,",":32}},"8":{"d":"75,-275v69,-10,73,109,26,128v27,10,32,28,32,68v-1,51,-12,82,-58,82v-46,0,-59,-31,-59,-82v0,-40,5,-58,32,-68v-48,-19,-41,-138,27,-128xm95,-205v0,-26,-7,-38,-20,-38v-13,0,-21,13,-21,38v0,28,8,42,21,42v13,0,20,-14,20,-42xm75,-128v-21,3,-23,23,-23,52v0,32,8,47,23,47v15,0,22,-16,22,-46v-1,-25,0,-51,-22,-53","k":{"7":7,"1":14}},"9":{"d":"74,-275v84,-2,61,138,39,196v-9,24,-25,54,-36,79r-39,0r53,-114v-43,31,-78,-10,-74,-69v4,-57,8,-91,57,-92xm74,-136v22,-2,23,-23,23,-52v0,-36,-8,-53,-23,-53v-15,0,-23,18,-23,53v1,29,2,49,23,52","k":{"7":7,"4":5,"1":14}},":":{"d":"16,-19v0,-12,10,-22,22,-22v11,0,21,10,21,22v0,12,-10,21,-22,21v-13,0,-21,-8,-21,-21xm16,-163v0,-12,10,-22,22,-22v11,0,21,10,21,22v0,12,-9,23,-22,22v-12,0,-21,-10,-21,-22","w":74},";":{"d":"29,-38r29,9r-34,95r-19,-5xm17,-163v0,-12,10,-22,22,-22v11,0,21,10,21,22v0,12,-9,23,-22,22v-12,0,-21,-10,-21,-22","w":74},"\u037e":{"d":"29,-38r29,9r-34,95r-19,-5xm17,-163v0,-12,10,-22,22,-22v11,0,21,10,21,22v0,12,-9,23,-22,22v-12,0,-21,-10,-21,-22","w":74},"<":{"d":"190,-237r0,35r-139,65r139,64r0,35r-176,-84r0,-31","w":203},"=":{"d":"11,-145r0,-30r127,0r0,30r-127,0xm11,-103r0,-30r127,0r0,30r-127,0"},">":{"d":"14,-38r0,-35r138,-64r-138,-65r0,-35r176,85r0,30","w":203},"?":{"d":"118,-194v0,46,-2,68,-38,73r0,58r-32,0r0,-82v32,1,37,-11,36,-45v-1,-32,0,-49,-20,-54v-13,-2,-16,20,-15,40r-33,0v1,-40,7,-72,49,-70v45,2,53,28,53,80xm42,-19v0,-27,44,-28,44,0v-1,29,-44,26,-44,0","w":133},"@":{"d":"76,-130v-6,-54,54,-108,90,-63r3,-14r28,0r-12,110v0,8,3,12,9,12v21,-1,34,-43,34,-68v0,-52,-38,-93,-88,-93v-55,-1,-97,52,-95,110v2,61,35,110,99,110v24,1,51,-9,74,-23r13,29v-28,14,-57,24,-87,23v-83,0,-131,-58,-133,-139v-2,-75,56,-139,128,-139v65,0,117,55,117,120v0,56,-58,137,-94,76v-33,51,-91,4,-86,-51xm128,-85v34,-1,49,-87,10,-96v-36,0,-41,86,-10,96","w":266},"A":{"d":"60,-271r28,0r58,271r-36,0r-10,-53r-54,0r-10,53r-35,0xm95,-81v-10,-44,-17,-88,-22,-138r-22,138r44,0","w":146,"k":{"y":4,"w":3,"v":3,"t":-2,"q":-2,"o":-1,"g":-2,"e":-1,"d":-2,"c":-1,"b":-4,"a":-2,"Y":13,"W":5,"V":6,"T":6,"Q":1,"O":1,"G":1,"C":2,".":-7,"-":-10,",":-7}},"B":{"d":"94,-138v29,13,38,25,39,63v2,71,-44,80,-112,75r0,-271v65,-4,110,2,108,72v-1,36,-8,51,-35,61xm93,-198v-1,-32,-11,-46,-38,-44r0,90v30,0,38,-14,38,-46xm55,-31v46,8,47,-56,31,-81v-5,-8,-16,-11,-31,-11r0,92","w":148,"k":{"Y":2,"W":-1,"V":-1,"O":1,"A":-1}},"C":{"d":"15,-131v0,-92,30,-166,112,-136r0,33v-60,-27,-74,41,-73,101v2,77,23,116,73,95r0,34v-72,26,-112,-25,-112,-127","w":137,"k":{"O":2,"A":-10}},"D":{"d":"152,-132v2,98,-25,142,-131,132r0,-271r45,0v78,1,84,56,86,139xm114,-131v0,-69,1,-108,-57,-110r0,209v55,-3,57,-33,57,-99","w":167,"k":{"Y":6,"X":5,"W":1,"V":1,"J":-2,"A":2}},"E":{"d":"21,-271r97,0r0,31r-61,0r0,85r54,0r0,31r-54,0r0,93r61,0r0,31r-97,0r0,-271","w":130},"F":{"d":"21,-271r98,0r0,31r-62,0r0,85r56,0r0,31r-56,0r0,124r-36,0r0,-271","w":125,"k":{"u":2,"r":2,"j":-4,"i":-4,"O":-1,"J":12,"A":4,".":22,"-":-7,",":24}},"G":{"d":"86,-30v34,-2,31,-41,32,-82r-32,0r0,-31r66,0v-2,86,5,146,-65,146v-66,0,-72,-57,-72,-138v0,-89,4,-140,70,-140v42,0,54,20,65,56r-34,14v-5,-19,-8,-38,-31,-38v-37,9,-32,48,-32,107v0,60,-5,97,33,106","w":167,"k":{"Y":1,"W":-2,"V":-2,"T":-5}},"H":{"d":"21,-271r36,0r0,106r54,0r0,-106r37,0r0,271r-37,0r0,-134r-54,0r0,134r-36,0r0,-271","w":168},"I":{"d":"21,-271r36,0r0,271r-36,0r0,-271","w":78},"J":{"d":"84,-63v7,59,-40,78,-85,59r0,-36v29,20,49,6,49,-36r0,-195r36,0r0,208","w":105},"K":{"d":"21,-271r36,0r0,131r51,-131r37,0r-53,131r58,140r-42,0r-51,-140r0,140r-36,0r0,-271","w":151,"k":{"y":9,"u":4,"o":3,"e":2,"a":2,"T":-13,"S":-3,"O":6,"G":6,"C":8,"-":-1}},"L":{"d":"21,-271r36,0r0,240r60,0r0,31r-96,0r0,-271","w":119,"k":{"y":9,"u":-2,"Y":13,"W":7,"V":8,"U":-2,"T":6,"S":-4,"C":2,"A":-14,"-":10}},"M":{"d":"34,-271r31,0r39,196v8,-69,23,-131,35,-196r32,0r25,271r-35,0r-10,-187r-34,187r-25,0r-36,-187r-10,187r-35,0","w":205},"N":{"d":"119,-65v-10,-66,-8,-133,-8,-206r36,0r0,271r-34,0r-64,-209r6,91r2,118r-36,0r0,-271r34,0r36,108v11,31,20,63,28,98","w":168,"k":{"a":-1,"A":-5,",":2}},"O":{"d":"85,-275v71,0,72,66,72,146v0,79,-6,132,-70,132v-68,0,-72,-58,-72,-145v0,-80,6,-133,70,-133xm86,-30v36,0,32,-41,32,-95v0,-47,-2,-79,-6,-94v-4,-15,-13,-23,-26,-23v-40,8,-32,45,-32,108v0,40,3,67,7,82v5,15,12,22,25,22","w":172,"k":{"Y":4,"X":4,"T":-2,"A":1}},"P":{"d":"136,-198v-3,56,-22,79,-79,78r0,120r-36,0r0,-271v68,-4,119,2,115,73xm98,-194v0,-31,-11,-49,-41,-47r0,89v31,-1,41,-10,41,-42","w":142,"k":{"o":4,"e":4,"a":2,"J":12,"A":8,".":31,"-":4,",":33}},"Q":{"d":"85,-275v68,0,70,57,72,145v0,49,-5,83,-15,102r23,32r-23,17r-19,-27v-84,32,-112,-39,-108,-139v3,-78,7,-130,70,-130xm85,-242v-36,9,-31,41,-31,99v0,44,2,74,6,90v5,21,24,29,41,18r-23,-34r22,-17r15,21v7,-38,3,-132,-3,-153v-5,-16,-14,-24,-27,-24","w":172},"R":{"d":"69,-271v79,-12,81,125,25,139r50,132r-37,0r-50,-133r0,133r-36,0r0,-271r48,0xm96,-194v0,-29,-6,-51,-39,-47r0,90v29,0,40,-12,39,-43","w":151,"k":{"y":-2,"u":6,"o":5,"e":5,"a":4,"Y":2,"U":4,"T":-4,"O":3,"G":4,"C":4}},"S":{"d":"13,-206v0,-56,50,-85,98,-60r0,36v-25,-22,-65,-12,-62,24v5,60,75,69,75,138v0,56,-59,91,-103,59r0,-37v27,25,70,18,68,-22v-4,-64,-76,-66,-76,-138","w":134,"k":{"t":3,"Y":-3,"W":-3,"V":-4,"T":-4,"A":-4}},"T":{"d":"-1,-271r119,0r0,32r-41,0r0,239r-36,0r0,-239r-42,0r0,-32","w":117,"k":{"y":7,"w":8,"v":7,"u":11,"s":12,"r":10,"o":10,"j":-9,"i":-9,"g":10,"e":10,"c":10,"a":10,"Y":-16,"W":-15,"V":-16,"S":-8,"O":-2,"J":4,"G":-3,"A":5,";":8,":":8,".":10,"-":-1,",":12}},"U":{"d":"83,3v-49,0,-62,-23,-62,-83r0,-191r36,0r0,191v1,34,-1,49,26,49v27,0,26,-12,27,-43r0,-197r36,0r0,197v0,56,-14,77,-63,77","w":166,"k":{"p":1,".":3,",":5}},"V":{"d":"-1,-271r36,0r32,204r33,-204r34,0r-53,271r-29,0","w":133,"k":{"y":-4,"u":4,"r":4,"o":7,"i":-6,"g":6,"e":7,"a":6,"T":-16,"S":-4,"C":1,"A":7,";":3,":":2,".":12,"-":-4,",":13}},"W":{"d":"1,-271r35,0r27,204r30,-204r28,0r26,161v2,14,3,28,4,41r27,-202r35,0r-48,271r-29,0r-29,-201r-10,84r-20,117r-30,0","w":213,"k":{"y":-5,"u":4,"r":4,"o":6,"i":-5,"g":5,"e":6,"a":6,"T":-15,"S":-4,"C":1,"A":6,";":2,":":2,".":10,"-":-4,",":12}},"X":{"d":"2,-271r36,0v10,27,28,73,32,98v7,-35,20,-65,29,-98r37,0r-50,133r50,138r-37,0v-10,-33,-25,-64,-31,-101v-7,37,-20,68,-30,101r-39,0r52,-138","w":135,"k":{"y":4,"u":2,"o":1,"Q":2,"O":2,"C":4,"-":-4}},"Y":{"d":"-1,-271r39,0v11,38,29,86,35,125r29,-125r38,0r-48,154r0,117r-36,0r0,-117","w":139,"k":{"u":9,"p":9,"o":12,"i":-4,"g":11,"e":12,"a":11,"T":-16,"S":-2,"O":2,"G":2,"C":4,"A":8,";":8,":":8,".":13,"-":2,",":15}},"Z":{"d":"14,-271r120,0r-82,239r77,0r0,32r-124,0r82,-240r-73,0r0,-31","w":135,"k":{"y":4,"v":3}},"[":{"d":"27,-299r86,0r0,32r-49,0r0,310r49,0r0,32r-86,0r0,-374","w":127},"\\":{"d":"19,-299r162,374r-29,0r-161,-374r28,0","w":162},"]":{"d":"100,75r-86,0r0,-32r49,0r0,-310r-49,0r0,-32r86,0r0,374","w":127},"^":{"d":"46,-146r-38,0r71,-126r46,0r70,126r-37,0r-56,-98","w":203},"_":{"d":"0,24r204,0r0,33r-204,0r0,-33","w":203},"`":{"d":"56,-258r24,-15r30,54r-18,10","w":203},"a":{"d":"12,-93v0,-51,5,-92,44,-92v14,0,25,8,33,24r0,-21r34,0r0,182r-34,0r0,-23v-9,16,-13,26,-33,26v-40,0,-44,-44,-44,-96xm69,-155v-23,6,-22,27,-22,63v0,37,-1,59,22,65v22,-5,21,-32,21,-64v0,-32,1,-59,-21,-64","w":142,"k":{"y":-2,"w":-1,"v":-2,"j":1}},"b":{"d":"86,3v-20,0,-24,-10,-33,-26r0,23r-34,0r0,-299r34,0r0,138v7,-13,13,-25,32,-24v43,2,45,47,45,92v0,53,-4,96,-44,96xm73,-27v23,-5,22,-27,22,-63v0,-38,1,-58,-22,-65v-22,5,-21,30,-21,64v0,34,-1,58,21,64","w":142,"k":{"y":1,"w":2,"v":1}},"c":{"d":"12,-89v0,-66,25,-113,81,-89r0,34v-27,-22,-45,0,-44,51v0,53,14,77,44,57r0,32v-52,23,-81,-11,-81,-85","w":102,"k":{"k":2,"h":2}},"d":{"d":"57,-185v18,-1,26,11,32,24r0,-138r34,0r0,299r-34,0r0,-23v-9,16,-13,26,-33,26v-40,0,-44,-44,-44,-96v0,-45,2,-90,45,-92xm69,-155v-23,6,-22,27,-22,63v0,37,-1,59,22,65v22,-5,21,-32,21,-64v0,-32,1,-59,-21,-64","w":142},"e":{"d":"12,-90v0,-54,9,-93,55,-95v37,-2,56,37,55,101r-77,0v0,39,8,58,23,58v14,0,21,-11,21,-35r32,0v-2,43,-20,64,-53,64v-48,0,-56,-42,-56,-93xm88,-109v-3,-29,-2,-43,-22,-47v-19,4,-18,19,-21,47r43,0","w":132,"k":{"y":2,"x":2,"w":2,"v":2}},"f":{"d":"87,-262v-22,-13,-30,4,-30,32r0,48r28,0r0,27r-28,0r0,155r-34,0r0,-155r-17,0r0,-27r17,0v-1,-60,-10,-143,64,-115r0,35","w":88,"k":{"t":-9,"s":-5,"l":-2,"j":-1,"i":-1,"f":-8,"a":-2}},"g":{"d":"56,-185v20,0,24,10,33,25r0,-22r34,0r0,188v1,51,-11,69,-56,70v-34,0,-54,-21,-52,-57r32,0v0,19,8,29,22,29v30,2,17,-42,20,-70v-7,17,-17,25,-32,25v-40,0,-45,-42,-45,-92v0,-53,3,-96,44,-96xm70,-27v22,-5,20,-26,20,-62v0,-43,-7,-66,-22,-66v-21,5,-21,30,-21,62v0,35,-1,62,23,66","w":142,"k":{"r":1,"l":1}},"h":{"d":"73,-156v-19,0,-20,18,-20,38r0,118r-34,0r0,-299r34,0r0,138v23,-41,74,-29,74,32r0,129r-34,0r0,-122v0,-21,-2,-34,-20,-34","w":145,"k":{"y":2}},"i":{"d":"19,-182r34,0r0,182r-34,0r0,-182xm12,-237v0,-13,11,-22,23,-22v12,0,22,9,22,22v0,13,-10,24,-23,23v-13,0,-22,-9,-22,-23","w":71,"k":{"j":1,"T":-7}},"j":{"d":"19,-182r34,0r0,257r-34,0r0,-257xm12,-237v0,-13,11,-22,23,-22v12,0,22,9,22,22v0,13,-10,24,-23,23v-13,0,-22,-9,-22,-23","w":71},"k":{"d":"19,-299r34,0r0,198r42,-81r38,0r-46,81r52,101r-39,0r-47,-97r0,97r-34,0r0,-299","w":140,"k":{"u":1,"s":-3,"o":5,"g":4,"e":5,"a":4,".":-4,"-":3,",":-4}},"l":{"d":"19,-299r34,0r0,299r-34,0r0,-299","w":71,"k":{"y":-2,"v":-2}},"m":{"d":"74,-155v-19,0,-21,12,-21,35r0,120r-34,0r0,-182r34,0r0,23v14,-34,59,-35,71,0v15,-39,77,-34,77,14r0,145r-34,0r0,-120v-1,-23,0,-35,-18,-35v-19,0,-21,12,-21,35r0,120r-35,0r0,-120v0,-19,-1,-35,-19,-35","w":219,"k":{"y":1,"w":2,"v":1,"p":1}},"n":{"d":"73,-156v-19,0,-20,18,-20,38r0,118r-34,0r0,-182r34,0r0,21v23,-41,74,-29,74,32r0,129r-34,0r0,-122v0,-21,-2,-34,-20,-34","w":145,"k":{"y":2,"w":2,"v":2,"p":1,"T":11}},"o":{"d":"69,-185v49,0,57,44,57,96v0,62,-19,92,-57,92v-38,0,-57,-32,-57,-94v0,-63,19,-94,57,-94xm70,-28v23,-5,22,-27,22,-62v0,-37,1,-59,-22,-65v-23,6,-22,29,-22,64v0,35,-1,57,22,63","w":138,"k":{"y":2,"x":4,"w":2,"v":2,"T":12}},"p":{"d":"85,3v-19,0,-25,-11,-32,-23r0,95r-34,0r0,-257r34,0r0,24v9,-17,13,-27,33,-27v40,0,44,45,44,96v0,52,-4,92,-45,92xm73,-27v23,-5,22,-27,22,-63v0,-38,1,-58,-22,-65v-23,4,-21,29,-21,64v0,35,-2,59,21,64","w":142,"k":{"y":2}},"q":{"d":"56,-185v20,0,24,10,33,27r0,-24r34,0r0,257r-34,0r0,-95v-7,12,-13,24,-32,23v-41,-3,-45,-41,-45,-92v0,-51,4,-96,44,-96xm69,-155v-23,6,-22,27,-22,63v0,37,-1,59,22,65v22,-5,21,-32,21,-64v0,-32,1,-59,-21,-64","w":142,"k":{"u":1}},"r":{"d":"92,-151v-65,-9,-31,95,-39,151r-34,0r0,-182r34,0r0,23v10,-17,17,-24,39,-27r0,35","w":96,"k":{"z":-5,"y":-9,"x":-9,"w":-9,"v":-9,"u":-1,"t":-8,"s":-5,"r":-1,"q":-2,"p":-1,"o":-1,"n":-1,"m":-1,"l":-1,"k":-1,"j":-1,"i":-1,"h":-1,"g":-2,"f":-7,"e":-1,"d":-2,"c":-1,"a":-2,";":-3,":":-4,".":12,"-":2,",":13}},"s":{"d":"10,-136v0,-41,44,-63,79,-42r0,31v-16,-13,-47,-13,-47,11v0,29,56,42,56,85v0,44,-45,69,-82,45r0,-32v18,15,51,17,51,-12v0,-42,-57,-39,-57,-86","w":105,"k":{"t":-2}},"t":{"d":"23,-233r34,0r0,51r18,0r0,27r-18,0r0,155r-34,0r0,-155r-18,0r0,-27r18,0r0,-51","w":79,"k":{"o":1,"S":-4,";":-3,":":-3}},"u":{"d":"73,3v-83,0,-46,-113,-54,-185r34,0r0,122v1,19,3,31,20,31v23,1,20,-21,21,-44r0,-109r33,0v-7,73,29,185,-54,185","w":146},"v":{"d":"1,-182r36,0v11,44,21,87,25,138r26,-138r33,0r-48,182r-22,0","w":122,"k":{"s":-2,"o":2,"l":-2,"g":1,"e":2,"c":2,"a":1,";":-3,":":-3,".":10,"-":-7,",":12}},"w":{"d":"3,-182r35,0r20,131r22,-131r25,0r20,131v4,-46,14,-88,22,-131r33,0r-43,182r-23,0r-22,-134v-5,47,-13,91,-22,134r-23,0","w":182,"k":{"s":-2,"o":2,"l":-1,"g":1,"e":2,"c":2,"a":2,";":-2,":":-3,".":9,"-":-7,",":11}},"x":{"d":"1,-182r40,0r26,62v5,-23,15,-41,23,-62r35,0r-41,86r50,96r-40,0v-9,-21,-27,-53,-30,-74v-3,21,-19,53,-27,74r-36,0r46,-96","w":135,"k":{"q":4,"o":5,"e":5,"c":5,"a":4}},"y":{"d":"1,-182r38,0r27,127r31,-127r34,0r-74,257r-35,0r28,-90","w":132,"k":{"s":-2,"o":2,"l":-2,"g":1,"e":2,"c":2,"a":1,";":-3,":":-3,".":13,"-":-6,",":14}},"z":{"d":"10,-182r106,0r-61,152r58,0r0,30r-108,0r63,-152r-58,0r0,-30","w":121},"{":{"d":"72,-232v0,45,9,102,-18,121v29,22,18,78,18,127v0,25,8,26,31,26r0,33v-78,11,-67,-67,-67,-139v1,-22,-7,-27,-23,-32v2,-12,-5,-32,5,-36v50,-21,-27,-191,85,-165r0,32v-27,-1,-31,3,-31,33","w":108},"|":{"d":"84,-271r36,0r0,339r-36,0r0,-339","w":203},"}":{"d":"37,8v0,-44,-10,-102,18,-120v-29,-22,-18,-79,-18,-128v0,-26,-8,-26,-32,-26r0,-33v79,-11,70,67,68,139v-1,23,8,27,22,32v-2,12,5,31,-5,36v-48,23,27,191,-85,165r0,-33v28,1,32,-2,32,-32","w":108},"~":{"d":"234,-286v-14,49,-70,57,-119,30v-27,-15,-41,-6,-56,22r-22,-14v16,-31,22,-46,58,-50v17,-2,67,26,83,25v20,-1,23,-11,34,-26","w":271},"\u00a0":{"w":74}}});

/*
 * jQuery validation plug-in 1.5.5
 *
 * http://bassistance.de/jquery-plugins/jquery-plugin-validation/
 * http://docs.jquery.com/Plugins/Validation
 *
 * Copyright (c) 2006 - 2008 JÃ¶rn Zaefferer
 *
 * $Id: jquery.validate.js 6403 2009-06-17 14:27:16Z joern.zaefferer $
 *
 * Permission is hereby granted, free of charge, to any person obtaining
 * a copy of this software and associated documentation files (the
 * "Software"), to deal in the Software without restriction, including
 * without limitation the rights to use, copy, modify, merge, publish,
 * distribute, sublicense, and/or sell copies of the Software, and to
 * permit persons to whom the Software is furnished to do so, subject to
 * the following conditions:
 * 
 * The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */
(function($){$.extend($.fn,{validate:function(options){if(!this.length){options&&options.debug&&window.console&&console.warn("nothing selected, can't validate, returning nothing");return;}var validator=$.data(this[0],'validator');if(validator){return validator;}validator=new $.validator(options,this[0]);$.data(this[0],'validator',validator);if(validator.settings.onsubmit){this.find("input, button").filter(".cancel").click(function(){validator.cancelSubmit=true;});if(validator.settings.submitHandler){this.find("input, button").filter(":submit").click(function(){validator.submitButton=this;});}this.submit(function(event){if(validator.settings.debug)event.preventDefault();function handle(){if(validator.settings.submitHandler){if(validator.submitButton){var hidden=$("<input type='hidden'/>").attr("name",validator.submitButton.name).val(validator.submitButton.value).appendTo(validator.currentForm);}validator.settings.submitHandler.call(validator,validator.currentForm);if(validator.submitButton){hidden.remove();}return false;}return true;}if(validator.cancelSubmit){validator.cancelSubmit=false;return handle();}if(validator.form()){if(validator.pendingRequest){validator.formSubmitted=true;return false;}return handle();}else{validator.focusInvalid();return false;}});}return validator;},valid:function(){if($(this[0]).is('form')){return this.validate().form();}else{var valid=true;var validator=$(this[0].form).validate();this.each(function(){valid&=validator.element(this);});return valid;}},removeAttrs:function(attributes){var result={},$element=this;$.each(attributes.split(/\s/),function(index,value){result[value]=$element.attr(value);$element.removeAttr(value);});return result;},rules:function(command,argument){var element=this[0];if(command){var settings=$.data(element.form,'validator').settings;var staticRules=settings.rules;var existingRules=$.validator.staticRules(element);switch(command){case"add":$.extend(existingRules,$.validator.normalizeRule(argument));staticRules[element.name]=existingRules;if(argument.messages)settings.messages[element.name]=$.extend(settings.messages[element.name],argument.messages);break;case"remove":if(!argument){delete staticRules[element.name];return existingRules;}var filtered={};$.each(argument.split(/\s/),function(index,method){filtered[method]=existingRules[method];delete existingRules[method];});return filtered;}}var data=$.validator.normalizeRules($.extend({},$.validator.metadataRules(element),$.validator.classRules(element),$.validator.attributeRules(element),$.validator.staticRules(element)),element);if(data.required){var param=data.required;delete data.required;data=$.extend({required:param},data);}return data;}});$.extend($.expr[":"],{blank:function(a){return!$.trim(a.value);},filled:function(a){return!!$.trim(a.value);},unchecked:function(a){return!a.checked;}});$.validator=function(options,form){this.settings=$.extend({},$.validator.defaults,options);this.currentForm=form;this.init();};$.validator.format=function(source,params){if(arguments.length==1)return function(){var args=$.makeArray(arguments);args.unshift(source);return $.validator.format.apply(this,args);};if(arguments.length>2&&params.constructor!=Array){params=$.makeArray(arguments).slice(1);}if(params.constructor!=Array){params=[params];}$.each(params,function(i,n){source=source.replace(new RegExp("\\{"+i+"\\}","g"),n);});return source;};$.extend($.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusInvalid:true,errorContainer:$([]),errorLabelContainer:$([]),onsubmit:true,ignore:[],ignoreTitle:false,onfocusin:function(element){this.lastActive=element;if(this.settings.focusCleanup&&!this.blockFocusCleanup){this.settings.unhighlight&&this.settings.unhighlight.call(this,element,this.settings.errorClass,this.settings.validClass);this.errorsFor(element).hide();}},onfocusout:function(element){if(!this.checkable(element)&&(element.name in this.submitted||!this.optional(element))){this.element(element);}},onkeyup:function(element){if(element.name in this.submitted||element==this.lastElement){this.element(element);}},onclick:function(element){if(element.name in this.submitted)this.element(element);},highlight:function(element,errorClass,validClass){$(element).addClass(errorClass).removeClass(validClass);},unhighlight:function(element,errorClass,validClass){$(element).removeClass(errorClass).addClass(validClass);}},setDefaults:function(settings){$.extend($.validator.defaults,settings);},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",dateDE:"Bitte geben Sie ein gÃ¼ltiges Datum ein.",number:"Please enter a valid number.",numberDE:"Bitte geben Sie eine Nummer ein.",digits:"Please enter only digits",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",accept:"Please enter a value with a valid extension.",maxlength:$.validator.format("Please enter no more than {0} characters."),minlength:$.validator.format("Please enter at least {0} characters."),rangelength:$.validator.format("Please enter a value between {0} and {1} characters long."),range:$.validator.format("Please enter a value between {0} and {1}."),max:$.validator.format("Please enter a value less than or equal to {0}."),min:$.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:false,prototype:{init:function(){this.labelContainer=$(this.settings.errorLabelContainer);this.errorContext=this.labelContainer.length&&this.labelContainer||$(this.currentForm);this.containers=$(this.settings.errorContainer).add(this.settings.errorLabelContainer);this.submitted={};this.valueCache={};this.pendingRequest=0;this.pending={};this.invalid={};this.reset();var groups=(this.groups={});$.each(this.settings.groups,function(key,value){$.each(value.split(/\s/),function(index,name){groups[name]=key;});});var rules=this.settings.rules;$.each(rules,function(key,value){rules[key]=$.validator.normalizeRule(value);});function delegate(event){var validator=$.data(this[0].form,"validator");validator.settings["on"+event.type]&&validator.settings["on"+event.type].call(validator,this[0]);}$(this.currentForm).delegate("focusin focusout keyup",":text, :password, :file, select, textarea",delegate).delegate("click",":radio, :checkbox",delegate);if(this.settings.invalidHandler)$(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler);},form:function(){this.checkForm();$.extend(this.submitted,this.errorMap);this.invalid=$.extend({},this.errorMap);if(!this.valid())$(this.currentForm).triggerHandler("invalid-form",[this]);this.showErrors();return this.valid();},checkForm:function(){this.prepareForm();for(var i=0,elements=(this.currentElements=this.elements());elements[i];i++){this.check(elements[i]);}return this.valid();},element:function(element){element=this.clean(element);this.lastElement=element;this.prepareElement(element);this.currentElements=$(element);var result=this.check(element);if(result){delete this.invalid[element.name];}else{this.invalid[element.name]=true;}if(!this.numberOfInvalids()){this.toHide=this.toHide.add(this.containers);}this.showErrors();return result;},showErrors:function(errors){if(errors){$.extend(this.errorMap,errors);this.errorList=[];for(var name in errors){this.errorList.push({message:errors[name],element:this.findByName(name)[0]});}this.successList=$.grep(this.successList,function(element){return!(element.name in errors);});}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors();},resetForm:function(){if($.fn.resetForm)$(this.currentForm).resetForm();this.submitted={};this.prepareForm();this.hideErrors();this.elements().removeClass(this.settings.errorClass);},numberOfInvalids:function(){return this.objectLength(this.invalid);},objectLength:function(obj){var count=0;for(var i in obj)count++;return count;},hideErrors:function(){this.addWrapper(this.toHide).hide();},valid:function(){return this.size()==0;},size:function(){return this.errorList.length;},focusInvalid:function(){if(this.settings.focusInvalid){try{$(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus();}catch(e){}}},findLastActive:function(){var lastActive=this.lastActive;return lastActive&&$.grep(this.errorList,function(n){return n.element.name==lastActive.name;}).length==1&&lastActive;},elements:function(){var validator=this,rulesCache={};return $([]).add(this.currentForm.elements).filter(":input").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){!this.name&&validator.settings.debug&&window.console&&console.error("%o has no name assigned",this);if(this.name in rulesCache||!validator.objectLength($(this).rules()))return false;rulesCache[this.name]=true;return true;});},clean:function(selector){return $(selector)[0];},errors:function(){return $(this.settings.errorElement+"."+this.settings.errorClass,this.errorContext);},reset:function(){this.successList=[];this.errorList=[];this.errorMap={};this.toShow=$([]);this.toHide=$([]);this.formSubmitted=false;this.currentElements=$([]);},prepareForm:function(){this.reset();this.toHide=this.errors().add(this.containers);},prepareElement:function(element){this.reset();this.toHide=this.errorsFor(element);},check:function(element){element=this.clean(element);if(this.checkable(element)){element=this.findByName(element.name)[0];}var rules=$(element).rules();var dependencyMismatch=false;for(method in rules){var rule={method:method,parameters:rules[method]};try{var result=$.validator.methods[method].call(this,element.value.replace(/\r/g,""),element,rule.parameters);if(result=="dependency-mismatch"){dependencyMismatch=true;continue;}dependencyMismatch=false;if(result=="pending"){this.toHide=this.toHide.not(this.errorsFor(element));return;}if(!result){this.formatAndAdd(element,rule);return false;}}catch(e){this.settings.debug&&window.console&&console.log("exception occured when checking element "+element.id
+", check the '"+rule.method+"' method");throw e;}}if(dependencyMismatch)return;if(this.objectLength(rules))this.successList.push(element);return true;},customMetaMessage:function(element,method){if(!$.metadata)return;var meta=this.settings.meta?$(element).metadata()[this.settings.meta]:$(element).metadata();return meta&&meta.messages&&meta.messages[method];},customMessage:function(name,method){var m=this.settings.messages[name];return m&&(m.constructor==String?m:m[method]);},findDefined:function(){for(var i=0;i<arguments.length;i++){if(arguments[i]!==undefined)return arguments[i];}return undefined;},defaultMessage:function(element,method){return this.findDefined(this.customMessage(element.name,method),this.customMetaMessage(element,method),!this.settings.ignoreTitle&&element.title||undefined,$.validator.messages[method],"<strong>Warning: No message defined for "+element.name+"</strong>");},formatAndAdd:function(element,rule){var message=this.defaultMessage(element,rule.method);if(typeof message=="function")message=message.call(this,rule.parameters,element);this.errorList.push({message:message,element:element});this.errorMap[element.name]=message;this.submitted[element.name]=message;},addWrapper:function(toToggle){if(this.settings.wrapper)toToggle=toToggle.add(toToggle.parent(this.settings.wrapper));return toToggle;},defaultShowErrors:function(){for(var i=0;this.errorList[i];i++){var error=this.errorList[i];this.settings.highlight&&this.settings.highlight.call(this,error.element,this.settings.errorClass,this.settings.validClass);this.showLabel(error.element,error.message);}if(this.errorList.length){this.toShow=this.toShow.add(this.containers);}if(this.settings.success){for(var i=0;this.successList[i];i++){this.showLabel(this.successList[i]);}}if(this.settings.unhighlight){for(var i=0,elements=this.validElements();elements[i];i++){this.settings.unhighlight.call(this,elements[i],this.settings.errorClass,this.settings.validClass);}}this.toHide=this.toHide.not(this.toShow);this.hideErrors();this.addWrapper(this.toShow).show();},validElements:function(){return this.currentElements.not(this.invalidElements());},invalidElements:function(){return $(this.errorList).map(function(){return this.element;});},showLabel:function(element,message){var label=this.errorsFor(element);if(label.length){label.removeClass().addClass(this.settings.errorClass);label.attr("generated")&&label.html(message);}else{label=$("<"+this.settings.errorElement+"/>").attr({"for":this.idOrName(element),generated:true}).addClass(this.settings.errorClass).html(message||"");if(this.settings.wrapper){label=label.hide().show().wrap("<"+this.settings.wrapper+"/>").parent();}if(!this.labelContainer.append(label).length)this.settings.errorPlacement?this.settings.errorPlacement(label,$(element)):label.insertAfter(element);}if(!message&&this.settings.success){label.text("");typeof this.settings.success=="string"?label.addClass(this.settings.success):this.settings.success(label);}this.toShow=this.toShow.add(label);},errorsFor:function(element){return this.errors().filter("[for='"+this.idOrName(element)+"']");},idOrName:function(element){return this.groups[element.name]||(this.checkable(element)?element.name:element.id||element.name);},checkable:function(element){return/radio|checkbox/i.test(element.type);},findByName:function(name){var form=this.currentForm;return $(document.getElementsByName(name)).map(function(index,element){return element.form==form&&element.name==name&&element||null;});},getLength:function(value,element){switch(element.nodeName.toLowerCase()){case'select':return $("option:selected",element).length;case'input':if(this.checkable(element))return this.findByName(element.name).filter(':checked').length;}return value.length;},depend:function(param,element){return this.dependTypes[typeof param]?this.dependTypes[typeof param](param,element):true;},dependTypes:{"boolean":function(param,element){return param;},"string":function(param,element){return!!$(param,element.form).length;},"function":function(param,element){return param(element);}},optional:function(element){return!$.validator.methods.required.call(this,$.trim(element.value),element)&&"dependency-mismatch";},startRequest:function(element){if(!this.pending[element.name]){this.pendingRequest++;this.pending[element.name]=true;}},stopRequest:function(element,valid){this.pendingRequest--;if(this.pendingRequest<0)this.pendingRequest=0;delete this.pending[element.name];if(valid&&this.pendingRequest==0&&this.formSubmitted&&this.form()){$(this.currentForm).submit();}else if(!valid&&this.pendingRequest==0&&this.formSubmitted){$(this.currentForm).triggerHandler("invalid-form",[this]);}},previousValue:function(element){return $.data(element,"previousValue")||$.data(element,"previousValue",previous={old:null,valid:true,message:this.defaultMessage(element,"remote")});}},classRuleSettings:{required:{required:true},email:{email:true},url:{url:true},date:{date:true},dateISO:{dateISO:true},dateDE:{dateDE:true},number:{number:true},numberDE:{numberDE:true},digits:{digits:true},creditcard:{creditcard:true}},addClassRules:function(className,rules){className.constructor==String?this.classRuleSettings[className]=rules:$.extend(this.classRuleSettings,className);},classRules:function(element){var rules={};var classes=$(element).attr('class');classes&&$.each(classes.split(' '),function(){if(this in $.validator.classRuleSettings){$.extend(rules,$.validator.classRuleSettings[this]);}});return rules;},attributeRules:function(element){var rules={};var $element=$(element);for(method in $.validator.methods){var value=$element.attr(method);if(value){rules[method]=value;}}if(rules.maxlength&&/-1|2147483647|524288/.test(rules.maxlength)){delete rules.maxlength;}return rules;},metadataRules:function(element){if(!$.metadata)return{};var meta=$.data(element.form,'validator').settings.meta;return meta?$(element).metadata()[meta]:$(element).metadata();},staticRules:function(element){var rules={};var validator=$.data(element.form,'validator');if(validator.settings.rules){rules=$.validator.normalizeRule(validator.settings.rules[element.name])||{};}return rules;},normalizeRules:function(rules,element){$.each(rules,function(prop,val){if(val===false){delete rules[prop];return;}if(val.param||val.depends){var keepRule=true;switch(typeof val.depends){case"string":keepRule=!!$(val.depends,element.form).length;break;case"function":keepRule=val.depends.call(element,element);break;}if(keepRule){rules[prop]=val.param!==undefined?val.param:true;}else{delete rules[prop];}}});$.each(rules,function(rule,parameter){rules[rule]=$.isFunction(parameter)?parameter(element):parameter;});$.each(['minlength','maxlength','min','max'],function(){if(rules[this]){rules[this]=Number(rules[this]);}});$.each(['rangelength','range'],function(){if(rules[this]){rules[this]=[Number(rules[this][0]),Number(rules[this][1])];}});if($.validator.autoCreateRanges){if(rules.min&&rules.max){rules.range=[rules.min,rules.max];delete rules.min;delete rules.max;}if(rules.minlength&&rules.maxlength){rules.rangelength=[rules.minlength,rules.maxlength];delete rules.minlength;delete rules.maxlength;}}if(rules.messages){delete rules.messages}return rules;},normalizeRule:function(data){if(typeof data=="string"){var transformed={};$.each(data.split(/\s/),function(){transformed[this]=true;});data=transformed;}return data;},addMethod:function(name,method,message){$.validator.methods[name]=method;$.validator.messages[name]=message||$.validator.messages[name];if(method.length<3){$.validator.addClassRules(name,$.validator.normalizeRule(name));}},methods:{required:function(value,element,param){if(!this.depend(param,element))return"dependency-mismatch";switch(element.nodeName.toLowerCase()){case'select':var options=$("option:selected",element);return options.length>0&&(element.type=="select-multiple"||($.browser.msie&&!(options[0].attributes['value'].specified)?options[0].text:options[0].value).length>0);case'input':if(this.checkable(element))return this.getLength(value,element)>0;default:return $.trim(value).length>0;}},remote:function(value,element,param){if(this.optional(element))return"dependency-mismatch";var previous=this.previousValue(element);if(!this.settings.messages[element.name])this.settings.messages[element.name]={};this.settings.messages[element.name].remote=typeof previous.message=="function"?previous.message(value):previous.message;param=typeof param=="string"&&{url:param}||param;if(previous.old!==value){previous.old=value;var validator=this;this.startRequest(element);var data={};data[element.name]=value;$.ajax($.extend(true,{url:param,mode:"abort",port:"validate"+element.name,dataType:"json",data:data,success:function(response){var valid=response===true;if(valid){var submitted=validator.formSubmitted;validator.prepareElement(element);validator.formSubmitted=submitted;validator.successList.push(element);validator.showErrors();}else{var errors={};errors[element.name]=previous.message=response||validator.defaultMessage(element,"remote");validator.showErrors(errors);}previous.valid=valid;validator.stopRequest(element,valid);}},param));return"pending";}else if(this.pending[element.name]){return"pending";}return previous.valid;},minlength:function(value,element,param){return this.optional(element)||this.getLength($.trim(value),element)>=param;},maxlength:function(value,element,param){return this.optional(element)||this.getLength($.trim(value),element)<=param;},rangelength:function(value,element,param){var length=this.getLength($.trim(value),element);return this.optional(element)||(length>=param[0]&&length<=param[1]);},min:function(value,element,param){return this.optional(element)||value>=param;},max:function(value,element,param){return this.optional(element)||value<=param;},range:function(value,element,param){return this.optional(element)||(value>=param[0]&&value<=param[1]);},email:function(value,element){return this.optional(element)||/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i.test(value);},url:function(value,element){return this.optional(element)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(value);},date:function(value,element){return this.optional(element)||!/Invalid|NaN/.test(new Date(value));},dateISO:function(value,element){return this.optional(element)||/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(value);},dateDE:function(value,element){return this.optional(element)||/^\d\d?\.\d\d?\.\d\d\d?\d?$/.test(value);},number:function(value,element){return this.optional(element)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test(value);},numberDE:function(value,element){return this.optional(element)||/^-?(?:\d+|\d{1,3}(?:\.\d{3})+)(?:,\d+)?$/.test(value);},digits:function(value,element){return this.optional(element)||/^\d+$/.test(value);},creditcard:function(value,element){if(this.optional(element))return"dependency-mismatch";if(/[^0-9-]+/.test(value))return false;var nCheck=0,nDigit=0,bEven=false;value=value.replace(/\D/g,"");for(n=value.length-1;n>=0;n--){var cDigit=value.charAt(n);var nDigit=parseInt(cDigit,10);if(bEven){if((nDigit*=2)>9)nDigit-=9;}nCheck+=nDigit;bEven=!bEven;}return(nCheck%10)==0;},accept:function(value,element,param){param=typeof param=="string"?param.replace(/,/g,'|'):"png|jpe?g|gif";return this.optional(element)||value.match(new RegExp(".("+param+")$","i"));},equalTo:function(value,element,param){return value==$(param).val();}}});$.format=$.validator.format;})(jQuery);;(function($){var ajax=$.ajax;var pendingRequests={};$.ajax=function(settings){settings=$.extend(settings,$.extend({},$.ajaxSettings,settings));var port=settings.port;if(settings.mode=="abort"){if(pendingRequests[port]){pendingRequests[port].abort();}return(pendingRequests[port]=ajax.apply(this,arguments));}return ajax.apply(this,arguments);};})(jQuery);;(function($){$.each({focus:'focusin',blur:'focusout'},function(original,fix){$.event.special[fix]={setup:function(){if($.browser.msie)return false;this.addEventListener(original,$.event.special[fix].handler,true);},teardown:function(){if($.browser.msie)return false;this.removeEventListener(original,$.event.special[fix].handler,true);},handler:function(e){arguments[0]=$.event.fix(e);arguments[0].type=fix;return $.event.handle.apply(this,arguments);}};});$.extend($.fn,{delegate:function(type,delegate,handler){return this.bind(type,function(event){var target=$(event.target);if(target.is(delegate)){return handler.apply(target,arguments);}});},triggerEvent:function(type,target){return this.triggerHandler(type,[$.event.fix({type:type,target:target})]);}})})(jQuery);
/*! Copyright (c) 2009 Brandon Aaron (http://brandonaaron.net)
 * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
 * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
 * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
 * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
 *
 * Version: 3.0.2
 * 
 * Requires: 1.2.2+
 */

(function(b){function d(a){var f=[].slice.call(arguments,1),e=0;a=b.event.fix(a||window.event);a.type="mousewheel";if(a.wheelDelta)e=a.wheelDelta/120;if(a.detail)e=-a.detail/3;f.unshift(a,e);return b.event.handle.apply(this,f)}var c=["DOMMouseScroll","mousewheel"];b.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=c.length;a;)this.addEventListener(c[--a],d,false);else this.onmousewheel=d},teardown:function(){if(this.removeEventListener)for(var a=c.length;a;)this.removeEventListener(c[--a],
d,false);else this.onmousewheel=null}};b.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery);
(function(A){var J,S,Q,K,d,w,I,N,z,D=0,H={},h=[],e=0,F={},y=[],f=null,m=new Image(),g=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,k=/[^\.]\.(swf)\s*$/i,q,L=1,a,c,O=false,C=20,t=A.extend(A("<div/>")[0],{prop:0}),j=0,R=!A.support.opacity&&!window.XMLHttpRequest,i=function(){S.hide();m.onerror=m.onload=null;if(f){f.abort()}J.empty()},p=function(){A.fancybox('<p id="fancybox_error">The requested content cannot be loaded.<br />Please try again later.</p>',{scrolling:"no",padding:20,transitionIn:"none",transitionOut:"none"})},E=function(){return[A(window).width(),A(window).height(),A(document).scrollLeft(),A(document).scrollTop()]},b=function(){var V=E(),ac={},aa=F.margin,W=F.autoScale,ab=(C+aa)*2,Z=(C+aa)*2,X=(F.padding*2),Y;if(F.width.toString().indexOf("%")>-1){ac.width=((V[0]*parseFloat(F.width))/100)-(C*2);W=false}else{ac.width=F.width+X}if(F.height.toString().indexOf("%")>-1){ac.height=((V[1]*parseFloat(F.height))/100)-(C*2);W=false}else{ac.height=F.height+X}if(W&&(ac.width>(V[0]-ab)||ac.height>(V[1]-Z))){if(H.type=="image"||H.type=="swf"){ab+=X;Z+=X;Y=Math.min(Math.min(V[0]-ab,F.width)/F.width,Math.min(V[1]-Z,F.height)/F.height);ac.width=Math.round(Y*(ac.width-X))+X;ac.height=Math.round(Y*(ac.height-X))+X}else{ac.width=Math.min(ac.width,(V[0]-ab));ac.height=Math.min(ac.height,(V[1]-Z))}}ac.top=V[3]+((V[1]-(ac.height+(C*2)))*0.5);ac.left=V[2]+((V[0]-(ac.width+(C*2)))*0.5);if(F.autoScale===false){ac.top=Math.max(V[3]+aa,ac.top);ac.left=Math.max(V[2]+aa,ac.left)}return ac},M=function(V){if(V&&V.length){switch(F.titlePosition){case"inside":return V;case"over":return'<span id="fancybox-title-over">'+V+"</span>";default:return'<span id="fancybox-title-wrap"><span id="fancybox-title-left"></span><span id="fancybox-title-main">'+V+'</span><span id="fancybox-title-right"></span></span>'}}return false},s=function(){var X=F.title,W=c.width-(F.padding*2),V="fancybox-title-"+F.titlePosition;A("#fancybox-title").remove();j=0;if(F.titleShow===false){return}X=A.isFunction(F.titleFormat)?F.titleFormat(X,y,e,F):M(X);if(!X||X===""){return}A('<div id="fancybox-title" class="'+V+'" />').css({width:W,paddingLeft:F.padding,paddingRight:F.padding}).html(X).appendTo("body");switch(F.titlePosition){case"inside":j=A("#fancybox-title").outerHeight(true)-F.padding;c.height+=j;break;case"over":A("#fancybox-title").css("bottom",F.padding);break;default:A("#fancybox-title").css("bottom",A("#fancybox-title").outerHeight(true)*-1);break}A("#fancybox-title").appendTo(d).hide()},o=function(){A(document).unbind("keydown.fb").bind("keydown.fb",function(V){if(V.keyCode==27&&F.enableEscapeButton){V.preventDefault();A.fancybox.close()}else{if(V.keyCode==37&&y.length>1){V.preventDefault();A.fancybox.prev()}else{if(V.keyCode==39&&y.length>1){V.preventDefault();A.fancybox.next()}}}});if(A.fn.mousewheel){K.unbind("mousewheel.fb");if(y.length>1){K.bind("mousewheel.fb",function(V,W){V.preventDefault();if(O||W===0){return}if(W>0){A.fancybox.prev()}else{A.fancybox.next()}})}}if(!F.showNavArrows){return}if((F.cyclic&&y.length>1)||e!==0){N.show()}if((F.cyclic&&y.length>1)||e!=(y.length-1)){z.show()}},T=function(){var V,W;if((y.length-1)>e){V=y[e+1].href;if(typeof V!=="undefined"&&V.match(g)){W=new Image();W.src=V}}if(e>0){V=y[e-1].href;if(typeof V!=="undefined"&&V.match(g)){W=new Image();W.src=V}}},v=function(){w.css("overflow",(F.scrolling=="auto"?(F.type=="image"||F.type=="iframe"||F.type=="swf"?"hidden":"auto"):(F.scrolling=="yes"?"auto":"visible")));if(!A.support.opacity){w.get(0).style.removeAttribute("filter");K.get(0).style.removeAttribute("filter")}A("#fancybox-title").show();if(F.hideOnContentClick){w.one("click",A.fancybox.close)}if(F.hideOnOverlayClick){Q.one("click",A.fancybox.close)}if(F.showCloseButton){I.show()}o();A(window).bind("resize.fb",A.fancybox.center);if(F.centerOnScroll){A(window).bind("scroll.fb",A.fancybox.center)}else{A(window).unbind("scroll.fb")}if(A.isFunction(F.onComplete)){F.onComplete(y,e,F)}O=false;T()},G=function(Z){var W=Math.round(a.width+(c.width-a.width)*Z),V=Math.round(a.height+(c.height-a.height)*Z),Y=Math.round(a.top+(c.top-a.top)*Z),X=Math.round(a.left+(c.left-a.left)*Z);K.css({width:W+"px",height:V+"px",top:Y+"px",left:X+"px"});W=Math.max(W-F.padding*2,0);V=Math.max(V-(F.padding*2+(j*Z)),0);w.css({width:W+"px",height:V+"px"});if(typeof c.opacity!=="undefined"){K.css("opacity",(Z<0.5?0.5:Z))}},x=function(V){var W=V.offset();W.top+=parseFloat(V.css("paddingTop"))||0;W.left+=parseFloat(V.css("paddingLeft"))||0;W.top+=parseFloat(V.css("border-top-width"))||0;W.left+=parseFloat(V.css("border-left-width"))||0;W.width=V.width();W.height=V.height();return W},U=function(){var Y=H.orig?A(H.orig):false,X={},W,V;if(Y&&Y.length){W=x(Y);X={width:(W.width+(F.padding*2)),height:(W.height+(F.padding*2)),top:(W.top-F.padding-C),left:(W.left-F.padding-C)}}else{V=E();X={width:1,height:1,top:V[3]+V[1]*0.5,left:V[2]+V[0]*0.5}}return X},u=function(){S.hide();if(K.is(":visible")&&A.isFunction(F.onCleanup)){if(F.onCleanup(y,e,F)===false){A.event.trigger("fancybox-cancel");O=false;return}}y=h;e=D;F=H;w.get(0).scrollTop=0;w.get(0).scrollLeft=0;if(F.overlayShow){if(R){A("select:not(#fancybox-tmp select)").filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one("fancybox-cleanup",function(){this.style.visibility="inherit"})}Q.css({"background-color":F.overlayColor,opacity:F.overlayOpacity}).unbind().show()}c=b();s();if(K.is(":visible")){A(I.add(N).add(z)).hide();var W=K.position(),V;a={top:W.top,left:W.left,width:K.width(),height:K.height()};V=(a.width==c.width&&a.height==c.height);w.fadeOut(F.changeFade,function(){var X=function(){w.html(J.contents()).fadeIn(F.changeFade,v)};A.event.trigger("fancybox-change");w.empty().css("overflow","hidden");if(V){w.css({top:F.padding,left:F.padding,width:Math.max(c.width-(F.padding*2),1),height:Math.max(c.height-(F.padding*2)-j,1)});X()}else{w.css({top:F.padding,left:F.padding,width:Math.max(a.width-(F.padding*2),1),height:Math.max(a.height-(F.padding*2),1)});t.prop=0;A(t).animate({prop:1},{duration:F.changeSpeed,easing:F.easingChange,step:G,complete:X})}});return}K.css("opacity",1);if(F.transitionIn=="elastic"){a=U();w.css({top:F.padding,left:F.padding,width:Math.max(a.width-(F.padding*2),1),height:Math.max(a.height-(F.padding*2),1)}).html(J.contents());K.css(a).show();if(F.opacity){c.opacity=0}t.prop=0;A(t).animate({prop:1},{duration:F.speedIn,easing:F.easingIn,step:G,complete:v})}else{w.css({top:F.padding,left:F.padding,width:Math.max(c.width-(F.padding*2),1),height:Math.max(c.height-(F.padding*2)-j,1)}).html(J.contents());K.css(c).fadeIn(F.transitionIn=="none"?0:F.speedIn,v)}},r=function(){J.width(H.width);J.height(H.height);if(H.width=="auto"){H.width=J.width()}if(H.height=="auto"){H.height=J.height()}u()},P=function(){O=true;H.width=m.width;H.height=m.height;A("<img />").attr({id:"fancybox-img",src:m.src,alt:H.title}).appendTo(J);u()},l=function(){i();var aa=h[D],X,Y,ac,ab,W,V,Z;H=A.extend({},A.fn.fancybox.defaults,(typeof A(aa).data("fancybox")=="undefined"?H:A(aa).data("fancybox")));ac=aa.title||A(aa).title||H.title||"";if(aa.nodeName&&!H.orig){H.orig=A(aa).children("img:first").length?A(aa).children("img:first"):A(aa)}if(ac===""&&H.orig){ac=H.orig.attr("alt")}if(aa.nodeName&&(/^(?:javascript|#)/i).test(aa.href)){X=H.href||null}else{X=H.href||aa.href||null}if(H.type){Y=H.type;if(!X){X=H.content}}else{if(H.content){Y="html"}else{if(X){if(X.match(g)){Y="image"}else{if(X.match(k)){Y="swf"}else{if(A(aa).hasClass("iframe")){Y="iframe"}else{if(X.match(/#/)){aa=X.substr(X.indexOf("#"));Y=A(aa).length>0?"inline":"ajax"}else{Y="ajax"}}}}}else{Y="inline"}}}H.type=Y;H.href=X;H.title=ac;if(H.autoDimensions&&H.type!=="iframe"&&H.type!=="swf"){H.width="auto";H.height="auto"}if(H.modal){H.overlayShow=true;H.hideOnOverlayClick=false;H.hideOnContentClick=false;H.enableEscapeButton=false;H.showCloseButton=false}if(A.isFunction(H.onStart)){if(H.onStart(h,D,H)===false){O=false;return}}J.css("padding",(C+H.padding+H.margin));A(".fancybox-inline-tmp").unbind("fancybox-cancel").bind("fancybox-change",function(){A(this).replaceWith(w.children())});switch(Y){case"html":J.html(H.content);r();break;case"inline":A('<div class="fancybox-inline-tmp" />').hide().insertBefore(A(aa)).bind("fancybox-cleanup",function(){A(this).replaceWith(w.children())}).bind("fancybox-cancel",function(){A(this).replaceWith(J.children())});A(aa).appendTo(J);r();break;case"image":O=false;A.fancybox.showActivity();m=new Image();m.onerror=function(){p()};m.onload=function(){m.onerror=null;m.onload=null;P()};m.src=X;break;case"swf":ab='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+H.width+'" height="'+H.height+'"><param name="movie" value="'+X+'"></param>';W="";A.each(H.swf,function(ad,ae){ab+='<param name="'+ad+'" value="'+ae+'"></param>';W+=" "+ad+'="'+ae+'"'});ab+='<embed src="'+X+'" type="application/x-shockwave-flash" width="'+H.width+'" height="'+H.height+'"'+W+"></embed></object>";J.html(ab);r();break;case"ajax":V=X.split("#",2);Z=H.ajax.data||{};if(V.length>1){X=V[0];if(typeof Z=="string"){Z+="&selector="+V[1]}else{Z.selector=V[1]}}O=false;A.fancybox.showActivity();f=A.ajax(A.extend(H.ajax,{url:X,data:Z,error:p,success:function(ae,af,ad){if(f.status==200){J.html(ae);r()}}}));break;case"iframe":A('<iframe id="fancybox-frame" name="fancybox-frame'+new Date().getTime()+'" frameborder="0" hspace="0" scrolling="'+H.scrolling+'" src="'+H.href+'"></iframe>').appendTo(J);u();break}},n=function(){if(!S.is(":visible")){clearInterval(q);return}A("div",S).css("top",(L*-40)+"px");L=(L+1)%12},B=function(){if(A("#fancybox-wrap").length){return}A("body").append(J=A('<div id="fancybox-tmp"></div>'),S=A('<div id="fancybox-loading"><div></div></div>'),Q=A('<div id="fancybox-overlay"></div>'),K=A('<div id="fancybox-wrap"></div>'));if(!A.support.opacity){K.addClass("fancybox-ie");S.addClass("fancybox-ie")}d=A('<div id="fancybox-outer"></div>').append('<div class="fancy-bg" id="fancy-bg-n"></div><div class="fancy-bg" id="fancy-bg-ne"></div><div class="fancy-bg" id="fancy-bg-e"></div><div class="fancy-bg" id="fancy-bg-se"></div><div class="fancy-bg" id="fancy-bg-s"></div><div class="fancy-bg" id="fancy-bg-sw"></div><div class="fancy-bg" id="fancy-bg-w"></div><div class="fancy-bg" id="fancy-bg-nw"></div>').appendTo(K);d.append(w=A('<div id="fancybox-inner"></div>'),I=A('<a id="fancybox-close"></a>'),N=A('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'),z=A('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>'));I.click(A.fancybox.close);S.click(A.fancybox.cancel);N.click(function(V){V.preventDefault();A.fancybox.prev()});z.click(function(V){V.preventDefault();A.fancybox.next()});if(R){Q.get(0).style.setExpression("height","document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'");S.get(0).style.setExpression("top","(-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px'");d.prepend('<iframe id="fancybox-hide-sel-frame" src="javascript:\'\';" scrolling="no" frameborder="0" ></iframe>')}};A.fn.fancybox=function(V){A(this).data("fancybox",A.extend({},V,(A.metadata?A(this).metadata():{}))).unbind("click.fb").bind("click.fb",function(X){X.preventDefault();if(O){return}O=true;A(this).blur();h=[];D=0;var W=A(this).attr("rel")||"";if(!W||W==""||W==="nofollow"){h.push(this)}else{h=A("a[rel="+W+"], area[rel="+W+"]");D=h.index(this)}l();return false});return this};A.fancybox=function(Y){if(O){return}O=true;var X=typeof arguments[1]!=="undefined"?arguments[1]:{};h=[];D=X.index||0;if(A.isArray(Y)){for(var W=0,V=Y.length;W<V;W++){if(typeof Y[W]=="object"){A(Y[W]).data("fancybox",A.extend({},X,Y[W]))}else{Y[W]=A({}).data("fancybox",A.extend({content:Y[W]},X))}}h=jQuery.merge(h,Y)}else{if(typeof Y=="object"){A(Y).data("fancybox",A.extend({},X,Y))}else{Y=A({}).data("fancybox",A.extend({content:Y},X))}h.push(Y)}if(D>h.length||D<0){D=0}l()};A.fancybox.showActivity=function(){clearInterval(q);S.show();q=setInterval(n,66)};A.fancybox.hideActivity=function(){S.hide()};A.fancybox.next=function(){return A.fancybox.pos(e+1)};A.fancybox.prev=function(){return A.fancybox.pos(e-1)};A.fancybox.pos=function(V){if(O){return}V=parseInt(V,10);if(V>-1&&y.length>V){D=V;l()}if(F.cyclic&&y.length>1&&V<0){D=y.length-1;l()}if(F.cyclic&&y.length>1&&V>=y.length){D=0;l()}return};A.fancybox.cancel=function(){if(O){return}O=true;A.event.trigger("fancybox-cancel");i();if(H&&A.isFunction(H.onCancel)){H.onCancel(h,D,H)}O=false};A.fancybox.close=function(){if(O||K.is(":hidden")){return}O=true;if(F&&A.isFunction(F.onCleanup)){if(F.onCleanup(y,e,F)===false){O=false;return}}i();A(I.add(N).add(z)).hide();A("#fancybox-title").remove();K.add(w).add(Q).unbind();A(window).unbind("resize.fb scroll.fb");A(document).unbind("keydown.fb");function V(){Q.fadeOut("fast");K.hide();A.event.trigger("fancybox-cleanup");w.empty();if(A.isFunction(F.onClosed)){F.onClosed(y,e,F)}y=H=[];e=D=0;F=H={};O=false}w.css("overflow","hidden");if(F.transitionOut=="elastic"){a=U();var W=K.position();c={top:W.top,left:W.left,width:K.width(),height:K.height()};if(F.opacity){c.opacity=1}t.prop=1;A(t).animate({prop:0},{duration:F.speedOut,easing:F.easingOut,step:G,complete:V})}else{K.fadeOut(F.transitionOut=="none"?0:F.speedOut,V)}};A.fancybox.resize=function(){var W,V;if(O||K.is(":hidden")){return}O=true;W=w.wrapInner("<div style='overflow:auto'></div>").children();V=W.height();K.css({height:V+(F.padding*2)+j});w.css({height:V});W.replaceWith(W.children());A.fancybox.center()};A.fancybox.center=function(){O=true;var V=E(),W=F.margin,X={};X.top=V[3]+((V[1]-((K.height()-j)+(C*2)))*0.5);X.left=V[2]+((V[0]-(K.width()+(C*2)))*0.5);X.top=Math.max(V[3]+W,X.top);X.left=Math.max(V[2]+W,X.left);K.css(X);O=false};A.fn.fancybox.defaults={padding:10,margin:20,opacity:false,modal:false,cyclic:false,scrolling:"auto",width:560,height:340,autoScale:true,autoDimensions:true,centerOnScroll:false,ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:true,hideOnContentClick:false,overlayShow:true,overlayOpacity:0.3,overlayColor:"#666",titleShow:true,titlePosition:"outside",titleFormat:null,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",easingIn:"swing",easingOut:"swing",showCloseButton:true,showNavArrows:true,enableEscapeButton:true,onStart:null,onCancel:null,onComplete:null,onCleanup:null,onClosed:null};A(document).ready(function(){B()})})(jQuery);
/**
 * jCarousel - Riding carousels with jQuery
 *   http://sorgalla.com/jcarousel/
 *
 * Copyright (c) 2006 Jan Sorgalla (http://sorgalla.com)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 * Built on top of the jQuery library
 *   http://jquery.com
 *
 * Inspired by the "Carousel Component" by Bill Scott
 *   http://billwscott.com/carousel/
 */
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(9($){$.1s.A=9(o){z 4.14(9(){2H r(4,o)})};8 q={W:F,23:1,1G:1,u:7,15:3,16:7,1H:\'2I\',24:\'2J\',1i:0,B:7,1j:7,1I:7,25:7,26:7,27:7,28:7,29:7,2a:7,2b:7,1J:\'<N></N>\',1K:\'<N></N>\',2c:\'2d\',2e:\'2d\',1L:7,1M:7};$.A=9(e,o){4.5=$.17({},q,o||{});4.Q=F;4.D=7;4.H=7;4.t=7;4.R=7;4.S=7;4.O=!4.5.W?\'1N\':\'2f\';4.E=!4.5.W?\'2g\':\'2h\';8 a=\'\',1d=e.J.1d(\' \');1k(8 i=0;i<1d.K;i++){6(1d[i].2i(\'A-2j\')!=-1){$(e).1t(1d[i]);8 a=1d[i];1l}}6(e.2k==\'2K\'||e.2k==\'2L\'){4.t=$(e);4.D=4.t.18();6(4.D.1m(\'A-H\')){6(!4.D.18().1m(\'A-D\'))4.D=4.D.B(\'<N></N>\');4.D=4.D.18()}X 6(!4.D.1m(\'A-D\'))4.D=4.t.B(\'<N></N>\').18()}X{4.D=$(e);4.t=$(e).2M(\'>2l,>2m,N>2l,N>2m\')}6(a!=\'\'&&4.D.18()[0].J.2i(\'A-2j\')==-1)4.D.B(\'<N 2N=" \'+a+\'"></N>\');4.H=4.t.18();6(!4.H.K||!4.H.1m(\'A-H\'))4.H=4.t.B(\'<N></N>\').18();4.S=$(\'.A-11\',4.D);6(4.S.u()==0&&4.5.1K!=7)4.S=4.H.1u(4.5.1K).11();4.S.V(4.J(\'A-11\'));4.R=$(\'.A-19\',4.D);6(4.R.u()==0&&4.5.1J!=7)4.R=4.H.1u(4.5.1J).11();4.R.V(4.J(\'A-19\'));4.H.V(4.J(\'A-H\'));4.t.V(4.J(\'A-t\'));4.D.V(4.J(\'A-D\'));8 b=4.5.16!=7?1n.1O(4.1o()/4.5.16):7;8 c=4.t.2O(\'1v\');8 d=4;6(c.u()>0){8 f=0,i=4.5.1G;c.14(9(){d.1P(4,i++);f+=d.T(4,b)});4.t.y(4.O,f+\'U\');6(!o||o.u===L)4.5.u=c.u()}4.D.y(\'1w\',\'1x\');4.R.y(\'1w\',\'1x\');4.S.y(\'1w\',\'1x\');4.2n=9(){d.19()};4.2o=9(){d.11()};4.1Q=9(){d.2p()};6(4.5.1j!=7)4.5.1j(4,\'2q\');6($.2r.2s){4.1e(F,F);$(2t).1y(\'2P\',9(){d.1z()})}X 4.1z()};8 r=$.A;r.1s=r.2Q={A:\'0.2.3\'};r.1s.17=r.17=$.17;r.1s.17({1z:9(){4.C=7;4.G=7;4.Y=7;4.12=7;4.1a=F;4.1f=7;4.P=7;4.Z=F;6(4.Q)z;4.t.y(4.E,4.1A(4.5.1G)+\'U\');8 p=4.1A(4.5.23);4.Y=4.12=7;4.1p(p,F);$(2t).1R(\'2u\',4.1Q).1y(\'2u\',4.1Q)},2v:9(){4.t.2w();4.t.y(4.E,\'2R\');4.t.y(4.O,\'2S\');6(4.5.1j!=7)4.5.1j(4,\'2v\');4.1z()},2p:9(){6(4.P!=7&&4.Z)4.t.y(4.E,r.I(4.t.y(4.E))+4.P);4.P=7;4.Z=F;6(4.5.1I!=7)4.5.1I(4);6(4.5.16!=7){8 a=4;8 b=1n.1O(4.1o()/4.5.16),O=0,E=0;$(\'1v\',4.t).14(9(i){O+=a.T(4,b);6(i+1<a.C)E=O});4.t.y(4.O,O+\'U\');4.t.y(4.E,-E+\'U\')}4.15(4.C,F)},2T:9(){4.Q=1g;4.1e()},2U:9(){4.Q=F;4.1e()},u:9(s){6(s!=L){4.5.u=s;6(!4.Q)4.1e()}z 4.5.u},2V:9(i,a){6(a==L||!a)a=i;6(4.5.u!==7&&a>4.5.u)a=4.5.u;1k(8 j=i;j<=a;j++){8 e=4.M(j);6(!e.K||e.1m(\'A-1b-1B\'))z F}z 1g},M:9(i){z $(\'.A-1b-\'+i,4.t)},2x:9(i,s){8 e=4.M(i),1S=0,2x=0;6(e.K==0){8 c,e=4.1C(i),j=r.I(i);1q(c=4.M(--j)){6(j<=0||c.K){j<=0?4.t.2y(e):c.1T(e);1l}}}X 1S=4.T(e);e.1t(4.J(\'A-1b-1B\'));1U s==\'2W\'?e.2X(s):e.2w().2Y(s);8 a=4.5.16!=7?1n.1O(4.1o()/4.5.16):7;8 b=4.T(e,a)-1S;6(i>0&&i<4.C)4.t.y(4.E,r.I(4.t.y(4.E))-b+\'U\');4.t.y(4.O,r.I(4.t.y(4.O))+b+\'U\');z e},1V:9(i){8 e=4.M(i);6(!e.K||(i>=4.C&&i<=4.G))z;8 d=4.T(e);6(i<4.C)4.t.y(4.E,r.I(4.t.y(4.E))+d+\'U\');e.1V();4.t.y(4.O,r.I(4.t.y(4.O))-d+\'U\')},19:9(){4.1D();6(4.P!=7&&!4.Z)4.1W(F);X 4.15(((4.5.B==\'1X\'||4.5.B==\'G\')&&4.5.u!=7&&4.G==4.5.u)?1:4.C+4.5.15)},11:9(){4.1D();6(4.P!=7&&4.Z)4.1W(1g);X 4.15(((4.5.B==\'1X\'||4.5.B==\'C\')&&4.5.u!=7&&4.C==1)?4.5.u:4.C-4.5.15)},1W:9(b){6(4.Q||4.1a||!4.P)z;8 a=r.I(4.t.y(4.E));!b?a-=4.P:a+=4.P;4.Z=!b;4.Y=4.C;4.12=4.G;4.1p(a)},15:9(i,a){6(4.Q||4.1a)z;4.1p(4.1A(i),a)},1A:9(i){6(4.Q||4.1a)z;i=r.I(i);6(4.5.B!=\'1c\')i=i<1?1:(4.5.u&&i>4.5.u?4.5.u:i);8 a=4.C>i;8 b=r.I(4.t.y(4.E));8 f=4.5.B!=\'1c\'&&4.C<=1?1:4.C;8 c=a?4.M(f):4.M(4.G);8 j=a?f:f-1;8 e=7,l=0,p=F,d=0;1q(a?--j>=i:++j<i){e=4.M(j);p=!e.K;6(e.K==0){e=4.1C(j).V(4.J(\'A-1b-1B\'));c[a?\'1u\':\'1T\'](e)}c=e;d=4.T(e);6(p)l+=d;6(4.C!=7&&(4.5.B==\'1c\'||(j>=1&&(4.5.u==7||j<=4.5.u))))b=a?b+d:b-d}8 g=4.1o();8 h=[];8 k=0,j=i,v=0;8 c=4.M(i-1);1q(++k){e=4.M(j);p=!e.K;6(e.K==0){e=4.1C(j).V(4.J(\'A-1b-1B\'));c.K==0?4.t.2y(e):c[a?\'1u\':\'1T\'](e)}c=e;8 d=4.T(e);6(d==0){2Z(\'30: 31 1N/2f 32 1k 33. 34 35 36 37 38 39. 3a...\');z 0}6(4.5.B!=\'1c\'&&4.5.u!==7&&j>4.5.u)h.3b(e);X 6(p)l+=d;v+=d;6(v>=g)1l;j++}1k(8 x=0;x<h.K;x++)h[x].1V();6(l>0){4.t.y(4.O,4.T(4.t)+l+\'U\');6(a){b-=l;4.t.y(4.E,r.I(4.t.y(4.E))-l+\'U\')}}8 n=i+k-1;6(4.5.B!=\'1c\'&&4.5.u&&n>4.5.u)n=4.5.u;6(j>n){k=0,j=n,v=0;1q(++k){8 e=4.M(j--);6(!e.K)1l;v+=4.T(e);6(v>=g)1l}}8 o=n-k+1;6(4.5.B!=\'1c\'&&o<1)o=1;6(4.Z&&a){b+=4.P;4.Z=F}4.P=7;6(4.5.B!=\'1c\'&&n==4.5.u&&(n-k+1)>=1){8 m=r.10(4.M(n),!4.5.W?\'1r\':\'1Y\');6((v-m)>g)4.P=v-g-m}1q(i-->o)b+=4.T(4.M(i));4.Y=4.C;4.12=4.G;4.C=o;4.G=n;z b},1p:9(p,a){6(4.Q||4.1a)z;4.1a=1g;8 b=4;8 c=9(){b.1a=F;6(p==0)b.t.y(b.E,0);6(b.5.B==\'1X\'||b.5.B==\'G\'||b.5.u==7||b.G<b.5.u)b.2z();b.1e();b.1Z(\'2A\')};4.1Z(\'3c\');6(!4.5.1H||a==F){4.t.y(4.E,p+\'U\');c()}X{8 o=!4.5.W?{\'2g\':p}:{\'2h\':p};4.t.1p(o,4.5.1H,4.5.24,c)}},2z:9(s){6(s!=L)4.5.1i=s;6(4.5.1i==0)z 4.1D();6(4.1f!=7)z;8 a=4;4.1f=3d(9(){a.19()},4.5.1i*3e)},1D:9(){6(4.1f==7)z;3f(4.1f);4.1f=7},1e:9(n,p){6(n==L||n==7){8 n=!4.Q&&4.5.u!==0&&((4.5.B&&4.5.B!=\'C\')||4.5.u==7||4.G<4.5.u);6(!4.Q&&(!4.5.B||4.5.B==\'C\')&&4.5.u!=7&&4.G>=4.5.u)n=4.P!=7&&!4.Z}6(p==L||p==7){8 p=!4.Q&&4.5.u!==0&&((4.5.B&&4.5.B!=\'G\')||4.C>1);6(!4.Q&&(!4.5.B||4.5.B==\'G\')&&4.5.u!=7&&4.C==1)p=4.P!=7&&4.Z}8 a=4;4.R[n?\'1y\':\'1R\'](4.5.2c,4.2n)[n?\'1t\':\'V\'](4.J(\'A-19-1E\')).20(\'1E\',n?F:1g);4.S[p?\'1y\':\'1R\'](4.5.2e,4.2o)[p?\'1t\':\'V\'](4.J(\'A-11-1E\')).20(\'1E\',p?F:1g);6(4.R.K>0&&(4.R[0].1h==L||4.R[0].1h!=n)&&4.5.1L!=7){4.R.14(9(){a.5.1L(a,4,n)});4.R[0].1h=n}6(4.S.K>0&&(4.S[0].1h==L||4.S[0].1h!=p)&&4.5.1M!=7){4.S.14(9(){a.5.1M(a,4,p)});4.S[0].1h=p}},1Z:9(a){8 b=4.Y==7?\'2q\':(4.Y<4.C?\'19\':\'11\');4.13(\'25\',a,b);6(4.Y!==4.C){4.13(\'26\',a,b,4.C);4.13(\'27\',a,b,4.Y)}6(4.12!==4.G){4.13(\'28\',a,b,4.G);4.13(\'29\',a,b,4.12)}4.13(\'2a\',a,b,4.C,4.G,4.Y,4.12);4.13(\'2b\',a,b,4.Y,4.12,4.C,4.G)},13:9(a,b,c,d,e,f,g){6(4.5[a]==L||(1U 4.5[a]!=\'2B\'&&b!=\'2A\'))z;8 h=1U 4.5[a]==\'2B\'?4.5[a][b]:4.5[a];6(!$.3g(h))z;8 j=4;6(d===L)h(j,c,b);X 6(e===L)4.M(d).14(9(){h(j,4,d,c,b)});X{1k(8 i=d;i<=e;i++)6(i!==7&&!(i>=f&&i<=g))4.M(i).14(9(){h(j,4,i,c,b)})}},1C:9(i){z 4.1P(\'<1v></1v>\',i)},1P:9(e,i){8 a=$(e).V(4.J(\'A-1b\')).V(4.J(\'A-1b-\'+i));a.20(\'3h\',i);z a},J:9(c){z c+\' \'+c+(!4.5.W?\'-3i\':\'-W\')},T:9(e,d){8 a=e.2C!=L?e[0]:e;8 b=!4.5.W?a.1F+r.10(a,\'2D\')+r.10(a,\'1r\'):a.2E+r.10(a,\'2F\')+r.10(a,\'1Y\');6(d==L||b==d)z b;8 w=!4.5.W?d-r.10(a,\'2D\')-r.10(a,\'1r\'):d-r.10(a,\'2F\')-r.10(a,\'1Y\');$(a).y(4.O,w+\'U\');z 4.T(a)},1o:9(){z!4.5.W?4.H[0].1F-r.I(4.H.y(\'3j\'))-r.I(4.H.y(\'3k\')):4.H[0].2E-r.I(4.H.y(\'3l\'))-r.I(4.H.y(\'3m\'))},3n:9(i,s){6(s==L)s=4.5.u;z 1n.3o((((i-1)/s)-1n.3p((i-1)/s))*s)+1}});r.17({3q:9(d){z $.17(q,d||{})},10:9(e,p){6(!e)z 0;8 a=e.2C!=L?e[0]:e;6(p==\'1r\'&&$.2r.2s){8 b={\'1w\':\'1x\',\'3r\':\'3s\',\'1N\':\'1i\'},21,22;$.2G(a,b,9(){21=a.1F});b[\'1r\']=0;$.2G(a,b,9(){22=a.1F});z 22-21}z r.I($.y(a,p))},I:9(v){v=3t(v);z 3u(v)?0:v}})})(3v);',62,218,'||||this|options|if|null|var|function||||||||||||||||||||list|size||||css|return|jcarousel|wrap|first|container|lt|false|last|clip|intval|className|length|undefined|get|div|wh|tail|locked|buttonNext|buttonPrev|dimension|px|addClass|vertical|else|prevFirst|inTail|margin|prev|prevLast|callback|each|scroll|visible|extend|parent|next|animating|item|circular|split|buttons|timer|true|jcarouselstate|auto|initCallback|for|break|hasClass|Math|clipping|animate|while|marginRight|fn|removeClass|before|li|display|block|bind|setup|pos|placeholder|create|stopAuto|disabled|offsetWidth|offset|animation|reloadCallback|buttonNextHTML|buttonPrevHTML|buttonNextCallback|buttonPrevCallback|width|ceil|format|funcResize|unbind|old|after|typeof|remove|scrollTail|both|marginBottom|notify|attr|oWidth|oWidth2|start|easing|itemLoadCallback|itemFirstInCallback|itemFirstOutCallback|itemLastInCallback|itemLastOutCallback|itemVisibleInCallback|itemVisibleOutCallback|buttonNextEvent|click|buttonPrevEvent|height|left|top|indexOf|skin|nodeName|ul|ol|funcNext|funcPrev|reload|init|browser|safari|window|resize|reset|empty|add|prepend|startAuto|onAfterAnimation|object|jquery|marginLeft|offsetHeight|marginTop|swap|new|normal|swing|UL|OL|find|class|children|load|prototype|0px|10px|lock|unlock|has|string|html|append|alert|jCarousel|No|set|items|This|will|cause|an|infinite|loop|Aborting|push|onBeforeAnimation|setTimeout|1000|clearTimeout|isFunction|jcarouselindex|horizontal|borderLeftWidth|borderRightWidth|borderTopWidth|borderBottomWidth|index|round|floor|defaults|float|none|parseInt|isNaN|jQuery'.split('|'),0,{}))

/*
Uploadify v2.1.0
Release Date: August 24, 2009

Copyright (c) 2009 Ronnie Garcia, Travis Nickels

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/

if(jQuery){(function(a){a.extend(a.fn,{uploadify:function(b){a(this).each(function(){settings=a.extend({id:a(this).attr("id"),uploader:"uploadify.swf",script:"uploadify.php",expressInstall:null,folder:"",height:30,width:110,cancelImg:"cancel.png",wmode:"opaque",scriptAccess:"sameDomain",fileDataName:"Filedata",method:"POST",queueSizeLimit:999,simUploadLimit:1,queueID:false,displayData:"percentage",onInit:function(){},onSelect:function(){},onQueueFull:function(){},onCheck:function(){},onCancel:function(){},onError:function(){},onProgress:function(){},onComplete:function(){},onAllComplete:function(){}},b);var e=location.pathname;e=e.split("/");e.pop();e=e.join("/")+"/";var f={};f.uploadifyID=settings.id;f.pagepath=e;if(settings.buttonImg){f.buttonImg=escape(settings.buttonImg)}if(settings.buttonText){f.buttonText=escape(settings.buttonText)}if(settings.rollover){f.rollover=true}f.script=settings.script;f.folder=escape(settings.folder);if(settings.scriptData){var g="";for(var d in settings.scriptData){g+="&"+d+"="+settings.scriptData[d]}f.scriptData=escape(g.substr(1))}f.width=settings.width;f.height=settings.height;f.wmode=settings.wmode;f.method=settings.method;f.queueSizeLimit=settings.queueSizeLimit;f.simUploadLimit=settings.simUploadLimit;if(settings.hideButton){f.hideButton=true}if(settings.fileDesc){f.fileDesc=settings.fileDesc}if(settings.fileExt){f.fileExt=settings.fileExt}if(settings.multi){f.multi=true}if(settings.auto){f.auto=true}if(settings.sizeLimit){f.sizeLimit=settings.sizeLimit}if(settings.checkScript){f.checkScript=settings.checkScript}if(settings.fileDataName){f.fileDataName=settings.fileDataName}if(settings.queueID){f.queueID=settings.queueID}if(settings.onInit()!==false){a(this).css("display","none");a(this).after('<div id="'+a(this).attr("id")+'Uploader"></div>');swfobject.embedSWF(settings.uploader,settings.id+"Uploader",settings.width,settings.height,"9.0.24",settings.expressInstall,f,{quality:"high",wmode:settings.wmode,allowScriptAccess:settings.scriptAccess});if(settings.queueID==false){a("#"+a(this).attr("id")+"Uploader").after('<div id="'+a(this).attr("id")+'Queue" class="uploadifyQueue"></div>')}}if(typeof(settings.onOpen)=="function"){a(this).bind("uploadifyOpen",settings.onOpen)}a(this).bind("uploadifySelect",{action:settings.onSelect,queueID:settings.queueID},function(j,h,i){if(j.data.action(j,h,i)!==false){var k=Math.round(i.size/1024*100)*0.01;var l="KB";if(k>1000){k=Math.round(k*0.001*100)*0.01;l="MB"}var m=k.toString().split(".");if(m.length>1){k=m[0]+"."+m[1].substr(0,2)}else{k=m[0]}if(i.name.length>20){fileName=i.name.substr(0,20)+"..."}else{fileName=i.name}queue="#"+a(this).attr("id")+"Queue";if(j.data.queueID){queue="#"+j.data.queueID}a(queue).append('<div id="'+a(this).attr("id")+h+'" class="uploadifyQueueItem"><div class="cancel"><a href="javascript:jQuery(\'#'+a(this).attr("id")+"').uploadifyCancel('"+h+'\')"><img src="'+settings.cancelImg+'" border="0" /></a></div><span class="fileName">'+fileName+" ("+k+l+')</span><span class="percentage"></span><div class="uploadifyProgress"><div id="'+a(this).attr("id")+h+'ProgressBar" class="uploadifyProgressBar"><!--Progress Bar--></div></div></div>')}});if(typeof(settings.onSelectOnce)=="function"){a(this).bind("uploadifySelectOnce",settings.onSelectOnce)}a(this).bind("uploadifyQueueFull",{action:settings.onQueueFull},function(h,i){if(h.data.action(h,i)!==false){alert("The queue is full.  The max size is "+i+".")}});a(this).bind("uploadifyCheckExist",{action:settings.onCheck},function(m,l,k,j,o){var i=new Object();i=k;i.folder=e+j;if(o){for(var h in k){var n=h}}a.post(l,i,function(r){for(var p in r){if(m.data.action(m,l,k,j,o)!==false){var q=confirm("Do you want to replace the file "+r[p]+"?");if(!q){document.getElementById(a(m.target).attr("id")+"Uploader").cancelFileUpload(p,true,true)}}}if(o){document.getElementById(a(m.target).attr("id")+"Uploader").startFileUpload(n,true)}else{document.getElementById(a(m.target).attr("id")+"Uploader").startFileUpload(null,true)}},"json")});a(this).bind("uploadifyCancel",{action:settings.onCancel},function(l,h,k,m,j){if(l.data.action(l,h,k,m,j)!==false){var i=(j==true)?0:250;a("#"+a(this).attr("id")+h).fadeOut(i,function(){a(this).remove()})}});if(typeof(settings.onClearQueue)=="function"){a(this).bind("uploadifyClearQueue",settings.onClearQueue)}var c=[];a(this).bind("uploadifyError",{action:settings.onError},function(l,h,k,j){if(l.data.action(l,h,k,j)!==false){var i=new Array(h,k,j);c.push(i);a("#"+a(this).attr("id")+h+" .percentage").text(" - "+j.type+" Error");a("#"+a(this).attr("id")+h).addClass("uploadifyError")}});a(this).bind("uploadifyProgress",{action:settings.onProgress,toDisplay:settings.displayData},function(j,h,i,k){if(j.data.action(j,h,i,k)!==false){a("#"+a(this).attr("id")+h+"ProgressBar").css("width",k.percentage+"%");if(j.data.toDisplay=="percentage"){displayData=" - "+k.percentage+"%"}if(j.data.toDisplay=="speed"){displayData=" - "+k.speed+"KB/s"}if(j.data.toDisplay==null){displayData=" "}a("#"+a(this).attr("id")+h+" .percentage").text(displayData)}});a(this).bind("uploadifyComplete",{action:settings.onComplete},function(k,h,j,i,l){if(k.data.action(k,h,j,unescape(i),l)!==false){a("#"+a(this).attr("id")+h+" .percentage").text(" - Completed");a("#"+a(this).attr("id")+h).fadeOut(250,function(){a(this).remove()})}});if(typeof(settings.onAllComplete)=="function"){a(this).bind("uploadifyAllComplete",{action:settings.onAllComplete},function(h,i){if(h.data.action(h,i)!==false){c=[]}})}})},uploadifySettings:function(f,j,c){var g=false;a(this).each(function(){if(f=="scriptData"&&j!=null){if(c){var i=j}else{var i=a.extend(settings.scriptData,j)}var l="";for(var k in i){l+="&"+k+"="+escape(i[k])}j=l.substr(1)}g=document.getElementById(a(this).attr("id")+"Uploader").updateSettings(f,j)});if(j==null){if(f=="scriptData"){var b=unescape(g).split("&");var e=new Object();for(var d=0;d<b.length;d++){var h=b[d].split("=");e[h[0]]=h[1]}g=e}return g}},uploadifyUpload:function(b){a(this).each(function(){document.getElementById(a(this).attr("id")+"Uploader").startFileUpload(b,false)})},uploadifyCancel:function(b){a(this).each(function(){document.getElementById(a(this).attr("id")+"Uploader").cancelFileUpload(b,true,false)})},uploadifyClearQueue:function(){a(this).each(function(){document.getElementById(a(this).attr("id")+"Uploader").clearFileUploadQueue(false)})}})})(jQuery)};
/*	SWFObject v2.2 <http://code.google.com/p/swfobject/> 
	is released under the MIT License <http://www.opensource.org/licenses/mit-license.php> 
*/
var swfobject=function(){var D="undefined",r="object",S="Shockwave Flash",W="ShockwaveFlash.ShockwaveFlash",q="application/x-shockwave-flash",R="SWFObjectExprInst",x="onreadystatechange",O=window,j=document,t=navigator,T=false,U=[h],o=[],N=[],I=[],l,Q,E,B,J=false,a=false,n,G,m=true,M=function(){var aa=typeof j.getElementById!=D&&typeof j.getElementsByTagName!=D&&typeof j.createElement!=D,ah=t.userAgent.toLowerCase(),Y=t.platform.toLowerCase(),ae=Y?/win/.test(Y):/win/.test(ah),ac=Y?/mac/.test(Y):/mac/.test(ah),af=/webkit/.test(ah)?parseFloat(ah.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,X=!+"\v1",ag=[0,0,0],ab=null;if(typeof t.plugins!=D&&typeof t.plugins[S]==r){ab=t.plugins[S].description;if(ab&&!(typeof t.mimeTypes!=D&&t.mimeTypes[q]&&!t.mimeTypes[q].enabledPlugin)){T=true;X=false;ab=ab.replace(/^.*\s+(\S+\s+\S+$)/,"$1");ag[0]=parseInt(ab.replace(/^(.*)\..*$/,"$1"),10);ag[1]=parseInt(ab.replace(/^.*\.(.*)\s.*$/,"$1"),10);ag[2]=/[a-zA-Z]/.test(ab)?parseInt(ab.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof O.ActiveXObject!=D){try{var ad=new ActiveXObject(W);if(ad){ab=ad.GetVariable("$version");if(ab){X=true;ab=ab.split(" ")[1].split(",");ag=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}}catch(Z){}}}return{w3:aa,pv:ag,wk:af,ie:X,win:ae,mac:ac}}(),k=function(){if(!M.w3){return}if((typeof j.readyState!=D&&j.readyState=="complete")||(typeof j.readyState==D&&(j.getElementsByTagName("body")[0]||j.body))){f()}if(!J){if(typeof j.addEventListener!=D){j.addEventListener("DOMContentLoaded",f,false)}if(M.ie&&M.win){j.attachEvent(x,function(){if(j.readyState=="complete"){j.detachEvent(x,arguments.callee);f()}});if(O==top){(function(){if(J){return}try{j.documentElement.doScroll("left")}catch(X){setTimeout(arguments.callee,0);return}f()})()}}if(M.wk){(function(){if(J){return}if(!/loaded|complete/.test(j.readyState)){setTimeout(arguments.callee,0);return}f()})()}s(f)}}();function f(){if(J){return}try{var Z=j.getElementsByTagName("body")[0].appendChild(C("span"));Z.parentNode.removeChild(Z)}catch(aa){return}J=true;var X=U.length;for(var Y=0;Y<X;Y++){U[Y]()}}function K(X){if(J){X()}else{U[U.length]=X}}function s(Y){if(typeof O.addEventListener!=D){O.addEventListener("load",Y,false)}else{if(typeof j.addEventListener!=D){j.addEventListener("load",Y,false)}else{if(typeof O.attachEvent!=D){i(O,"onload",Y)}else{if(typeof O.onload=="function"){var X=O.onload;O.onload=function(){X();Y()}}else{O.onload=Y}}}}}function h(){if(T){V()}else{H()}}function V(){var X=j.getElementsByTagName("body")[0];var aa=C(r);aa.setAttribute("type",q);var Z=X.appendChild(aa);if(Z){var Y=0;(function(){if(typeof Z.GetVariable!=D){var ab=Z.GetVariable("$version");if(ab){ab=ab.split(" ")[1].split(",");M.pv=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}else{if(Y<10){Y++;setTimeout(arguments.callee,10);return}}X.removeChild(aa);Z=null;H()})()}else{H()}}function H(){var ag=o.length;if(ag>0){for(var af=0;af<ag;af++){var Y=o[af].id;var ab=o[af].callbackFn;var aa={success:false,id:Y};if(M.pv[0]>0){var ae=c(Y);if(ae){if(F(o[af].swfVersion)&&!(M.wk&&M.wk<312)){w(Y,true);if(ab){aa.success=true;aa.ref=z(Y);ab(aa)}}else{if(o[af].expressInstall&&A()){var ai={};ai.data=o[af].expressInstall;ai.width=ae.getAttribute("width")||"0";ai.height=ae.getAttribute("height")||"0";if(ae.getAttribute("class")){ai.styleclass=ae.getAttribute("class")}if(ae.getAttribute("align")){ai.align=ae.getAttribute("align")}var ah={};var X=ae.getElementsByTagName("param");var ac=X.length;for(var ad=0;ad<ac;ad++){if(X[ad].getAttribute("name").toLowerCase()!="movie"){ah[X[ad].getAttribute("name")]=X[ad].getAttribute("value")}}P(ai,ah,Y,ab)}else{p(ae);if(ab){ab(aa)}}}}}else{w(Y,true);if(ab){var Z=z(Y);if(Z&&typeof Z.SetVariable!=D){aa.success=true;aa.ref=Z}ab(aa)}}}}}function z(aa){var X=null;var Y=c(aa);if(Y&&Y.nodeName=="OBJECT"){if(typeof Y.SetVariable!=D){X=Y}else{var Z=Y.getElementsByTagName(r)[0];if(Z){X=Z}}}return X}function A(){return !a&&F("6.0.65")&&(M.win||M.mac)&&!(M.wk&&M.wk<312)}function P(aa,ab,X,Z){a=true;E=Z||null;B={success:false,id:X};var ae=c(X);if(ae){if(ae.nodeName=="OBJECT"){l=g(ae);Q=null}else{l=ae;Q=X}aa.id=R;if(typeof aa.width==D||(!/%$/.test(aa.width)&&parseInt(aa.width,10)<310)){aa.width="310"}if(typeof aa.height==D||(!/%$/.test(aa.height)&&parseInt(aa.height,10)<137)){aa.height="137"}j.title=j.title.slice(0,47)+" - Flash Player Installation";var ad=M.ie&&M.win?"ActiveX":"PlugIn",ac="MMredirectURL="+O.location.toString().replace(/&/g,"%26")+"&MMplayerType="+ad+"&MMdoctitle="+j.title;if(typeof ab.flashvars!=D){ab.flashvars+="&"+ac}else{ab.flashvars=ac}if(M.ie&&M.win&&ae.readyState!=4){var Y=C("div");X+="SWFObjectNew";Y.setAttribute("id",X);ae.parentNode.insertBefore(Y,ae);ae.style.display="none";(function(){if(ae.readyState==4){ae.parentNode.removeChild(ae)}else{setTimeout(arguments.callee,10)}})()}u(aa,ab,X)}}function p(Y){if(M.ie&&M.win&&Y.readyState!=4){var X=C("div");Y.parentNode.insertBefore(X,Y);X.parentNode.replaceChild(g(Y),X);Y.style.display="none";(function(){if(Y.readyState==4){Y.parentNode.removeChild(Y)}else{setTimeout(arguments.callee,10)}})()}else{Y.parentNode.replaceChild(g(Y),Y)}}function g(ab){var aa=C("div");if(M.win&&M.ie){aa.innerHTML=ab.innerHTML}else{var Y=ab.getElementsByTagName(r)[0];if(Y){var ad=Y.childNodes;if(ad){var X=ad.length;for(var Z=0;Z<X;Z++){if(!(ad[Z].nodeType==1&&ad[Z].nodeName=="PARAM")&&!(ad[Z].nodeType==8)){aa.appendChild(ad[Z].cloneNode(true))}}}}}return aa}function u(ai,ag,Y){var X,aa=c(Y);if(M.wk&&M.wk<312){return X}if(aa){if(typeof ai.id==D){ai.id=Y}if(M.ie&&M.win){var ah="";for(var ae in ai){if(ai[ae]!=Object.prototype[ae]){if(ae.toLowerCase()=="data"){ag.movie=ai[ae]}else{if(ae.toLowerCase()=="styleclass"){ah+=' class="'+ai[ae]+'"'}else{if(ae.toLowerCase()!="classid"){ah+=" "+ae+'="'+ai[ae]+'"'}}}}}var af="";for(var ad in ag){if(ag[ad]!=Object.prototype[ad]){af+='<param name="'+ad+'" value="'+ag[ad]+'" />'}}aa.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+ah+">"+af+"</object>";N[N.length]=ai.id;X=c(ai.id)}else{var Z=C(r);Z.setAttribute("type",q);for(var ac in ai){if(ai[ac]!=Object.prototype[ac]){if(ac.toLowerCase()=="styleclass"){Z.setAttribute("class",ai[ac])}else{if(ac.toLowerCase()!="classid"){Z.setAttribute(ac,ai[ac])}}}}for(var ab in ag){if(ag[ab]!=Object.prototype[ab]&&ab.toLowerCase()!="movie"){e(Z,ab,ag[ab])}}aa.parentNode.replaceChild(Z,aa);X=Z}}return X}function e(Z,X,Y){var aa=C("param");aa.setAttribute("name",X);aa.setAttribute("value",Y);Z.appendChild(aa)}function y(Y){var X=c(Y);if(X&&X.nodeName=="OBJECT"){if(M.ie&&M.win){X.style.display="none";(function(){if(X.readyState==4){b(Y)}else{setTimeout(arguments.callee,10)}})()}else{X.parentNode.removeChild(X)}}}function b(Z){var Y=c(Z);if(Y){for(var X in Y){if(typeof Y[X]=="function"){Y[X]=null}}Y.parentNode.removeChild(Y)}}function c(Z){var X=null;try{X=j.getElementById(Z)}catch(Y){}return X}function C(X){return j.createElement(X)}function i(Z,X,Y){Z.attachEvent(X,Y);I[I.length]=[Z,X,Y]}function F(Z){var Y=M.pv,X=Z.split(".");X[0]=parseInt(X[0],10);X[1]=parseInt(X[1],10)||0;X[2]=parseInt(X[2],10)||0;return(Y[0]>X[0]||(Y[0]==X[0]&&Y[1]>X[1])||(Y[0]==X[0]&&Y[1]==X[1]&&Y[2]>=X[2]))?true:false}function v(ac,Y,ad,ab){if(M.ie&&M.mac){return}var aa=j.getElementsByTagName("head")[0];if(!aa){return}var X=(ad&&typeof ad=="string")?ad:"screen";if(ab){n=null;G=null}if(!n||G!=X){var Z=C("style");Z.setAttribute("type","text/css");Z.setAttribute("media",X);n=aa.appendChild(Z);if(M.ie&&M.win&&typeof j.styleSheets!=D&&j.styleSheets.length>0){n=j.styleSheets[j.styleSheets.length-1]}G=X}if(M.ie&&M.win){if(n&&typeof n.addRule==r){n.addRule(ac,Y)}}else{if(n&&typeof j.createTextNode!=D){n.appendChild(j.createTextNode(ac+" {"+Y+"}"))}}}function w(Z,X){if(!m){return}var Y=X?"visible":"hidden";if(J&&c(Z)){c(Z).style.visibility=Y}else{v("#"+Z,"visibility:"+Y)}}function L(Y){var Z=/[\\\"<>\.;]/;var X=Z.exec(Y)!=null;return X&&typeof encodeURIComponent!=D?encodeURIComponent(Y):Y}var d=function(){if(M.ie&&M.win){window.attachEvent("onunload",function(){var ac=I.length;for(var ab=0;ab<ac;ab++){I[ab][0].detachEvent(I[ab][1],I[ab][2])}var Z=N.length;for(var aa=0;aa<Z;aa++){y(N[aa])}for(var Y in M){M[Y]=null}M=null;for(var X in swfobject){swfobject[X]=null}swfobject=null})}}();return{registerObject:function(ab,X,aa,Z){if(M.w3&&ab&&X){var Y={};Y.id=ab;Y.swfVersion=X;Y.expressInstall=aa;Y.callbackFn=Z;o[o.length]=Y;w(ab,false)}else{if(Z){Z({success:false,id:ab})}}},getObjectById:function(X){if(M.w3){return z(X)}},embedSWF:function(ab,ah,ae,ag,Y,aa,Z,ad,af,ac){var X={success:false,id:ah};if(M.w3&&!(M.wk&&M.wk<312)&&ab&&ah&&ae&&ag&&Y){w(ah,false);K(function(){ae+="";ag+="";var aj={};if(af&&typeof af===r){for(var al in af){aj[al]=af[al]}}aj.data=ab;aj.width=ae;aj.height=ag;var am={};if(ad&&typeof ad===r){for(var ak in ad){am[ak]=ad[ak]}}if(Z&&typeof Z===r){for(var ai in Z){if(typeof am.flashvars!=D){am.flashvars+="&"+ai+"="+Z[ai]}else{am.flashvars=ai+"="+Z[ai]}}}if(F(Y)){var an=u(aj,am,ah);if(aj.id==ah){w(ah,true)}X.success=true;X.ref=an}else{if(aa&&A()){aj.data=aa;P(aj,am,ah,ac);return}else{w(ah,true)}}if(ac){ac(X)}})}else{if(ac){ac(X)}}},switchOffAutoHideShow:function(){m=false},ua:M,getFlashPlayerVersion:function(){return{major:M.pv[0],minor:M.pv[1],release:M.pv[2]}},hasFlashPlayerVersion:F,createSWF:function(Z,Y,X){if(M.w3){return u(Z,Y,X)}else{return undefined}},showExpressInstall:function(Z,aa,X,Y){if(M.w3&&A()){P(Z,aa,X,Y)}},removeSWF:function(X){if(M.w3){y(X)}},createCSS:function(aa,Z,Y,X){if(M.w3){v(aa,Z,Y,X)}},addDomLoadEvent:K,addLoadEvent:s,getQueryParamValue:function(aa){var Z=j.location.search||j.location.hash;if(Z){if(/\?/.test(Z)){Z=Z.split("?")[1]}if(aa==null){return L(Z)}var Y=Z.split("&");for(var X=0;X<Y.length;X++){if(Y[X].substring(0,Y[X].indexOf("="))==aa){return L(Y[X].substring((Y[X].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(a){var X=c(R);if(X&&l){X.parentNode.replaceChild(l,X);if(Q){w(Q,true);if(M.ie&&M.win){l.style.display="block"}}if(E){E(B)}}a=false}}}}();
/**
 * Jcrop v.0.9.8 (minimized)
 * (c) 2008 Kelly Hallman and DeepLiquid.com
 * More information: http://deepliquid.com/content/Jcrop.html
 * Released under MIT License - this header must remain with code
 */


(function($){$.Jcrop=function(obj,opt)
{var obj=obj,opt=opt;if(typeof(obj)!=='object')obj=$(obj)[0];if(typeof(opt)!=='object')opt={};if(!('trackDocument'in opt))
{opt.trackDocument=$.browser.msie?false:true;if($.browser.msie&&$.browser.version.split('.')[0]=='8')
opt.trackDocument=true;}
if(!('keySupport'in opt))
opt.keySupport=$.browser.msie?false:true;var defaults={trackDocument:false,baseClass:'jcrop',addClass:null,bgColor:'black',bgOpacity:.6,borderOpacity:.4,handleOpacity:.5,handlePad:5,handleSize:9,handleOffset:5,edgeMargin:14,aspectRatio:0,keySupport:true,cornerHandles:true,sideHandles:true,drawBorders:true,dragEdges:true,boxWidth:0,boxHeight:0,boundary:8,animationDelay:20,swingSpeed:3,allowSelect:true,allowMove:true,allowResize:true,minSelect:[0,0],maxSize:[0,0],minSize:[0,0],onChange:function(){},onSelect:function(){}};var options=defaults;setOptions(opt);var $origimg=$(obj);var $img=$origimg.clone().removeAttr('id').css({position:'absolute'});$img.width($origimg.width());$img.height($origimg.height());$origimg.after($img).hide();presize($img,options.boxWidth,options.boxHeight);var boundx=$img.width(),boundy=$img.height(),$div=$('<div />').width(boundx).height(boundy).addClass(cssClass('holder')).css({position:'relative',backgroundColor:options.bgColor}).insertAfter($origimg).append($img);;if(options.addClass)$div.addClass(options.addClass);var $img2=$('<img />').attr('src',$img.attr('src')).css('position','absolute').width(boundx).height(boundy);var $img_holder=$('<div />').width(pct(100)).height(pct(100)).css({zIndex:310,position:'absolute',overflow:'hidden'}).append($img2);var $hdl_holder=$('<div />').width(pct(100)).height(pct(100)).css('zIndex',320);var $sel=$('<div />').css({position:'absolute',zIndex:300}).insertBefore($img).append($img_holder,$hdl_holder);var bound=options.boundary;var $trk=newTracker().width(boundx+(bound*2)).height(boundy+(bound*2)).css({position:'absolute',top:px(-bound),left:px(-bound),zIndex:290}).mousedown(newSelection);var xlimit,ylimit,xmin,ymin;var xscale,yscale,enabled=true;var docOffset=getPos($img),btndown,lastcurs,dimmed,animating,shift_down;var Coords=function()
{var x1=0,y1=0,x2=0,y2=0,ox,oy;function setPressed(pos)
{var pos=rebound(pos);x2=x1=pos[0];y2=y1=pos[1];};function setCurrent(pos)
{var pos=rebound(pos);ox=pos[0]-x2;oy=pos[1]-y2;x2=pos[0];y2=pos[1];};function getOffset()
{return[ox,oy];};function moveOffset(offset)
{var ox=offset[0],oy=offset[1];if(0>x1+ox)ox-=ox+x1;if(0>y1+oy)oy-=oy+y1;if(boundy<y2+oy)oy+=boundy-(y2+oy);if(boundx<x2+ox)ox+=boundx-(x2+ox);x1+=ox;x2+=ox;y1+=oy;y2+=oy;};function getCorner(ord)
{var c=getFixed();switch(ord)
{case'ne':return[c.x2,c.y];case'nw':return[c.x,c.y];case'se':return[c.x2,c.y2];case'sw':return[c.x,c.y2];}};function getFixed()
{if(!options.aspectRatio)return getRect();var aspect=options.aspectRatio,min_x=options.minSize[0]/xscale,min_y=options.minSize[1]/yscale,max_x=options.maxSize[0]/xscale,max_y=options.maxSize[1]/yscale,rw=x2-x1,rh=y2-y1,rwa=Math.abs(rw),rha=Math.abs(rh),real_ratio=rwa/rha,xx,yy;if(max_x==0){max_x=boundx*10}
if(max_y==0){max_y=boundy*10}
if(real_ratio<aspect)
{yy=y2;w=rha*aspect;xx=rw<0?x1-w:w+x1;if(xx<0)
{xx=0;h=Math.abs((xx-x1)/aspect);yy=rh<0?y1-h:h+y1;}
else if(xx>boundx)
{xx=boundx;h=Math.abs((xx-x1)/aspect);yy=rh<0?y1-h:h+y1;}}
else
{xx=x2;h=rwa/aspect;yy=rh<0?y1-h:y1+h;if(yy<0)
{yy=0;w=Math.abs((yy-y1)*aspect);xx=rw<0?x1-w:w+x1;}
else if(yy>boundy)
{yy=boundy;w=Math.abs(yy-y1)*aspect;xx=rw<0?x1-w:w+x1;}}
if(xx>x1){if(xx-x1<min_x){xx=x1+min_x;}else if(xx-x1>max_x){xx=x1+max_x;}
if(yy>y1){yy=y1+(xx-x1)/aspect;}else{yy=y1-(xx-x1)/aspect;}}else if(xx<x1){if(x1-xx<min_x){xx=x1-min_x}else if(x1-xx>max_x){xx=x1-max_x;}
if(yy>y1){yy=y1+(x1-xx)/aspect;}else{yy=y1-(x1-xx)/aspect;}}
if(xx<0){x1-=xx;xx=0;}else if(xx>boundx){x1-=xx-boundx;xx=boundx;}
if(yy<0){y1-=yy;yy=0;}else if(yy>boundy){y1-=yy-boundy;yy=boundy;}
return last=makeObj(flipCoords(x1,y1,xx,yy));};function rebound(p)
{if(p[0]<0)p[0]=0;if(p[1]<0)p[1]=0;if(p[0]>boundx)p[0]=boundx;if(p[1]>boundy)p[1]=boundy;return[p[0],p[1]];};function flipCoords(x1,y1,x2,y2)
{var xa=x1,xb=x2,ya=y1,yb=y2;if(x2<x1)
{xa=x2;xb=x1;}
if(y2<y1)
{ya=y2;yb=y1;}
return[Math.round(xa),Math.round(ya),Math.round(xb),Math.round(yb)];};function getRect()
{var xsize=x2-x1;var ysize=y2-y1;if(xlimit&&(Math.abs(xsize)>xlimit))
x2=(xsize>0)?(x1+xlimit):(x1-xlimit);if(ylimit&&(Math.abs(ysize)>ylimit))
y2=(ysize>0)?(y1+ylimit):(y1-ylimit);if(ymin&&(Math.abs(ysize)<ymin))
y2=(ysize>0)?(y1+ymin):(y1-ymin);if(xmin&&(Math.abs(xsize)<xmin))
x2=(xsize>0)?(x1+xmin):(x1-xmin);if(x1<0){x2-=x1;x1-=x1;}
if(y1<0){y2-=y1;y1-=y1;}
if(x2<0){x1-=x2;x2-=x2;}
if(y2<0){y1-=y2;y2-=y2;}
if(x2>boundx){var delta=x2-boundx;x1-=delta;x2-=delta;}
if(y2>boundy){var delta=y2-boundy;y1-=delta;y2-=delta;}
if(x1>boundx){var delta=x1-boundy;y2-=delta;y1-=delta;}
if(y1>boundy){var delta=y1-boundy;y2-=delta;y1-=delta;}
return makeObj(flipCoords(x1,y1,x2,y2));};function makeObj(a)
{return{x:a[0],y:a[1],x2:a[2],y2:a[3],w:a[2]-a[0],h:a[3]-a[1]};};return{flipCoords:flipCoords,setPressed:setPressed,setCurrent:setCurrent,getOffset:getOffset,moveOffset:moveOffset,getCorner:getCorner,getFixed:getFixed};}();var Selection=function()
{var start,end,dragmode,awake,hdep=370;var borders={};var handle={};var seehandles=false;var hhs=options.handleOffset;if(options.drawBorders){borders={top:insertBorder('hline').css('top',$.browser.msie?px(-1):px(0)),bottom:insertBorder('hline'),left:insertBorder('vline'),right:insertBorder('vline')};}
if(options.dragEdges){handle.t=insertDragbar('n');handle.b=insertDragbar('s');handle.r=insertDragbar('e');handle.l=insertDragbar('w');}
options.sideHandles&&createHandles(['n','s','e','w']);options.cornerHandles&&createHandles(['sw','nw','ne','se']);function insertBorder(type)
{var jq=$('<div />').css({position:'absolute',opacity:options.borderOpacity}).addClass(cssClass(type));$img_holder.append(jq);return jq;};function dragDiv(ord,zi)
{var jq=$('<div />').mousedown(createDragger(ord)).css({cursor:ord+'-resize',position:'absolute',zIndex:zi});$hdl_holder.append(jq);return jq;};function insertHandle(ord)
{return dragDiv(ord,hdep++).css({top:px(-hhs+1),left:px(-hhs+1),opacity:options.handleOpacity}).addClass(cssClass('handle'));};function insertDragbar(ord)
{var s=options.handleSize,o=hhs,h=s,w=s,t=o,l=o;switch(ord)
{case'n':case's':w=pct(100);break;case'e':case'w':h=pct(100);break;}
return dragDiv(ord,hdep++).width(w).height(h).css({top:px(-t+1),left:px(-l+1)});};function createHandles(li)
{for(i in li)handle[li[i]]=insertHandle(li[i]);};function moveHandles(c)
{var midvert=Math.round((c.h/2)-hhs),midhoriz=Math.round((c.w/2)-hhs),north=west=-hhs+1,east=c.w-hhs,south=c.h-hhs,x,y;'e'in handle&&handle.e.css({top:px(midvert),left:px(east)})&&handle.w.css({top:px(midvert)})&&handle.s.css({top:px(south),left:px(midhoriz)})&&handle.n.css({left:px(midhoriz)});'ne'in handle&&handle.ne.css({left:px(east)})&&handle.se.css({top:px(south),left:px(east)})&&handle.sw.css({top:px(south)});'b'in handle&&handle.b.css({top:px(south)})&&handle.r.css({left:px(east)});};function moveto(x,y)
{$img2.css({top:px(-y),left:px(-x)});$sel.css({top:px(y),left:px(x)});};function resize(w,h)
{$sel.width(w).height(h);};function refresh()
{var c=Coords.getFixed();Coords.setPressed([c.x,c.y]);Coords.setCurrent([c.x2,c.y2]);updateVisible();};function updateVisible()
{if(awake)return update();};function update()
{var c=Coords.getFixed();resize(c.w,c.h);moveto(c.x,c.y);options.drawBorders&&borders['right'].css({left:px(c.w-1)})&&borders['bottom'].css({top:px(c.h-1)});seehandles&&moveHandles(c);awake||show();options.onChange(unscale(c));};function show()
{$sel.show();$img.css('opacity',options.bgOpacity);awake=true;};function release()
{disableHandles();$sel.hide();$img.css('opacity',1);awake=false;};function showHandles()
{if(seehandles)
{moveHandles(Coords.getFixed());$hdl_holder.show();}};function enableHandles()
{seehandles=true;if(options.allowResize)
{moveHandles(Coords.getFixed());$hdl_holder.show();return true;}};function disableHandles()
{seehandles=false;$hdl_holder.hide();};function animMode(v)
{(animating=v)?disableHandles():enableHandles();};function done()
{animMode(false);refresh();};var $track=newTracker().mousedown(createDragger('move')).css({cursor:'move',position:'absolute',zIndex:360})
$img_holder.append($track);disableHandles();return{updateVisible:updateVisible,update:update,release:release,refresh:refresh,setCursor:function(cursor){$track.css('cursor',cursor);},enableHandles:enableHandles,enableOnly:function(){seehandles=true;},showHandles:showHandles,disableHandles:disableHandles,animMode:animMode,done:done};}();var Tracker=function()
{var onMove=function(){},onDone=function(){},trackDoc=options.trackDocument;if(!trackDoc)
{$trk.mousemove(trackMove).mouseup(trackUp).mouseout(trackUp);}
function toFront()
{$trk.css({zIndex:450});if(trackDoc)
{$(document).mousemove(trackMove).mouseup(trackUp);}}
function toBack()
{$trk.css({zIndex:290});if(trackDoc)
{$(document).unbind('mousemove',trackMove).unbind('mouseup',trackUp);}}
function trackMove(e)
{onMove(mouseAbs(e));};function trackUp(e)
{e.preventDefault();e.stopPropagation();if(btndown)
{btndown=false;onDone(mouseAbs(e));options.onSelect(unscale(Coords.getFixed()));toBack();onMove=function(){};onDone=function(){};}
return false;};function activateHandlers(move,done)
{btndown=true;onMove=move;onDone=done;toFront();return false;};function setCursor(t){$trk.css('cursor',t);};$img.before($trk);return{activateHandlers:activateHandlers,setCursor:setCursor};}();var KeyManager=function()
{var $keymgr=$('<input type="radio" />').css({position:'absolute',left:'-30px'}).keypress(parseKey).blur(onBlur),$keywrap=$('<div />').css({position:'absolute',overflow:'hidden'}).append($keymgr);function watchKeys()
{if(options.keySupport)
{$keymgr.show();$keymgr.focus();}};function onBlur(e)
{$keymgr.hide();};function doNudge(e,x,y)
{if(options.allowMove){Coords.moveOffset([x,y]);Selection.updateVisible();};e.preventDefault();e.stopPropagation();};function parseKey(e)
{if(e.ctrlKey)return true;shift_down=e.shiftKey?true:false;var nudge=shift_down?10:1;switch(e.keyCode)
{case 37:doNudge(e,-nudge,0);break;case 39:doNudge(e,nudge,0);break;case 38:doNudge(e,0,-nudge);break;case 40:doNudge(e,0,nudge);break;case 27:Selection.release();break;case 9:return true;}
return nothing(e);};if(options.keySupport)$keywrap.insertBefore($img);return{watchKeys:watchKeys};}();function px(n){return''+parseInt(n)+'px';};function pct(n){return''+parseInt(n)+'%';};function cssClass(cl){return options.baseClass+'-'+cl;};function getPos(obj)
{var pos=$(obj).offset();return[pos.left,pos.top];};function mouseAbs(e)
{return[(e.pageX-docOffset[0]),(e.pageY-docOffset[1])];};function myCursor(type)
{if(type!=lastcurs)
{Tracker.setCursor(type);lastcurs=type;}};function startDragMode(mode,pos)
{docOffset=getPos($img);Tracker.setCursor(mode=='move'?mode:mode+'-resize');if(mode=='move')
return Tracker.activateHandlers(createMover(pos),doneSelect);var fc=Coords.getFixed();var opp=oppLockCorner(mode);var opc=Coords.getCorner(oppLockCorner(opp));Coords.setPressed(Coords.getCorner(opp));Coords.setCurrent(opc);Tracker.activateHandlers(dragmodeHandler(mode,fc),doneSelect);};function dragmodeHandler(mode,f)
{return function(pos){if(!options.aspectRatio)switch(mode)
{case'e':pos[1]=f.y2;break;case'w':pos[1]=f.y2;break;case'n':pos[0]=f.x2;break;case's':pos[0]=f.x2;break;}
else switch(mode)
{case'e':pos[1]=f.y+1;break;case'w':pos[1]=f.y+1;break;case'n':pos[0]=f.x+1;break;case's':pos[0]=f.x+1;break;}
Coords.setCurrent(pos);Selection.update();};};function createMover(pos)
{var lloc=pos;KeyManager.watchKeys();return function(pos)
{Coords.moveOffset([pos[0]-lloc[0],pos[1]-lloc[1]]);lloc=pos;Selection.update();};};function oppLockCorner(ord)
{switch(ord)
{case'n':return'sw';case's':return'nw';case'e':return'nw';case'w':return'ne';case'ne':return'sw';case'nw':return'se';case'se':return'nw';case'sw':return'ne';};};function createDragger(ord)
{return function(e){if(options.disabled)return false;if((ord=='move')&&!options.allowMove)return false;btndown=true;startDragMode(ord,mouseAbs(e));e.stopPropagation();e.preventDefault();return false;};};function presize($obj,w,h)
{var nw=$obj.width(),nh=$obj.height();if((nw>w)&&w>0)
{nw=w;nh=(w/$obj.width())*$obj.height();}
if((nh>h)&&h>0)
{nh=h;nw=(h/$obj.height())*$obj.width();}
xscale=$obj.width()/nw;yscale=$obj.height()/nh;$obj.width(nw).height(nh);};function unscale(c)
{return{x:parseInt(c.x*xscale),y:parseInt(c.y*yscale),x2:parseInt(c.x2*xscale),y2:parseInt(c.y2*yscale),w:parseInt(c.w*xscale),h:parseInt(c.h*yscale)};};function doneSelect(pos)
{var c=Coords.getFixed();if(c.w>options.minSelect[0]&&c.h>options.minSelect[1])
{Selection.enableHandles();Selection.done();}
else
{Selection.release();}
Tracker.setCursor(options.allowSelect?'crosshair':'default');};function newSelection(e)
{if(options.disabled)return false;if(!options.allowSelect)return false;btndown=true;docOffset=getPos($img);Selection.disableHandles();myCursor('crosshair');var pos=mouseAbs(e);Coords.setPressed(pos);Tracker.activateHandlers(selectDrag,doneSelect);KeyManager.watchKeys();Selection.update();e.stopPropagation();e.preventDefault();return false;};function selectDrag(pos)
{Coords.setCurrent(pos);Selection.update();};function newTracker()
{var trk=$('<div></div>').addClass(cssClass('tracker'));$.browser.msie&&trk.css({opacity:0,backgroundColor:'white'});return trk;};function animateTo(a)
{var x1=a[0]/xscale,y1=a[1]/yscale,x2=a[2]/xscale,y2=a[3]/yscale;if(animating)return;var animto=Coords.flipCoords(x1,y1,x2,y2);var c=Coords.getFixed();var animat=initcr=[c.x,c.y,c.x2,c.y2];var interv=options.animationDelay;var x=animat[0];var y=animat[1];var x2=animat[2];var y2=animat[3];var ix1=animto[0]-initcr[0];var iy1=animto[1]-initcr[1];var ix2=animto[2]-initcr[2];var iy2=animto[3]-initcr[3];var pcent=0;var velocity=options.swingSpeed;Selection.animMode(true);var animator=function()
{return function()
{pcent+=(100-pcent)/velocity;animat[0]=x+((pcent/100)*ix1);animat[1]=y+((pcent/100)*iy1);animat[2]=x2+((pcent/100)*ix2);animat[3]=y2+((pcent/100)*iy2);if(pcent<100)animateStart();else Selection.done();if(pcent>=99.8)pcent=100;setSelectRaw(animat);};}();function animateStart()
{window.setTimeout(animator,interv);};animateStart();};function setSelect(rect)
{setSelectRaw([rect[0]/xscale,rect[1]/yscale,rect[2]/xscale,rect[3]/yscale]);};function setSelectRaw(l)
{Coords.setPressed([l[0],l[1]]);Coords.setCurrent([l[2],l[3]]);Selection.update();};function setOptions(opt)
{if(typeof(opt)!='object')opt={};options=$.extend(options,opt);if(typeof(options.onChange)!=='function')
options.onChange=function(){};if(typeof(options.onSelect)!=='function')
options.onSelect=function(){};};function tellSelect()
{return unscale(Coords.getFixed());};function tellScaled()
{return Coords.getFixed();};function setOptionsNew(opt)
{setOptions(opt);interfaceUpdate();};function disableCrop()
{options.disabled=true;Selection.disableHandles();Selection.setCursor('default');Tracker.setCursor('default');};function enableCrop()
{options.disabled=false;interfaceUpdate();};function cancelCrop()
{Selection.done();Tracker.activateHandlers(null,null);};function destroy()
{$div.remove();$origimg.show();};function interfaceUpdate(alt)
{options.allowResize?alt?Selection.enableOnly():Selection.enableHandles():Selection.disableHandles();Tracker.setCursor(options.allowSelect?'crosshair':'default');Selection.setCursor(options.allowMove?'move':'default');$div.css('backgroundColor',options.bgColor);if('setSelect'in options){setSelect(opt.setSelect);Selection.done();delete(options.setSelect);}
if('trueSize'in options){xscale=options.trueSize[0]/boundx;yscale=options.trueSize[1]/boundy;}
xlimit=options.maxSize[0]||0;ylimit=options.maxSize[1]||0;xmin=options.minSize[0]||0;ymin=options.minSize[1]||0;if('outerImage'in options)
{$img.attr('src',options.outerImage);delete(options.outerImage);}
Selection.refresh();};$hdl_holder.hide();interfaceUpdate(true);var api={animateTo:animateTo,setSelect:setSelect,setOptions:setOptionsNew,tellSelect:tellSelect,tellScaled:tellScaled,disable:disableCrop,enable:enableCrop,cancel:cancelCrop,focus:KeyManager.watchKeys,getBounds:function(){return[boundx*xscale,boundy*yscale];},getWidgetSize:function(){return[boundx,boundy];},release:Selection.release,destroy:destroy};$origimg.data('Jcrop',api);return api;};$.fn.Jcrop=function(options)
{function attachWhenDone(from)
{var loadsrc=options.useImg||from.src;var img=new Image();img.onload=function(){$.Jcrop(from,options);};img.src=loadsrc;};if(typeof(options)!=='object')options={};this.each(function()
{if($(this).data('Jcrop'))
{if(options=='api')return $(this).data('Jcrop');else $(this).data('Jcrop').setOptions(options);}
else attachWhenDone(this);});return this;};})(jQuery);
(function(a){a.fn.asmSelect=function(b){var c={listType:"ol",sortable:false,highlight:false,animate:false,addItemTarget:"bottom",hideWhenAdded:false,debugMode:false,removeLabel:"remove",highlightAddedLabel:"Added: ",highlightRemovedLabel:"Removed: ",containerClass:"asmContainer",selectClass:"asmSelect",optionDisabledClass:"asmOptionDisabled",listClass:"asmList",listSortableClass:"asmListSortable",listItemClass:"asmListItem",listItemLabelClass:"asmListItemLabel",removeClass:"asmListItemRemove",highlightClass:"asmHighlight"};a.extend(c,b);return this.each(function(l){var z=a(this);var s;var w;var n;var o=false;var e=false;var h=false;function u(){while(a("#"+c.containerClass+l).size()>0){l++}w=a("<select></select>").addClass(c.selectClass).attr("name",c.selectClass+l).attr("id",c.selectClass+l);$selectRemoved=a("<select></select>");n=a("<"+c.listType+"></"+c.listType+">").addClass(c.listClass).attr("id",c.listClass+l);s=a("<div></div>").addClass(c.containerClass).attr("id",c.containerClass+l);v();w.change(m).click(A);z.change(q).wrap(s).before(w).before(n);if(c.sortable){x()}if(a.browser.msie&&a.browser.version<8){n.css("display","inline-block")}}function x(){n.sortable({items:"li."+c.listItemClass,handle:"."+c.listItemLabelClass,axis:"y",update:function(D,C){var B;a(this).children("li").each(function(E){$option=a("#"+a(this).attr("rel"));if(a(this).is(".ui-sortable-helper")){B=$option.attr("id");return}z.append($option)});if(B){t(B,"sort")}}}).addClass(c.listSortableClass)}function m(B){if(a.browser.msie&&a.browser.version<7&&!e){return}var C=a(this).children("option:selected").slice(0,1).attr("rel");r(C);e=false;t(C,"add")}function A(){e=true}function q(B){if(h){h=false;return}w.empty();n.empty();v();if(a.browser.opera){n.hide().fadeIn("fast")}}function v(){o=true;w.prepend("<option>"+z.attr("title")+"</option>");z.children("option").each(function(D){var C=a(this);var B;if(!C.attr("id")){C.attr("id","asm"+l+"option"+D)}B=C.attr("id");if(C.is(":selected")){r(B);i(B,true)}else{i(B)}});if(!c.debugMode){z.hide()}g();o=false}function i(D,C){if(C==undefined){var C=false}var B=a("#"+D);var E=a("<option>"+B.text()+"</option>").val(B.val()).attr("rel",D);if(C){p(E)}w.append(E)}function g(){w.children(":eq(0)").attr("selected",true)}function p(B){B.addClass(c.optionDisabledClass).attr("selected",false).attr("disabled",true);if(c.hideWhenAdded){B.hide()}if(a.browser.msie){w.hide().show()}}function f(B){B.removeClass(c.optionDisabledClass).attr("disabled",false);if(c.hideWhenAdded){B.show()}if(a.browser.msie){w.hide().show()}}function r(E){var D=a("#"+E);if(!D){return}var F=a("<a></a>").attr("href","#").addClass(c.removeClass).prepend(c.removeLabel).click(function(){k(a(this).parent("li").attr("rel"));return false});var C=a("<span></span>").addClass(c.listItemLabelClass).html(D.html());var B=a("<li></li>").attr("rel",E).addClass(c.listItemClass).append(C).append(F).hide();if(!o){if(D.is(":selected")){return}D.attr("selected",true)}if(c.addItemTarget=="top"&&!o){n.prepend(B);if(c.sortable){z.prepend(D)}}else{n.append(B);if(c.sortable){z.append(D)}}d(B);p(a("[rel="+E+"]",w));if(!o){y(B,c.highlightAddedLabel);g();if(c.sortable){n.sortable("refresh")}}}function d(B){if(c.animate&&!o){B.animate({opacity:"show",height:"show"},100,"swing",function(){B.animate({height:"+=2px"},50,"swing",function(){B.animate({height:"-=2px"},25,"swing")})})}else{B.show()}}function k(D,B){if(B==undefined){var B=true}var C=a("#"+D);C.attr("selected",false);$item=n.children("li[rel="+D+"]");j($item);f(a("[rel="+D+"]",c.removeWhenAdded?$selectRemoved:w));if(B){y($item,c.highlightRemovedLabel)}t(D,"drop")}function j(B){if(c.animate&&!o){$prevItem=B.prev("li");B.animate({opacity:"hide",height:"hide"},100,"linear",function(){$prevItem.animate({height:"-=2px"},50,"swing",function(){$prevItem.animate({height:"+=2px"},100,"swing")});B.remove()})}else{B.remove()}}function y(B,C){if(!c.highlight){return}w.next("#"+c.highlightClass+l).remove();var D=a("<span></span>").hide().addClass(c.highlightClass).attr("id",c.highlightClass+l).html(C+B.children("."+c.listItemLabelClass).slice(0,1).text());w.after(D);D.fadeIn("fast",function(){setTimeout(function(){D.fadeOut("slow")},50)})}function t(C,B){h=true;$option=a("#"+C);z.trigger("change",[{option:$option,value:$option.val(),id:C,item:n.children("[rel="+C+"]"),type:B}])}u()})}})(jQuery);
(function(a){a.tag_box={defaults:{separator:/[,]/,name:"tags[]",className:"tag"}};a.fn.extend({tag_box:function(e){e=jQuery.extend({},a.tag_box.defaults,e);e.tag_class="."+e.className;var i=this;e.tag=document.createElement("span");e.tag.className=e.className;e.tag.innerHTML='<label><span></span><input type="text" name="'+e.name+'" value=" " /><abbr title="Fechar">X</abbr></label>';j(e.tag,e);this.each(function(){var l=a(this);if(a(this).is(":input")){e.name=this.name;a(this).wrap(d.apply(this));l=l.parent().text(l.val());l.find(":input").remove()}l.click(function(m){a(this).append(f()).find(e.tag_class+":last input").focus()});if(a.trim(l.text())){var k=h(a.trim(l.text()));l.text("");a.each(k,function(){if(a.trim(this)){l.append(f(this))}})}});function d(){return'<div class="'+this.className+'"></div>'}function c(k){return k.replace(/\s/g,"&nbsp;").replace("<","&lt;")+"M"}function g(k,l){k.find("input").val(l).siblings("span").html(c(l));return k}function h(m){if(e.grouping&&m.indexOf(e.grouping)!==-1){var l=[m.indexOf(e.grouping),m.lastIndexOf(e.grouping)];if(l[0]==l[1]){return false}else{var k=new RegExp(("^"+e.grouping)+".*"+(e.grouping+"$"));if(m.match(k)&&m.match(new RegExp(e.grouping,"g")).length==2){return}else{m=b(m)}}}if(m.constructor===String){m=m.split(e.separator)}return m}function b(n){var m="";if(n.charAt(n.length-1).match(e.separator)){m=n.charAt(n.length-1)}var k=new RegExp(e.grouping+".*?"+e.grouping,"g"),l;l=n.replace(k,"").replace(/(\s)\s/g,"$1").split(e.separator);k=n.match(k);n=a.map(a.merge(k,l),function(o){if(o){return a.trim(o)}});n.push(m);return n}function f(k){var k=k||"";return a(e.tag).clone(true).find("input").val(k).attr("name",e.name).siblings("span").html(c(k)).end().end().keyup()}function j(k,l){a(k).click(function(n){n.stopPropagation();var m=a(n.target);if(m.is("abbr")){a(this).animate({width:"hide"},"fast",function(){a(this).remove()});return false}if(m.is(e.tag_class)){m.before(f());m.prev(e.tag_class).find(":input").focus()}}).find("input").blur(l.blur).keydown(l.keydown).keyup(l.keyup).blur(function(m){if(!a.trim(a(this).val())){setTimeout(function(){a(m.target).closest(e.tag_class).remove()},100)}}).keydown(function(n){if(n.keyCode==8){if(!a.trim(a(this).val())){var m=a(this).closest(e.tag_class),o=m.prev(e.tag_class);if(o.length){o.find(":input").focus();m.remove();n.preventDefault()}}}if(n.keyCode==13){n.preventDefault()}if(n.keyCode==9||n.keyCode==13){if(!n.shiftKey&&a.trim(a(this).val())&&!a(this).closest(e.tag_class).next(e.tag_class).length){var m=a(this).closest(e.tag_class).after(f());setTimeout(function(){m.next(e.tag_class).find("input").focus()},50);return false}}}).keyup(function(){var p=a(this),o=this.value;p.siblings("span").html(c(this.value));if(o.match(l.separator)){var m=h(o);if(!m){return}k=p.closest(e.tag_class);p.val(m[0]).siblings("span").html(c(m[0]));var q=[];for(var n=m.length-1;n>0;n--){q.push(a(k).after(f(m[n])).next())}q.shift().find("input").focus();if(!a.trim(m[0])){k.remove()}}})}}})}(jQuery));
(function(d){d.fn.oembed=function(l,k,j){b=d.extend(true,d.fn.oembed.defaults,k);g();return this.each(function(){var m=d(this),n=(l!=null)?l:m.attr("href"),o;if(j){b.onEmbed=j}else{b.onEmbed=function(p){d.fn.oembed.insertCode(this,b.embedMethod,p)}}if(n!=null){o=d.fn.oembed.getOEmbedProvider(n);if(o!=null){o.params=h(b[o.name])||{};o.maxWidth=b.maxWidth;o.maxHeight=b.maxHeight;a(m,n,o)}else{b.onProviderNotFound.call(m,n)}}return m})};var b,e=[];d.fn.oembed.defaults={maxWidth:null,maxHeight:null,embedMethod:"replace",defaultOEmbedProvider:"oohembed",allowedProviders:null,disallowedProviders:null,customProviders:null,defaultProvider:null,greedy:true,onProviderNotFound:function(){},beforeEmbed:function(){},afterEmbed:function(){},onEmbed:function(){},onError:function(){},ajaxOptions:{}};function i(o,n){var k=o.apiendpoint,j="",m=o.callbackparameter||"callback",l;if(k.indexOf("?")<=0){k=k+"?"}else{k=k+"&"}if(o.maxWidth!=null&&o.params.maxwidth==null){o.params.maxwidth=o.maxWidth}if(o.maxHeight!=null&&o.params.maxheight==null){o.params.maxheight=o.maxHeight}for(l in o.params){if(l==o.callbackparameter){continue}if(o.params[l]!=null){j+="&"+escape(l)+"="+o.params[l]}}k+="format=json&url="+escape(n)+j+"&"+m+"=?";return k}function a(j,n,l){var m=i(l,n),k=d.extend({url:m,type:"get",dataType:"json",success:function(p){var o=d.extend({},p);switch(o.type){case"photo":o.code=d.fn.oembed.getPhotoCode(n,o);break;case"video":o.code=d.fn.oembed.getVideoCode(n,o);break;case"rich":o.code=d.fn.oembed.getRichCode(n,o);break;default:o.code=d.fn.oembed.getGenericCode(n,o);break}b.beforeEmbed.call(j,o);b.onEmbed.call(j,o);b.afterEmbed.call(j,o)},error:b.onError.call(j,n,l)},b.ajaxOptions||{});d.ajax(k)}function g(){e=[];var m,j=[],k,l;if(!c(b.allowedProviders)){for(k=0;k<d.fn.oembed.providers.length;k++){if(d.inArray(d.fn.oembed.providers[k].name,b.allowedProviders)>=0){e.push(d.fn.oembed.providers[k])}}b.greedy=false}else{e=d.fn.oembed.providers}if(!c(b.disallowedProviders)){for(k=0;k<e.length;k++){if(d.inArray(e[k].name,b.disallowedProviders)<0){j.push(e[k])}}e=j;b.greedy=false}if(!c(b.customProviders)){d.each(b.customProviders,function(p,o){if(o instanceof d.fn.oembed.OEmbedProvider){e.push(l)}else{l=new d.fn.oembed.OEmbedProvider();if(l.fromJSON(o)){e.push(l)}}})}m=f(b.defaultOEmbedProvider);if(b.greedy==true){e.push(m)}for(k=0;k<e.length;k++){if(e[k].apiendpoint==null){e[k].apiendpoint=m.apiendpoint}}}function f(j){var k="http://oohembed.com/oohembed/";if(j=="embed.ly"){k="http://api.embed.ly/v1/api/oembed?"}return new d.fn.oembed.OEmbedProvider(j,null,null,k,"callback")}function h(l){if(l==null){return null}var j,k={};for(j in l){if(j!=null){k[j.toLowerCase()]=l[j]}}return k}function c(j){if(typeof j=="undefined"){return true}if(j==null){return true}if(d.isArray(j)&&j.length==0){return true}return false}d.fn.oembed.insertCode=function(j,l,k){if(k==null){return}switch(l){case"auto":if(j.attr("href")!=null){d.fn.oembed.insertCode(j,"append",k)}else{d.fn.oembed.insertCode(j,"replace",k)}break;case"replace":j.replaceWith(k.code);break;case"fill":j.html(k.code);break;case"append":var m=j.next();if(m==null||!m.hasClass("oembed-container")){m=j.after('<div class="oembed-container"></div>').next(".oembed-container");if(k!=null&&k.provider_name!=null){m.toggleClass("oembed-container-"+k.provider_name)}}m.html(k.code);break}};d.fn.oembed.getPhotoCode=function(j,k){var l,m=k.title?k.title:"";m+=k.author_name?" - "+k.author_name:"";m+=k.provider_name?" - "+k.provider_name:"";l='<div><a href="'+j+"\" target='_blank'><img src=\""+k.url+'" alt="'+m+'"/></a></div>';if(k.html){l+="<div>"+k.html+"</div>"}return l};d.fn.oembed.getVideoCode=function(j,k){var l=k.html;return l};d.fn.oembed.getRichCode=function(j,k){var l=k.html;return l};d.fn.oembed.getGenericCode=function(j,k){var m=(k.title!=null)?k.title:j,l='<a href="'+j+'">'+m+"</a>";if(k.html){l+="<div>"+k.html+"</div>"}return l};d.fn.oembed.isProviderAvailable=function(j){var k=getOEmbedProvider(j);return(k!=null)};d.fn.oembed.getOEmbedProvider=function(j){for(var k=0;k<e.length;k++){if(e[k].matches(j)){return e[k]}}return null};d.fn.oembed.OEmbedProvider=function(k,p,l,m,n){this.name=k;this.type=p;this.urlschemes=j(l);this.apiendpoint=m;this.callbackparameter=n;this.maxWidth=500;this.maxHeight=400;var o,r,q;this.matches=function(s){for(o=0;o<this.urlschemes.length;o++){q=new RegExp(this.urlschemes[o],"i");if(s.match(q)!=null){return true}}return false};this.fromJSON=function(s){for(r in s){if(r!="urlschemes"){this[r]=s[r]}else{this[r]=j(s[r])}}return true};function j(s){if(c(s)){return["."]}if(d.isArray(s)){return s}return s.split(";")}};d.fn.oembed.providers=[new d.fn.oembed.OEmbedProvider("youtube","video",["youtube\\.com/watch.+v=[\\w-]+&?"]),new d.fn.oembed.OEmbedProvider("flickr","photo",["flickr\\.com/photos/[-.\\w@]+/\\d+/?"],"http://flickr.com/services/oembed","jsoncallback"),new d.fn.oembed.OEmbedProvider("viddler","video",["viddler.com"]),new d.fn.oembed.OEmbedProvider("blip","video",["blip\\.tv/.+"],"http://blip.tv/oembed/"),new d.fn.oembed.OEmbedProvider("hulu","video",["hulu\\.com/watch/.*"],"http://www.hulu.com/api/oembed.json"),new d.fn.oembed.OEmbedProvider("vimeo","video",["http://www.vimeo.com/groups/.*/videos/.*","http://www.vimeo.com/.*","http://vimeo.com/groups/.*/videos/.*","http://vimeo.com/.*"],"http://vimeo.com/api/oembed.json"),new d.fn.oembed.OEmbedProvider("dailymotion","video",["dailymotion\\.com/.+"]),new d.fn.oembed.OEmbedProvider("scribd","rich",["scribd\\.com/.+"]),new d.fn.oembed.OEmbedProvider("slideshare","rich",["slideshare.net"],"http://www.slideshare.net/api/oembed/1"),new d.fn.oembed.OEmbedProvider("photobucket","photo",["photobucket\\.com/(albums|groups)/.*"],"http://photobucket.com/oembed/")]})(jQuery);
$(document).ready(function(){$("li.abuse a").live("click",function(){$.fancybox({padding:0,autoScale:false,transitionIn:"none",transitionOut:"none",title:this.title,centerOnScroll:true,width:680,height:495,href:"/popup/abuse",onComplete:function(){$("#abuseform #name").focus()},onCleanup:function(){$("#abuseform").validate().resetForm()}})});$("li.feedback a").live("click",function(){$.fancybox({padding:0,autoScale:false,transitionIn:"none",transitionOut:"none",title:this.title,centerOnScroll:true,width:680,height:495,href:"/popup/feedback",onComplete:function(){},onCleanup:function(){}})});$("li.share a").live("click",function(){$.fancybox({padding:0,autoScale:false,transitionIn:"none",transitionOut:"none",title:this.title,centerOnScroll:true,width:680,height:495,href:"/popup/share"})});$("li.sendto a").live("click",function(){$.fancybox({padding:0,autoScale:false,transitionIn:"none",transitionOut:"none",title:this.title,centerOnScroll:true,width:680,height:495,href:"/popup/sendto",onComplete:function(){$("#sendtobox #name").focus()},onCleanup:function(){$("#list").empty()}})});$("#newsletter").validate({errorClass:"validation-error",rules:{email:{email:true,required:true}},messages:{email:{email:"",required:""}},highlight:function(b,a){$(b).addClass(a);$(b.form).find("label[for="+b.id+" .field-validation-error]").fadeIn()},unhighlight:function(b,a){$(b).removeClass(a);$(b.form).find("label[for="+b.id+" .field-validation-error]").fadeOut()}})});(function(c){var e,d=1;var b;c.loading=function(){};c.loading.showActivity=function(){clearInterval(e);b.show();e=setInterval(a,66)};c.loading.hideActivity=function(){b.hide()};function a(){if(!b.is(":visible")){clearInterval(e);return}c("div",b).css("top",(d*-40)+"px");d=(d+1)%12}c(document).ready(function(){c("body").append(b=c('<div id="loading2"><div></div></div>'))})})(jQuery);(function(b){var a=null;b.fn.autogrow=function(c){return this.each(function(){new b.autogrow(this,c)})};b.autogrow=function(c,d){this.options=d||{};this.dummy=null;this.interval=null;this.line_height=this.options.lineHeight||parseInt(b(c).css("line-height"));this.min_height=this.options.minHeight||parseInt(b(c).css("min-height"));this.max_height=this.options.maxHeight||parseInt(b(c).css("max-height"));this.textarea=b(c);if(this.line_height==NaN){this.line_height=0}this.init()};b.autogrow.fn=b.autogrow.prototype={autogrow:"1.2.2"};b.autogrow.fn.extend=b.autogrow.extend=b.extend;b.autogrow.fn.extend({init:function(){var c=this;this.textarea.css({overflow:"hidden",display:"block"});this.textarea.bind("focus",function(){c.startExpand()}).bind("blur",function(){c.stopExpand()});this.checkExpand()},startExpand:function(){var c=this;this.interval=window.setInterval(function(){c.checkExpand()},400)},stopExpand:function(){clearInterval(this.interval)},checkExpand:function(){if(this.dummy==null){this.dummy=b("<div></div>");this.dummy.css({"font-size":this.textarea.css("font-size"),"font-family":this.textarea.css("font-family"),width:this.textarea.css("width"),padding:this.textarea.css("padding"),"line-height":this.line_height+"px","overflow-x":"hidden",position:"absolute",top:0,left:-9999}).appendTo("body")}var c=this.textarea.val().replace(/(<|>)/g,"");if($.browser.msie){c=c.replace(/\n/g,"<BR>new")}else{c=c.replace(/\n/g,"<br>new")}if(this.dummy.html()!=c){this.dummy.html(c);if(this.max_height>0&&(this.dummy.height()+this.line_height>this.max_height)){this.textarea.css("overflow-y","auto")}else{this.textarea.css("overflow-y","hidden");if(this.textarea.height()<this.dummy.height()+this.line_height||(this.dummy.height()<this.textarea.height())){this.textarea.animate({height:(this.dummy.height()+this.line_height)+"px"},100)}}}}})})(jQuery);var Cufon=(function(){var P=function(){return P.replace.apply(null,arguments)};var D=P.DOM={ready:(function(){var c=false,a={loaded:1,complete:1};var d=[],b=function(){if(c){return}c=true;for(var e;e=d.shift();e()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",b,false);window.addEventListener("pageshow",b,false)}if(!window.opera&&document.readyState){(function(){a[document.readyState]?b():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");b()}catch(e){setTimeout(arguments.callee,1)}})()}K(window,"load",b);return function(e){if(!arguments.length){b()}else{c?e():d.push(e)}}})(),root:function(){return document.documentElement||document.body}};var O=P.CSS={Size:function(a,b){this.value=parseFloat(a);this.unit=String(a).match(/[a-z%]*$/)[0]||"px";this.convert=function(c){return c/b*this.value};this.convertFrom=function(c){return c/this.value*b};this.toString=function(){return this.value+this.unit}},addClass:function(b,c){var a=b.className;b.className=a+(a&&" ")+c;return b},color:S(function(a){var b={};b.color=a.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(d,e,c){b.opacity=parseFloat(c);return"rgb("+e+")"});return b}),fontStretch:S(function(a){if(typeof a=="number"){return a}if(/%$/.test(a)){return parseFloat(a)/100}return{"ultra-condensed":0.5,"extra-condensed":0.625,condensed:0.75,"semi-condensed":0.875,"semi-expanded":1.125,expanded:1.25,"extra-expanded":1.5,"ultra-expanded":2}[a]||1}),getStyle:function(a){var b=document.defaultView;if(b&&b.getComputedStyle){return new ab(b.getComputedStyle(a,null))}if(a.currentStyle){return new ab(a.currentStyle)}return new ab(a.style)},gradient:S(function(b){var a={id:b,type:b.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},e=b.substr(b.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var c=0,f=e.length,d;c<f;++c){d=e[c].split("=",2).reverse();a.stops.push([d[1]||c/(f-1),d[0]])}return a}),quotedList:S(function(a){var b=[],c=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,d;while(d=c.exec(a)){b.push(d[3]||d[1])}return b}),recognizesMedia:S(function(a){var c=document.createElement("style"),d,e,f;c.type="text/css";c.media=a;try{c.appendChild(document.createTextNode("/**/"))}catch(b){}e=V("head")[0];e.insertBefore(c,e.firstChild);d=(c.sheet||c.styleSheet);f=d&&!d.disabled;e.removeChild(c);return f}),removeClass:function(a,b){var c=RegExp("(?:^|\\s+)"+b+"(?=\\s|$)","g");a.className=a.className.replace(c,"");return a},supports:function(a,b){var c=document.createElement("span").style;if(c[a]===undefined){return false}c[a]=b;return c[a]===b},textAlign:function(a,b,d,c){if(b.get("textAlign")=="right"){if(d>0){a=" "+a}}else{if(d<c-1){a+=" "}}return a},textShadow:S(function(b){if(b=="none"){return null}var c=[],a={},f,e=0;var d=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(f=d.exec(b)){if(f[0]==","){c.push(a);a={};e=0}else{if(f[1]){a.color=f[1]}else{a[["offX","offY","blur"][e++]]=f[2]}}}c.push(a);return c}),textTransform:(function(){var a={uppercase:function(b){return b.toUpperCase()},lowercase:function(b){return b.toLowerCase()},capitalize:function(b){return b.replace(/\b./g,function(c){return c.toUpperCase()})}};return function(b,c){var d=a[c.get("textTransform")];return d?d(b):b}})(),whiteSpace:(function(){var a={inline:1,"inline-block":1,"run-in":1};var b=/^\s+/,c=/\s+$/;return function(d,f,e,g){if(g){if(g.nodeName.toLowerCase()=="br"){d=d.replace(b,"")}}if(a[f.get("display")]){return d}if(!e.previousSibling){d=d.replace(b,"")}if(!e.nextSibling){d=d.replace(c,"")}return d}})()};O.ready=(function(){var c=!O.recognizesMedia("all"),i=false;var a=[],f=function(){c=true;for(var j;j=a.shift();j()){}};var e=V("link"),d=V("style");function b(j){return j.disabled||g(j.sheet,j.media||"screen")}function g(p,m){if(!O.recognizesMedia(m||"all")){return true}if(!p||p.disabled){return false}try{var l=p.cssRules,n;if(l){search:for(var j=0,k=l.length;n=l[j],j<k;++j){switch(n.type){case 2:break;case 3:if(!g(n.styleSheet,n.media.mediaText)){return false}break;default:break search}}}}catch(o){}return true}function h(){if(document.createStyleSheet){return true}var j,k;for(k=0;j=e[k];++k){if(j.rel.toLowerCase()=="stylesheet"&&!b(j)){return false}}for(k=0;j=d[k];++k){if(!b(j)){return false}}return true}D.ready(function(){if(!i){i=O.getStyle(document.body).isUsable()}if(c||(i&&h())){f()}else{setTimeout(arguments.callee,10)}});return function(j){if(c){j()}else{a.push(j)}}})();function I(a){var b=this.face=a.face,c={"\u0020":1,"\u00a0":1,"\u3000":1};this.glyphs=a.glyphs;this.w=a.w;this.baseSize=parseInt(b["units-per-em"],10);this.family=b["font-family"].toLowerCase();this.weight=b["font-weight"];this.style=b["font-style"]||"normal";this.viewBox=(function(){var d=b.bbox.split(/\s+/);var e={minX:parseInt(d[0],10),minY:parseInt(d[1],10),maxX:parseInt(d[2],10),maxY:parseInt(d[3],10)};e.width=e.maxX-e.minX;e.height=e.maxY-e.minY;e.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")};return e})();this.ascent=-parseInt(b.ascent,10);this.descent=-parseInt(b.descent,10);this.height=-this.ascent+this.descent;this.spacing=function(h,f,o){var e=this.glyphs,g,i,m,d=[],n=0,j=-1,k=-1,l;while(l=h[++j]){g=e[l]||this.missingGlyph;if(!g){continue}if(i){n-=m=i[l]||0;d[k]-=m}n+=d[++k]=~~(g.w||this.w)+f+(c[l]?o:0);i=g.k}d.total=n;return d}}function W(){var a={},b={oblique:"italic",italic:"oblique"};this.add=function(c){(a[c.style]||(a[c.style]={}))[c.weight]=c};this.get=function(f,e){var g=a[f]||a[b[f]]||a.normal||a.italic||a.oblique;if(!g){return null}e={normal:400,bold:700}[e]||parseInt(e,10);if(g[e]){return g[e]}var i={1:1,99:0}[e%100],c=[],h,j;if(i===undefined){i=e>400}if(e==500){e=400}for(var d in g){if(!R(g,d)){continue}d=parseInt(d,10);if(!h||d<h){h=d}if(!j||d>j){j=d}c.push(d)}if(e<h){e=h}if(e>j){e=j}c.sort(function(l,k){return(i?(l>=e&&k>=e)?l<k:l>k:(l<=e&&k<=e)?l>k:l<k)?-1:1});return g[c[0]]}}function J(){function b(f,e){if(f.contains){return f.contains(e)}return f.compareDocumentPosition(e)&16}function d(e){var f=e.relatedTarget;if(!f||b(this,f)){return}c(this,e.type=="mouseover")}function a(e){c(this,e.type=="mouseenter")}function c(f,e){setTimeout(function(){var g=Y.get(f).options;P.replace(f,e?U(g,g.hover):g,true)},10)}this.attach=function(e){if(e.onmouseenter===undefined){K(e,"mouseover",d);K(e,"mouseout",d)}else{K(e,"mouseenter",a);K(e,"mouseleave",a)}}}function G(){var b=[],a={};function c(d){var g=[],e;for(var f=0;e=d[f];++f){g[f]=b[a[e]]}return g}this.add=function(d,e){a[d]=b.push(e)-1};this.repeat=function(){var f=arguments.length?c(arguments):b,e;for(var d=0;e=f[d++];){P.replace(e[0],e[1],true)}}}function M(){var a={},c=0;function b(d){return d.cufid||(d.cufid=++c)}this.get=function(e){var d=b(e);return a[d]||(a[d]={})}}function ab(c){var a={},b={};this.extend=function(e){for(var d in e){if(R(e,d)){a[d]=e[d]}}return this};this.get=function(d){return a[d]!=undefined?a[d]:c[d]};this.getSize=function(d,e){return b[d]||(b[d]=new O.Size(this.get(d),e))};this.isUsable=function(){return !!c}}function K(b,c,a){if(b.addEventListener){b.addEventListener(c,a,false)}else{if(b.attachEvent){b.attachEvent("on"+c,function(){return a.call(b,window.event)})}}}function F(b,c){var a=Y.get(b);if(a.options){return b}if(c.hover&&c.hoverables[b.nodeName.toLowerCase()]){aa.attach(b)}a.options=c;return b}function S(b){var a={};return function(c){if(!R(a,c)){a[c]=b.apply(null,arguments)}return a[c]}}function Z(a,b){var e=O.quotedList(b.get("fontFamily").toLowerCase()),c;for(var d=0;c=e[d];++d){if(T[c]){return T[c].get(b.get("fontStyle"),b.get("fontWeight"))}}return null}function V(a){return document.getElementsByTagName(a)}function R(a,b){return a.hasOwnProperty(b)}function U(){var d={},e,a;for(var b=0,c=arguments.length;e=arguments[b],b<c;++b){for(a in e){if(R(e,a)){d[a]=e[a]}}}return d}function N(m,e,b,d,l,a){var g=document.createDocumentFragment(),j;if(e===""){return g}var f=d.separate;var i=e.split(L[f]),c=(f=="words");if(c&&H){if(/^\s/.test(e)){i.unshift("")}if(/\s$/.test(e)){i.push("")}}for(var h=0,k=i.length;h<k;++h){j=B[d.engine](m,c?O.textAlign(i[h],b,h,k):i[h],b,d,l,a,h<k-1);if(j){g.appendChild(j)}}return g}function Q(a,d){var b=a.nodeName.toLowerCase();if(d.ignore[b]){return}var l=!d.textless[b];var c=O.getStyle(F(a,d)).extend(d);var k=Z(a,c),j,f,h,i,e,g;if(!k){return}for(j=a.firstChild;j;j=h){f=j.nodeType;h=j.nextSibling;if(l&&f==3){if(i){i.appendData(j.data);a.removeChild(j)}else{i=j}if(h){continue}}if(i){a.replaceChild(N(k,O.whiteSpace(i.data,c,i,g),c,d,j,a),i);i=null}if(f==1){if(j.firstChild){if(j.nodeName.toLowerCase()=="cufon"){B[d.engine](k,null,c,d,j,a)}else{arguments.callee(j,d)}}g=j}}}var H=" ".split(/\s+/).length==0;var Y=new M();var aa=new J();var C=new G();var X=false;var B={},T={},E={autoDetect:false,engine:null,forceHitArea:false,hover:false,hoverables:{a:true},ignore:{applet:1,canvas:1,col:1,colgroup:1,head:1,iframe:1,map:1,optgroup:1,option:1,script:1,select:1,style:1,textarea:1,title:1,pre:1},printable:true,selector:(window.Sizzle||(window.jQuery&&function(a){return jQuery(a)})||(window.dojo&&dojo.query)||(window.Ext&&Ext.query)||(window.YAHOO&&YAHOO.util&&YAHOO.util.Selector&&YAHOO.util.Selector.query)||(window.$$&&function(a){return $$(a)})||(window.$&&function(a){return $(a)})||(document.querySelectorAll&&function(a){return document.querySelectorAll(a)})||V),separate:"words",textless:{dl:1,html:1,ol:1,table:1,tbody:1,thead:1,tfoot:1,tr:1,ul:1},textShadow:"none"};var L={words:/\s/.test("\u00a0")?/[^\S\u00a0]+/:/\s+/,characters:"",none:/^/};P.now=function(){D.ready();return P};P.refresh=function(){C.repeat.apply(C,arguments);return P};P.registerEngine=function(a,b){if(!b){return P}B[a]=b;return P.set("engine",a)};P.registerFont=function(a){if(!a){return P}var c=new I(a),b=c.family;if(!T[b]){T[b]=new W()}T[b].add(c);return P.set("fontFamily",'"'+b+'"')};P.replace=function(a,b,c){b=U(E,b);if(!b.engine){return P}if(!X){O.addClass(D.root(),"cufon-active cufon-loading");O.ready(function(){O.addClass(O.removeClass(D.root(),"cufon-loading"),"cufon-ready")});X=true}if(b.hover){b.forceHitArea=true}if(b.autoDetect){delete b.fontFamily}if(typeof b.textShadow=="string"){b.textShadow=O.textShadow(b.textShadow)}if(typeof b.color=="string"&&/^-/.test(b.color)){b.textGradient=O.gradient(b.color)}else{delete b.textGradient}if(!c){C.add(a,arguments)}if(a.nodeType||typeof a=="string"){a=[a]}O.ready(function(){for(var e=0,f=a.length;e<f;++e){var d=a[e];if(typeof d=="string"){P.replace(b.selector(d),b,true)}else{Q(d,b)}}});return P};P.set=function(b,a){E[b]=a;return P};return P})();Cufon.registerEngine("canvas",(function(){var g=document.createElement("canvas");if(!g||!g.getContext||!g.getContext.apply){return}g=null;var h=Cufon.CSS.supports("display","inline-block");var j=!h&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId));var i=document.createElement("style");i.type="text/css";i.appendChild(document.createTextNode(("cufon{text-indent:0;}@media screen,projection{cufon{display:inline;display:inline-block;position:relative;vertical-align:middle;"+(j?"":"font-size:1px;line-height:1px;")+"}cufon cufontext{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;text-indent:-10000in;}"+(h?"cufon canvas{position:relative;}":"cufon canvas{position:absolute;}")+"}@media print{cufon{padding:0;}cufon canvas{display:none;}}").replace(/;/g,"!important;")));document.getElementsByTagName("head")[0].appendChild(i);function k(a,r){var c=0,d=0;var s=[],b=/([mrvxe])([^a-z]*)/g,f;generate:for(var q=0;f=b.exec(a);++q){var e=f[2].split(",");switch(f[1]){case"v":s[q]={m:"bezierCurveTo",a:[c+~~e[0],d+~~e[1],c+~~e[2],d+~~e[3],c+=~~e[4],d+=~~e[5]]};break;case"r":s[q]={m:"lineTo",a:[c+=~~e[0],d+=~~e[1]]};break;case"m":s[q]={m:"moveTo",a:[c=~~e[0],d=~~e[1]]};break;case"x":s[q]={m:"closePath"};break;case"e":break generate}r[s[q].m].apply(r,s[q].a)}return s}function l(a,b){for(var c=0,d=a.length;c<d;++c){var e=a[c];b[e.m].apply(b,e.a)}}return function(e,aw,ad,az,aq,d){var aH=(aw===null);if(aH){aw=aq.getAttribute("alt")}var at=e.viewBox;var aG=ad.getSize("fontSize",e.baseSize);var ar=0,ae=0,af=0,ay=0;var av=az.textShadow,ah=[];if(av){for(var f=av.length;f--;){var an=av[f];var ai=aG.convertFrom(parseFloat(an.offX));var ak=aG.convertFrom(parseFloat(an.offY));ah[f]=[ai,ak];if(ak<ar){ar=ak}if(ai>ae){ae=ai}if(ak>af){af=ak}if(ai<ay){ay=ai}}}var a=Cufon.CSS.textTransform(aw,ad).split("");var ao=e.spacing(a,~~aG.convertFrom(parseFloat(ad.get("letterSpacing"))||0),~~aG.convertFrom(parseFloat(ad.get("wordSpacing"))||0));if(!ao.length){return null}var aJ=ao.total;ae+=at.width-ao[ao.length-1];ay+=at.minX;var aA,aF;if(aH){aA=aq;aF=aq.firstChild}else{aA=document.createElement("cufon");aA.className="cufon cufon-canvas";aA.setAttribute("alt",aw);aF=document.createElement("canvas");aA.appendChild(aF);if(az.printable){var y=document.createElement("cufontext");y.appendChild(document.createTextNode(aw));aA.appendChild(y)}}var au=aA.style;var al=aF.style;var aI=aG.convert(at.height);var b=Math.ceil(aI);var ag=b/aI;var am=ag*Cufon.CSS.fontStretch(ad.get("fontStretch"));var aj=aJ*am;var ac=Math.ceil(aG.convert(aj+ae-ay));var aE=Math.ceil(aG.convert(at.height-ar+af));aF.width=ac;aF.height=aE;al.width=ac+"px";al.height=aE+"px";ar+=at.minY;al.top=Math.round(aG.convert(ar-e.ascent))+"px";al.left=Math.round(aG.convert(ay))+"px";var aB=Math.max(Math.ceil(aG.convert(aj)),0)+"px";if(h){au.width=aB;au.height=aG.convert(e.height)+"px"}else{au.paddingLeft=aB;au.paddingBottom=(aG.convert(e.height)-1)+"px"}var c=aF.getContext("2d"),ap=aI/at.height;c.scale(ap,ap*ag);c.translate(-ay,-ar);c.save();function x(){var m=e.glyphs,p,n=-1,o=-1,q;c.scale(am,1);while(q=a[++n]){var p=m[a[n]]||e.missingGlyph;if(!p){continue}if(p.d){c.beginPath();if(p.code){l(p.code,c)}else{p.code=k("m"+p.d,c)}c.fill()}c.translate(ao[++o],0)}c.restore()}if(av){for(var f=av.length;f--;){var an=av[f];c.save();c.fillStyle=an.color;c.translate.apply(c,ah[f]);x()}}var aC=az.textGradient;if(aC){var ax=aC.stops,aD=c.createLinearGradient(0,at.minY,0,at.maxY);for(var f=0,ab=ax.length;f<ab;++f){aD.addColorStop.apply(aD,ax[f])}c.fillStyle=aD}else{c.fillStyle=ad.get("color")}x();return aA}})());Cufon.registerEngine("vml",(function(){var n=document.namespaces;if(!n){return}n.add("cvml","urn:schemas-microsoft-com:vml");n=null;var i=document.createElement("cvml:shape");i.style.behavior="url(#default#VML)";if(!i.coordsize){return}i=null;var k=(document.documentMode||0)<8;document.write(('<style type="text/css">cufoncanvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}cufoncanvas{position:absolute;text-align:left;}cufon{display:inline-block;position:relative;vertical-align:'+(k?"middle":"text-bottom")+";}cufon cufontext{position:absolute;left:-10000in;font-size:1px;}a cufon{cursor:pointer}}@media print{cufon cufoncanvas{display:none;}}</style>").replace(/;/g,"!important;"));function p(b,a){return j(b,/(?:em|ex|%)$|^[a-z-]+$/i.test(a)?"1em":a)}function j(b,a){if(a==="0"){return 0}if(/px$/i.test(a)){return parseFloat(a)}var c=b.style.left,d=b.runtimeStyle.left;b.runtimeStyle.left=b.currentStyle.left;b.style.left=a.replace("%","em");var e=b.style.pixelLeft;b.style.left=c;b.runtimeStyle.left=d;return e}function m(b,c,d,f){var e="computed"+f,a=c[e];if(isNaN(a)){a=c.get(f);c[e]=a=(a=="normal")?0:~~d.convertFrom(j(b,a))}return a}var l={};function o(e){var d=e.id;if(!l[d]){var g=e.stops,f=document.createElement("cvml:fill"),c=[];f.type="gradient";f.angle=180;f.focus="0";f.method="sigma";f.color=g[0][1];for(var a=1,b=g.length-1;a<b;++a){c.push(g[a][0]*100+"% "+g[a][1])}f.colors=c.join(",");f.color2=g[b][1];l[d]=f}return l[d]}return function(aH,ax,b,aF,aq,aE,d){var aX=(ax===null);if(aX){ax=aq.alt}var at=aH.viewBox;var aV=b.computedFontSize||(b.computedFontSize=new Cufon.CSS.Size(p(aE,b.get("fontSize"))+"px",aH.baseSize));var aM,aU;if(aX){aM=aq;aU=aq.firstChild}else{aM=document.createElement("cufon");aM.className="cufon cufon-vml";aM.alt=ax;aU=document.createElement("cufoncanvas");aM.appendChild(aU);if(aF.printable){var a=document.createElement("cufontext");a.appendChild(document.createTextNode(ax));aM.appendChild(a)}if(!d){aM.appendChild(document.createElement("cvml:shape"))}}var au=aM.style;var aj=aU.style;var aZ=aV.convert(at.height),aB=Math.ceil(aZ);var e=aB/aZ;var al=e*Cufon.CSS.fontStretch(b.get("fontStretch"));var f=at.minX,g=at.minY;aj.height=aB;aj.top=Math.round(aV.convert(g-aH.ascent));aj.left=Math.round(aV.convert(f));au.height=aV.convert(aH.height)+"px";var az=b.get("color");var ay=Cufon.CSS.textTransform(ax,b).split("");var ap=aH.spacing(ay,m(aE,b,aV,"letterSpacing"),m(aE,b,aV,"wordSpacing"));if(!ap.length){return null}var a0=ap.total;var aN=-f+a0+(at.width-ap[ap.length-1]);var aw=aV.convert(aN*al),c=Math.round(aw);var am=aN+","+at.height,aY;var ar="r"+am+"ns";var aQ=aF.textGradient&&o(aF.textGradient);var aW=aH.glyphs,h=0;var av=aF.textShadow;var aJ=-1,aK=0,aO;while(aO=ay[++aJ]){var aD=aW[ay[aJ]]||aH.missingGlyph,aP;if(!aD){continue}if(aX){aP=aU.childNodes[aK];while(aP.firstChild){aP.removeChild(aP.firstChild)}}else{aP=document.createElement("cvml:shape");aU.appendChild(aP)}aP.stroked="f";aP.coordsize=am;aP.coordorigin=aY=(f-h)+","+g;aP.path=(aD.d?"m"+aD.d+"xe":"")+"m"+aY+ar;aP.fillcolor=az;if(aQ){aP.appendChild(aQ.cloneNode(false))}var aC=aP.style;aC.width=c;aC.height=aB;if(av){var aS=av[0],aT=av[1];var aG=Cufon.CSS.color(aS.color),aL;var an=document.createElement("cvml:shadow");an.on="t";an.color=aG.color;an.offset=aS.offX+","+aS.offY;if(aT){aL=Cufon.CSS.color(aT.color);an.type="double";an.color2=aL.color;an.offset2=aT.offX+","+aT.offY}an.opacity=aG.opacity||(aL&&aL.opacity)||1;aP.appendChild(an)}h+=ap[aK++]}var ao=aP.nextSibling,aR,aI;if(aF.forceHitArea){if(!ao){ao=document.createElement("cvml:rect");ao.stroked="f";ao.className="cufon-vml-cover";aR=document.createElement("cvml:fill");aR.opacity=0;ao.appendChild(aR);aU.appendChild(ao)}aI=ao.style;aI.width=c;aI.height=aB}else{if(ao){aU.removeChild(ao)}}au.width=Math.max(Math.ceil(aV.convert(a0*al)),0);if(k){var ak=b.computedYAdjust;if(ak===undefined){var aA=b.get("lineHeight");if(aA=="normal"){aA="1em"}else{if(!isNaN(aA)){aA+="em"}}b.computedYAdjust=ak=0.5*(j(aE,aA)-parseFloat(au.height))}if(ak){au.marginTop=Math.ceil(ak)+"px";au.marginBottom=ak+"px"}}return aM}})());
/*
* The following copyright notice may not be removed under any circumstances.
* 
* Copyright:
* Â© Copyright 1998, Neufville Digital. ALL RIGHTS RESERVED. This font is
* licensed, not sold, and may not be reproduced without the written consent of
* Neufville Digital. Parts Â© Visualogik Technology & Design, 1998.
* 
* Trademark:
* Futura is a registered trademark of Bauer Types SA. Unauthorised use
* prohibited. ALL RIGHTS RESERVED. Neufville Digital is a trademark of Visualogik,
* used with the permission of Neufville SL.
* 
* Description:
* Paul Renner (1878-1956) was a painter, typographer, typeface designer and
* teacher. Between 1908 and 1917 he designed thousands of books for Munich
* publishers in a refined traditional style. In the early 1920s he began to
* support the modern styles of architecture and typography, becoming a leading
* proponent of the New Typography. Renner is best known for designing the typeface
* Futura, which became a standard tool for the New Typography, and remains a
* popular typeface today.  Futura does give a restful, almost bland impression,
* which accords with Renner's objectives. Futura seems classical, not only due to
* the form of its capitals, but also to the open, wide forms of the geometrical
* small letters. The typeface relies on notions of classical, yet contemporary
* form, - harmony and evenness of texture. Thanks to the modern digital technology
* Futura lives on in a greater variety than ever, offering a wide choice of
* typographic solutions for contemporary design in the new millennium.
* 
* Designer:
* Paul Renner (1928)
* 
* Vendor URL:
* http://www.neufville.com
*/
Cufon.registerFont({w:149,face:{"font-family":"Futura","font-weight":500,"font-stretch":"condensed","units-per-em":"360","panose-1":"2 11 5 6 2 2 4 3 2 4",ascent:"288",descent:"-72","x-height":"3",bbox:"-17 -303 256 79","underline-thickness":"24.6094","underline-position":"-26.3672","unicode-range":"U+0020-U+007E"},glyphs:{" ":{w:74},"!":{d:"28,-19v0,-12,11,-21,22,-22v12,0,22,10,22,22v0,12,-10,21,-22,21v-12,0,-22,-10,-22,-21xm33,-271r35,0r0,206r-35,0r0,-206",w:100},'"':{d:"50,-165r-26,0r-8,-106r41,0xm112,-165r-26,0r-7,-106r41,0",w:135},"#":{d:"136,-117r0,30r-29,0r-11,87r-29,0r11,-87r-23,0r-11,87r-28,0r10,-87r-25,0r0,-30r29,0r5,-43r-25,0r0,-30r29,0r10,-81r29,0r-10,81r23,0r10,-81r29,0r-10,81r28,0r0,30r-32,0r-5,43r25,0xm87,-160r-23,0r-5,43r23,0"},"$":{d:"25,-156v-29,-39,-12,-119,41,-119r0,-24r16,0r0,24v31,4,45,14,53,41r-28,14v-4,-17,-14,-26,-31,-26v-20,0,-31,13,-31,38v0,64,100,55,93,133v-5,47,-12,71,-56,77r0,25r-16,0r0,-25v-32,-4,-43,-14,-53,-42r30,-14v10,36,63,33,60,-16v-2,-35,-10,-34,-37,-52v-21,-14,-35,-25,-41,-34"},"%":{d:"51,-272v33,0,39,27,40,65v0,42,-14,63,-40,63v-32,0,-38,-26,-38,-64v0,-38,6,-64,38,-64xm52,-165v22,-4,21,-81,0,-85v-22,3,-21,81,0,85xm160,-271r23,0r-135,271r-22,0xm157,4v-31,0,-38,-26,-38,-64v0,-43,13,-64,38,-64v26,0,39,22,39,65v0,42,-13,63,-39,63xm157,-102v-22,3,-20,83,0,85v10,0,15,-14,15,-42v-1,-23,1,-41,-15,-43",w:208},"&":{d:"136,-204v-1,35,-21,53,-40,73r35,58r23,-31r23,18r-29,41r29,45r-40,0r-13,-21v-35,47,-111,14,-108,-43v2,-34,17,-50,38,-73v-35,-44,-30,-114,31,-115v30,-1,51,20,51,48xm87,-225v-30,8,-23,35,-6,66v11,-14,25,-23,26,-44v0,-13,-8,-22,-20,-22xm71,-109v-29,26,-27,80,10,80v9,0,19,-6,28,-17",w:184},"'":{d:"50,-165r-26,0r-8,-106r41,0",w:73},"(":{d:"54,-303r35,9v-42,134,-41,233,0,363r-35,10v-45,-126,-45,-259,0,-382",w:105},")":{d:"52,79r-36,-9v43,-134,42,-233,0,-364r36,-9v44,126,44,259,0,382",w:105},"*":{d:"67,-299r15,0r-1,50r47,-17r4,15r-47,14r30,39r-13,9r-27,-40r-28,40r-13,-9r30,-39r-47,-14r5,-15r46,17"},"+":{d:"11,-124r0,-30r48,0r0,-47r31,0r0,47r48,0r0,30r-48,0r0,48r-31,0r0,-48r-48,0"},",":{d:"29,-38r29,9r-34,95r-19,-5",w:74,k:{"1":21}},"-":{d:"0,-107r64,0r0,28r-64,0r0,-28",w:63,k:{Y:7,W:-5,V:-4,A:-10}},".":{d:"16,-19v0,-12,10,-22,22,-22v11,0,21,10,21,22v0,12,-10,21,-22,21v-13,0,-21,-8,-21,-21",w:74,k:{"1":21}},"/":{d:"145,-299r28,0r-162,374r-28,0",w:162},"0":{d:"74,-275v60,8,62,56,62,141v0,77,-2,131,-61,137v-60,-6,-62,-58,-62,-139v0,-81,2,-131,61,-139xm74,-28v40,-9,25,-152,19,-191v-5,-32,-34,-30,-38,0v-6,39,-20,182,19,191",k:{"7":8,"1":15}},"1":{d:"32,-271r62,0r0,271r-35,0r0,-240r-27,0r0,-31",k:{"9":23,"8":20,"7":24,"6":22,"5":22,"4":20,"3":22,"2":22,"1":31,"0":18,".":18,",":21}},"2":{d:"14,0v23,-61,85,-133,85,-210v0,-22,-8,-33,-24,-33v-20,0,-23,31,-22,60r-36,0v-1,-58,7,-91,59,-92v40,0,60,23,60,67v0,38,-46,131,-70,177r67,0r0,31r-119,0",k:{"7":4,"4":13,"1":12}},"3":{d:"55,-157v33,1,42,-9,42,-44v0,-28,-8,-42,-22,-42v-16,0,-22,19,-21,44r-34,0v-1,-45,10,-77,54,-76v43,1,57,26,57,71v0,39,-4,52,-30,64v27,10,33,25,33,64v0,50,-15,79,-63,79v-39,1,-58,-25,-56,-71r34,0v-1,21,4,40,23,39v24,-1,25,-24,25,-51v0,-34,-11,-49,-42,-45r0,-32",k:{"7":6,"1":14}},"4":{d:"85,-271r34,0r0,169r17,0r0,28r-17,0r0,74r-34,0r0,-74r-74,0r0,-31xm85,-102r0,-114r-46,114r46,0",k:{"7":11,"4":-1,"1":18}},"5":{d:"25,-40v41,25,70,-5,70,-51v0,-44,-28,-59,-67,-49r16,-131r86,0r0,31r-58,0r-9,68v50,-2,69,30,71,77v5,74,-53,121,-119,87",k:{"7":5,"1":13}},"6":{d:"16,-89v0,-78,28,-123,55,-182r39,0r-53,116v46,-32,80,9,76,74v-3,53,-11,84,-58,84v-50,0,-59,-36,-59,-92xm75,-134v-23,0,-23,26,-23,52v0,36,8,54,23,54v15,0,23,-18,23,-53v-1,-26,1,-53,-23,-53",k:{"7":11,"1":23}},"7":{d:"17,-271r122,0r-83,271r-39,0r76,-240r-76,0r0,-31",k:{":":15,"7":1,"6":21,"4":22,"1":9,".":31,",":32}},"8":{d:"75,-275v69,-10,73,109,26,128v27,10,32,28,32,68v-1,51,-12,82,-58,82v-46,0,-59,-31,-59,-82v0,-40,5,-58,32,-68v-48,-19,-41,-138,27,-128xm95,-205v0,-26,-7,-38,-20,-38v-13,0,-21,13,-21,38v0,28,8,42,21,42v13,0,20,-14,20,-42xm75,-128v-21,3,-23,23,-23,52v0,32,8,47,23,47v15,0,22,-16,22,-46v-1,-25,0,-51,-22,-53",k:{"7":7,"1":14}},"9":{d:"74,-275v84,-2,61,138,39,196v-9,24,-25,54,-36,79r-39,0r53,-114v-43,31,-78,-10,-74,-69v4,-57,8,-91,57,-92xm74,-136v22,-2,23,-23,23,-52v0,-36,-8,-53,-23,-53v-15,0,-23,18,-23,53v1,29,2,49,23,52",k:{"7":7,"4":5,"1":14}},":":{d:"16,-19v0,-12,10,-22,22,-22v11,0,21,10,21,22v0,12,-10,21,-22,21v-13,0,-21,-8,-21,-21xm16,-163v0,-12,10,-22,22,-22v11,0,21,10,21,22v0,12,-9,23,-22,22v-12,0,-21,-10,-21,-22",w:74},";":{d:"29,-38r29,9r-34,95r-19,-5xm17,-163v0,-12,10,-22,22,-22v11,0,21,10,21,22v0,12,-9,23,-22,22v-12,0,-21,-10,-21,-22",w:74},"\u037e":{d:"29,-38r29,9r-34,95r-19,-5xm17,-163v0,-12,10,-22,22,-22v11,0,21,10,21,22v0,12,-9,23,-22,22v-12,0,-21,-10,-21,-22",w:74},"<":{d:"190,-237r0,35r-139,65r139,64r0,35r-176,-84r0,-31",w:203},"=":{d:"11,-145r0,-30r127,0r0,30r-127,0xm11,-103r0,-30r127,0r0,30r-127,0"},">":{d:"14,-38r0,-35r138,-64r-138,-65r0,-35r176,85r0,30",w:203},"?":{d:"118,-194v0,46,-2,68,-38,73r0,58r-32,0r0,-82v32,1,37,-11,36,-45v-1,-32,0,-49,-20,-54v-13,-2,-16,20,-15,40r-33,0v1,-40,7,-72,49,-70v45,2,53,28,53,80xm42,-19v0,-27,44,-28,44,0v-1,29,-44,26,-44,0",w:133},"@":{d:"76,-130v-6,-54,54,-108,90,-63r3,-14r28,0r-12,110v0,8,3,12,9,12v21,-1,34,-43,34,-68v0,-52,-38,-93,-88,-93v-55,-1,-97,52,-95,110v2,61,35,110,99,110v24,1,51,-9,74,-23r13,29v-28,14,-57,24,-87,23v-83,0,-131,-58,-133,-139v-2,-75,56,-139,128,-139v65,0,117,55,117,120v0,56,-58,137,-94,76v-33,51,-91,4,-86,-51xm128,-85v34,-1,49,-87,10,-96v-36,0,-41,86,-10,96",w:266},A:{d:"60,-271r28,0r58,271r-36,0r-10,-53r-54,0r-10,53r-35,0xm95,-81v-10,-44,-17,-88,-22,-138r-22,138r44,0",w:146,k:{y:4,w:3,v:3,t:-2,q:-2,o:-1,g:-2,e:-1,d:-2,c:-1,b:-4,a:-2,Y:13,W:5,V:6,T:6,Q:1,O:1,G:1,C:2,".":-7,"-":-10,",":-7}},B:{d:"94,-138v29,13,38,25,39,63v2,71,-44,80,-112,75r0,-271v65,-4,110,2,108,72v-1,36,-8,51,-35,61xm93,-198v-1,-32,-11,-46,-38,-44r0,90v30,0,38,-14,38,-46xm55,-31v46,8,47,-56,31,-81v-5,-8,-16,-11,-31,-11r0,92",w:148,k:{Y:2,W:-1,V:-1,O:1,A:-1}},C:{d:"15,-131v0,-92,30,-166,112,-136r0,33v-60,-27,-74,41,-73,101v2,77,23,116,73,95r0,34v-72,26,-112,-25,-112,-127",w:137,k:{O:2,A:-10}},D:{d:"152,-132v2,98,-25,142,-131,132r0,-271r45,0v78,1,84,56,86,139xm114,-131v0,-69,1,-108,-57,-110r0,209v55,-3,57,-33,57,-99",w:167,k:{Y:6,X:5,W:1,V:1,J:-2,A:2}},E:{d:"21,-271r97,0r0,31r-61,0r0,85r54,0r0,31r-54,0r0,93r61,0r0,31r-97,0r0,-271",w:130},F:{d:"21,-271r98,0r0,31r-62,0r0,85r56,0r0,31r-56,0r0,124r-36,0r0,-271",w:125,k:{u:2,r:2,j:-4,i:-4,O:-1,J:12,A:4,".":22,"-":-7,",":24}},G:{d:"86,-30v34,-2,31,-41,32,-82r-32,0r0,-31r66,0v-2,86,5,146,-65,146v-66,0,-72,-57,-72,-138v0,-89,4,-140,70,-140v42,0,54,20,65,56r-34,14v-5,-19,-8,-38,-31,-38v-37,9,-32,48,-32,107v0,60,-5,97,33,106",w:167,k:{Y:1,W:-2,V:-2,T:-5}},H:{d:"21,-271r36,0r0,106r54,0r0,-106r37,0r0,271r-37,0r0,-134r-54,0r0,134r-36,0r0,-271",w:168},I:{d:"21,-271r36,0r0,271r-36,0r0,-271",w:78},J:{d:"84,-63v7,59,-40,78,-85,59r0,-36v29,20,49,6,49,-36r0,-195r36,0r0,208",w:105},K:{d:"21,-271r36,0r0,131r51,-131r37,0r-53,131r58,140r-42,0r-51,-140r0,140r-36,0r0,-271",w:151,k:{y:9,u:4,o:3,e:2,a:2,T:-13,S:-3,O:6,G:6,C:8,"-":-1}},L:{d:"21,-271r36,0r0,240r60,0r0,31r-96,0r0,-271",w:119,k:{y:9,u:-2,Y:13,W:7,V:8,U:-2,T:6,S:-4,C:2,A:-14,"-":10}},M:{d:"34,-271r31,0r39,196v8,-69,23,-131,35,-196r32,0r25,271r-35,0r-10,-187r-34,187r-25,0r-36,-187r-10,187r-35,0",w:205},N:{d:"119,-65v-10,-66,-8,-133,-8,-206r36,0r0,271r-34,0r-64,-209r6,91r2,118r-36,0r0,-271r34,0r36,108v11,31,20,63,28,98",w:168,k:{a:-1,A:-5,",":2}},O:{d:"85,-275v71,0,72,66,72,146v0,79,-6,132,-70,132v-68,0,-72,-58,-72,-145v0,-80,6,-133,70,-133xm86,-30v36,0,32,-41,32,-95v0,-47,-2,-79,-6,-94v-4,-15,-13,-23,-26,-23v-40,8,-32,45,-32,108v0,40,3,67,7,82v5,15,12,22,25,22",w:172,k:{Y:4,X:4,T:-2,A:1}},P:{d:"136,-198v-3,56,-22,79,-79,78r0,120r-36,0r0,-271v68,-4,119,2,115,73xm98,-194v0,-31,-11,-49,-41,-47r0,89v31,-1,41,-10,41,-42",w:142,k:{o:4,e:4,a:2,J:12,A:8,".":31,"-":4,",":33}},Q:{d:"85,-275v68,0,70,57,72,145v0,49,-5,83,-15,102r23,32r-23,17r-19,-27v-84,32,-112,-39,-108,-139v3,-78,7,-130,70,-130xm85,-242v-36,9,-31,41,-31,99v0,44,2,74,6,90v5,21,24,29,41,18r-23,-34r22,-17r15,21v7,-38,3,-132,-3,-153v-5,-16,-14,-24,-27,-24",w:172},R:{d:"69,-271v79,-12,81,125,25,139r50,132r-37,0r-50,-133r0,133r-36,0r0,-271r48,0xm96,-194v0,-29,-6,-51,-39,-47r0,90v29,0,40,-12,39,-43",w:151,k:{y:-2,u:6,o:5,e:5,a:4,Y:2,U:4,T:-4,O:3,G:4,C:4}},S:{d:"13,-206v0,-56,50,-85,98,-60r0,36v-25,-22,-65,-12,-62,24v5,60,75,69,75,138v0,56,-59,91,-103,59r0,-37v27,25,70,18,68,-22v-4,-64,-76,-66,-76,-138",w:134,k:{t:3,Y:-3,W:-3,V:-4,T:-4,A:-4}},T:{d:"-1,-271r119,0r0,32r-41,0r0,239r-36,0r0,-239r-42,0r0,-32",w:117,k:{y:7,w:8,v:7,u:11,s:12,r:10,o:10,j:-9,i:-9,g:10,e:10,c:10,a:10,Y:-16,W:-15,V:-16,S:-8,O:-2,J:4,G:-3,A:5,";":8,":":8,".":10,"-":-1,",":12}},U:{d:"83,3v-49,0,-62,-23,-62,-83r0,-191r36,0r0,191v1,34,-1,49,26,49v27,0,26,-12,27,-43r0,-197r36,0r0,197v0,56,-14,77,-63,77",w:166,k:{p:1,".":3,",":5}},V:{d:"-1,-271r36,0r32,204r33,-204r34,0r-53,271r-29,0",w:133,k:{y:-4,u:4,r:4,o:7,i:-6,g:6,e:7,a:6,T:-16,S:-4,C:1,A:7,";":3,":":2,".":12,"-":-4,",":13}},W:{d:"1,-271r35,0r27,204r30,-204r28,0r26,161v2,14,3,28,4,41r27,-202r35,0r-48,271r-29,0r-29,-201r-10,84r-20,117r-30,0",w:213,k:{y:-5,u:4,r:4,o:6,i:-5,g:5,e:6,a:6,T:-15,S:-4,C:1,A:6,";":2,":":2,".":10,"-":-4,",":12}},X:{d:"2,-271r36,0v10,27,28,73,32,98v7,-35,20,-65,29,-98r37,0r-50,133r50,138r-37,0v-10,-33,-25,-64,-31,-101v-7,37,-20,68,-30,101r-39,0r52,-138",w:135,k:{y:4,u:2,o:1,Q:2,O:2,C:4,"-":-4}},Y:{d:"-1,-271r39,0v11,38,29,86,35,125r29,-125r38,0r-48,154r0,117r-36,0r0,-117",w:139,k:{u:9,p:9,o:12,i:-4,g:11,e:12,a:11,T:-16,S:-2,O:2,G:2,C:4,A:8,";":8,":":8,".":13,"-":2,",":15}},Z:{d:"14,-271r120,0r-82,239r77,0r0,32r-124,0r82,-240r-73,0r0,-31",w:135,k:{y:4,v:3}},"[":{d:"27,-299r86,0r0,32r-49,0r0,310r49,0r0,32r-86,0r0,-374",w:127},"\\":{d:"19,-299r162,374r-29,0r-161,-374r28,0",w:162},"]":{d:"100,75r-86,0r0,-32r49,0r0,-310r-49,0r0,-32r86,0r0,374",w:127},"^":{d:"46,-146r-38,0r71,-126r46,0r70,126r-37,0r-56,-98",w:203},_:{d:"0,24r204,0r0,33r-204,0r0,-33",w:203},"`":{d:"56,-258r24,-15r30,54r-18,10",w:203},a:{d:"12,-93v0,-51,5,-92,44,-92v14,0,25,8,33,24r0,-21r34,0r0,182r-34,0r0,-23v-9,16,-13,26,-33,26v-40,0,-44,-44,-44,-96xm69,-155v-23,6,-22,27,-22,63v0,37,-1,59,22,65v22,-5,21,-32,21,-64v0,-32,1,-59,-21,-64",w:142,k:{y:-2,w:-1,v:-2,j:1}},b:{d:"86,3v-20,0,-24,-10,-33,-26r0,23r-34,0r0,-299r34,0r0,138v7,-13,13,-25,32,-24v43,2,45,47,45,92v0,53,-4,96,-44,96xm73,-27v23,-5,22,-27,22,-63v0,-38,1,-58,-22,-65v-22,5,-21,30,-21,64v0,34,-1,58,21,64",w:142,k:{y:1,w:2,v:1}},c:{d:"12,-89v0,-66,25,-113,81,-89r0,34v-27,-22,-45,0,-44,51v0,53,14,77,44,57r0,32v-52,23,-81,-11,-81,-85",w:102,k:{k:2,h:2}},d:{d:"57,-185v18,-1,26,11,32,24r0,-138r34,0r0,299r-34,0r0,-23v-9,16,-13,26,-33,26v-40,0,-44,-44,-44,-96v0,-45,2,-90,45,-92xm69,-155v-23,6,-22,27,-22,63v0,37,-1,59,22,65v22,-5,21,-32,21,-64v0,-32,1,-59,-21,-64",w:142},e:{d:"12,-90v0,-54,9,-93,55,-95v37,-2,56,37,55,101r-77,0v0,39,8,58,23,58v14,0,21,-11,21,-35r32,0v-2,43,-20,64,-53,64v-48,0,-56,-42,-56,-93xm88,-109v-3,-29,-2,-43,-22,-47v-19,4,-18,19,-21,47r43,0",w:132,k:{y:2,x:2,w:2,v:2}},f:{d:"87,-262v-22,-13,-30,4,-30,32r0,48r28,0r0,27r-28,0r0,155r-34,0r0,-155r-17,0r0,-27r17,0v-1,-60,-10,-143,64,-115r0,35",w:88,k:{t:-9,s:-5,l:-2,j:-1,i:-1,f:-8,a:-2}},g:{d:"56,-185v20,0,24,10,33,25r0,-22r34,0r0,188v1,51,-11,69,-56,70v-34,0,-54,-21,-52,-57r32,0v0,19,8,29,22,29v30,2,17,-42,20,-70v-7,17,-17,25,-32,25v-40,0,-45,-42,-45,-92v0,-53,3,-96,44,-96xm70,-27v22,-5,20,-26,20,-62v0,-43,-7,-66,-22,-66v-21,5,-21,30,-21,62v0,35,-1,62,23,66",w:142,k:{r:1,l:1}},h:{d:"73,-156v-19,0,-20,18,-20,38r0,118r-34,0r0,-299r34,0r0,138v23,-41,74,-29,74,32r0,129r-34,0r0,-122v0,-21,-2,-34,-20,-34",w:145,k:{y:2}},i:{d:"19,-182r34,0r0,182r-34,0r0,-182xm12,-237v0,-13,11,-22,23,-22v12,0,22,9,22,22v0,13,-10,24,-23,23v-13,0,-22,-9,-22,-23",w:71,k:{j:1,T:-7}},j:{d:"19,-182r34,0r0,257r-34,0r0,-257xm12,-237v0,-13,11,-22,23,-22v12,0,22,9,22,22v0,13,-10,24,-23,23v-13,0,-22,-9,-22,-23",w:71},k:{d:"19,-299r34,0r0,198r42,-81r38,0r-46,81r52,101r-39,0r-47,-97r0,97r-34,0r0,-299",w:140,k:{u:1,s:-3,o:5,g:4,e:5,a:4,".":-4,"-":3,",":-4}},l:{d:"19,-299r34,0r0,299r-34,0r0,-299",w:71,k:{y:-2,v:-2}},m:{d:"74,-155v-19,0,-21,12,-21,35r0,120r-34,0r0,-182r34,0r0,23v14,-34,59,-35,71,0v15,-39,77,-34,77,14r0,145r-34,0r0,-120v-1,-23,0,-35,-18,-35v-19,0,-21,12,-21,35r0,120r-35,0r0,-120v0,-19,-1,-35,-19,-35",w:219,k:{y:1,w:2,v:1,p:1}},n:{d:"73,-156v-19,0,-20,18,-20,38r0,118r-34,0r0,-182r34,0r0,21v23,-41,74,-29,74,32r0,129r-34,0r0,-122v0,-21,-2,-34,-20,-34",w:145,k:{y:2,w:2,v:2,p:1,T:11}},o:{d:"69,-185v49,0,57,44,57,96v0,62,-19,92,-57,92v-38,0,-57,-32,-57,-94v0,-63,19,-94,57,-94xm70,-28v23,-5,22,-27,22,-62v0,-37,1,-59,-22,-65v-23,6,-22,29,-22,64v0,35,-1,57,22,63",w:138,k:{y:2,x:4,w:2,v:2,T:12}},p:{d:"85,3v-19,0,-25,-11,-32,-23r0,95r-34,0r0,-257r34,0r0,24v9,-17,13,-27,33,-27v40,0,44,45,44,96v0,52,-4,92,-45,92xm73,-27v23,-5,22,-27,22,-63v0,-38,1,-58,-22,-65v-23,4,-21,29,-21,64v0,35,-2,59,21,64",w:142,k:{y:2}},q:{d:"56,-185v20,0,24,10,33,27r0,-24r34,0r0,257r-34,0r0,-95v-7,12,-13,24,-32,23v-41,-3,-45,-41,-45,-92v0,-51,4,-96,44,-96xm69,-155v-23,6,-22,27,-22,63v0,37,-1,59,22,65v22,-5,21,-32,21,-64v0,-32,1,-59,-21,-64",w:142,k:{u:1}},r:{d:"92,-151v-65,-9,-31,95,-39,151r-34,0r0,-182r34,0r0,23v10,-17,17,-24,39,-27r0,35",w:96,k:{z:-5,y:-9,x:-9,w:-9,v:-9,u:-1,t:-8,s:-5,r:-1,q:-2,p:-1,o:-1,n:-1,m:-1,l:-1,k:-1,j:-1,i:-1,h:-1,g:-2,f:-7,e:-1,d:-2,c:-1,a:-2,";":-3,":":-4,".":12,"-":2,",":13}},s:{d:"10,-136v0,-41,44,-63,79,-42r0,31v-16,-13,-47,-13,-47,11v0,29,56,42,56,85v0,44,-45,69,-82,45r0,-32v18,15,51,17,51,-12v0,-42,-57,-39,-57,-86",w:105,k:{t:-2}},t:{d:"23,-233r34,0r0,51r18,0r0,27r-18,0r0,155r-34,0r0,-155r-18,0r0,-27r18,0r0,-51",w:79,k:{o:1,S:-4,";":-3,":":-3}},u:{d:"73,3v-83,0,-46,-113,-54,-185r34,0r0,122v1,19,3,31,20,31v23,1,20,-21,21,-44r0,-109r33,0v-7,73,29,185,-54,185",w:146},v:{d:"1,-182r36,0v11,44,21,87,25,138r26,-138r33,0r-48,182r-22,0",w:122,k:{s:-2,o:2,l:-2,g:1,e:2,c:2,a:1,";":-3,":":-3,".":10,"-":-7,",":12}},w:{d:"3,-182r35,0r20,131r22,-131r25,0r20,131v4,-46,14,-88,22,-131r33,0r-43,182r-23,0r-22,-134v-5,47,-13,91,-22,134r-23,0",w:182,k:{s:-2,o:2,l:-1,g:1,e:2,c:2,a:2,";":-2,":":-3,".":9,"-":-7,",":11}},x:{d:"1,-182r40,0r26,62v5,-23,15,-41,23,-62r35,0r-41,86r50,96r-40,0v-9,-21,-27,-53,-30,-74v-3,21,-19,53,-27,74r-36,0r46,-96",w:135,k:{q:4,o:5,e:5,c:5,a:4}},y:{d:"1,-182r38,0r27,127r31,-127r34,0r-74,257r-35,0r28,-90",w:132,k:{s:-2,o:2,l:-2,g:1,e:2,c:2,a:1,";":-3,":":-3,".":13,"-":-6,",":14}},z:{d:"10,-182r106,0r-61,152r58,0r0,30r-108,0r63,-152r-58,0r0,-30",w:121},"{":{d:"72,-232v0,45,9,102,-18,121v29,22,18,78,18,127v0,25,8,26,31,26r0,33v-78,11,-67,-67,-67,-139v1,-22,-7,-27,-23,-32v2,-12,-5,-32,5,-36v50,-21,-27,-191,85,-165r0,32v-27,-1,-31,3,-31,33",w:108},"|":{d:"84,-271r36,0r0,339r-36,0r0,-339",w:203},"}":{d:"37,8v0,-44,-10,-102,18,-120v-29,-22,-18,-79,-18,-128v0,-26,-8,-26,-32,-26r0,-33v79,-11,70,67,68,139v-1,23,8,27,22,32v-2,12,5,31,-5,36v-48,23,27,191,-85,165r0,-33v28,1,32,-2,32,-32",w:108},"~":{d:"234,-286v-14,49,-70,57,-119,30v-27,-15,-41,-6,-56,22r-22,-14v16,-31,22,-46,58,-50v17,-2,67,26,83,25v20,-1,23,-11,34,-26",w:271},"\u00a0":{w:74}}});$.fn.charCounter=function(a,b){a=a||100;b=$.extend({container:"#counter",classname:"charcounter",format:"U heeft nog %1 karakters over",pulse:true,delay:0},b);var f,e;function d(h,g){h=$(h);if(h.val().length>a){h.val(h.val().substring(0,a));if(b.pulse&&!f){c(g,true)}}if(b.delay>0){if(e){window.clearTimeout(e)}e=window.setTimeout(function(){g.html(b.format.replace(/%1/,(a-h.val().length)))},b.delay)}else{g.html(b.format.replace(/%1/,(a-h.val().length)))}}function c(g,h){if(f){window.clearTimeout(f);f=null}g.animate({opacity:0.1},100,function(){$(this).animate({opacity:1},100)});if(h){f=window.setTimeout(function(){c(g)},200)}}return this.each(function(){var g=(!b.container.match(/^<.+>$/))?$(b.container):$(b.container).insertAfter(this).addClass(b.classname);$(this).bind("keydown",function(){d(this,g)}).bind("keypress",function(){d(this,g)}).bind("keyup",function(){d(this,g)}).bind("focus",function(){d(this,g)}).bind("mouseover",function(){d(this,g)}).bind("mouseout",function(){d(this,g)}).bind("paste",function(){var h=this;setTimeout(function(){d(h,g)},10)});if(this.addEventListener){this.addEventListener("input",function(){d(this,g)},false)}d(this,g)})};$(document).ready(function(){$("#servicelist").prepend("<li class='print'><a href='javascript:void(0)' onclick='print()'>print deze pagina</a></li>");$("textarea.expanding").autogrow();inputfocus("#searchfield","Bijvoorbeeld Amsterdam, KPN of webdesign");inputfocus("#newsletter_email","Voer je e-mailadres in");$("#refine ul:last, .page:last").addClass("last");$("#othercases li ul").each(function(){$(this).find("li:last").addClass("last")});$("#slideshow").before("<ul id='controls' class='inline'><li><a href='#' title='Vorige' id='prevSlide'>Vorige</a></li><li><a href='javascript:void(0)' title='Volgende' id='nextSlide'>Volgende</a></li></ul>");$("#slideshow").cycle({fx:"scrollHorz",prev:"#controls #prevSlide",next:"#controls #nextSlide",timeout:0});$("#omschrijving").charCounter(250);$("#shortlist input:check").click(function(){$(this).parents(".bureau").toggleClass("selected")})});function inputfocus(a,b){if($(a).val()==""){$(a).val(b).addClass("inactive")}$(a).focus(function(){if($(this).val()==b){$(this).val("").removeClass("inactive")}}).blur(function(){if($(this).val()==""){$(this).val(b).addClass("inactive")}})};
(function(a){a.ui=a.ui||{};a.ui.searchBox=a.ui.searchBox||{};var b;a.fn.searchBoxMode=function(d,f){var e=d.val();var g=-1;var c=this;a.data(document.body,"searchBoxMode",true);a("body").one("cancel.searchBox",function(){d.trigger("cancel.searchBox");a("body").trigger("off.searchBox");d.val(e)});a("body").one("activate.searchBox",function(){d.trigger("activate.searchBox",[a.data(b[0],"originalObject")]);a("body").trigger("off.searchBox")});a("body").one("off.searchBox",function(i,h){a.data(document.body,"searchBoxMode",false);d.unbind("keydown.searchBox");a("body").add(window).unbind("click.autosearch").unbind("cancel.searchBox").unbind("activate.searchBox");a("#searchBox").hide()});a(window).bind("click.autosearch",function(){a("body").trigger("cancel.searchBox")});d.bind("keydown.searchBox",function(h){if(h.which==27){a("body").trigger("cancel.searchBox")}else{if(h.which==13){a("body").trigger("activate.searchBox")}else{if(h.which==40||h.which==9||h.which==38){switch(h.which){case 40:case 9:case 38:default:break}select()}else{return true}}}a.data(document.body,"suppressKey",true)})};a.fn.searchBox=function(c){c=a.extend({},{timeout:1000,getList:function(e){e.trigger("updateList",[c.list])},template:function(e){return"<li>"+c.insertText(e)+"</li>"},insertText:function(e){return e},match:function(e){return this.match(new RegExp(e))},wrapper:""},c);if(a.ui.searchBox.ext){for(var d in a.ui.searchBox.ext){if(c[d]){c=a.extend(c,a.ui.searchBox.ext[d](c));delete c[d]}}}return this.each(function(){a(this).focus(function(){a("#searchBox :first").html("")}),a(this).blur(function(){a("#searchBox").fadeOut()}),a(this).keypress(function(g){var f=a.data(this,"typingTimeout");if(f){window.clearInterval(f)}if(a.data(document.body,"suppressKey")){return a.data(document.body,"suppressKey",false)}else{if(a.data(document.body,"searchBoxMode")&&g.charCode<32&&g.keyCode!=8&&g.keyCode!=46){return false}else{a.data(this,"typingTimeout",window.setTimeout(function(){a.loading.showActivity();a(g.target).trigger("searchBox")},c.timeout))}}}).bind("searchBox",function(){var e=a(this);a.getJSON("/home/searchjson?q="+e.val(),function(f){a("#searchBox :first").html(f);a.loading.hideActivity();a("#searchBox").fadeIn()});a("body").searchBoxMode(e,c)})})}})(jQuery);$(document).ready(function(){$("#searchfield").searchBox();$("#searchBox #close").click(function(){$("#searchBox").hide()})});
ï»¿/*
 * jSwipe - jQuery Plugin
 * http://plugins.jquery.com/project/swipe
 * http://www.ryanscherf.com/demos/swipe/
 *
 * Copyright (c) 2009 Ryan Scherf (www.ryanscherf.com)
 * Licensed under the MIT license
 *
 * $Date: 2009-07-14 (Tue, 14 Jul 2009) $
 * $version: 0.1
 * 
 * This jQuery plugin will only run on devices running Mobile Safari
 * on iPhone or iPod Touch devices running iPhone OS 2.0 or later. 
 * http://developer.apple.com/iphone/library/documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html#//apple_ref/doc/uid/TP40006511-SW5
 */
(function($) {
    $.fn.swipe = function(options) {

        // Default thresholds & swipe functions
        var defaults = {
            threshold: {
                x: 30,
                y: 10
            },
            swipeLeft: function() { alert('swiped left') },
            swipeRight: function() { alert('swiped right') }
        };

        var options = $.extend(defaults, options);

        if (!this) return false;

        return this.each(function() {

            var me = $(this)

            // Private variables for each element
            var originalCoord = { x: 0, y: 0 }
            var finalCoord = { x: 0, y: 0 }

            // Screen touched, store the original coordinate
            function touchStart(event) {
                console.log('Starting swipe gesture...')
                originalCoord.x = event.targetTouches[0].pageX
                originalCoord.y = event.targetTouches[0].pageY
            }

            // Store coordinates as finger is swiping
            function touchMove(event) {
                event.preventDefault();
                finalCoord.x = event.targetTouches[0].pageX // Updated X,Y coordinates
                finalCoord.y = event.targetTouches[0].pageY
            }

            // Done Swiping
            // Swipe should only be on X axis, ignore if swipe on Y axis
            // Calculate if the swipe was left or right
            function touchEnd(event) {
                console.log('Ending swipe gesture...')
                var changeY = originalCoord.y - finalCoord.y
                if (changeY < defaults.threshold.y && changeY > (defaults.threshold.y * -1)) {
                    changeX = originalCoord.x - finalCoord.x

                    if (changeX > defaults.threshold.x) {
                        defaults.swipeLeft()
                    }
                    if (changeX < (defaults.threshold.x * -1)) {
                        defaults.swipeRight()
                    }

                    // reset coords
                    originalCoord = { x: 0, y: 0 }
                    finalCoord = { x: 0, y: 0 }
                }
            }

            // Swipe was canceled
            function touchCancel(event) {
                console.log('Canceling swipe gesture...')
            }

            // Add gestures to all swipable areas
            this.addEventListener("touchstart", touchStart, false);
            this.addEventListener("touchmove", touchMove, false);
            this.addEventListener("touchend", touchEnd, false);
            this.addEventListener("touchcancel", touchCancel, false);

        });
    };
})(jQuery);

/*

Title:		jShowOff: a jQuery Content Rotator Plugin
Author:		Erik Kallevig
Version:	0.1.2
Website:	http://ekallevig.com/jshowoff
License: 	Dual licensed under the MIT and GPL licenses.

jShowOff Options

animatePause :		whether to use 'Pause' animation text when pausing [boolean, defaults to true]
autoPlay :			whether to start playing immediately [boolean, defaults to true]
changeSpeed :		speed of transition [integer, milliseconds, defaults to 600]
controls :			whether to create & display controls (Play/Pause, Previous, Next) [boolean, defaults to true]
controlText :		custom text for controls [object, 'play', 'pause', 'previous' and 'next' properties]
cssClass :			custom class to add to .jshowoff wrapper [string]
effect :			transition effect [string: 'fade', 'slideLeft' or 'none', defaults to 'fade']
hoverPause :		whether to pause on hover [boolean, defaults to true]
links :				whether to create & display numeric links to each slide [boolean, defaults to true]
speed :				time each slide is shown [integer, milliseconds, defaults to 3000]

*/

(function($) {


    $.fn.jshowoff = function(settings) {

        // default global vars
        var config = {
            animatePause: true,
            autoPlay: true,
            changeSpeed: 600,
            controls: true,
            controlText: {
                play: 'Play',
                pause: 'Pause',
                next: 'Next',
                previous: 'Previous'
            },
            effect: 'fade',
            hoverPause: true,
            links: true,
            speed: 3000
        };

        // merge default global variables with custom variables, modifying 'config'
        if (settings) $.extend(true, config, settings);

        // make sure speed is at least 20ms longer than changeSpeed
        if (config.speed < (config.changeSpeed + 20)) {
            alert('jShowOff: Make speed at least 20ms longer than changeSpeed; the fades aren\'t always right on time.');
            return this;
        };

        // create slideshow for each matching element invoked by .jshowoff()
        this.each(function(i) {

            // declare instance variables
            var $cont = $(this);
            var gallery = $(this).children().remove();
            var timer = '';
            var counter = 0;
            var preloadedImg = [];
            var howManyInstances = $('.jshowoff').length + 1;
            var uniqueClass = 'jshowoff-' + howManyInstances;
            var cssClass = config.cssClass != undefined ? config.cssClass : '';


            // set up wrapper
            $cont.css('position', 'relative').wrap('<div class="jshowoff ' + uniqueClass + '" />');
            var $wrap = $('.' + uniqueClass);
            $wrap.css('position', 'relative').addClass(cssClass);

            // add first slide to wrapper
            $(gallery[0]).clone().appendTo($cont);

            // preload slide images into memory
            preloadImg();

            // add controls
            if (config.controls) {
                addControls();
                if (config.autoPlay == false) {
                    $('.' + uniqueClass + '-play').addClass(uniqueClass + '-paused jshowoff-paused').text(config.controlText.play);
                };
            };

            // add slide links
            if (config.links) {
                addSlideLinks();
                $('.' + uniqueClass + '-slidelinks a').eq(0).addClass(uniqueClass + '-active jshowoff-active');
            };

            // pause slide rotation on hover
            if (config.hoverPause) {
                $('.' + uniqueClass).hover(
				    function() {
				        $('.' + uniqueClass + '-controls').fadeIn();

				        if (isPlaying()) {
				            pause('hover');
				        }

				        return (false);
				    },
				    function() {
				        $('.' + uniqueClass + '-controls').fadeOut();

				        if (isPlaying()) {
				            play('hover');
				        }

				        return (false);
				    }
			    );
            };

            // determine autoPlay
            if (config.autoPlay && gallery.length > 1) {
                timer = setInterval(function() { play(); }, config.speed);
            };

            // display error message if no slides present
            if (gallery.length < 1) {
                // $('.' + uniqueClass).append('<p>For jShowOff to work, the container element must have child elements.</p>');
            };

            if ($.fn.swipe) {
                $('.' + uniqueClass).swipe({
                    threshold: {
                        x: 20,
                        y: 10
                    },
                    swipeLeft: function() { previous(); return false; },
                    swipeRight: function() { next(); return false; }
                })
            }

            // utility for loading slides
            function transitionTo(gallery, index) {

                var oldCounter = counter;
                if ((counter >= gallery.length) || (index >= gallery.length)) { counter = 0; var e2b = true; }
                else if ((counter < 0) || (index < 0)) { counter = gallery.length - 1; var b2e = true; }
                else { counter = index; }


                if (config.effect == 'slideLeft') {
                    var newSlideDir, oldSlideDir;
                    function slideDir(dir) {
                        newSlideDir = dir == 'right' ? 'left' : 'right';
                        oldSlideDir = dir == 'left' ? 'left' : 'right';
                    };


                    counter >= oldCounter ? slideDir('left') : slideDir('right');

                    $(gallery[counter]).clone().appendTo($cont).slideIt({ direction: newSlideDir, changeSpeed: config.changeSpeed });
                    if ($cont.children().length > 1) {
                        $cont.children().eq(0).css('position', 'absolute').slideIt({ direction: oldSlideDir, showHide: 'hide', changeSpeed: config.changeSpeed }, function() { $(this).remove(); });
                    };
                } else if (config.effect == 'fade') {
                    $(gallery[counter]).clone().appendTo($cont).hide().fadeIn(config.changeSpeed, function() { if ($.browser.msie) this.style.removeAttribute('filter'); });
                    if ($cont.children().length > 1) {
                        $cont.children().eq(0).css('position', 'absolute').fadeOut(config.changeSpeed, function() { $(this).remove(); });
                    };
                } else if (config.effect == 'none') {
                    $(gallery[counter]).clone().appendTo($cont);
                    if ($cont.children().length > 1) {
                        $cont.children().eq(0).css('position', 'absolute').remove();
                    };
                };

                // update active class on slide link
                if (config.links) {
                    $('.' + uniqueClass + '-active').removeClass(uniqueClass + '-active jshowoff-active');
                    $('.' + uniqueClass + '-slidelinks a').eq(counter).addClass(uniqueClass + '-active jshowoff-active');
                };
            };

            // is the rotator currently in 'play' mode
            function isPlaying() {
                return $('.' + uniqueClass + '-play').hasClass('jshowoff-paused') ? false : true;
            };

            // start slide rotation on specified interval
            function play(src) {
                if (!isBusy()) {
                    counter++;
                    transitionTo(gallery, counter);
                    if (src == 'hover' || !isPlaying()) {
                        timer = setInterval(function() { play(); }, config.speed);
                    }
                    if (!isPlaying()) {
                        $('.' + uniqueClass + '-play').text(config.controlText.pause).removeClass('jshowoff-paused ' + uniqueClass + '-paused');
                    }
                };
            };

            // stop slide rotation
            function pause(src) {
                clearInterval(timer);
                if (!src || src == 'playBtn') $('.' + uniqueClass + '-play').text(config.controlText.play).addClass('jshowoff-paused ' + uniqueClass + '-paused');
                if (config.animatePause && src == 'playBtn') {
                    $('<p class="' + uniqueClass + '-pausetext jshowoff-pausetext">' + config.controlText.pause + '</p>').css({ fontSize: '62%', textAlign: 'center', position: 'absolute', top: '40%', lineHeight: '100%', width: '100%' }).appendTo($wrap).addClass(uniqueClass + 'pauseText').animate({ fontSize: '600%', top: '30%', opacity: 0 }, { duration: 500, complete: function() { $(this).remove(); } });
                }
            };

            // load the next slide
            function next() {
                goToAndPause(counter + 1);
            };

            // load the previous slide
            function previous() {
                goToAndPause(counter - 1);
            };

            // is the rotator in mid-transition
            function isBusy() {
                return $cont.children().length > 1 ? true : false;
            };

            // load a specific slide
            function goToAndPause(index) {
                $cont.children().stop(true, true);
                if ((counter != index) || ((counter == index) && isBusy())) {
                    if (isBusy()) $cont.children().eq(0).remove();
                    transitionTo(gallery, index);
                    pause();
                };
            };

            // load images into memory
            function preloadImg() {
                $(gallery).each(function(i) {
                    $(this).find('img').each(function(i) {
                        preloadedImg[i] = $('<img>').attr('src', $(this).attr('src'));
                    });
                });
            };

            // generate and add play/pause, prev, next controls
            function addControls() {
                $wrap.append('<p class="jshowoff-controls ' + uniqueClass + '-controls"><a class="jshowoff-play ' + uniqueClass + '-play" href="#null">' + config.controlText.pause + '</a> <a class="jshowoff-prev ' + uniqueClass + '-prev" href="#null">' + config.controlText.previous + '</a> <a class="jshowoff-next ' + uniqueClass + '-next" href="#null">' + config.controlText.next + '</a></p>');
                $('.' + uniqueClass + '-controls a').each(function() {
                    if ($(this).hasClass('jshowoff-play')) $(this).click(function() { isPlaying() ? pause('playBtn') : play(); return false; });
                    if ($(this).hasClass('jshowoff-prev')) $(this).click(function() { previous(); return false; });
                    if ($(this).hasClass('jshowoff-next')) $(this).click(function() { next(); return false; });
                });
            };

            // generate and add slide links
            function addSlideLinks() {
                $wrap.append('<p class="jshowoff-slidelinks ' + uniqueClass + '-slidelinks"></p>');
                $.each(gallery, function(i, val) {
                    var linktext = $(this).attr('title') != '' ? $(this).attr('title') : i + 1;
                    $('<a class="jshowoff-slidelink-' + i + ' ' + uniqueClass + '-slidelink-' + i + '" href="#null">' + linktext + '</a>').bind('click', { index: i }, function(e) { goToAndPause(e.data.index); return false; }).appendTo('.' + uniqueClass + '-slidelinks');
                });
            };

            // end .each
        });

        return this;

        // end .jshowoff
    };

    // end closure
})(jQuery);




(function($) {

	$.fn.slideIt = function(settings,callback) {
	
		// default global vars
		var config = {
			direction : 'left',
			showHide : 'show',
			changeSpeed : 600
		};
		
		// merge default global variables with custom variables, modifying 'config'
		if (settings) $.extend(config, settings);
		
		this.each(function(i) {	
			$(this).css({left:'auto',right:'auto',top:'auto',bottom:'auto'});
			var measurement = (config.direction == 'left') || (config.direction == 'right') ? $(this).outerWidth() : $(this).outerHeight();
			var startStyle = {};
			startStyle['position'] = $(this).css('position') == 'static' ? 'relative' : $(this).css('position');
			startStyle[config.direction] = (config.showHide == 'show') ? '-'+measurement+'px' : 0;
			var endStyle = {};
			endStyle[config.direction] = config.showHide == 'show' ? 0 : '-'+measurement+'px';
			$(this).css(startStyle).animate(endStyle,config.changeSpeed,callback);
		// end .each
		});
	
		return this;
		
	// end .slideIt
	};

// end closure
})(jQuery);
