/* START FILE static/js/jquery/jquery.pack.js */
/*
 * 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")}})})();
/* END FILE static/js/jquery/jquery.pack.js */
/* START FILE static/js/function.js */
var rawOnloadClosure=[];
function addOnloadClosure(fnc){
  rawOnloadClosure[rawOnloadClosure.length]=fnc;
}

function runOnloadClosure(){
  for(var i=0;i<rawOnloadClosure.length;i++) {
    rawOnloadClosure[i]();
  }
}

/* occurence : xxx_xxx/directory_gold_button.html */
function changeBg(idBloc,img) {
  var blk = document.getElementById(idBloc);
  blk.style.backgroundImage = 'url(static/xxx_xxx/img/'+img+')';
}

window.onload = runOnloadClosure;


/* END FILE static/js/function.js */
/* START FILE static/js/jquery/jquery.backgroundPosition.js */
/**
 * @author Alexander Farkas
 * v. 1.02
 */
(function($) {
	$.extend($.fx.step,{
	    backgroundPosition: function(fx) {
            if (fx.state === 0 && typeof fx.end == 'string') {
                var start = $.curCSS(fx.elem,'backgroundPosition');
                start = toArray(start);
                fx.start = [start[0],start[2]];
                var end = toArray(fx.end);
                fx.end = [end[0],end[2]];
                fx.unit = [end[1],end[3]];
			}
            var nowPosX = [];
            nowPosX[0] = ((fx.end[0] - fx.start[0]) * fx.pos) + fx.start[0] + fx.unit[0];
            nowPosX[1] = ((fx.end[1] - fx.start[1]) * fx.pos) + fx.start[1] + fx.unit[1];           
            fx.elem.style.backgroundPosition = nowPosX[0]+' '+nowPosX[1];
            
           function toArray(strg){
               strg = strg.replace(/left|top/g,'0px');
               strg = strg.replace(/right|bottom/g,'100%');
               strg = strg.replace(/([0-9\.]+)(\s|\)|$)/g,"$1px$2");
               var res = strg.match(/(-?[0-9\.]+)(px|\%|em|pt)\s(-?[0-9\.]+)(px|\%|em|pt)/);
               return [parseFloat(res[1],10),res[2],parseFloat(res[3],10),res[4]];
           }
        }
	});
})(jQuery);
/* END FILE static/js/jquery/jquery.backgroundPosition.js */
/* START FILE static/js/jquery/jquery.jfade.1.0.js */
 /* Copyright (c) 2008 Kean Loong Tan http://www.gimiti.com/kltan
 * Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
 * Copyright notice and license must remain intact for legal use
 * jFade
 * Version: 1.0 (Jun 30, 2008)
 * Requires: jQuery 1.2.6+
 *
 *
 * Original Code Copyright (c) 2008 by Michael Leigeber
 * Website: http://www.leigeber.com
 *
 *
 */

(function($) {

	$.fn.jFade = function(options) {
		// merge users option with default options
		var opts = $.extend({}, $.fn.jFade.defaults, options);
		var startrgb,endrgb,er,eg,eb,rint,gint,bint,step;
		var target = this;
		//var obj = this;
	
		var init = function() {
			var tgt = target;
			opts.steps = opts.steps || 20;
			opts.duration = opts.duration || 20;
			//clear everything + reset
			clearInterval(tgt.timer);
			endrgb = colorConv(opts.end);
			er = endrgb[0];
			eg = endrgb[1];
			eb = endrgb[2];
		
			if(!tgt.r) {
				//convert to usable rgb value
				startrgb = colorConv(opts.start);
				r = startrgb[0];
				g = startrgb[1];
				b = startrgb[2];
				tgt.r = r;
				tgt.g = g;
				tgt.b = b;
			}
			//process red
			rint = Math.round(Math.abs(tgt.r-er)/opts.steps);
			//process green
			gint = Math.round(Math.abs(tgt.g-eg)/opts.steps);
			//process blue
			bint = Math.round(Math.abs(tgt.b-eb)/opts.steps);
			if(rint == 0) { rint = 1 }
			if(gint == 0) { gint = 1 }
			if(bint == 0) { bint = 1 }
		
			tgt.step = 1;
			tgt.timer = setInterval( function() { animateColor(tgt,opts.property,opts.steps,er,eg,eb,rint,gint,bint) }, opts.duration);
		
			function animateColor(obj,property,steps,er,eg,eb,rint,gint,bint) {
				var tgt = obj;
				var color;
				if(tgt.step <= steps) { // for each loop
					var r = tgt.r;
					var g = tgt.g;
					var b = tgt.b;
					if(r >= er) {
						r = r - rint;
					}
					else {
					r = parseInt(r) + parseInt(rint);
					}
					if(g >= eg) {
						g = g - gint;
					}
					else {
						g = parseInt(g) + parseInt(gint);
					}
					if(b >= eb) {
					b = b - bint;
					}
					else {
						b = parseInt(b) + parseInt(bint);
					}
					color = 'rgb(' + r + ',' + g + ',' + b + ')';
					
					$(obj).css(property, color);
					
					tgt.r = r;
					tgt.g = g;
					tgt.b = b;
					tgt.step = tgt.step + 1;
				}
				else {// last loop
				
					clearInterval(tgt.timer);
					color = 'rgb(' + er + ',' + eg + ',' + eb + ')';
					$(obj).css(property, color);
				}
			}
			
			// convert the color to rgb from hex
			function colorConv(color) {
				//covert 0-2 position hex into decimal in rgb[0]
				//covert 2-4 position hex into decimal in rgb[1]
				//covert 4-6 position hex into decimal in rgb[2]
				var rgb = [parseInt(color.substring(0,2),16),
				parseInt(color.substring(2,4),16),
				parseInt(color.substring(4,6),16)];
				//return array containing rgb[0], rgb[1], rgb[2]
				return rgb;
			}
		};
		if (opts.trigger == "load")
			init();
		else
			$(this).bind(opts.trigger, function(){
				target = this;
				init();
			});
		
		return this;
	};

	$.fn.jFade.defaults = {
		trigger: "load",
		property: 'background',
		start: 'FFFFFF',
		end: '000000',
		steps: 5,
		duration: 30
	};
})(jQuery);
/* END FILE static/js/jquery/jquery.jfade.1.0.js */
/* START FILE static/js/jquery/jquery.scrollTo-min.js */
/**
 * jQuery.ScrollTo - Easy element scrolling using jQuery.
 * Copyright (c) 2007-2009 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
 * Dual licensed under MIT and GPL.
 * Date: 5/25/2009
 * @author Ariel Flesler
 * @version 1.4.2
 *
 * http://flesler.blogspot.com/2007/10/jqueryscrollto.html
 */
;(function(d){var k=d.scrollTo=function(a,i,e){d(window).scrollTo(a,i,e)};k.defaults={axis:'xy',duration:parseFloat(d.fn.jquery)>=1.3?0:1};k.window=function(a){return d(window)._scrollable()};d.fn._scrollable=function(){return this.map(function(){var a=this,i=!a.nodeName||d.inArray(a.nodeName.toLowerCase(),['iframe','#document','html','body'])!=-1;if(!i)return a;var e=(a.contentWindow||a).document||a.ownerDocument||a;return d.browser.safari||e.compatMode=='BackCompat'?e.body:e.documentElement})};d.fn.scrollTo=function(n,j,b){if(typeof j=='object'){b=j;j=0}if(typeof b=='function')b={onAfter:b};if(n=='max')n=9e9;b=d.extend({},k.defaults,b);j=j||b.speed||b.duration;b.queue=b.queue&&b.axis.length>1;if(b.queue)j/=2;b.offset=p(b.offset);b.over=p(b.over);return this._scrollable().each(function(){var q=this,r=d(q),f=n,s,g={},u=r.is('html,body');switch(typeof f){case'number':case'string':if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(f)){f=p(f);break}f=d(f,this);case'object':if(f.is||f.style)s=(f=d(f)).offset()}d.each(b.axis.split(''),function(a,i){var e=i=='x'?'Left':'Top',h=e.toLowerCase(),c='scroll'+e,l=q[c],m=k.max(q,i);if(s){g[c]=s[h]+(u?0:l-r.offset()[h]);if(b.margin){g[c]-=parseInt(f.css('margin'+e))||0;g[c]-=parseInt(f.css('border'+e+'Width'))||0}g[c]+=b.offset[h]||0;if(b.over[h])g[c]+=f[i=='x'?'width':'height']()*b.over[h]}else{var o=f[h];g[c]=o.slice&&o.slice(-1)=='%'?parseFloat(o)/100*m:o}if(/^\d+$/.test(g[c]))g[c]=g[c]<=0?0:Math.min(g[c],m);if(!a&&b.queue){if(l!=g[c])t(b.onAfterFirst);delete g[c]}});t(b.onAfter);function t(a){r.animate(g,j,b.easing,a&&function(){a.call(this,n,b)})}}).end()};k.max=function(a,i){var e=i=='x'?'Width':'Height',h='scroll'+e;if(!d(a).is('html,body'))return a[h]-d(a)[e.toLowerCase()]();var c='client'+e,l=a.ownerDocument.documentElement,m=a.ownerDocument.body;return Math.max(l[h],m[h])-Math.min(l[c],m[c])};function p(a){return typeof a=='object'?a:{top:a,left:a}}})(jQuery);
/* END FILE static/js/jquery/jquery.scrollTo-min.js */
/* START FILE static/js/jquery/jquery.taconite.js */
/*!
 * jQuery Taconite plugin - A port of the Taconite framework by Ryan Asleson and
 *     Nathaniel T. Schutta: http://taconite.sourceforge.net/
 *
 * Examples and documentation at: http://malsup.com/jquery/taconite/
 * Copyright (c) 2007-2010 M. Alsup
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 * Thanks to Kenton Simpson for contributing many good ideas!
 *
 * @version: 3.09  01-MAR-2010
 * @requires jQuery v1.2.6 or later
 */

(function($) {
var version = '3.09';

$.taconite = function(xml) { processDoc(xml); };

$.taconite.debug = 0;  // set to true to enable debug logging to window.console.log
$.taconite.defaults = {
    cdataWrap: 'div'
};

// add 'replace' and 'replaceContent' plugins (conditionally)
if (typeof $.fn.replace == 'undefined')
    $.fn.replace = function(a) { return this.after(a).remove(); };
if (typeof $.fn.replaceContent == 'undefined')
    $.fn.replaceContent = function(a) { return this.empty().append(a); };

$.expr[':'].taconiteTag = function(a) { return a.taconiteTag === 1; };

var _httpData = $.httpData; // original jQuery httpData function

// replace jQuery's httpData method
$.httpData = $.taconite.detect = function(xhr, type) {
    var ct = xhr.getResponseHeader('content-type');
    if ($.taconite.debug) {
        log('[AJAX response] content-type: ', ct, ';  status: ', xhr.status, ' ', xhr.statusText, ';  has responseXML: ', xhr.responseXML != null);
        log('type arg: ' + type);
        log('responseXML: ' + xhr.responseXML);
    }
    var data = _httpData(xhr, type); // call original method
    if (data && data.documentElement) {
		$.taconite(data);
    }
    else { 
        log('jQuery core httpData returned: ' + data);
        log('httpData: response is not XML (or not "valid" XML)');
    }
    return data;
};

// allow auto-detection to be enabled/disabled on-demand
$.taconite.enableAutoDetection = function(b) {
    $.httpData = b ? $.taconite.detect : _httpData;
};

var logCount = 0;
function log() {
    if (!$.taconite.debug || !window.console || !window.console.log) return;
    if (!logCount++)
        log('Plugin Version: ' + version);
    window.console.log('[taconite] ' + [].join.call(arguments,''));
};

function processDoc(xml) { 
    var status = true, ex;
    try {
		if (typeof xml == 'string')
			xml = convert(xml);
		if (!xml) {
			log('$.taconite invoked without valid document; nothing to process');
			return false;
		}
		
		var root = xml.documentElement.tagName;
		log('XML document root: ', root);
		
		var taconiteDoc = $('taconite', xml)[0];
			
		if (!taconiteDoc) {
			log('document does not contain <taconite> element; nothing to process');
			return false;
		}
		
		$.event.trigger('taconite-begin-notify', [taconiteDoc]);
        status = go(taconiteDoc); 
    } catch(e) {
        status = ex = e;
    }
    $.event.trigger('taconite-complete-notify', [xml, !!status, status === true ? null : status]);
    if (ex) throw ex;
};

// convert string to xml document
function convert(s) {
	var doc;
	log('attempting string to document conversion');
	try {
		if (window.DOMParser) {
			var parser = new DOMParser();
			doc = parser.parseFromString(s, 'text/xml');
		}
		else {
			doc = $("<xml>")[0];
			doc.async = 'false';
			doc.loadXML(s);
		}
	}
	catch(e) {
		if (window.console && window.console.error)
			window.console.error('[taconite] ERROR parsing XML string for conversion: ' + e);
		throw e;
	}
	var ok = doc && doc.documentElement && doc.documentElement.tagName != 'parsererror';
	log('conversion ', ok ? 'successful!' : 'FAILED');
	return doc;
};


function go(xml) {
    var trimHash = { wrap: 1 };

    try {
        var t = new Date().getTime();
        // process the document
        process(xml.childNodes);
        $.taconite.lastTime = (new Date().getTime()) - t;
        log('time to process response: ' + $.taconite.lastTime + 'ms');
    } catch(e) {
        if (window.console && window.console.error)
            window.console.error('[taconite] ERROR processing document: ' + e);
        throw e;
    }
    return true;
    
// process the taconite commands    
    function process(commands) {
        var doPostProcess = 0;
        for(var i=0; i < commands.length; i++) {
            if (commands[i].nodeType != 1)
                continue; // commands are elements
            var cmdNode = commands[i], cmd = cmdNode.tagName;
            if (cmd == 'eval') {
                var js = (cmdNode.firstChild ? cmdNode.firstChild.nodeValue : null);
                log('invoking "eval" command: ', js);
                if (js) $.globalEval(js);
                continue;
            }
            var q = cmdNode.getAttribute('select');
            var jq = $(q);
            if (!jq[0]) {
                log('No matching targets for selector: ', q);
                continue;
            }
            var cdataWrap = cmdNode.getAttribute('cdataWrap') || $.taconite.defaults.cdataWrap;

            var a = [];
            if (cmdNode.childNodes.length > 0) {
                doPostProcess = 1;
                for (var j=0,els=[]; j < cmdNode.childNodes.length; j++)
                    els[j] = createNode(cmdNode.childNodes[j]);
                a.push(trimHash[cmd] ? cleanse(els) : els);
            }

            // remain backward compat with pre 2.0.9 versions
            var n = cmdNode.getAttribute('name');
            var v = cmdNode.getAttribute('value');
            if (n !== null) a.push(n);
            if (v !== null) a.push(v);

            // @since: 2.0.9: support arg1, arg2, arg3...
            for (var j=1; true; j++) {
                v = cmdNode.getAttribute('arg'+j);
                if (v === null)
                    break;
                // support numeric primitives
                var n = Number(v);
				if (v == n)
					v = n;
                a.push(v);
            }

            if ($.taconite.debug) {
				var args = '';
				if (els)
					args = '...';
				else {
					for (var k=0; k < a.length; k++) {
						if (k > 0)
							args += ',';
						var val = a[k];
						var isString = typeof val == 'string';
						if (isString)
							args += '\'';
						args += val;							
						if (isString)
							args += '\'';
					}
				}
                log("invoking command: $('", q, "').", cmd, '('+ args +')');
            }
            jq[cmd].apply(jq,a);
        }
        // apply dynamic fixes
        if (doPostProcess) 
            postProcess();
    
        function postProcess() {
            if ($.browser.mozilla) return; 
            // post processing fixes go here; currently there is only one:
            // fix1: opera, IE6, Safari/Win don't maintain selected options in all cases (thanks to Karel Fučík for this!)
            $('select:taconiteTag').each(function() {
                var sel = this;
                $('option:taconiteTag', this).each(function() {
                    this.setAttribute('selected','selected');
                    this.taconiteTag = null;
                    if (sel.type == 'select-one') {
                        var idx = $('option',sel).index(this);
                        sel.selectedIndex = idx;
                    }
                });
                this.taconiteTag = null;
            });
        };
        
        function cleanse(els) {
            for (var i=0, a=[]; i < els.length; i++)
                if (els[i].nodeType == 1) a.push(els[i]);
            return a;
        };
        
        function createNode(node) {
            var type = node.nodeType;
            if (type == 1) return createElement(node);
            if (type == 3) return fixTextNode(node.nodeValue);
            if (type == 4) return handleCDATA(node.nodeValue);
            return null;
        };
        
        function handleCDATA(s) {
            var el = document.createElement(cdataWrap);
            el.innerHTML = s;
            
            // remove wrapper node if possible
            var $el = $(el), $ch = $el.children();
            if ($ch.size() == 1)
                return $ch[0];
            return el;
        };
        
        function fixTextNode(s) {
            if ($.browser.msie) s = s.replace(/\n/g, '\r').replace(/\s+/g, ' ');
            return document.createTextNode(s);
        };
        
        function createElement(node) {
            var e, tag = node.tagName.toLowerCase();
            // some elements in IE need to be created with attrs inline
            if ($.browser.msie) {
                var type = node.getAttribute('type');
                if (tag == 'table' || type == 'radio' || type == 'checkbox' || tag == 'button' || 
                    (tag == 'select' && node.getAttribute('multiple'))) {
                    e = document.createElement('<' + tag + ' ' + copyAttrs(null, node, true) + '>');
                }
            }
            if (!e) {
                e = document.createElement(tag);
                // copyAttrs(e, node, tag == 'option' && $.browser.safari);
                copyAttrs(e, node);
            }
            
            // IE fix; colspan must be explicitly set
            if ($.browser.msie && tag == 'td') {
                var colspan = node.getAttribute('colspan');
                if (colspan) e.colSpan = parseInt(colspan);
            }

            // IE fix; script tag not allowed to have children
            if($.browser.msie && !e.canHaveChildren) {
                if(node.childNodes.length > 0)
                    e.text = node.text;
            }
            else {
                for(var i=0, max=node.childNodes.length; i < max; i++) {
                    var child = createNode (node.childNodes[i]);
                    if(child) e.appendChild(child);
                }
            }
            if (! $.browser.mozilla) {
                if (tag == 'select' || (tag == 'option' && node.getAttribute('selected')))
                    e.taconiteTag = 1;
            }
            return e;
        };
        
        function copyAttrs(dest, src, inline) {
            for (var i=0, attr=''; i < src.attributes.length; i++) {
                var a = src.attributes[i], n = $.trim(a.name), v = $.trim(a.value);
                if (inline) attr += (n + '="' + v + '" ');
                else if (n == 'style') { // IE workaround
                    dest.style.cssText = v;
                    dest.setAttribute(n, v);
                }
                else $.attr(dest, n, v);
            }
            return attr;
        };
    };
};

})(jQuery);

/* END FILE static/js/jquery/jquery.taconite.js */
/* START FILE static/js/jquery/jquery.autogrow.js */
/* 
 * Auto Expanding Text Area (1.2.2)
 * by Chrys Bader (www.chrysbader.com)
 * chrysb@gmail.com
 *
 * Special thanks to:
 * Jake Chapa - jake@hybridstudio.com
 * John Resig - jeresig@gmail.com
 *
 * Copyright (c) 2008 Chrys Bader (www.chrysbader.com)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 *
 * NOTE: This script requires jQuery to work.  Download jQuery at www.jquery.com
 *
 */
 
(function(jQuery) {
		  
	var self = null;
 
	jQuery.fn.autogrow = function(o)
	{	
		return this.each(function() {
			new jQuery.autogrow(this, o);
		});
	};
	

    /**
     * The autogrow object.
     *
     * @constructor
     * @name jQuery.autogrow
     * @param Object e The textarea to create the autogrow for.
     * @param Hash o A set of key/value pairs to set as configuration properties.
     * @cat Plugins/autogrow
     */
	
	jQuery.autogrow = function (e, o)
	{
		this.options		  	= o || {};
		this.dummy			  	= null;
		this.interval	 	  	= null;
        
        var line_height = parseInt(jQuery(e).css('line-height'));
        line_height = isNaN(line_height)?16:line_height;
		this.line_height	  	= this.options.lineHeight || line_height;
        
		this.min_height		  	= this.options.minHeight || parseInt(jQuery(e).css('min-height'));
		this.max_height		  	= this.options.maxHeight || parseInt(jQuery(e).css('max-height'));;
		this.textarea		  	= jQuery(e);
		
		if(this.line_height == NaN)
		  this.line_height = 0;
		
		// Only one textarea activated at a time, the one being used
		this.init();
	};
	
	jQuery.autogrow.fn = jQuery.autogrow.prototype = {
    autogrow: '1.2.2'
  };
	
 	jQuery.autogrow.fn.extend = jQuery.autogrow.extend = jQuery.extend;
	
	jQuery.autogrow.fn.extend({
						 
		init: function() {			
			var self = this;			
			this.textarea.css({overflow: 'hidden', display: 'block'});
			this.textarea.bind('focus', function() { self.startExpand() } ).bind('blur', function() { self.stopExpand() });
			this.checkExpand();	
		},
						 
		startExpand: function() {				
		  var self = this;
			this.interval = window.setInterval(function() {self.checkExpand()}, 400);
		},
		
		stopExpand: function() {
			clearInterval(this.interval);	
		},
		
		checkExpand: function() {
			
			if (this.dummy == null)
			{
				this.dummy = jQuery('<div></div>');
				this.dummy.css({
												'font-size'  : this.textarea.css('font-size'),
												'font-family': this.textarea.css('font-family'),
												'width'      : this.textarea.width(),
												'padding'    : this.textarea.css('padding'),
												'line-height': this.line_height + 'px',
												'overflow-x' : 'hidden',
												'position'   : 'absolute',
												'top'        : 0,
												'left'		 : '-9999px'
												}).appendTo('body');
			}
			
			// Strip HTML tags
			var html = this.textarea.val().replace(/[<|>&]/g, '');
			
			// IE is different, as per usual
			if (jQuery.browser.msie)
			{
				html = html.replace(/\n/g, '<BR>new');
			}
			else
			{
				html = html.replace(/\n/g, '<br>new');
			}
			
			if (this.dummy.html() != html)
			{
				//alert(this.dummy.html() + '-' + html);
				this.dummy.html(html);	
				
				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);

/* END FILE static/js/jquery/jquery.autogrow.js */
/* START FILE static/js/jquery/jquery.hint.js */
/**
* @author Remy Sharp
* @url http://remysharp.com/2007/01/25/jquery-tutorial-text-box-hints/
*/

(function ($) {

$.fn.hint = function (blurClass) {
    if (!blurClass) blurClass = 'blur';
    
    return this.each(function () {
        var $input = $(this),
            title = $input.attr('title'),
            $form = $(this.form),
            $win = $(window);

        function remove() {
            if (this.value === title && $input.hasClass(blurClass)) {
                $input.val('').removeClass(blurClass);
            }
        }

        // only apply logic if the element has the attribute
        if (title) { 
            // on blur, set value to title attr if text is blank
            $input.blur(function () {
                if (this.value === '') {
                    $input.val(title).addClass(blurClass);
                }
            }).focus(remove).blur(); // now change all inputs to title
            
            // clear the pre-defined text when form is submitted
            $form.submit(remove);
            $win.unload(remove); // handles Firefox's autocomplete
        }
    });
};

})(jQuery);
/* END FILE static/js/jquery/jquery.hint.js */
/* START FILE static/js/jquery/jquery.cycle.all.js */
/*!
 * jQuery Cycle Plugin (with Transition Definitions)
 * Examples and documentation at: http://jquery.malsup.com/cycle/
 * Copyright (c) 2007-2010 M. Alsup
 * Version: 2.9995 (09-AUG-2011)
 * Dual licensed under the MIT and GPL licenses.
 * http://jquery.malsup.com/license.html
 * Requires: jQuery v1.3.2 or later
 */
;(function($) {

var ver = '2.9995';

// if $.support is not defined (pre jQuery 1.3) add what I need
if ($.support == undefined) {
	$.support = {
		opacity: !($.browser.msie)
	};
}

function debug(s) {
	$.fn.cycle.debug && log(s);
}		
function log() {
	window.console && console.log && console.log('[cycle] ' + Array.prototype.join.call(arguments,' '));
}
$.expr[':'].paused = function(el) {
	return el.cyclePause;
}


// the options arg can be...
//   a number  - indicates an immediate transition should occur to the given slide index
//   a string  - 'pause', 'resume', 'toggle', 'next', 'prev', 'stop', 'destroy' or the name of a transition effect (ie, 'fade', 'zoom', etc)
//   an object - properties to control the slideshow
//
// the arg2 arg can be...
//   the name of an fx (only used in conjunction with a numeric value for 'options')
//   the value true (only used in first arg == 'resume') and indicates
//	 that the resume should occur immediately (not wait for next timeout)

$.fn.cycle = function(options, arg2) {
	var o = { s: this.selector, c: this.context };

	// in 1.3+ we can fix mistakes with the ready state
	if (this.length === 0 && options != 'stop') {
		if (!$.isReady && o.s) {
			log('DOM not ready, queuing slideshow');
			$(function() {
				$(o.s,o.c).cycle(options,arg2);
			});
			return this;
		}
		// is your DOM ready?  http://docs.jquery.com/Tutorials:Introducing_$(document).ready()
		log('terminating; zero elements found by selector' + ($.isReady ? '' : ' (DOM not ready)'));
		return this;
	}

	// iterate the matched nodeset
	return this.each(function() {
		var opts = handleArguments(this, options, arg2);
		if (opts === false)
			return;

		opts.updateActivePagerLink = opts.updateActivePagerLink || $.fn.cycle.updateActivePagerLink;
		
		// stop existing slideshow for this container (if there is one)
		if (this.cycleTimeout)
			clearTimeout(this.cycleTimeout);
		this.cycleTimeout = this.cyclePause = 0;

		var $cont = $(this);
		var $slides = opts.slideExpr ? $(opts.slideExpr, this) : $cont.children();
		var els = $slides.get();

		var opts2 = buildOptions($cont, $slides, els, opts, o);
		if (opts2 === false)
			return;

		if (els.length < 2) {
			log('terminating; too few slides: ' + els.length);
			return;
		}

		var startTime = opts2.continuous ? 10 : getTimeout(els[opts2.currSlide], els[opts2.nextSlide], opts2, !opts2.backwards);

		// if it's an auto slideshow, kick it off
		if (startTime) {
			startTime += (opts2.delay || 0);
			if (startTime < 10)
				startTime = 10;
			debug('first timeout: ' + startTime);
			this.cycleTimeout = setTimeout(function(){go(els,opts2,0,!opts.backwards)}, startTime);
		}
	});
};

function triggerPause(cont, byHover, onPager) {
	var opts = $(cont).data('cycle.opts');
	var paused = !!cont.cyclePause;
	if (paused && opts.paused)
		opts.paused(cont, opts, byHover, onPager);
	else if (!paused && opts.resumed)
		opts.resumed(cont, opts, byHover, onPager);
}

// process the args that were passed to the plugin fn
function handleArguments(cont, options, arg2) {
	if (cont.cycleStop == undefined)
		cont.cycleStop = 0;
	if (options === undefined || options === null)
		options = {};
	if (options.constructor == String) {
		switch(options) {
		case 'destroy':
		case 'stop':
			var opts = $(cont).data('cycle.opts');
			if (!opts)
				return false;
			cont.cycleStop++; // callbacks look for change
			if (cont.cycleTimeout)
				clearTimeout(cont.cycleTimeout);
			cont.cycleTimeout = 0;
			opts.elements && $(opts.elements).stop();
			$(cont).removeData('cycle.opts');
			if (options == 'destroy')
				destroy(opts);
			return false;
		case 'toggle':
			cont.cyclePause = (cont.cyclePause === 1) ? 0 : 1;
			checkInstantResume(cont.cyclePause, arg2, cont);
			triggerPause(cont);
			return false;
		case 'pause':
			cont.cyclePause = 1;
			triggerPause(cont);
			return false;
		case 'resume':
			cont.cyclePause = 0;
			checkInstantResume(false, arg2, cont);
			triggerPause(cont);
			return false;
		case 'prev':
		case 'next':
			var opts = $(cont).data('cycle.opts');console.log(opts);
			if (!opts) {
				log('options not found, "prev/next" ignored');
				return false;
			}
			$.fn.cycle[options](opts);
			return false;
		default:
			options = { fx: options };
		};
		return options;
	}
	else if (options.constructor == Number) {
		// go to the requested slide
		var num = options;
		options = $(cont).data('cycle.opts');
		if (!options) {
			log('options not found, can not advance slide');
			return false;
		}
		if (num < 0 || num >= options.elements.length) {
			log('invalid slide index: ' + num);
			return false;
		}
		options.nextSlide = num;
		if (cont.cycleTimeout) {
			clearTimeout(cont.cycleTimeout);
			cont.cycleTimeout = 0;
		}
		if (typeof arg2 == 'string')
			options.oneTimeFx = arg2;
		go(options.elements, options, 1, num >= options.currSlide);
		return false;
	}
	return options;
	
	function checkInstantResume(isPaused, arg2, cont) {
		if (!isPaused && arg2 === true) { // resume now!
			var options = $(cont).data('cycle.opts');
			if (!options) {
				log('options not found, can not resume');
				return false;
			}
			if (cont.cycleTimeout) {
				clearTimeout(cont.cycleTimeout);
				cont.cycleTimeout = 0;
			}
			go(options.elements, options, 1, !options.backwards);
		}
	}
};

function removeFilter(el, opts) {
	if (!$.support.opacity && opts.cleartype && el.style.filter) {
		try { el.style.removeAttribute('filter'); }
		catch(smother) {} // handle old opera versions
	}
};

// unbind event handlers
function destroy(opts) {
	if (opts.next)
		$(opts.next).unbind(opts.prevNextEvent);
	if (opts.prev)
		$(opts.prev).unbind(opts.prevNextEvent);
	
	if (opts.pager || opts.pagerAnchorBuilder)
		$.each(opts.pagerAnchors || [], function() {
			this.unbind().remove();
		});
	opts.pagerAnchors = null;
	if (opts.destroy) // callback
		opts.destroy(opts);
};

// one-time initialization
function buildOptions($cont, $slides, els, options, o) {
	// support metadata plugin (v1.0 and v2.0)
	var opts = $.extend({}, $.fn.cycle.defaults, options || {}, $.metadata ? $cont.metadata() : $.meta ? $cont.data() : {});
	var meta = $.isFunction($cont.data) ? $cont.data(opts.metaAttr) : null;
	if (meta)
		opts = $.extend(opts, meta);
	if (opts.autostop)
		opts.countdown = opts.autostopCount || els.length;

	var cont = $cont[0];
	$cont.data('cycle.opts', opts);
	opts.$cont = $cont;
	opts.stopCount = cont.cycleStop;
	opts.elements = els;
	opts.before = opts.before ? [opts.before] : [];
	opts.after = opts.after ? [opts.after] : [];

	// push some after callbacks
	if (!$.support.opacity && opts.cleartype)
		opts.after.push(function() { removeFilter(this, opts); });
	if (opts.continuous)
		opts.after.push(function() { go(els,opts,0,!opts.backwards); });

	saveOriginalOpts(opts);

	// clearType corrections
	if (!$.support.opacity && opts.cleartype && !opts.cleartypeNoBg)
		clearTypeFix($slides);

	// container requires non-static position so that slides can be position within
	if ($cont.css('position') == 'static')
		$cont.css('position', 'relative');
	if (opts.width)
		$cont.width(opts.width);
	if (opts.height && opts.height != 'auto')
		$cont.height(opts.height);

	if (opts.startingSlide)
		opts.startingSlide = parseInt(opts.startingSlide,10);
	else if (opts.backwards)
		opts.startingSlide = els.length - 1;

	// if random, mix up the slide array
	if (opts.random) {
		opts.randomMap = [];
		for (var i = 0; i < els.length; i++)
			opts.randomMap.push(i);
		opts.randomMap.sort(function(a,b) {return Math.random() - 0.5;});
		opts.randomIndex = 1;
		opts.startingSlide = opts.randomMap[1];
	}
	else if (opts.startingSlide >= els.length)
		opts.startingSlide = 0; // catch bogus input
	opts.currSlide = opts.startingSlide || 0;
	var first = opts.startingSlide;

	// set position and zIndex on all the slides
	$slides.css({position: 'absolute', top:0, left:0}).hide().each(function(i) {
		var z;
		if (opts.backwards)
			z = first ? i <= first ? els.length + (i-first) : first-i : els.length-i;
		else
			z = first ? i >= first ? els.length - (i-first) : first-i : els.length-i;
		$(this).css('z-index', z)
	});

	// make sure first slide is visible
	$(els[first]).css('opacity',1).show(); // opacity bit needed to handle restart use case
	removeFilter(els[first], opts);

	// stretch slides
	if (opts.fit) {
		if (!opts.aspect) {
	        if (opts.width)
	            $slides.width(opts.width);
	        if (opts.height && opts.height != 'auto')
	            $slides.height(opts.height);
		} else {
			$slides.each(function(){
				var $slide = $(this);
				var ratio = (opts.aspect === true) ? $slide.width()/$slide.height() : opts.aspect;
				if( opts.width && $slide.width() != opts.width ) {
					$slide.width( opts.width );
					$slide.height( opts.width / ratio );
				}

				if( opts.height && $slide.height() < opts.height ) {
					$slide.height( opts.height );
					$slide.width( opts.height * ratio );
				}
			});
		}
	}

	if (opts.center && ((!opts.fit) || opts.aspect)) {
		$slides.each(function(){
			var $slide = $(this);
			$slide.css({
				"margin-left": opts.width ?
					((opts.width - $slide.width()) / 2) + "px" :
					0,
				"margin-top": opts.height ?
					((opts.height - $slide.height()) / 2) + "px" :
					0
			});
		});
	}

	if (opts.center && !opts.fit && !opts.slideResize) {
	  	$slides.each(function(){
	    	var $slide = $(this);
	    	$slide.css({
	      		"margin-left": opts.width ? ((opts.width - $slide.width()) / 2) + "px" : 0,
	      		"margin-top": opts.height ? ((opts.height - $slide.height()) / 2) + "px" : 0
	    	});
	  	});
	}
		
	// stretch container
	var reshape = opts.containerResize && !$cont.innerHeight();
	if (reshape) { // do this only if container has no size http://tinyurl.com/da2oa9
		var maxw = 0, maxh = 0;
		for(var j=0; j < els.length; j++) {
			var $e = $(els[j]), e = $e[0], w = $e.outerWidth(), h = $e.outerHeight();
			if (!w) w = e.offsetWidth || e.width || $e.attr('width');
			if (!h) h = e.offsetHeight || e.height || $e.attr('height');
			maxw = w > maxw ? w : maxw;
			maxh = h > maxh ? h : maxh;
		}
		if (maxw > 0 && maxh > 0)
			$cont.css({width:maxw+'px',height:maxh+'px'});
	}

	var pauseFlag = false;  // https://github.com/malsup/cycle/issues/44
	if (opts.pause)
		$cont.hover(
			function(){
				pauseFlag = true;
				this.cyclePause++;
				triggerPause(cont, true);
			},
			function(){
				pauseFlag && this.cyclePause--;
				triggerPause(cont, true);
			}
		);

	if (supportMultiTransitions(opts) === false)
		return false;

	// apparently a lot of people use image slideshows without height/width attributes on the images.
	// Cycle 2.50+ requires the sizing info for every slide; this block tries to deal with that.
	var requeue = false;
	options.requeueAttempts = options.requeueAttempts || 0;
	$slides.each(function() {
		// try to get height/width of each slide
		var $el = $(this);
		this.cycleH = (opts.fit && opts.height) ? opts.height : ($el.height() || this.offsetHeight || this.height || $el.attr('height') || 0);
		this.cycleW = (opts.fit && opts.width) ? opts.width : ($el.width() || this.offsetWidth || this.width || $el.attr('width') || 0);

		if ( $el.is('img') ) {
			// sigh..  sniffing, hacking, shrugging...  this crappy hack tries to account for what browsers do when
			// an image is being downloaded and the markup did not include sizing info (height/width attributes);
			// there seems to be some "default" sizes used in this situation
			var loadingIE	= ($.browser.msie  && this.cycleW == 28 && this.cycleH == 30 && !this.complete);
			var loadingFF	= ($.browser.mozilla && this.cycleW == 34 && this.cycleH == 19 && !this.complete);
			var loadingOp	= ($.browser.opera && ((this.cycleW == 42 && this.cycleH == 19) || (this.cycleW == 37 && this.cycleH == 17)) && !this.complete);
			var loadingOther = (this.cycleH == 0 && this.cycleW == 0 && !this.complete);
			// don't requeue for images that are still loading but have a valid size
			if (loadingIE || loadingFF || loadingOp || loadingOther) {
				if (o.s && opts.requeueOnImageNotLoaded && ++options.requeueAttempts < 100) { // track retry count so we don't loop forever
					log(options.requeueAttempts,' - img slide not loaded, requeuing slideshow: ', this.src, this.cycleW, this.cycleH);
					setTimeout(function() {$(o.s,o.c).cycle(options)}, opts.requeueTimeout);
					requeue = true;
					return false; // break each loop
				}
				else {
					log('could not determine size of image: '+this.src, this.cycleW, this.cycleH);
				}
			}
		}
		return true;
	});

	if (requeue)
		return false;

	opts.cssBefore = opts.cssBefore || {};
	opts.cssAfter = opts.cssAfter || {};
	opts.cssFirst = opts.cssFirst || {};
	opts.animIn = opts.animIn || {};
	opts.animOut = opts.animOut || {};

	$slides.not(':eq('+first+')').css(opts.cssBefore);
	$($slides[first]).css(opts.cssFirst);

	if (opts.timeout) {
		opts.timeout = parseInt(opts.timeout,10);
		// ensure that timeout and speed settings are sane
		if (opts.speed.constructor == String)
			opts.speed = $.fx.speeds[opts.speed] || parseInt(opts.speed,10);
		if (!opts.sync)
			opts.speed = opts.speed / 2;
		
		var buffer = opts.fx == 'none' ? 0 : opts.fx == 'shuffle' ? 500 : 250;
		while((opts.timeout - opts.speed) < buffer) // sanitize timeout
			opts.timeout += opts.speed;
	}
	if (opts.easing)
		opts.easeIn = opts.easeOut = opts.easing;
	if (!opts.speedIn)
		opts.speedIn = opts.speed;
	if (!opts.speedOut)
		opts.speedOut = opts.speed;

	opts.slideCount = els.length;
	opts.currSlide = opts.lastSlide = first;
	if (opts.random) {
		if (++opts.randomIndex == els.length)
			opts.randomIndex = 0;
		opts.nextSlide = opts.randomMap[opts.randomIndex];
	}
	else if (opts.backwards)
		opts.nextSlide = opts.startingSlide == 0 ? (els.length-1) : opts.startingSlide-1;
	else
		opts.nextSlide = opts.startingSlide >= (els.length-1) ? 0 : opts.startingSlide+1;

	// run transition init fn
	if (!opts.multiFx) {
		var init = $.fn.cycle.transitions[opts.fx];
		if ($.isFunction(init))
			init($cont, $slides, opts);
		else if (opts.fx != 'custom' && !opts.multiFx) {
			log('unknown transition: ' + opts.fx,'; slideshow terminating');
			return false;
		}
	}

	// fire artificial events
	var e0 = $slides[first];
	if (!opts.skipInitializationCallbacks) {
		if (opts.before.length)
			opts.before[0].apply(e0, [e0, e0, opts, true]);
		if (opts.after.length)
			opts.after[0].apply(e0, [e0, e0, opts, true]);
	}
	if (opts.next)
		$(opts.next).bind(opts.prevNextEvent,function(){return advance(opts,1)});
	if (opts.prev)
		$(opts.prev).bind(opts.prevNextEvent,function(){return advance(opts,0)});
	if (opts.pager || opts.pagerAnchorBuilder)
		buildPager(els,opts);

	exposeAddSlide(opts, els);

	return opts;
};

// save off original opts so we can restore after clearing state
function saveOriginalOpts(opts) {
	opts.original = { before: [], after: [] };
	opts.original.cssBefore = $.extend({}, opts.cssBefore);
	opts.original.cssAfter  = $.extend({}, opts.cssAfter);
	opts.original.animIn	= $.extend({}, opts.animIn);
	opts.original.animOut   = $.extend({}, opts.animOut);
	$.each(opts.before, function() { opts.original.before.push(this); });
	$.each(opts.after,  function() { opts.original.after.push(this); });
};

function supportMultiTransitions(opts) {
	var i, tx, txs = $.fn.cycle.transitions;
	// look for multiple effects
	if (opts.fx.indexOf(',') > 0) {
		opts.multiFx = true;
		opts.fxs = opts.fx.replace(/\s*/g,'').split(',');
		// discard any bogus effect names
		for (i=0; i < opts.fxs.length; i++) {
			var fx = opts.fxs[i];
			tx = txs[fx];
			if (!tx || !txs.hasOwnProperty(fx) || !$.isFunction(tx)) {
				log('discarding unknown transition: ',fx);
				opts.fxs.splice(i,1);
				i--;
			}
		}
		// if we have an empty list then we threw everything away!
		if (!opts.fxs.length) {
			log('No valid transitions named; slideshow terminating.');
			return false;
		}
	}
	else if (opts.fx == 'all') {  // auto-gen the list of transitions
		opts.multiFx = true;
		opts.fxs = [];
		for (p in txs) {
			tx = txs[p];
			if (txs.hasOwnProperty(p) && $.isFunction(tx))
				opts.fxs.push(p);
		}
	}
	if (opts.multiFx && opts.randomizeEffects) {
		// munge the fxs array to make effect selection random
		var r1 = Math.floor(Math.random() * 20) + 30;
		for (i = 0; i < r1; i++) {
			var r2 = Math.floor(Math.random() * opts.fxs.length);
			opts.fxs.push(opts.fxs.splice(r2,1)[0]);
		}
		debug('randomized fx sequence: ',opts.fxs);
	}
	return true;
};

// provide a mechanism for adding slides after the slideshow has started
function exposeAddSlide(opts, els) {
	opts.addSlide = function(newSlide, prepend) {
		var $s = $(newSlide), s = $s[0];
		if (!opts.autostopCount)
			opts.countdown++;
		els[prepend?'unshift':'push'](s);
		if (opts.els)
			opts.els[prepend?'unshift':'push'](s); // shuffle needs this
		opts.slideCount = els.length;

		$s.css('position','absolute');
		$s[prepend?'prependTo':'appendTo'](opts.$cont);

		if (prepend) {
			opts.currSlide++;
			opts.nextSlide++;
		}

		if (!$.support.opacity && opts.cleartype && !opts.cleartypeNoBg)
			clearTypeFix($s);

		if (opts.fit && opts.width)
			$s.width(opts.width);
		if (opts.fit && opts.height && opts.height != 'auto')
			$s.height(opts.height);
		s.cycleH = (opts.fit && opts.height) ? opts.height : $s.height();
		s.cycleW = (opts.fit && opts.width) ? opts.width : $s.width();

		$s.css(opts.cssBefore);

		if (opts.pager || opts.pagerAnchorBuilder)
			$.fn.cycle.createPagerAnchor(els.length-1, s, $(opts.pager), els, opts);

		if ($.isFunction(opts.onAddSlide))
			opts.onAddSlide($s);
		else
			$s.hide(); // default behavior
	};
}

// reset internal state; we do this on every pass in order to support multiple effects
$.fn.cycle.resetState = function(opts, fx) {
	fx = fx || opts.fx;
	opts.before = []; opts.after = [];
	opts.cssBefore = $.extend({}, opts.original.cssBefore);
	opts.cssAfter  = $.extend({}, opts.original.cssAfter);
	opts.animIn	= $.extend({}, opts.original.animIn);
	opts.animOut   = $.extend({}, opts.original.animOut);
	opts.fxFn = null;
	$.each(opts.original.before, function() { opts.before.push(this); });
	$.each(opts.original.after,  function() { opts.after.push(this); });

	// re-init
	var init = $.fn.cycle.transitions[fx];
	if ($.isFunction(init))
		init(opts.$cont, $(opts.elements), opts);
};

// this is the main engine fn, it handles the timeouts, callbacks and slide index mgmt
function go(els, opts, manual, fwd) {
	// opts.busy is true if we're in the middle of an animation
	if (manual && opts.busy && opts.manualTrump) {
		// let manual transitions requests trump active ones
		debug('manualTrump in go(), stopping active transition');
		$(els).stop(true,true);
		opts.busy = 0;
	}
	// don't begin another timeout-based transition if there is one active
	if (opts.busy) {
		debug('transition active, ignoring new tx request');
		return;
	}

	var p = opts.$cont[0], curr = els[opts.currSlide], next = els[opts.nextSlide];

	// stop cycling if we have an outstanding stop request
	if (p.cycleStop != opts.stopCount || p.cycleTimeout === 0 && !manual)
		return;

	// check to see if we should stop cycling based on autostop options
	if (!manual && !p.cyclePause && !opts.bounce &&
		((opts.autostop && (--opts.countdown <= 0)) ||
		(opts.nowrap && !opts.random && opts.nextSlide < opts.currSlide))) {
		if (opts.end)
			opts.end(opts);
		return;
	}

	// if slideshow is paused, only transition on a manual trigger
	var changed = false;
	if ((manual || !p.cyclePause) && (opts.nextSlide != opts.currSlide)) {
		changed = true;
		var fx = opts.fx;
		// keep trying to get the slide size if we don't have it yet
		curr.cycleH = curr.cycleH || $(curr).height();
		curr.cycleW = curr.cycleW || $(curr).width();
		next.cycleH = next.cycleH || $(next).height();
		next.cycleW = next.cycleW || $(next).width();

		// support multiple transition types
		if (opts.multiFx) {
			if (fwd && (opts.lastFx == undefined || ++opts.lastFx >= opts.fxs.length))
				opts.lastFx = 0;
			else if (!fwd && (opts.lastFx == undefined || --opts.lastFx < 0))
				opts.lastFx = opts.fxs.length - 1;
			fx = opts.fxs[opts.lastFx];
		}

		// one-time fx overrides apply to:  $('div').cycle(3,'zoom');
		if (opts.oneTimeFx) {
			fx = opts.oneTimeFx;
			opts.oneTimeFx = null;
		}

		$.fn.cycle.resetState(opts, fx);

		// run the before callbacks
		if (opts.before.length)
			$.each(opts.before, function(i,o) {
				if (p.cycleStop != opts.stopCount) return;
				o.apply(next, [curr, next, opts, fwd]);
			});

		// stage the after callacks
		var after = function() {
			opts.busy = 0;
			$.each(opts.after, function(i,o) {
				if (p.cycleStop != opts.stopCount) return;
				o.apply(next, [curr, next, opts, fwd]);
			});
		};

		debug('tx firing('+fx+'); currSlide: ' + opts.currSlide + '; nextSlide: ' + opts.nextSlide);
		
		// get ready to perform the transition
		opts.busy = 1;
		if (opts.fxFn) // fx function provided?
			opts.fxFn(curr, next, opts, after, fwd, manual && opts.fastOnEvent);
		else if ($.isFunction($.fn.cycle[opts.fx])) // fx plugin ?
			$.fn.cycle[opts.fx](curr, next, opts, after, fwd, manual && opts.fastOnEvent);
		else
			$.fn.cycle.custom(curr, next, opts, after, fwd, manual && opts.fastOnEvent);
	}

	if (changed || opts.nextSlide == opts.currSlide) {
		// calculate the next slide
		opts.lastSlide = opts.currSlide;
		if (opts.random) {
			opts.currSlide = opts.nextSlide;
			if (++opts.randomIndex == els.length)
				opts.randomIndex = 0;
			opts.nextSlide = opts.randomMap[opts.randomIndex];
			if (opts.nextSlide == opts.currSlide)
				opts.nextSlide = (opts.currSlide == opts.slideCount - 1) ? 0 : opts.currSlide + 1;
		}
		else if (opts.backwards) {
			var roll = (opts.nextSlide - 1) < 0;
			if (roll && opts.bounce) {
				opts.backwards = !opts.backwards;
				opts.nextSlide = 1;
				opts.currSlide = 0;
			}
			else {
				opts.nextSlide = roll ? (els.length-1) : opts.nextSlide-1;
				opts.currSlide = roll ? 0 : opts.nextSlide+1;
			}
		}
		else { // sequence
			var roll = (opts.nextSlide + 1) == els.length;
			if (roll && opts.bounce) {
				opts.backwards = !opts.backwards;
				opts.nextSlide = els.length-2;
				opts.currSlide = els.length-1;
			}
			else {
				opts.nextSlide = roll ? 0 : opts.nextSlide+1;
				opts.currSlide = roll ? els.length-1 : opts.nextSlide-1;
			}
		}
	}
	if (changed && opts.pager)
		opts.updateActivePagerLink(opts.pager, opts.currSlide, opts.activePagerClass);
	
	// stage the next transition
	var ms = 0;
	if (opts.timeout && !opts.continuous)
		ms = getTimeout(els[opts.currSlide], els[opts.nextSlide], opts, fwd);
	else if (opts.continuous && p.cyclePause) // continuous shows work off an after callback, not this timer logic
		ms = 10;
	if (ms > 0)
		p.cycleTimeout = setTimeout(function(){ go(els, opts, 0, !opts.backwards) }, ms);
};

// invoked after transition
$.fn.cycle.updateActivePagerLink = function(pager, currSlide, clsName) {
   $(pager).each(function() {
       $(this).children().removeClass(clsName).eq(currSlide).addClass(clsName);
   });
};

// calculate timeout value for current transition
function getTimeout(curr, next, opts, fwd) {
	if (opts.timeoutFn) {
		// call user provided calc fn
		var t = opts.timeoutFn.call(curr,curr,next,opts,fwd);
		while (opts.fx != 'none' && (t - opts.speed) < 250) // sanitize timeout
			t += opts.speed;
		debug('calculated timeout: ' + t + '; speed: ' + opts.speed);
		if (t !== false)
			return t;
	}
	return opts.timeout;
};

// expose next/prev function, caller must pass in state
$.fn.cycle.next = function(opts) { advance(opts,1); };
$.fn.cycle.prev = function(opts) { advance(opts,0);};

// advance slide forward or back
function advance(opts, moveForward) {
	var val = moveForward ? 1 : -1;
	var els = opts.elements;
	var p = opts.$cont[0], timeout = p.cycleTimeout;
	if (timeout) {
		clearTimeout(timeout);
		p.cycleTimeout = 0;
	}
	if (opts.random && val < 0) {
		// move back to the previously display slide
		opts.randomIndex--;
		if (--opts.randomIndex == -2)
			opts.randomIndex = els.length-2;
		else if (opts.randomIndex == -1)
			opts.randomIndex = els.length-1;
		opts.nextSlide = opts.randomMap[opts.randomIndex];
	}
	else if (opts.random) {
		opts.nextSlide = opts.randomMap[opts.randomIndex];
	}
	else {
		opts.nextSlide = opts.currSlide + val;
		if (opts.nextSlide < 0) {
			if (opts.nowrap) return false;
			opts.nextSlide = els.length - 1;
		}
		else if (opts.nextSlide >= els.length) {
			if (opts.nowrap) return false;
			opts.nextSlide = 0;
		}
	}

	var cb = opts.onPrevNextEvent || opts.prevNextClick; // prevNextClick is deprecated
	if ($.isFunction(cb))
		cb(val > 0, opts.nextSlide, els[opts.nextSlide]);
	go(els, opts, 1, moveForward);
	return false;
};

function buildPager(els, opts) {
	var $p = $(opts.pager);
	$.each(els, function(i,o) {
		$.fn.cycle.createPagerAnchor(i,o,$p,els,opts);
	});
	opts.updateActivePagerLink(opts.pager, opts.startingSlide, opts.activePagerClass);
};

$.fn.cycle.createPagerAnchor = function(i, el, $p, els, opts) {
	var a;
	if ($.isFunction(opts.pagerAnchorBuilder)) {
		a = opts.pagerAnchorBuilder(i,el);
		debug('pagerAnchorBuilder('+i+', el) returned: ' + a);
	}
	else
		a = '<a href="#">'+(i+1)+'</a>';
		
	if (!a)
		return;
	var $a = $(a);
	// don't reparent if anchor is in the dom
	if ($a.parents('body').length === 0) {
		var arr = [];
		if ($p.length > 1) {
			$p.each(function() {
				var $clone = $a.clone(true);
				$(this).append($clone);
				arr.push($clone[0]);
			});
			$a = $(arr);
		}
		else {
			$a.appendTo($p);
		}
	}

	opts.pagerAnchors =  opts.pagerAnchors || [];
	opts.pagerAnchors.push($a);
	
	var pagerFn = function(e) {
		e.preventDefault();
		opts.nextSlide = i;
		var p = opts.$cont[0], timeout = p.cycleTimeout;
		if (timeout) {
			clearTimeout(timeout);
			p.cycleTimeout = 0;
		}
		var cb = opts.onPagerEvent || opts.pagerClick; // pagerClick is deprecated
		if ($.isFunction(cb))
			cb(opts.nextSlide, els[opts.nextSlide]);
		go(els,opts,1,opts.currSlide < i); // trigger the trans
//		return false; // <== allow bubble
	}
	
	if ( /mouseenter|mouseover/i.test(opts.pagerEvent) ) {
		$a.hover(pagerFn, function(){/* no-op */} );
	}
	else {
		$a.bind(opts.pagerEvent, pagerFn);
	}
	
	if ( ! /^click/.test(opts.pagerEvent) && !opts.allowPagerClickBubble)
		$a.bind('click.cycle', function(){return false;}); // suppress click
	
	var cont = opts.$cont[0];
	var pauseFlag = false; // https://github.com/malsup/cycle/issues/44
	if (opts.pauseOnPagerHover) {
		$a.hover(
			function() { 
				pauseFlag = true;
				cont.cyclePause++; 
				triggerPause(cont,true,true);
			}, function() { 
				pauseFlag && cont.cyclePause--; 
				triggerPause(cont,true,true);
			} 
		);
	}
};

// helper fn to calculate the number of slides between the current and the next
$.fn.cycle.hopsFromLast = function(opts, fwd) {
	var hops, l = opts.lastSlide, c = opts.currSlide;
	if (fwd)
		hops = c > l ? c - l : opts.slideCount - l;
	else
		hops = c < l ? l - c : l + opts.slideCount - c;
	return hops;
};

// fix clearType problems in ie6 by setting an explicit bg color
// (otherwise text slides look horrible during a fade transition)
function clearTypeFix($slides) {
	debug('applying clearType background-color hack');
	function hex(s) {
		s = parseInt(s,10).toString(16);
		return s.length < 2 ? '0'+s : s;
	};
	function getBg(e) {
		for ( ; e && e.nodeName.toLowerCase() != 'html'; e = e.parentNode) {
			var v = $.css(e,'background-color');
			if (v && v.indexOf('rgb') >= 0 ) {
				var rgb = v.match(/\d+/g);
				return '#'+ hex(rgb[0]) + hex(rgb[1]) + hex(rgb[2]);
			}
			if (v && v != 'transparent')
				return v;
		}
		return '#ffffff';
	};
	$slides.each(function() { $(this).css('background-color', getBg(this)); });
};

// reset common props before the next transition
$.fn.cycle.commonReset = function(curr,next,opts,w,h,rev) {
	$(opts.elements).not(curr).hide();
	if (typeof opts.cssBefore.opacity == 'undefined')
		opts.cssBefore.opacity = 1;
	opts.cssBefore.display = 'block';
	if (opts.slideResize && w !== false && next.cycleW > 0)
		opts.cssBefore.width = next.cycleW;
	if (opts.slideResize && h !== false && next.cycleH > 0)
		opts.cssBefore.height = next.cycleH;
	opts.cssAfter = opts.cssAfter || {};
	opts.cssAfter.display = 'none';
	$(curr).css('zIndex',opts.slideCount + (rev === true ? 1 : 0));
	$(next).css('zIndex',opts.slideCount + (rev === true ? 0 : 1));
};

// the actual fn for effecting a transition
$.fn.cycle.custom = function(curr, next, opts, cb, fwd, speedOverride) {
	var $l = $(curr), $n = $(next);
	var speedIn = opts.speedIn, speedOut = opts.speedOut, easeIn = opts.easeIn, easeOut = opts.easeOut;
	$n.css(opts.cssBefore);
	if (speedOverride) {
		if (typeof speedOverride == 'number')
			speedIn = speedOut = speedOverride;
		else
			speedIn = speedOut = 1;
		easeIn = easeOut = null;
	}
	var fn = function() {
		$n.animate(opts.animIn, speedIn, easeIn, function() {
			cb();
		});
	};
	$l.animate(opts.animOut, speedOut, easeOut, function() {
		$l.css(opts.cssAfter);
		if (!opts.sync) 
			fn();
	});
	if (opts.sync) fn();
};

// transition definitions - only fade is defined here, transition pack defines the rest
$.fn.cycle.transitions = {
	fade: function($cont, $slides, opts) {
		$slides.not(':eq('+opts.currSlide+')').css('opacity',0);
		opts.before.push(function(curr,next,opts) {
			$.fn.cycle.commonReset(curr,next,opts);
			opts.cssBefore.opacity = 0;
		});
		opts.animIn	   = { opacity: 1 };
		opts.animOut   = { opacity: 0 };
		opts.cssBefore = { top: 0, left: 0 };
	}
};

$.fn.cycle.ver = function() { return ver; };

// override these globally if you like (they are all optional)
$.fn.cycle.defaults = {
	activePagerClass: 'activeSlide', // class name used for the active pager link
	after:		   null,  // transition callback (scope set to element that was shown):  function(currSlideElement, nextSlideElement, options, forwardFlag)
	allowPagerClickBubble: false, // allows or prevents click event on pager anchors from bubbling
	animIn:		   null,  // properties that define how the slide animates in
	animOut:	   null,  // properties that define how the slide animates out
	aspect:		   false,  // preserve aspect ratio during fit resizing, cropping if necessary (must be used with fit option)
	autostop:	   0,	  // true to end slideshow after X transitions (where X == slide count)
	autostopCount: 0,	  // number of transitions (optionally used with autostop to define X)
	backwards:     false, // true to start slideshow at last slide and move backwards through the stack
	before:		   null,  // transition callback (scope set to element to be shown):	 function(currSlideElement, nextSlideElement, options, forwardFlag)
	center: 	   null,  // set to true to have cycle add top/left margin to each slide (use with width and height options)
	cleartype:	   !$.support.opacity,  // true if clearType corrections should be applied (for IE)
	cleartypeNoBg: false, // set to true to disable extra cleartype fixing (leave false to force background color setting on slides)
	containerResize: 1,	  // resize container to fit largest slide
	continuous:	   0,	  // true to start next transition immediately after current one completes
	cssAfter:	   null,  // properties that defined the state of the slide after transitioning out
	cssBefore:	   null,  // properties that define the initial state of the slide before transitioning in
	delay:		   0,	  // additional delay (in ms) for first transition (hint: can be negative)
	easeIn:		   null,  // easing for "in" transition
	easeOut:	   null,  // easing for "out" transition
	easing:		   null,  // easing method for both in and out transitions
	end:		   null,  // callback invoked when the slideshow terminates (use with autostop or nowrap options): function(options)
	fastOnEvent:   0,	  // force fast transitions when triggered manually (via pager or prev/next); value == time in ms
	fit:		   0,	  // force slides to fit container
	fx:			  'fade', // name of transition effect (or comma separated names, ex: 'fade,scrollUp,shuffle')
	fxFn:		   null,  // function used to control the transition: function(currSlideElement, nextSlideElement, options, afterCalback, forwardFlag)
	height:		  'auto', // container height (if the 'fit' option is true, the slides will be set to this height as well)
	manualTrump:   true,  // causes manual transition to stop an active transition instead of being ignored
	metaAttr:     'cycle',// data- attribute that holds the option data for the slideshow
	next:		   null,  // element, jQuery object, or jQuery selector string for the element to use as event trigger for next slide
	nowrap:		   0,	  // true to prevent slideshow from wrapping
	onPagerEvent:  null,  // callback fn for pager events: function(zeroBasedSlideIndex, slideElement)
	onPrevNextEvent: null,// callback fn for prev/next events: function(isNext, zeroBasedSlideIndex, slideElement)
	pager:		   null,  // element, jQuery object, or jQuery selector string for the element to use as pager container
	pagerAnchorBuilder: null, // callback fn for building anchor links:  function(index, DOMelement)
	pagerEvent:	  'click.cycle', // name of event which drives the pager navigation
	pause:		   0,	  // true to enable "pause on hover"
	pauseOnPagerHover: 0, // true to pause when hovering over pager link
	prev:		   null,  // element, jQuery object, or jQuery selector string for the element to use as event trigger for previous slide
	prevNextEvent:'click.cycle',// event which drives the manual transition to the previous or next slide
	random:		   0,	  // true for random, false for sequence (not applicable to shuffle fx)
	randomizeEffects: 1,  // valid when multiple effects are used; true to make the effect sequence random
	requeueOnImageNotLoaded: true, // requeue the slideshow if any image slides are not yet loaded
	requeueTimeout: 250,  // ms delay for requeue
	rev:		   0,	  // causes animations to transition in reverse (for effects that support it such as scrollHorz/scrollVert/shuffle)
	shuffle:	   null,  // coords for shuffle animation, ex: { top:15, left: 200 }
	skipInitializationCallbacks: false, // set to true to disable the first before/after callback that occurs prior to any transition
	slideExpr:	   null,  // expression for selecting slides (if something other than all children is required)
	slideResize:   1,     // force slide width/height to fixed size before every transition
	speed:		   1000,  // speed of the transition (any valid fx speed value)
	speedIn:	   null,  // speed of the 'in' transition
	speedOut:	   null,  // speed of the 'out' transition
	startingSlide: 0,	  // zero-based index of the first slide to be displayed
	sync:		   1,	  // true if in/out transitions should occur simultaneously
	timeout:	   4000,  // milliseconds between slide transitions (0 to disable auto advance)
	timeoutFn:     null,  // callback for determining per-slide timeout value:  function(currSlideElement, nextSlideElement, options, forwardFlag)
	updateActivePagerLink: null, // callback fn invoked to update the active pager link (adds/removes activePagerClass style)
	width:         null   // container width (if the 'fit' option is true, the slides will be set to this width as well)
};

})(jQuery);


/*!
 * jQuery Cycle Plugin Transition Definitions
 * This script is a plugin for the jQuery Cycle Plugin
 * Examples and documentation at: http://malsup.com/jquery/cycle/
 * Copyright (c) 2007-2010 M. Alsup
 * Version:	 2.73
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 */
(function($) {

//
// These functions define slide initialization and properties for the named
// transitions. To save file size feel free to remove any of these that you
// don't need.
//
$.fn.cycle.transitions.none = function($cont, $slides, opts) {
	opts.fxFn = function(curr,next,opts,after){
		$(next).show();
		$(curr).hide();
		after();
	};
};

// not a cross-fade, fadeout only fades out the top slide
$.fn.cycle.transitions.fadeout = function($cont, $slides, opts) {
	$slides.not(':eq('+opts.currSlide+')').css({ display: 'block', 'opacity': 1 });
	opts.before.push(function(curr,next,opts,w,h,rev) {
		$(curr).css('zIndex',opts.slideCount + (!rev === true ? 1 : 0));
		$(next).css('zIndex',opts.slideCount + (!rev === true ? 0 : 1));
	});
	opts.animIn.opacity = 1;
	opts.animOut.opacity = 0;
	opts.cssBefore.opacity = 1;
	opts.cssBefore.display = 'block';
	opts.cssAfter.zIndex = 0;
};

// scrollUp/Down/Left/Right
$.fn.cycle.transitions.scrollUp = function($cont, $slides, opts) {
	$cont.css('overflow','hidden');
	opts.before.push($.fn.cycle.commonReset);
	var h = $cont.height();
	opts.cssBefore.top = h;
	opts.cssBefore.left = 0;
	opts.cssFirst.top = 0;
	opts.animIn.top = 0;
	opts.animOut.top = -h;
};
$.fn.cycle.transitions.scrollDown = function($cont, $slides, opts) {
	$cont.css('overflow','hidden');
	opts.before.push($.fn.cycle.commonReset);
	var h = $cont.height();
	opts.cssFirst.top = 0;
	opts.cssBefore.top = -h;
	opts.cssBefore.left = 0;
	opts.animIn.top = 0;
	opts.animOut.top = h;
};
$.fn.cycle.transitions.scrollLeft = function($cont, $slides, opts) {
	$cont.css('overflow','hidden');
	opts.before.push($.fn.cycle.commonReset);
	var w = $cont.width();
	opts.cssFirst.left = 0;
	opts.cssBefore.left = w;
	opts.cssBefore.top = 0;
	opts.animIn.left = 0;
	opts.animOut.left = 0-w;
};
$.fn.cycle.transitions.scrollRight = function($cont, $slides, opts) {
	$cont.css('overflow','hidden');
	opts.before.push($.fn.cycle.commonReset);
	var w = $cont.width();
	opts.cssFirst.left = 0;
	opts.cssBefore.left = -w;
	opts.cssBefore.top = 0;
	opts.animIn.left = 0;
	opts.animOut.left = w;
};
$.fn.cycle.transitions.scrollHorz = function($cont, $slides, opts) {
	$cont.css('overflow','hidden').width();
	opts.before.push(function(curr, next, opts, fwd) {
		if (opts.rev)
			fwd = !fwd;
		$.fn.cycle.commonReset(curr,next,opts);
		opts.cssBefore.left = fwd ? (next.cycleW-1) : (1-next.cycleW);
		opts.animOut.left = fwd ? -curr.cycleW : curr.cycleW;
	});
	opts.cssFirst.left = 0;
	opts.cssBefore.top = 0;
	opts.animIn.left = 0;
	opts.animOut.top = 0;
};
$.fn.cycle.transitions.scrollVert = function($cont, $slides, opts) {
	$cont.css('overflow','hidden');
	opts.before.push(function(curr, next, opts, fwd) {
		if (opts.rev)
			fwd = !fwd;
		$.fn.cycle.commonReset(curr,next,opts);
		opts.cssBefore.top = fwd ? (1-next.cycleH) : (next.cycleH-1);
		opts.animOut.top = fwd ? curr.cycleH : -curr.cycleH;
	});
	opts.cssFirst.top = 0;
	opts.cssBefore.left = 0;
	opts.animIn.top = 0;
	opts.animOut.left = 0;
};

// slideX/slideY
$.fn.cycle.transitions.slideX = function($cont, $slides, opts) {
	opts.before.push(function(curr, next, opts) {
		$(opts.elements).not(curr).hide();
		$.fn.cycle.commonReset(curr,next,opts,false,true);
		opts.animIn.width = next.cycleW;
	});
	opts.cssBefore.left = 0;
	opts.cssBefore.top = 0;
	opts.cssBefore.width = 0;
	opts.animIn.width = 'show';
	opts.animOut.width = 0;
};
$.fn.cycle.transitions.slideY = function($cont, $slides, opts) {
	opts.before.push(function(curr, next, opts) {
		$(opts.elements).not(curr).hide();
		$.fn.cycle.commonReset(curr,next,opts,true,false);
		opts.animIn.height = next.cycleH;
	});
	opts.cssBefore.left = 0;
	opts.cssBefore.top = 0;
	opts.cssBefore.height = 0;
	opts.animIn.height = 'show';
	opts.animOut.height = 0;
};

// shuffle
$.fn.cycle.transitions.shuffle = function($cont, $slides, opts) {
	var i, w = $cont.css('overflow', 'visible').width();
	$slides.css({left: 0, top: 0});
	opts.before.push(function(curr,next,opts) {
		$.fn.cycle.commonReset(curr,next,opts,true,true,true);
	});
	// only adjust speed once!
	if (!opts.speedAdjusted) {
		opts.speed = opts.speed / 2; // shuffle has 2 transitions
		opts.speedAdjusted = true;
	}
	opts.random = 0;
	opts.shuffle = opts.shuffle || {left:-w, top:15};
	opts.els = [];
	for (i=0; i < $slides.length; i++)
		opts.els.push($slides[i]);

	for (i=0; i < opts.currSlide; i++)
		opts.els.push(opts.els.shift());

	// custom transition fn (hat tip to Benjamin Sterling for this bit of sweetness!)
	opts.fxFn = function(curr, next, opts, cb, fwd) {
		if (opts.rev)
			fwd = !fwd;
		var $el = fwd ? $(curr) : $(next);
		$(next).css(opts.cssBefore);
		var count = opts.slideCount;
		$el.animate(opts.shuffle, opts.speedIn, opts.easeIn, function() {
			var hops = $.fn.cycle.hopsFromLast(opts, fwd);
			for (var k=0; k < hops; k++)
				fwd ? opts.els.push(opts.els.shift()) : opts.els.unshift(opts.els.pop());
			if (fwd) {
				for (var i=0, len=opts.els.length; i < len; i++)
					$(opts.els[i]).css('z-index', len-i+count);
			}
			else {
				var z = $(curr).css('z-index');
				$el.css('z-index', parseInt(z,10)+1+count);
			}
			$el.animate({left:0, top:0}, opts.speedOut, opts.easeOut, function() {
				$(fwd ? this : curr).hide();
				if (cb) cb();
			});
		});
	};
	$.extend(opts.cssBefore, { display: 'block', opacity: 1, top: 0, left: 0 });
};

// turnUp/Down/Left/Right
$.fn.cycle.transitions.turnUp = function($cont, $slides, opts) {
	opts.before.push(function(curr, next, opts) {
		$.fn.cycle.commonReset(curr,next,opts,true,false);
		opts.cssBefore.top = next.cycleH;
		opts.animIn.height = next.cycleH;
		opts.animOut.width = next.cycleW;
	});
	opts.cssFirst.top = 0;
	opts.cssBefore.left = 0;
	opts.cssBefore.height = 0;
	opts.animIn.top = 0;
	opts.animOut.height = 0;
};
$.fn.cycle.transitions.turnDown = function($cont, $slides, opts) {
	opts.before.push(function(curr, next, opts) {
		$.fn.cycle.commonReset(curr,next,opts,true,false);
		opts.animIn.height = next.cycleH;
		opts.animOut.top   = curr.cycleH;
	});
	opts.cssFirst.top = 0;
	opts.cssBefore.left = 0;
	opts.cssBefore.top = 0;
	opts.cssBefore.height = 0;
	opts.animOut.height = 0;
};
$.fn.cycle.transitions.turnLeft = function($cont, $slides, opts) {
	opts.before.push(function(curr, next, opts) {
		$.fn.cycle.commonReset(curr,next,opts,false,true);
		opts.cssBefore.left = next.cycleW;
		opts.animIn.width = next.cycleW;
	});
	opts.cssBefore.top = 0;
	opts.cssBefore.width = 0;
	opts.animIn.left = 0;
	opts.animOut.width = 0;
};
$.fn.cycle.transitions.turnRight = function($cont, $slides, opts) {
	opts.before.push(function(curr, next, opts) {
		$.fn.cycle.commonReset(curr,next,opts,false,true);
		opts.animIn.width = next.cycleW;
		opts.animOut.left = curr.cycleW;
	});
	$.extend(opts.cssBefore, { top: 0, left: 0, width: 0 });
	opts.animIn.left = 0;
	opts.animOut.width = 0;
};

// zoom
$.fn.cycle.transitions.zoom = function($cont, $slides, opts) {
	opts.before.push(function(curr, next, opts) {
		$.fn.cycle.commonReset(curr,next,opts,false,false,true);
		opts.cssBefore.top = next.cycleH/2;
		opts.cssBefore.left = next.cycleW/2;
		$.extend(opts.animIn, { top: 0, left: 0, width: next.cycleW, height: next.cycleH });
		$.extend(opts.animOut, { width: 0, height: 0, top: curr.cycleH/2, left: curr.cycleW/2 });
	});
	opts.cssFirst.top = 0;
	opts.cssFirst.left = 0;
	opts.cssBefore.width = 0;
	opts.cssBefore.height = 0;
};

// fadeZoom
$.fn.cycle.transitions.fadeZoom = function($cont, $slides, opts) {
	opts.before.push(function(curr, next, opts) {
		$.fn.cycle.commonReset(curr,next,opts,false,false);
		opts.cssBefore.left = next.cycleW/2;
		opts.cssBefore.top = next.cycleH/2;
		$.extend(opts.animIn, { top: 0, left: 0, width: next.cycleW, height: next.cycleH });
	});
	opts.cssBefore.width = 0;
	opts.cssBefore.height = 0;
	opts.animOut.opacity = 0;
};

// blindX
$.fn.cycle.transitions.blindX = function($cont, $slides, opts) {
	var w = $cont.css('overflow','hidden').width();
	opts.before.push(function(curr, next, opts) {
		$.fn.cycle.commonReset(curr,next,opts);
		opts.animIn.width = next.cycleW;
		opts.animOut.left   = curr.cycleW;
	});
	opts.cssBefore.left = w;
	opts.cssBefore.top = 0;
	opts.animIn.left = 0;
	opts.animOut.left = w;
};
// blindY
$.fn.cycle.transitions.blindY = function($cont, $slides, opts) {
	var h = $cont.css('overflow','hidden').height();
	opts.before.push(function(curr, next, opts) {
		$.fn.cycle.commonReset(curr,next,opts);
		opts.animIn.height = next.cycleH;
		opts.animOut.top   = curr.cycleH;
	});
	opts.cssBefore.top = h;
	opts.cssBefore.left = 0;
	opts.animIn.top = 0;
	opts.animOut.top = h;
};
// blindZ
$.fn.cycle.transitions.blindZ = function($cont, $slides, opts) {
	var h = $cont.css('overflow','hidden').height();
	var w = $cont.width();
	opts.before.push(function(curr, next, opts) {
		$.fn.cycle.commonReset(curr,next,opts);
		opts.animIn.height = next.cycleH;
		opts.animOut.top   = curr.cycleH;
	});
	opts.cssBefore.top = h;
	opts.cssBefore.left = w;
	opts.animIn.top = 0;
	opts.animIn.left = 0;
	opts.animOut.top = h;
	opts.animOut.left = w;
};

// growX - grow horizontally from centered 0 width
$.fn.cycle.transitions.growX = function($cont, $slides, opts) {
	opts.before.push(function(curr, next, opts) {
		$.fn.cycle.commonReset(curr,next,opts,false,true);
		opts.cssBefore.left = this.cycleW/2;
		opts.animIn.left = 0;
		opts.animIn.width = this.cycleW;
		opts.animOut.left = 0;
	});
	opts.cssBefore.top = 0;
	opts.cssBefore.width = 0;
};
// growY - grow vertically from centered 0 height
$.fn.cycle.transitions.growY = function($cont, $slides, opts) {
	opts.before.push(function(curr, next, opts) {
		$.fn.cycle.commonReset(curr,next,opts,true,false);
		opts.cssBefore.top = this.cycleH/2;
		opts.animIn.top = 0;
		opts.animIn.height = this.cycleH;
		opts.animOut.top = 0;
	});
	opts.cssBefore.height = 0;
	opts.cssBefore.left = 0;
};

// curtainX - squeeze in both edges horizontally
$.fn.cycle.transitions.curtainX = function($cont, $slides, opts) {
	opts.before.push(function(curr, next, opts) {
		$.fn.cycle.commonReset(curr,next,opts,false,true,true);
		opts.cssBefore.left = next.cycleW/2;
		opts.animIn.left = 0;
		opts.animIn.width = this.cycleW;
		opts.animOut.left = curr.cycleW/2;
		opts.animOut.width = 0;
	});
	opts.cssBefore.top = 0;
	opts.cssBefore.width = 0;
};
// curtainY - squeeze in both edges vertically
$.fn.cycle.transitions.curtainY = function($cont, $slides, opts) {
	opts.before.push(function(curr, next, opts) {
		$.fn.cycle.commonReset(curr,next,opts,true,false,true);
		opts.cssBefore.top = next.cycleH/2;
		opts.animIn.top = 0;
		opts.animIn.height = next.cycleH;
		opts.animOut.top = curr.cycleH/2;
		opts.animOut.height = 0;
	});
	opts.cssBefore.height = 0;
	opts.cssBefore.left = 0;
};

// cover - curr slide covered by next slide
$.fn.cycle.transitions.cover = function($cont, $slides, opts) {
	var d = opts.direction || 'left';
	var w = $cont.css('overflow','hidden').width();
	var h = $cont.height();
	opts.before.push(function(curr, next, opts) {
		$.fn.cycle.commonReset(curr,next,opts);
		if (d == 'right')
			opts.cssBefore.left = -w;
		else if (d == 'up')
			opts.cssBefore.top = h;
		else if (d == 'down')
			opts.cssBefore.top = -h;
		else
			opts.cssBefore.left = w;
	});
	opts.animIn.left = 0;
	opts.animIn.top = 0;
	opts.cssBefore.top = 0;
	opts.cssBefore.left = 0;
};

// uncover - curr slide moves off next slide
$.fn.cycle.transitions.uncover = function($cont, $slides, opts) {
	var d = opts.direction || 'left';
	var w = $cont.css('overflow','hidden').width();
	var h = $cont.height();
	opts.before.push(function(curr, next, opts) {
		$.fn.cycle.commonReset(curr,next,opts,true,true,true);
		if (d == 'right')
			opts.animOut.left = w;
		else if (d == 'up')
			opts.animOut.top = -h;
		else if (d == 'down')
			opts.animOut.top = h;
		else
			opts.animOut.left = -w;
	});
	opts.animIn.left = 0;
	opts.animIn.top = 0;
	opts.cssBefore.top = 0;
	opts.cssBefore.left = 0;
};

// toss - move top slide and fade away
$.fn.cycle.transitions.toss = function($cont, $slides, opts) {
	var w = $cont.css('overflow','visible').width();
	var h = $cont.height();
	opts.before.push(function(curr, next, opts) {
		$.fn.cycle.commonReset(curr,next,opts,true,true,true);
		// provide default toss settings if animOut not provided
		if (!opts.animOut.left && !opts.animOut.top)
			$.extend(opts.animOut, { left: w*2, top: -h/2, opacity: 0 });
		else
			opts.animOut.opacity = 0;
	});
	opts.cssBefore.left = 0;
	opts.cssBefore.top = 0;
	opts.animIn.left = 0;
};

// wipe - clip animation
$.fn.cycle.transitions.wipe = function($cont, $slides, opts) {
	var w = $cont.css('overflow','hidden').width();
	var h = $cont.height();
	opts.cssBefore = opts.cssBefore || {};
	var clip;
	if (opts.clip) {
		if (/l2r/.test(opts.clip))
			clip = 'rect(0px 0px '+h+'px 0px)';
		else if (/r2l/.test(opts.clip))
			clip = 'rect(0px '+w+'px '+h+'px '+w+'px)';
		else if (/t2b/.test(opts.clip))
			clip = 'rect(0px '+w+'px 0px 0px)';
		else if (/b2t/.test(opts.clip))
			clip = 'rect('+h+'px '+w+'px '+h+'px 0px)';
		else if (/zoom/.test(opts.clip)) {
			var top = parseInt(h/2,10);
			var left = parseInt(w/2,10);
			clip = 'rect('+top+'px '+left+'px '+top+'px '+left+'px)';
		}
	}

	opts.cssBefore.clip = opts.cssBefore.clip || clip || 'rect(0px 0px 0px 0px)';

	var d = opts.cssBefore.clip.match(/(\d+)/g);
	var t = parseInt(d[0],10), r = parseInt(d[1],10), b = parseInt(d[2],10), l = parseInt(d[3],10);

	opts.before.push(function(curr, next, opts) {
		if (curr == next) return;
		var $curr = $(curr), $next = $(next);
		$.fn.cycle.commonReset(curr,next,opts,true,true,false);
		opts.cssAfter.display = 'block';

		var step = 1, count = parseInt((opts.speedIn / 13),10) - 1;
		(function f() {
			var tt = t ? t - parseInt(step * (t/count),10) : 0;
			var ll = l ? l - parseInt(step * (l/count),10) : 0;
			var bb = b < h ? b + parseInt(step * ((h-b)/count || 1),10) : h;
			var rr = r < w ? r + parseInt(step * ((w-r)/count || 1),10) : w;
			$next.css({ clip: 'rect('+tt+'px '+rr+'px '+bb+'px '+ll+'px)' });
			(step++ <= count) ? setTimeout(f, 13) : $curr.css('display', 'none');
		})();
	});
	$.extend(opts.cssBefore, { display: 'block', opacity: 1, top: 0, left: 0 });
	opts.animIn	   = { left: 0 };
	opts.animOut   = { left: 0 };
};

})(jQuery);

/* END FILE static/js/jquery/jquery.cycle.all.js */
/* START FILE static/js/jquery/isolate_jquery.js */
window.wQuery = jQuery.noConflict(true);


/* END FILE static/js/jquery/isolate_jquery.js */
/* START FILE static/js/jquery/ajaxfileupload.js */

wQuery.extend({
	

    createUploadIframe: function(id, uri)
	{
			//create frame
            var frameId = 'jUploadFrame' + id;
            
            if(window.ActiveXObject) {
                var io = document.createElement('<iframe id="' + frameId + '" name="' + frameId + '" />');
                if(typeof uri== 'boolean'){
                    io.src = 'javascript:false';
                }
                else if(typeof uri== 'string'){
                    io.src = uri;
                }
            }
            else {
                var io = document.createElement('iframe');
                io.id = frameId;
                io.name = frameId;
            }
            io.style.position = 'absolute';
            io.style.top = '-1000px';
            io.style.left = '-1000px';

            document.body.appendChild(io);

            return io			
    },
    createUploadForm: function(id, fileElementId)
	{
		//create form	
		var formId = 'jUploadForm' + id;
		var fileId = 'jUploadFile' + id;
		var form = wQuery('<form  action="" method="POST" name="' + formId + '" id="' + formId + '" enctype="multipart/form-data"></form>');	
		var oldElement = wQuery('#' + fileElementId);
		var newElement = wQuery(oldElement).clone();
		wQuery(oldElement).attr('id', fileId);
		wQuery(oldElement).before(newElement);
		wQuery(oldElement).appendTo(form);
		//set attributes
		wQuery(form).css('position', 'absolute');
		wQuery(form).css('top', '-1200px');
		wQuery(form).css('left', '-1200px');
		wQuery(form).appendTo('body');		
		return form;
    },

    ajaxFileUpload: function(s) {
        // TODO introduce global settings, allowing the client to modify them for all requests, not only timeout		
        s = wQuery.extend({}, wQuery.ajaxSettings, s);
        var id = new Date().getTime()        
		var form = wQuery.createUploadForm(id, s.fileElementId);
		var io = wQuery.createUploadIframe(id, s.secureuri);
		var frameId = 'jUploadFrame' + id;
		var formId = 'jUploadForm' + id;		
        // Watch for a new set of requests
        if ( s.global && ! wQuery.active++ )
		{
			wQuery.event.trigger( "ajaxStart" );
		}            
        var requestDone = false;
        // Create the request object
        var xml = {}   
        if ( s.global )
            wQuery.event.trigger("ajaxSend", [xml, s]);
        // Wait for a response to come back
        var uploadCallback = function(isTimeout)
		{			
			var io = document.getElementById(frameId);
            try 
			{				
				if(io.contentWindow)
				{
					 xml.responseText = io.contentWindow.document.body?io.contentWindow.document.body.innerHTML:null;
                	 xml.responseXML = io.contentWindow.document.XMLDocument?io.contentWindow.document.XMLDocument:io.contentWindow.document;
					 
				}else if(io.contentDocument)
				{
					 xml.responseText = io.contentDocument.document.body?io.contentDocument.document.body.innerHTML:null;
                	xml.responseXML = io.contentDocument.document.XMLDocument?io.contentDocument.document.XMLDocument:io.contentDocument.document;
				}						
            }catch(e)
			{
				wQuery.handleError(s, xml, null, e);
			}
            if ( xml || isTimeout == "timeout") 
			{				
                requestDone = true;
                var status;
                try {
                    status = isTimeout != "timeout" ? "success" : "error";
                    // Make sure that the request was successful or notmodified
                    if ( status != "error" )
					{
                        // process the data (runs the xml through httpData regardless of callback)
                        var data = wQuery.uploadHttpData( xml, s.dataType );    
                        // If a local callback was specified, fire it and pass it the data
                        if ( s.success )
                            s.success( data, status );
    
                        // Fire the global callback
                        if( s.global )
                            wQuery.event.trigger( "ajaxSuccess", [xml, s] );
                    } else
                        wQuery.handleError(s, xml, status);
                } catch(e) 
				{
                    status = "error";
                    wQuery.handleError(s, xml, status, e);
                }

                // The request was completed
                if( s.global )
                    wQuery.event.trigger( "ajaxComplete", [xml, s] );

                // Handle the global AJAX counter
                if ( s.global && ! --wQuery.active )
                    wQuery.event.trigger( "ajaxStop" );

                // Process result
                if ( s.complete )
                    s.complete(xml, status);

                wQuery(io).unbind()

                setTimeout(function()
									{	try 
										{
											wQuery(io).remove();
											wQuery(form).remove();	
											
										} catch(e) 
										{
											wQuery.handleError(s, xml, null, e);
										}									

									}, 100)

                xml = null

            }
        }
        // Timeout checker
        if ( s.timeout > 0 ) 
		{
            setTimeout(function(){
                // Check to see if the request is still happening
                if( !requestDone ) uploadCallback( "timeout" );
            }, s.timeout);
        }
        try 
		{
           // var io = wQuery('#' + frameId);
			var form = wQuery('#' + formId);
			wQuery(form).attr('action', s.url);
			wQuery(form).attr('method', 'POST');
			wQuery(form).attr('target', frameId);
            if(form.encoding)
			{
                form.encoding = 'multipart/form-data';				
            }
            else
			{				
                form.enctype = 'multipart/form-data';
            }			
            wQuery(form).submit();

        } catch(e) 
		{			
            wQuery.handleError(s, xml, null, e);
        }
        if(window.attachEvent){
            document.getElementById(frameId).attachEvent('onload', uploadCallback);
        }
        else{
            document.getElementById(frameId).addEventListener('load', uploadCallback, false);
        } 		
        return {abort: function () {}};	

    },

    uploadHttpData: function( r, type ) {
        var data = !type;
        data = type == "xml" || data ? r.responseXML : r.responseText;
        // If the type is "script", eval it in global context
        if ( type == "script" )
            wQuery.globalEval( data );
        // Get the JavaScript object, if JSON is used.
        if ( type == "json" )
            eval( "data = " + data );
        // evaluate scripts within html
        if ( type == "html" )
            wQuery("<div>").html(data).evalScripts();
			//alert(wQuery('param', data).each(function(){alert(wQuery(this).attr('value'));}));
        return data;
    }
});


/* END FILE static/js/jquery/ajaxfileupload.js */
/* START FILE static/js/cufont/cufon-yui.js */
/*
 * Copyright (c) 2009 Simo Kinnunen.
 * Licensed under the MIT license.
 *
 * @version 1.09i
 */
var Cufon=(function(){var m=function(){return m.replace.apply(null,arguments)};var x=m.DOM={ready:(function(){var C=false,E={loaded:1,complete:1};var B=[],D=function(){if(C){return}C=true;for(var F;F=B.shift();F()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",D,false);window.addEventListener("pageshow",D,false)}if(!window.opera&&document.readyState){(function(){E[document.readyState]?D():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");D()}catch(F){setTimeout(arguments.callee,1)}})()}q(window,"load",D);return function(F){if(!arguments.length){D()}else{C?F():B.push(F)}}})(),root:function(){return document.documentElement||document.body}};var n=m.CSS={Size:function(C,B){this.value=parseFloat(C);this.unit=String(C).match(/[a-z%]*$/)[0]||"px";this.convert=function(D){return D/B*this.value};this.convertFrom=function(D){return D/this.value*B};this.toString=function(){return this.value+this.unit}},addClass:function(C,B){var D=C.className;C.className=D+(D&&" ")+B;return C},color:j(function(C){var B={};B.color=C.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(E,D,F){B.opacity=parseFloat(F);return"rgb("+D+")"});return B}),fontStretch:j(function(B){if(typeof B=="number"){return B}if(/%$/.test(B)){return parseFloat(B)/100}return{"ultra-condensed":0.5,"extra-condensed":0.625,condensed:0.75,"semi-condensed":0.875,"semi-expanded":1.125,expanded:1.25,"extra-expanded":1.5,"ultra-expanded":2}[B]||1}),getStyle:function(C){var B=document.defaultView;if(B&&B.getComputedStyle){return new a(B.getComputedStyle(C,null))}if(C.currentStyle){return new a(C.currentStyle)}return new a(C.style)},gradient:j(function(F){var G={id:F,type:F.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},C=F.substr(F.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var E=0,B=C.length,D;E<B;++E){D=C[E].split("=",2).reverse();G.stops.push([D[1]||E/(B-1),D[0]])}return G}),quotedList:j(function(E){var D=[],C=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,B;while(B=C.exec(E)){D.push(B[3]||B[1])}return D}),recognizesMedia:j(function(G){var E=document.createElement("style"),D,C,B;E.type="text/css";E.media=G;try{E.appendChild(document.createTextNode("/**/"))}catch(F){}C=g("head")[0];C.insertBefore(E,C.firstChild);D=(E.sheet||E.styleSheet);B=D&&!D.disabled;C.removeChild(E);return B}),removeClass:function(D,C){var B=RegExp("(?:^|\\s+)"+C+"(?=\\s|$)","g");D.className=D.className.replace(B,"");return D},supports:function(D,C){var B=document.createElement("span").style;if(B[D]===undefined){return false}B[D]=C;return B[D]===C},textAlign:function(E,D,B,C){if(D.get("textAlign")=="right"){if(B>0){E=" "+E}}else{if(B<C-1){E+=" "}}return E},textShadow:j(function(F){if(F=="none"){return null}var E=[],G={},B,C=0;var D=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(B=D.exec(F)){if(B[0]==","){E.push(G);G={};C=0}else{if(B[1]){G.color=B[1]}else{G[["offX","offY","blur"][C++]]=B[2]}}}E.push(G);return E}),textTransform:(function(){var B={uppercase:function(C){return C.toUpperCase()},lowercase:function(C){return C.toLowerCase()},capitalize:function(C){return C.replace(/\b./g,function(D){return D.toUpperCase()})}};return function(E,D){var C=B[D.get("textTransform")];return C?C(E):E}})(),whiteSpace:(function(){var D={inline:1,"inline-block":1,"run-in":1};var C=/^\s+/,B=/\s+$/;return function(H,F,G,E){if(E){if(E.nodeName.toLowerCase()=="br"){H=H.replace(C,"")}}if(D[F.get("display")]){return H}if(!G.previousSibling){H=H.replace(C,"")}if(!G.nextSibling){H=H.replace(B,"")}return H}})()};n.ready=(function(){var B=!n.recognizesMedia("all"),E=false;var D=[],H=function(){B=true;for(var K;K=D.shift();K()){}};var I=g("link"),J=g("style");function C(K){return K.disabled||G(K.sheet,K.media||"screen")}function G(M,P){if(!n.recognizesMedia(P||"all")){return true}if(!M||M.disabled){return false}try{var Q=M.cssRules,O;if(Q){search:for(var L=0,K=Q.length;O=Q[L],L<K;++L){switch(O.type){case 2:break;case 3:if(!G(O.styleSheet,O.media.mediaText)){return false}break;default:break search}}}}catch(N){}return true}function F(){if(document.createStyleSheet){return true}var L,K;for(K=0;L=I[K];++K){if(L.rel.toLowerCase()=="stylesheet"&&!C(L)){return false}}for(K=0;L=J[K];++K){if(!C(L)){return false}}return true}x.ready(function(){if(!E){E=n.getStyle(document.body).isUsable()}if(B||(E&&F())){H()}else{setTimeout(arguments.callee,10)}});return function(K){if(B){K()}else{D.push(K)}}})();function s(D){var C=this.face=D.face,B={"\u0020":1,"\u00a0":1,"\u3000":1};this.glyphs=D.glyphs;this.w=D.w;this.baseSize=parseInt(C["units-per-em"],10);this.family=C["font-family"].toLowerCase();this.weight=C["font-weight"];this.style=C["font-style"]||"normal";this.viewBox=(function(){var F=C.bbox.split(/\s+/);var E={minX:parseInt(F[0],10),minY:parseInt(F[1],10),maxX:parseInt(F[2],10),maxY:parseInt(F[3],10)};E.width=E.maxX-E.minX;E.height=E.maxY-E.minY;E.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")};return E})();this.ascent=-parseInt(C.ascent,10);this.descent=-parseInt(C.descent,10);this.height=-this.ascent+this.descent;this.spacing=function(L,N,E){var O=this.glyphs,M,K,G,P=[],F=0,J=-1,I=-1,H;while(H=L[++J]){M=O[H]||this.missingGlyph;if(!M){continue}if(K){F-=G=K[H]||0;P[I]-=G}F+=P[++I]=~~(M.w||this.w)+N+(B[H]?E:0);K=M.k}P.total=F;return P}}function f(){var C={},B={oblique:"italic",italic:"oblique"};this.add=function(D){(C[D.style]||(C[D.style]={}))[D.weight]=D};this.get=function(H,I){var G=C[H]||C[B[H]]||C.normal||C.italic||C.oblique;if(!G){return null}I={normal:400,bold:700}[I]||parseInt(I,10);if(G[I]){return G[I]}var E={1:1,99:0}[I%100],K=[],F,D;if(E===undefined){E=I>400}if(I==500){I=400}for(var J in G){if(!k(G,J)){continue}J=parseInt(J,10);if(!F||J<F){F=J}if(!D||J>D){D=J}K.push(J)}if(I<F){I=F}if(I>D){I=D}K.sort(function(M,L){return(E?(M>=I&&L>=I)?M<L:M>L:(M<=I&&L<=I)?M>L:M<L)?-1:1});return G[K[0]]}}function r(){function D(F,G){if(F.contains){return F.contains(G)}return F.compareDocumentPosition(G)&16}function B(G){var F=G.relatedTarget;if(!F||D(this,F)){return}C(this,G.type=="mouseover")}function E(F){C(this,F.type=="mouseenter")}function C(F,G){setTimeout(function(){var H=d.get(F).options;m.replace(F,G?h(H,H.hover):H,true)},10)}this.attach=function(F){if(F.onmouseenter===undefined){q(F,"mouseover",B);q(F,"mouseout",B)}else{q(F,"mouseenter",E);q(F,"mouseleave",E)}}}function u(){var C=[],D={};function B(H){var E=[],G;for(var F=0;G=H[F];++F){E[F]=C[D[G]]}return E}this.add=function(F,E){D[F]=C.push(E)-1};this.repeat=function(){var E=arguments.length?B(arguments):C,F;for(var G=0;F=E[G++];){m.replace(F[0],F[1],true)}}}function A(){var D={},B=0;function C(E){return E.cufid||(E.cufid=++B)}this.get=function(E){var F=C(E);return D[F]||(D[F]={})}}function a(B){var D={},C={};this.extend=function(E){for(var F in E){if(k(E,F)){D[F]=E[F]}}return this};this.get=function(E){return D[E]!=undefined?D[E]:B[E]};this.getSize=function(F,E){return C[F]||(C[F]=new n.Size(this.get(F),E))};this.isUsable=function(){return !!B}}function q(C,B,D){if(C.addEventListener){C.addEventListener(B,D,false)}else{if(C.attachEvent){C.attachEvent("on"+B,function(){return D.call(C,window.event)})}}}function v(C,B){var D=d.get(C);if(D.options){return C}if(B.hover&&B.hoverables[C.nodeName.toLowerCase()]){b.attach(C)}D.options=B;return C}function j(B){var C={};return function(D){if(!k(C,D)){C[D]=B.apply(null,arguments)}return C[D]}}function c(F,E){var B=n.quotedList(E.get("fontFamily").toLowerCase()),D;for(var C=0;D=B[C];++C){if(i[D]){return i[D].get(E.get("fontStyle"),E.get("fontWeight"))}}return null}function g(B){return document.getElementsByTagName(B)}function k(C,B){return C.hasOwnProperty(B)}function h(){var C={},B,F;for(var E=0,D=arguments.length;B=arguments[E],E<D;++E){for(F in B){if(k(B,F)){C[F]=B[F]}}}return C}function o(E,M,C,N,F,D){var K=document.createDocumentFragment(),H;if(M===""){return K}var L=N.separate;var I=M.split(p[L]),B=(L=="words");if(B&&t){if(/^\s/.test(M)){I.unshift("")}if(/\s$/.test(M)){I.push("")}}for(var J=0,G=I.length;J<G;++J){H=z[N.engine](E,B?n.textAlign(I[J],C,J,G):I[J],C,N,F,D,J<G-1);if(H){K.appendChild(H)}}return K}function l(D,M){var C=D.nodeName.toLowerCase();if(M.ignore[C]){return}var E=!M.textless[C];var B=n.getStyle(v(D,M)).extend(M);var F=c(D,B),G,K,I,H,L,J;if(!F){return}for(G=D.firstChild;G;G=I){K=G.nodeType;I=G.nextSibling;if(E&&K==3){if(H){H.appendData(G.data);D.removeChild(G)}else{H=G}if(I){continue}}if(H){D.replaceChild(o(F,n.whiteSpace(H.data,B,H,J),B,M,G,D),H);H=null}if(K==1){if(G.firstChild){if(G.nodeName.toLowerCase()=="cufon"){z[M.engine](F,null,B,M,G,D)}else{arguments.callee(G,M)}}J=G}}}var t=" ".split(/\s+/).length==0;var d=new A();var b=new r();var y=new u();var e=false;var z={},i={},w={autoDetect:false,engine:null,forceHitArea:false,hover:false,hoverables:{a:true},ignore:{applet:1,canvas:1,col:1,colgroup:1,head:1,iframe:1,map:1,optgroup:1,option:1,script:1,select:1,style:1,textarea:1,title:1,pre:1},printable:true,selector:(window.Sizzle||(window.jQuery&&function(B){return jQuery(B)})||(window.dojo&&dojo.query)||(window.Ext&&Ext.query)||(window.YAHOO&&YAHOO.util&&YAHOO.util.Selector&&YAHOO.util.Selector.query)||(window.$$&&function(B){return $$(B)})||(window.$&&function(B){return $(B)})||(document.querySelectorAll&&function(B){return document.querySelectorAll(B)})||g),separate:"words",textless:{dl:1,html:1,ol:1,table:1,tbody:1,thead:1,tfoot:1,tr:1,ul:1},textShadow:"none"};var p={words:/\s/.test("\u00a0")?/[^\S\u00a0]+/:/\s+/,characters:"",none:/^/};m.now=function(){x.ready();return m};m.refresh=function(){y.repeat.apply(y,arguments);return m};m.registerEngine=function(C,B){if(!B){return m}z[C]=B;return m.set("engine",C)};m.registerFont=function(D){if(!D){return m}var B=new s(D),C=B.family;if(!i[C]){i[C]=new f()}i[C].add(B);return m.set("fontFamily",'"'+C+'"')};m.replace=function(D,C,B){C=h(w,C);if(!C.engine){return m}if(!e){n.addClass(x.root(),"cufon-active cufon-loading");n.ready(function(){n.addClass(n.removeClass(x.root(),"cufon-loading"),"cufon-ready")});e=true}if(C.hover){C.forceHitArea=true}if(C.autoDetect){delete C.fontFamily}if(typeof C.textShadow=="string"){C.textShadow=n.textShadow(C.textShadow)}if(typeof C.color=="string"&&/^-/.test(C.color)){C.textGradient=n.gradient(C.color)}else{delete C.textGradient}if(!B){y.add(D,arguments)}if(D.nodeType||typeof D=="string"){D=[D]}n.ready(function(){for(var F=0,E=D.length;F<E;++F){var G=D[F];if(typeof G=="string"){m.replace(C.selector(G),C,true)}else{l(G,C)}}});return m};m.set=function(B,C){w[B]=C;return m};return m})();Cufon.registerEngine("vml",(function(){var e=document.namespaces;if(!e){return}e.add("cvml","urn:schemas-microsoft-com:vml");e=null;var b=document.createElement("cvml:shape");b.style.behavior="url(#default#VML)";if(!b.coordsize){return}b=null;var h=(document.documentMode||0)<8;document.write(('<style type="text/css">cufoncanvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}cufoncanvas{position:absolute;text-align:left;}cufon{display:inline-block;position:relative;vertical-align:'+(h?"middle":"text-bottom")+";}cufon cufontext{position:absolute;left:-10000in;font-size:1px;}a cufon{cursor:pointer}}@media print{cufon cufoncanvas{display:none;}}</style>").replace(/;/g,"!important;"));function c(i,j){return a(i,/(?:em|ex|%)$|^[a-z-]+$/i.test(j)?"1em":j)}function a(l,m){if(m==="0"){return 0}if(/px$/i.test(m)){return parseFloat(m)}var k=l.style.left,j=l.runtimeStyle.left;l.runtimeStyle.left=l.currentStyle.left;l.style.left=m.replace("%","em");var i=l.style.pixelLeft;l.style.left=k;l.runtimeStyle.left=j;return i}function f(l,k,j,n){var i="computed"+n,m=k[i];if(isNaN(m)){m=k.get(n);k[i]=m=(m=="normal")?0:~~j.convertFrom(a(l,m))}return m}var g={};function d(p){var q=p.id;if(!g[q]){var n=p.stops,o=document.createElement("cvml:fill"),i=[];o.type="gradient";o.angle=180;o.focus="0";o.method="sigma";o.color=n[0][1];for(var m=1,l=n.length-1;m<l;++m){i.push(n[m][0]*100+"% "+n[m][1])}o.colors=i.join(",");o.color2=n[l][1];g[q]=o}return g[q]}return function(ac,G,Y,C,K,ad,W){var n=(G===null);if(n){G=K.alt}var I=ac.viewBox;var p=Y.computedFontSize||(Y.computedFontSize=new Cufon.CSS.Size(c(ad,Y.get("fontSize"))+"px",ac.baseSize));var y,q;if(n){y=K;q=K.firstChild}else{y=document.createElement("cufon");y.className="cufon cufon-vml";y.alt=G;q=document.createElement("cufoncanvas");y.appendChild(q);if(C.printable){var Z=document.createElement("cufontext");Z.appendChild(document.createTextNode(G));y.appendChild(Z)}if(!W){y.appendChild(document.createElement("cvml:shape"))}}var ai=y.style;var R=q.style;var l=p.convert(I.height),af=Math.ceil(l);var V=af/l;var P=V*Cufon.CSS.fontStretch(Y.get("fontStretch"));var U=I.minX,T=I.minY;R.height=af;R.top=Math.round(p.convert(T-ac.ascent));R.left=Math.round(p.convert(U));ai.height=p.convert(ac.height)+"px";var F=Y.get("color");var ag=Cufon.CSS.textTransform(G,Y).split("");var L=ac.spacing(ag,f(ad,Y,p,"letterSpacing"),f(ad,Y,p,"wordSpacing"));if(!L.length){return null}var k=L.total;var x=-U+k+(I.width-L[L.length-1]);var ah=p.convert(x*P),X=Math.round(ah);var O=x+","+I.height,m;var J="r"+O+"ns";var u=C.textGradient&&d(C.textGradient);var o=ac.glyphs,S=0;var H=C.textShadow;var ab=-1,aa=0,w;while(w=ag[++ab]){var D=o[ag[ab]]||ac.missingGlyph,v;if(!D){continue}if(n){v=q.childNodes[aa];while(v.firstChild){v.removeChild(v.firstChild)}}else{v=document.createElement("cvml:shape");q.appendChild(v)}v.stroked="f";v.coordsize=O;v.coordorigin=m=(U-S)+","+T;v.path=(D.d?"m"+D.d+"xe":"")+"m"+m+J;v.fillcolor=F;if(u){v.appendChild(u.cloneNode(false))}var ae=v.style;ae.width=X;ae.height=af;if(H){var s=H[0],r=H[1];var B=Cufon.CSS.color(s.color),z;var N=document.createElement("cvml:shadow");N.on="t";N.color=B.color;N.offset=s.offX+","+s.offY;if(r){z=Cufon.CSS.color(r.color);N.type="double";N.color2=z.color;N.offset2=r.offX+","+r.offY}N.opacity=B.opacity||(z&&z.opacity)||1;v.appendChild(N)}S+=L[aa++]}var M=v.nextSibling,t,A;if(C.forceHitArea){if(!M){M=document.createElement("cvml:rect");M.stroked="f";M.className="cufon-vml-cover";t=document.createElement("cvml:fill");t.opacity=0;M.appendChild(t);q.appendChild(M)}A=M.style;A.width=X;A.height=af}else{if(M){q.removeChild(M)}}ai.width=Math.max(Math.ceil(p.convert(k*P)),0);if(h){var Q=Y.computedYAdjust;if(Q===undefined){var E=Y.get("lineHeight");if(E=="normal"){E="1em"}else{if(!isNaN(E)){E+="em"}}Y.computedYAdjust=Q=0.5*(a(ad,E)-parseFloat(ai.height))}if(Q){ai.marginTop=Math.ceil(Q)+"px";ai.marginBottom=Q+"px"}}return y}})());Cufon.registerEngine("canvas",(function(){var b=document.createElement("canvas");if(!b||!b.getContext||!b.getContext.apply){return}b=null;var a=Cufon.CSS.supports("display","inline-block");var e=!a&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId));var f=document.createElement("style");f.type="text/css";f.appendChild(document.createTextNode(("cufon{text-indent:0;}@media screen,projection{cufon{display:inline;display:inline-block;position:relative;vertical-align:middle;"+(e?"":"font-size:1px;line-height:1px;")+"}cufon cufontext{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;text-indent:-10000in;}"+(a?"cufon canvas{position:relative;}":"cufon canvas{position:absolute;}")+"}@media print{cufon{padding:0;}cufon canvas{display:none;}}").replace(/;/g,"!important;")));document.getElementsByTagName("head")[0].appendChild(f);function d(p,h){var n=0,m=0;var g=[],o=/([mrvxe])([^a-z]*)/g,k;generate:for(var j=0;k=o.exec(p);++j){var l=k[2].split(",");switch(k[1]){case"v":g[j]={m:"bezierCurveTo",a:[n+~~l[0],m+~~l[1],n+~~l[2],m+~~l[3],n+=~~l[4],m+=~~l[5]]};break;case"r":g[j]={m:"lineTo",a:[n+=~~l[0],m+=~~l[1]]};break;case"m":g[j]={m:"moveTo",a:[n=~~l[0],m=~~l[1]]};break;case"x":g[j]={m:"closePath"};break;case"e":break generate}h[g[j].m].apply(h,g[j].a)}return g}function c(m,k){for(var j=0,h=m.length;j<h;++j){var g=m[j];k[g.m].apply(k,g.a)}}return function(V,w,P,t,C,W){var k=(w===null);if(k){w=C.getAttribute("alt")}var A=V.viewBox;var m=P.getSize("fontSize",V.baseSize);var B=0,O=0,N=0,u=0;var z=t.textShadow,L=[];if(z){for(var U=z.length;U--;){var F=z[U];var K=m.convertFrom(parseFloat(F.offX));var I=m.convertFrom(parseFloat(F.offY));L[U]=[K,I];if(I<B){B=I}if(K>O){O=K}if(I>N){N=I}if(K<u){u=K}}}var Z=Cufon.CSS.textTransform(w,P).split("");var E=V.spacing(Z,~~m.convertFrom(parseFloat(P.get("letterSpacing"))||0),~~m.convertFrom(parseFloat(P.get("wordSpacing"))||0));if(!E.length){return null}var h=E.total;O+=A.width-E[E.length-1];u+=A.minX;var s,n;if(k){s=C;n=C.firstChild}else{s=document.createElement("cufon");s.className="cufon cufon-canvas";s.setAttribute("alt",w);n=document.createElement("canvas");s.appendChild(n);if(t.printable){var S=document.createElement("cufontext");S.appendChild(document.createTextNode(w));s.appendChild(S)}}var aa=s.style;var H=n.style;var j=m.convert(A.height);var Y=Math.ceil(j);var M=Y/j;var G=M*Cufon.CSS.fontStretch(P.get("fontStretch"));var J=h*G;var Q=Math.ceil(m.convert(J+O-u));var o=Math.ceil(m.convert(A.height-B+N));n.width=Q;n.height=o;H.width=Q+"px";H.height=o+"px";B+=A.minY;H.top=Math.round(m.convert(B-V.ascent))+"px";H.left=Math.round(m.convert(u))+"px";var r=Math.max(Math.ceil(m.convert(J)),0)+"px";if(a){aa.width=r;aa.height=m.convert(V.height)+"px"}else{aa.paddingLeft=r;aa.paddingBottom=(m.convert(V.height)-1)+"px"}var X=n.getContext("2d"),D=j/A.height;X.scale(D,D*M);X.translate(-u,-B);X.save();function T(){var x=V.glyphs,ab,l=-1,g=-1,y;X.scale(G,1);while(y=Z[++l]){var ab=x[Z[l]]||V.missingGlyph;if(!ab){continue}if(ab.d){X.beginPath();if(ab.code){c(ab.code,X)}else{ab.code=d("m"+ab.d,X)}X.fill()}X.translate(E[++g],0)}X.restore()}if(z){for(var U=z.length;U--;){var F=z[U];X.save();X.fillStyle=F.color;X.translate.apply(X,L[U]);T()}}var q=t.textGradient;if(q){var v=q.stops,p=X.createLinearGradient(0,A.minY,0,A.maxY);for(var U=0,R=v.length;U<R;++U){p.addColorStop.apply(p,v[U])}X.fillStyle=p}else{X.fillStyle=P.get("color")}T();return s}})());
/* END FILE static/js/cufont/cufon-yui.js */
/* START FILE static/js/cufont/DinRegular_400.font.js */
/*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Copyright:
 * 1970 Albert-Jan Pool, published by Fontshop International for the FontFont
 * library.
 * 
 * Trademark:
 * DIN is a trademark of FSI, Fonts und Software GmbH.
 * 
 * Designer:
 * Albert-Jan Pool
 * 
 * Vendor URL:
 * http://www.fontfont.de
 */
Cufon.registerFont({"w":533,"face":{"font-family":"DinRegular","font-weight":400,"font-stretch":"normal","units-per-em":"1000","panose-1":"2 0 6 3 4 0 0 2 0 4","ascent":"760","descent":"-240","x-height":"6","bbox":"-110 -1000 1138 211","underline-thickness":"70","underline-position":"-102","unicode-range":"U+0020-U+FB02"},"glyphs":{" ":{"w":240},"!":{"d":"127,0r0,-109r112,0r0,109r-112,0xm223,-212r-80,0r-22,-500r124,0","w":332},"\"":{"d":"78,-521r0,-191r101,0r0,191r-101,0xm265,-521r0,-191r101,0r0,191r-101,0","w":444},"#":{"d":"288,-426r-20,124r137,0r19,-124r-136,0xm531,-426r-20,124r79,0r0,94r-94,0r-33,208r-106,0r33,-208r-137,0r-32,208r-107,0r33,-208r-79,0r0,-94r94,0r20,-124r-81,0r0,-94r95,0r31,-196r107,0r-31,196r136,0r31,-196r106,0r-31,196r78,0r0,94r-92,0","w":672},"$":{"d":"267,-622v-112,-7,-149,164,-44,197v14,4,29,9,44,11r0,-208xm331,-93v68,-6,117,-39,118,-107v1,-73,-50,-100,-118,-105r0,212xm54,-509v0,-122,84,-198,204,-207r0,-90r82,0r0,89v88,6,139,33,191,80r-69,68v-32,-31,-76,-49,-131,-54r0,216v133,13,225,63,225,204v0,133,-93,192,-216,206r0,111r-82,0r0,-108v-106,-6,-168,-34,-228,-94r72,-71v43,43,91,64,165,68r0,-222v-123,-9,-213,-69,-213,-196","w":608},"%":{"d":"198,-413v79,0,62,-92,63,-166v0,-44,-19,-72,-63,-72v-80,0,-63,92,-63,167v0,47,21,71,63,71xm644,-61v79,2,62,-92,63,-167v0,-44,-19,-72,-63,-72v-80,0,-61,92,-63,167v0,45,19,71,63,72xm294,0r-82,0r336,-712r81,0xm338,-481v-3,86,-54,136,-140,136v-86,0,-140,-50,-140,-136r0,-101v3,-87,55,-137,140,-137v85,0,140,50,140,137r0,101xm784,-130v-3,87,-55,137,-140,137v-85,0,-140,-50,-140,-137r0,-101v3,-87,55,-137,140,-137v85,0,140,50,140,137r0,101","w":842},"&":{"d":"294,-461v34,-26,84,-43,86,-97v1,-40,-30,-71,-71,-71v-60,0,-89,66,-56,114v9,15,23,33,41,54xm169,-208v-3,97,103,146,197,110v22,-8,45,-23,68,-44r-169,-201v-44,34,-94,60,-96,135xm636,-361v-3,96,-24,165,-71,219r119,142r-131,0r-58,-70v-47,40,-106,76,-197,76v-142,0,-230,-77,-230,-212v0,-109,75,-155,141,-201v-33,-42,-74,-81,-74,-153v0,-102,69,-158,174,-158v102,0,169,58,169,159v0,91,-74,122,-128,162r150,179v27,-39,36,-78,38,-143r98,0","w":730},"'":{"d":"78,-521r0,-191r101,0r0,191r-101,0","w":257},"(":{"d":"190,94v-52,-52,-104,-102,-104,-211r0,-478v-6,-108,51,-159,104,-211r69,69v-38,37,-71,67,-71,148r0,466v-3,82,33,111,71,148","w":317},")":{"d":"232,-117v5,107,-51,159,-104,211r-70,-70v37,-37,70,-67,70,-147r0,-466v2,-79,-32,-110,-70,-147r70,-70v52,52,104,103,104,211r0,478","w":317},"*":{"d":"387,-401r-111,-69r4,131r-75,0r4,-131r-111,69r-37,-65r115,-61r-115,-62r37,-65r111,69r-4,-130r75,0r-4,130r111,-69r37,65r-115,62r115,61","w":485},"+":{"d":"314,-225r0,168r-95,0r0,-168r-168,0r0,-95r168,0r0,-167r95,0r0,167r168,0r0,95r-168,0"},",":{"d":"78,155r0,-271r116,0r0,176","w":272},"-":{"d":"67,-230r0,-95r292,0r0,95r-292,0","w":426},"\u00ad":{"d":"67,-230r0,-95r292,0r0,95r-292,0","w":426},".":{"d":"78,0r0,-122r122,0r0,122r-122,0","w":278},"\/":{"d":"98,74r-98,0r285,-860r98,0","w":380},"0":{"d":"266,-85v66,0,105,-49,104,-116r0,-310v1,-67,-38,-116,-104,-116v-66,0,-104,49,-103,116r0,310v-1,67,37,116,103,116xm472,-198v-4,128,-80,204,-206,204v-126,0,-205,-76,-205,-204r0,-316v4,-128,79,-204,205,-204v126,0,206,76,206,204r0,316"},"1":{"d":"253,0r0,-601r-139,122r0,-113r139,-120r102,0r0,712r-102,0"},"2":{"d":"271,-718v156,-6,245,136,189,280v-9,23,-28,47,-50,74r-223,273r290,0r0,91r-414,0r0,-91r274,-333v65,-60,45,-210,-66,-203v-67,4,-104,40,-105,110r-102,0v4,-127,80,-196,207,-201"},"3":{"d":"378,-368v61,27,100,80,100,168v0,161,-142,239,-300,196v-81,-22,-133,-86,-136,-189r102,0v4,69,45,108,116,108v68,0,117,-46,116,-118v-1,-80,-48,-123,-136,-117r0,-89v82,6,124,-34,125,-108v1,-67,-43,-109,-105,-110v-64,0,-103,41,-107,102r-102,0v9,-121,84,-194,209,-194v126,0,204,74,207,199v2,78,-35,126,-89,152"},"4":{"d":"422,-107r0,107r-99,0r0,-107r-288,0r0,-95r251,-510r110,0r-250,510r177,0r0,-166r99,0r0,166r76,0r0,95r-76,0"},"5":{"d":"289,-474v138,3,190,96,190,236v0,151,-62,245,-210,245v-128,0,-199,-70,-206,-191r102,0v8,61,37,99,104,99v82,0,110,-67,108,-153v-2,-84,-21,-148,-104,-149v-54,-1,-88,27,-101,64r-93,0r0,-389r384,0r0,91r-292,0r0,188v24,-26,67,-41,118,-41"},"6":{"d":"266,-85v67,0,109,-53,109,-124v0,-68,-41,-124,-109,-123v-67,1,-108,51,-108,123v0,71,41,124,108,124xm227,-406v141,-41,254,53,250,195v-3,134,-78,213,-210,217v-162,5,-251,-143,-196,-299v52,-146,135,-280,200,-419r109,0"},"7":{"d":"249,0r-110,0r239,-621r-217,0r0,112r-98,0r0,-203r424,0r0,91"},"8":{"d":"266,-410v62,0,106,-46,106,-108v0,-61,-44,-109,-106,-109v-62,0,-105,48,-105,109v0,63,43,108,105,108xm266,-85v71,0,117,-47,117,-118v0,-72,-46,-119,-117,-119v-71,0,-117,47,-117,119v0,71,45,118,117,118xm388,-368v54,33,98,82,98,167v0,133,-87,207,-220,207v-133,0,-219,-75,-219,-207v0,-85,44,-134,98,-167v-46,-28,-88,-77,-86,-153v4,-125,82,-197,207,-197v124,0,204,72,208,197v2,76,-40,125,-86,153"},"9":{"d":"266,-380v67,-1,109,-51,109,-123v0,-71,-42,-124,-109,-124v-67,0,-108,53,-108,124v0,68,40,124,108,123xm266,-718v162,-5,251,143,196,299v-52,146,-135,280,-200,419r-109,0r153,-306v-141,41,-254,-53,-250,-195v3,-134,78,-213,210,-217"},":":{"d":"104,0r0,-122r121,0r0,122r-121,0xm104,-285r0,-122r121,0r0,122r-121,0","w":303},";":{"d":"104,-285r0,-122r121,0r0,122r-121,0xm106,155r0,-271r116,0r0,176","w":303},"\u037e":{"d":"104,-285r0,-122r121,0r0,122r-121,0xm106,155r0,-271r116,0r0,176","w":303},"<":{"d":"82,-232r0,-91r369,-177r0,108r-245,115r245,114r0,108"},"=":{"d":"51,-133r0,-95r431,0r0,95r-431,0xm51,-327r0,-95r431,0r0,95r-431,0"},">":{"d":"82,-55r0,-108r245,-114r-245,-115r0,-108r369,177r0,91"},"?":{"d":"219,0r0,-109r113,0r0,109r-113,0xm270,-718v120,0,200,70,200,191v0,54,-27,87,-48,123v-36,61,-99,93,-95,192r-102,0v-2,-61,7,-98,34,-134v35,-46,76,-90,101,-142v32,-66,-20,-139,-90,-139v-60,0,-97,45,-97,101r-102,0v5,-120,79,-192,199,-192","w":511},"@":{"d":"472,-80v84,0,102,-69,102,-154v0,-85,-17,-155,-102,-155v-86,0,-101,70,-101,155v0,85,16,154,101,154xm441,-715v152,0,231,81,231,234r0,483r-96,-2r0,-50v-31,36,-63,57,-127,57v-132,0,-176,-95,-176,-241v0,-148,41,-241,175,-241v61,0,96,21,126,56v11,-126,-26,-206,-143,-206r-126,0v-92,1,-142,49,-142,145r0,312v-1,57,17,86,50,110r-70,70v-50,-39,-79,-85,-79,-175r0,-318v-1,-154,78,-234,231,-234r146,0","w":736},"A":{"d":"315,-551r-111,316r219,0xm502,0r-49,-143r-281,0r-49,143r-115,0r261,-712r87,0r261,712r-115,0","w":625,"k":{"\u00d6":10,"\u00d5":10,"\u00d4":10,"\u00d3":10,"\u00d2":10,"\u00c7":10,"\u201d":80,"\u201c":80,"\u2019":80,"\u2018":80,"\u0152":10,"y":25,"w":4,"v":25,"Y":35,"W":27,"V":35,"T":60,"Q":10,"O":10,"J":-4,"G":10,"C":10}},"B":{"d":"361,-411v67,0,116,-35,116,-102v0,-67,-49,-102,-116,-102r-160,0r0,204r160,0xm371,-97v72,2,117,-42,117,-109v0,-67,-45,-108,-117,-108r-170,0r0,217r170,0xm489,-366v62,27,107,77,107,165v0,133,-83,201,-215,201r-288,0r0,-712r277,0v128,-2,217,71,215,195v-1,77,-41,127,-96,151","w":663,"k":{"J":19}},"C":{"d":"577,-213v-24,131,-104,219,-254,219v-162,0,-255,-101,-255,-270v0,-146,-11,-298,68,-378v79,-80,260,-103,354,-20v44,39,74,92,87,163r-110,0v-14,-87,-102,-146,-203,-111v-106,37,-89,205,-87,344v2,108,44,171,146,175v83,3,128,-54,145,-122r109,0","w":628,"k":{"\u00c6":10,"\u00c5":10,"\u00c4":10,"\u00c3":10,"\u00c2":10,"\u00c1":10,"\u00c0":10,"Y":10,"X":10,"W":10,"V":10,"T":20,"J":19,"A":10}},"D":{"d":"453,-145v53,-63,39,-235,33,-341v-5,-83,-69,-129,-154,-129r-131,0r0,518v102,-2,202,11,252,-48xm343,-712v198,1,256,138,256,351v0,213,-50,361,-256,361r-250,0r0,-712r250,0","w":666,"k":{"\u00c6":10,"\u00c5":10,"\u00c4":10,"\u00c3":10,"\u00c2":10,"\u00c1":10,"\u00c0":10,"Y":10,"X":10,"W":10,"V":10,"T":20,"J":26,"A":10}},"E":{"d":"93,0r0,-712r455,0r0,97r-347,0r0,208r296,0r0,96r-296,0r0,214r347,0r0,97r-455,0","w":603,"k":{"J":3}},"F":{"d":"201,-615r0,217r296,0r0,97r-296,0r0,301r-108,0r0,-712r455,0r0,97r-347,0","w":585,"k":{"\u00f8":33,"\u00e6":33,"\u00d8":20,"\u00d6":20,"\u00d5":20,"\u00d4":20,"\u00d3":20,"\u00d2":20,"\u00c7":20,"\u00c6":18,"\u00c5":18,"\u00c4":18,"\u00c3":18,"\u00c2":18,"\u00c1":18,"\u00c0":18,"\u0153":33,"\u0152":20,"z":30,"x":30,"u":30,"r":30,"p":30,"o":33,"n":30,"m":30,"e":33,"c":33,"a":33,"S":10,"Q":20,"O":20,"J":126,"G":20,"C":20,"A":60,".":93}},"G":{"d":"196,-164v64,127,303,75,279,-89r0,-40r-152,0r0,-92r260,0v1,129,0,242,-64,310v-64,68,-191,105,-299,61v-92,-38,-153,-117,-152,-250v2,-146,-18,-305,68,-378v71,-93,282,-98,366,-11v39,40,68,91,80,156r-109,0v-15,-91,-107,-148,-209,-112v-106,37,-91,204,-87,343v1,42,6,75,19,102","w":649,"k":{"\u00c6":10,"\u00c5":10,"\u00c4":10,"\u00c3":10,"\u00c2":10,"\u00c1":10,"\u00c0":10,"Y":10,"X":10,"W":10,"V":10,"T":20,"J":33,"A":10}},"H":{"d":"490,0r0,-311r-289,0r0,311r-108,0r0,-712r108,0r0,304r289,0r0,-304r108,0r0,712r-108,0","w":691},"I":{"d":"93,0r0,-712r108,0r0,712r-108,0","w":294},"J":{"d":"423,-225v5,180,-163,269,-333,215v-28,-9,-52,-28,-77,-53r72,-71v27,25,48,43,101,43v84,0,129,-54,129,-142r0,-479r108,0r0,487","w":506,"k":{"A":10}},"K":{"d":"521,0r-200,-351r-120,144r0,207r-108,0r0,-712r108,0r0,358r291,-358r132,0r-231,279r255,433r-127,0","w":658,"k":{"\u00d6":10,"\u00d5":10,"\u00d4":10,"\u00d3":10,"\u00d2":10,"\u00c7":10,"\u0152":10,"y":36,"Q":10,"O":10,"J":-4,"G":10,"C":10}},"L":{"d":"93,0r0,-712r108,0r0,615r343,0r0,97r-451,0","w":574,"k":{"\u00d6":26,"\u00d5":26,"\u00d4":26,"\u00d3":26,"\u00d2":26,"\u00c7":12,"\u201d":150,"\u201c":150,"\u2019":150,"\u2018":150,"\u0152":26,"y":60,"Y":80,"W":40,"V":70,"U":12,"T":80,"Q":26,"O":26,"J":-4,"G":26,"C":26}},"M":{"d":"613,0r0,-476r-164,347r-80,0r-168,-347r0,476r-108,0r0,-712r108,0r208,443r204,-443r108,0r0,712r-108,0","w":813},"N":{"d":"530,0r-329,-501r0,501r-108,0r0,-712r99,0r329,500r0,-500r108,0r0,712r-99,0","w":722},"O":{"d":"323,-91v176,0,142,-196,147,-355v4,-129,-87,-201,-206,-163v-107,35,-89,203,-88,343v1,109,45,175,147,175xm511,-642v85,75,64,232,67,378v2,134,-59,211,-151,250v-61,26,-147,26,-207,0v-91,-40,-154,-118,-152,-250v2,-146,-13,-300,68,-378v63,-61,187,-99,291,-56v31,13,58,33,84,56","w":646,"k":{"\u00c6":10,"\u00c5":10,"\u00c4":10,"\u00c3":10,"\u00c2":10,"\u00c1":10,"\u00c0":10,"Y":10,"X":10,"W":10,"V":10,"T":20,"J":33,"A":10}},"P":{"d":"357,-378v75,0,126,-42,126,-118v0,-76,-51,-119,-126,-119r-156,0r0,237r156,0xm363,-712v139,4,228,79,228,216v0,138,-89,216,-228,216r-162,0r0,280r-108,0r0,-712r270,0","w":629,"k":{"\u00f8":10,"\u00e7":10,"\u00e6":10,"\u00c6":50,"\u00c5":50,"\u00c4":50,"\u00c3":50,"\u00c2":50,"\u00c1":50,"\u00c0":50,"\u0153":10,"s":10,"q":10,"o":10,"g":10,"e":10,"d":10,"c":10,"a":10,"J":120,"A":50,".":110}},"Q":{"d":"450,-180v33,-71,21,-229,14,-326v-8,-112,-172,-148,-247,-71v-56,57,-41,201,-41,311v0,109,45,175,147,175v27,0,52,-8,73,-23r-75,-75r60,-60xm578,-448v-1,127,15,279,-45,351r70,69r-60,60r-71,-71v-57,45,-173,60,-252,25v-91,-40,-154,-118,-152,-250v2,-146,-13,-300,68,-378v63,-61,187,-100,291,-56v92,39,152,117,151,250","w":646},"R":{"d":"361,-392v70,0,121,-40,121,-111v0,-71,-51,-113,-121,-112r-160,0r0,223r160,0xm590,-504v3,103,-64,166,-142,189r164,315r-126,0r-150,-300r-135,0r0,300r-108,0r0,-712r276,0v135,4,217,75,221,208","w":655,"k":{"J":9}},"S":{"d":"289,-624v-104,-8,-171,106,-103,177v46,48,177,37,241,65v67,30,111,86,111,179v0,144,-108,209,-256,209v-119,0,-188,-29,-252,-94r72,-71v47,47,97,67,182,68v84,1,145,-33,147,-109v3,-104,-100,-103,-190,-116v-112,-15,-187,-73,-187,-193v0,-139,94,-209,238,-209v104,0,163,28,221,81r-69,68v-39,-39,-85,-50,-155,-55","w":590,"k":{"Y":20,"S":6,"J":20}},"T":{"d":"334,-615r0,615r-108,0r0,-615r-196,0r0,-97r500,0r0,97r-196,0","w":560,"k":{"\u00f8":66,"\u00e7":66,"\u00e6":66,"\u00d8":20,"\u00d6":20,"\u00d5":20,"\u00d4":20,"\u00d3":20,"\u00d2":20,"\u00c7":20,"\u00c6":60,"\u00c5":60,"\u00c4":60,"\u00c3":60,"\u00c2":60,"\u00c1":60,"\u00c0":60,"\u0153":66,"\u0152":20,"z":39,"y":39,"x":39,"w":39,"v":39,"u":39,"s":66,"r":39,"q":66,"p":39,"o":66,"n":39,"m":39,"g":66,"e":66,"d":66,"c":66,"a":66,"Q":20,"O":20,"J":80,"G":20,"C":20,"A":60,".":80}},"U":{"d":"593,-240v-6,155,-102,246,-256,246v-154,0,-255,-91,-255,-246r0,-472r108,0r0,467v-1,93,57,154,147,154v90,0,148,-61,148,-154r0,-467r108,0r0,472","w":675,"k":{"J":12}},"V":{"d":"323,0r-84,0r-234,-712r112,0r164,518r164,-518r114,0","w":564,"k":{"\u00f8":40,"\u00e7":40,"\u00e6":40,"\u00d8":10,"\u00d6":10,"\u00d5":10,"\u00d4":10,"\u00d3":10,"\u00d2":10,"\u00c7":10,"\u00c6":35,"\u00c5":35,"\u00c4":35,"\u00c3":35,"\u00c2":35,"\u00c1":35,"\u00c0":35,"\u0153":40,"\u0152":10,"z":20,"y":10,"x":20,"u":20,"s":40,"r":20,"q":40,"p":20,"o":40,"n":20,"m":20,"g":40,"e":40,"d":40,"c":40,"a":40,"Q":10,"O":10,"G":10,"C":10,"A":35,".":80}},"W":{"d":"674,0r-94,0r-145,-499r-144,499r-94,0r-186,-712r114,0r124,509r143,-509r87,0r143,509r124,-509r114,0","w":871,"k":{"\u00f8":40,"\u00e7":40,"\u00e6":40,"\u00d8":10,"\u00d6":10,"\u00d5":10,"\u00d4":10,"\u00d3":10,"\u00d2":10,"\u00c7":10,"\u00c6":16,"\u00c5":16,"\u00c4":16,"\u00c3":16,"\u00c2":16,"\u00c1":16,"\u00c0":16,"\u0153":40,"\u0152":10,"s":40,"q":40,"o":40,"g":40,"e":40,"d":40,"c":40,"a":40,"Q":10,"O":10,"G":10,"C":10,"A":16,".":50}},"X":{"d":"443,0r-155,-273r-154,273r-124,0r220,-365r-206,-347r124,0r140,255r141,-255r124,0r-206,347r221,365r-125,0","w":578,"k":{"\u00d6":10,"\u00d5":10,"\u00d4":10,"\u00d3":10,"\u00d2":10,"\u00c7":10,"\u0152":10,"y":32,"Q":10,"O":10,"J":-4,"G":10,"C":10}},"Y":{"d":"326,-293r0,293r-108,0r0,-293r-213,-419r118,0r149,313r149,-313r118,0","w":544,"k":{"\u00f8":80,"\u00e7":80,"\u00e6":80,"\u00d8":10,"\u00d6":10,"\u00d5":10,"\u00d4":10,"\u00d3":10,"\u00d2":10,"\u00c7":10,"\u00c6":40,"\u00c5":40,"\u00c4":40,"\u00c3":40,"\u00c2":40,"\u00c1":40,"\u00c0":40,"\u0153":80,"\u0152":10,"z":40,"x":40,"u":40,"s":80,"r":40,"q":80,"p":40,"o":80,"n":40,"m":40,"g":80,"e":80,"d":80,"c":80,"a":80,"Q":10,"O":10,"J":40,"G":10,"C":10,"A":40,".":80}},"Z":{"d":"48,0r0,-93r329,-522r-315,0r0,-97r442,0r0,88r-331,527r331,0r0,97r-456,0","w":552},"[":{"d":"86,74r0,-860r218,0r0,91r-116,0r0,678r116,0r0,91r-218,0","w":347},"\\":{"d":"282,74r-282,-852r98,0r282,852r-98,0","w":380},"]":{"d":"43,74r0,-90r118,0r0,-680r-118,0r0,-90r218,0r0,860r-218,0","w":347},"^":{"d":"397,-401r-112,-207r-112,207r-106,0r172,-318r93,0r171,318r-106,0","w":571},"_":{"d":"0,172r0,-70r571,0r0,70r-571,0","w":571},"`":{"d":"225,-599r-111,-162r113,0r75,162r-77,0","w":500},"a":{"d":"235,-79v92,0,126,-45,117,-145v-91,2,-213,-21,-210,73v1,52,35,72,93,72xm63,-440v46,-53,89,-73,182,-73v139,0,209,58,209,174r0,339r-100,0r0,-46v-37,35,-67,51,-135,52v-110,2,-176,-54,-176,-155v0,-94,69,-146,175,-146r134,0v6,-89,-21,-133,-111,-131v-60,1,-83,14,-111,49","w":530},"b":{"d":"289,-85v91,0,105,-78,105,-169v0,-91,-14,-168,-105,-168v-92,0,-106,77,-106,168v0,91,14,169,106,169xm316,-513v143,0,180,111,180,259v0,149,-37,260,-181,260v-67,0,-100,-18,-134,-60r0,54r-100,0r0,-712r102,0r0,256v33,-40,68,-57,133,-57","w":553},"c":{"d":"448,-66v-44,46,-86,72,-167,72v-151,0,-226,-101,-226,-260v0,-160,75,-259,226,-259v81,0,123,25,167,71r-70,68v-29,-30,-47,-48,-97,-48v-86,0,-124,67,-124,168v0,101,37,169,124,169v50,0,68,-19,97,-48","w":485,"k":{"\u00f6":18,"\u00f5":18,"\u00f4":18,"\u00f3":18,"\u00f2":18,"\u00eb":18,"\u00ea":18,"\u00e9":18,"\u00e8":18,"\u00e6":4,"\u00e5":4,"\u00e4":4,"\u00e3":4,"\u00e2":4,"\u00e1":4,"\u00e0":4,"\u0153":18,"w":20,"o":18,"e":18,"d":10,"c":18,"a":4}},"d":{"d":"265,-85v91,0,105,-78,105,-169v0,-91,-14,-168,-105,-168v-92,0,-106,77,-106,168v0,91,14,169,106,169xm237,-513v64,0,100,18,133,57r0,-256r102,0r0,712r-100,0r0,-54v-35,42,-67,60,-134,60v-144,0,-181,-111,-181,-260v0,-148,37,-259,180,-259","w":553},"e":{"d":"384,-295v8,-103,-92,-166,-176,-115v-36,22,-52,58,-52,115r228,0xm270,-513v159,0,223,116,215,289r-329,0v0,86,44,143,129,142v64,-1,88,-19,123,-52r65,61v-46,47,-98,80,-190,79v-158,-2,-226,-97,-228,-260v-2,-152,75,-259,215,-259","w":539,"k":{"y":10,"x":6,"w":8,"v":10}},"f":{"d":"300,-630v-57,-4,-101,2,-101,59r0,73r101,0r0,78r-101,0r0,420r-102,0r0,-420r-58,0r0,-78r58,0v-9,-127,21,-218,139,-219r64,0r0,87","w":328,"k":{"\u00e7":16,"\u00e6":16,"\u0153":16,"\u201d":-20,"\u201c":-20,"\u2019":-20,"\u2018":-20,"o":16,"e":16,"c":16,"a":16,".":50,"*":-20}},"g":{"d":"263,-104v87,0,103,-72,103,-159v0,-87,-16,-159,-103,-159v-89,0,-103,72,-104,159v0,86,15,159,104,159xm468,-3v-5,135,-81,214,-217,214v-88,0,-129,-22,-179,-67r65,-65v31,28,54,45,110,45v104,0,127,-83,119,-194v-33,39,-68,58,-131,58v-140,0,-178,-106,-178,-251v0,-145,40,-250,179,-250v66,0,99,19,133,60r0,-54r99,0r0,504","w":549},"h":{"d":"314,-513v115,0,176,71,176,186r0,327r-102,0r0,-311v2,-71,-39,-111,-102,-111v-62,0,-103,41,-103,111r0,311r-102,0r0,-712r102,0r0,256v30,-34,73,-57,131,-57","w":566},"i":{"d":"78,-607r0,-108r108,0r0,108r-108,0xm81,0r0,-507r102,0r0,507r-102,0","w":264},"j":{"d":"78,-607r0,-108r108,0r0,108r-108,0xm183,67v0,111,-79,151,-202,140r0,-87v57,3,100,0,100,-59r0,-568r102,0r0,574","w":264},"k":{"d":"400,0r-142,-234r-75,85r0,149r-102,0r0,-712r102,0r0,439r197,-234r124,0r-176,199r198,308r-126,0","w":548,"k":{"\u00f6":7,"\u00f5":7,"\u00f4":7,"\u00f3":7,"\u00f2":7,"\u00eb":7,"\u00ea":7,"\u00e9":7,"\u00e8":7,"\u00e7":7,"\u00e6":7,"\u0153":7,"q":7,"o":7,"g":7,"e":7,"d":7,"c":7}},"l":{"d":"180,-146v-5,59,42,62,100,59r0,87v-123,10,-203,-28,-202,-140r0,-572r102,0r0,566","w":311,"k":{"\u201d":60,"\u201c":60,"\u2019":60,"\u2018":60,"y":33,"w":20,"v":40,"o":20,"e":25,"c":25,"*":60}},"m":{"d":"619,-513v117,0,182,72,182,189r0,324r-102,0r0,-309v2,-72,-39,-113,-102,-113v-66,0,-105,40,-105,108r0,314r-102,0r0,-309v2,-72,-39,-113,-102,-113v-62,0,-105,42,-105,113r0,309r-102,0r0,-507r100,0r0,51v30,-33,77,-56,135,-57v64,0,112,25,144,74v41,-49,94,-74,159,-74","w":877},"n":{"d":"316,-513v116,0,176,72,176,189r0,324r-102,0r0,-309v2,-72,-39,-113,-102,-113v-62,0,-105,42,-105,113r0,309r-102,0r0,-507r100,0r0,51v30,-35,77,-57,135,-57","w":568},"o":{"d":"268,-85v85,0,110,-76,110,-169v0,-92,-23,-168,-110,-168v-86,0,-109,76,-109,168v0,92,25,169,109,169xm268,-513v152,0,212,101,212,259v0,159,-60,260,-212,260v-152,0,-211,-102,-211,-260v0,-158,59,-259,211,-259","w":537,"k":{"y":10,"x":20,"w":8,"v":10}},"p":{"d":"289,-85v91,0,105,-78,105,-169v0,-91,-14,-168,-105,-168v-92,0,-106,77,-106,168v0,91,14,169,106,169xm315,-513v144,0,181,110,181,259v0,148,-36,260,-180,260v-64,0,-100,-19,-133,-58r0,257r-102,0r0,-712r100,0r0,54v35,-42,67,-60,134,-60","w":553},"q":{"d":"265,-85v91,0,105,-78,105,-169v0,-91,-14,-168,-105,-168v-92,0,-106,77,-106,168v0,91,14,169,106,169xm238,-513v67,0,100,18,134,60r0,-54r100,0r0,712r-102,0r0,-257v-33,39,-68,58,-133,58v-144,0,-180,-112,-180,-260v0,-148,37,-259,181,-259","w":553},"r":{"d":"181,-452v42,-69,200,-85,256,-13r-77,77v-22,-21,-37,-34,-76,-34v-59,0,-101,49,-101,114r0,308r-102,0r0,-507r100,0r0,55","w":439,"k":{"\u00f8":31,"\u00f6":31,"\u00f5":31,"\u00f4":31,"\u00f3":31,"\u00f2":31,"\u00eb":31,"\u00ea":31,"\u00e9":31,"\u00e8":31,"\u00e7":31,"\u00e6":31,"\u0153":31,"s":10,"q":31,"o":31,"g":31,"e":31,"d":31,"c":31,"a":10,".":120}},"s":{"d":"372,-391v-47,-45,-214,-65,-217,28v-2,68,88,58,150,65v91,10,150,48,151,143v3,198,-322,199,-424,88r67,-67v34,38,84,53,146,53v56,0,110,-18,111,-70v2,-71,-86,-60,-149,-67v-90,-9,-148,-45,-150,-140v-4,-180,274,-190,379,-98","w":499,"k":{"\u2019":18,"v":10,"t":10,"s":6}},"t":{"d":"195,-146v-3,55,41,64,98,59r0,87v-122,10,-200,-32,-200,-141r0,-279r-58,0r0,-78r58,0r0,-154r102,0r0,154r98,0r0,78r-98,0r0,274","w":342,"k":{"\u00e7":3,"\u00e6":3,"\u0153":3,"o":3,"e":3,"c":3,"a":3}},"u":{"d":"280,-85v69,0,105,-43,105,-113r0,-309r102,0r0,507r-100,0r0,-51v-30,35,-77,57,-135,57v-116,0,-176,-72,-176,-189r0,-324r102,0r0,309v-2,72,39,113,102,113","w":568},"v":{"d":"277,0r-83,0r-186,-507r108,0r120,357r119,-357r108,0","w":471,"k":{"\u00f8":10,"\u00f6":10,"\u00f5":10,"\u00f4":10,"\u00f3":10,"\u00f2":10,"\u00eb":10,"\u00ea":10,"\u00e9":10,"\u00e8":10,"\u00e7":10,"\u00e6":10,"\u0153":10,"s":10,"o":10,"e":10,"c":10,"a":10,".":63}},"w":{"d":"577,0r-87,0r-119,-354r-118,354r-88,0r-157,-507r108,0r98,357r118,-357r79,0r117,357r98,-357r109,0","w":743,"k":{"\u00f8":8,"\u00f6":8,"\u00f5":8,"\u00f4":8,"\u00f3":8,"\u00f2":8,"\u00eb":8,"\u00ea":8,"\u00e9":8,"\u00e8":8,"\u00e7":8,"\u00e6":8,"\u0153":8,"o":8,"e":8,"c":8,".":39}},"x":{"d":"358,0r-106,-173r-107,173r-123,0r174,-259r-167,-248r123,0r100,165r99,-165r123,0r-166,248r173,259r-123,0","w":503,"k":{"\u00f8":20,"\u00f6":20,"\u00f5":20,"\u00f4":20,"\u00f3":20,"\u00f2":20,"\u00eb":20,"\u00ea":20,"\u00e9":20,"\u00e8":20,"\u00e7":20,"\u00e6":20,"\u0153":20,"o":20,"e":20,"c":20}},"y":{"d":"240,101v-23,75,-80,107,-182,100r0,-92v59,2,83,-8,99,-54r28,-79r-177,-483r108,0r121,357r118,-357r109,0","w":468,"k":{"\u00f8":10,"\u00f6":10,"\u00f5":10,"\u00f4":10,"\u00f3":10,"\u00f2":10,"\u00eb":10,"\u00ea":10,"\u00e9":10,"\u00e8":10,"\u00e7":10,"\u00e6":10,"\u0153":10,"o":10,"e":10,"c":10,"a":10,".":63}},"z":{"d":"43,0r0,-81r252,-335r-238,0r0,-91r364,0r0,81r-254,335r254,0r0,91r-378,0","w":469},"{":{"d":"250,-95v-8,75,38,83,112,78r0,91r-71,0v-96,0,-143,-44,-143,-139r0,-167v2,-66,-35,-84,-103,-79r0,-90v67,5,103,-13,103,-79r0,-167v-5,-123,86,-148,214,-139r0,91v-73,-4,-112,2,-112,78r0,161v0,56,-27,84,-66,100v39,16,67,44,66,100r0,161","w":407},"|":{"d":"118,74r0,-860r102,0r0,860r-102,0","w":338},"}":{"d":"259,-480v-2,66,36,84,103,79r0,90v-67,-5,-103,13,-103,79r0,167v5,123,-86,148,-214,139r0,-91v73,4,112,-2,112,-78r0,-161v-1,-57,28,-84,67,-100v-39,-16,-68,-43,-67,-100r0,-161v8,-75,-38,-83,-112,-78r0,-91r71,0v96,0,143,44,143,139r0,167","w":407},"~":{"d":"531,-280v-42,39,-74,76,-148,78v-78,1,-116,-57,-191,-57v-43,0,-54,15,-85,44r-64,-64v42,-39,73,-76,147,-78v78,-1,115,57,191,57v43,0,61,-21,85,-44","w":574},"\u20ac":{"d":"621,-213v-25,131,-106,219,-255,219v-156,0,-246,-95,-252,-254r-71,0r0,-67r68,0r0,-86r-68,0r0,-67r71,0v7,-157,97,-250,252,-250v150,0,231,88,255,219r-110,0v-14,-86,-105,-153,-203,-111v-54,23,-83,63,-85,142r183,0r0,67r-187,0r0,86r187,0r0,67r-183,0v3,102,49,153,143,158v83,4,130,-55,146,-123r109,0","w":681},"\u201a":{"d":"78,92r0,-197r112,0r0,105","w":267},"\u0192":{"d":"385,-630v-64,-3,-114,-1,-125,59r-32,180r101,0r0,78r-115,0r-91,518r-102,0r91,-518r-82,0r0,-78r96,0v30,-144,22,-324,196,-326r63,0r0,87","w":415},"\u201e":{"d":"78,92r0,-197r112,0r0,105xm269,92r0,-197r112,0r0,105","w":460,"k":{"Y":96,"W":50,"V":80,"T":96}},"\u2026":{"d":"343,0r0,-117r117,0r0,117r-117,0xm78,0r0,-117r117,0r0,117r-117,0xm608,0r0,-117r117,0r0,117r-117,0","w":803},"\u2020":{"d":"346,-427r0,427r-102,0r0,-427r-179,0r0,-91r179,0r0,-194r102,0r0,194r180,0r0,91r-180,0","w":591},"\u2021":{"d":"346,11r0,194r-102,0r0,-194r-179,0r0,-92r179,0r0,-346r-179,0r0,-91r179,0r0,-194r102,0r0,194r180,0r0,91r-180,0r0,346r180,0r0,92r-180,0","w":591},"\u02c6":{"d":"337,-599r-87,-97r-87,97r-85,0r129,-161r86,0r129,161r-85,0","w":500},"\u2030":{"d":"198,-413v79,0,62,-92,63,-166v0,-44,-19,-72,-63,-72v-80,0,-63,92,-63,167v0,47,21,71,63,71xm998,-61v79,2,62,-92,63,-167v0,-44,-19,-72,-63,-72v-80,0,-61,92,-63,167v0,45,19,71,63,72xm644,-61v79,2,62,-92,63,-167v0,-44,-19,-72,-63,-72v-80,0,-61,92,-63,167v0,45,19,71,63,72xm294,0r-82,0r336,-712r81,0xm338,-481v-3,86,-54,136,-140,136v-86,0,-140,-50,-140,-136r0,-101v3,-87,55,-137,140,-137v85,0,140,50,140,137r0,101xm1138,-130v-3,87,-55,137,-140,137v-85,0,-140,-50,-140,-137r0,-101v3,-87,55,-137,140,-137v85,0,140,50,140,137r0,101xm784,-130v-3,87,-55,137,-140,137v-85,0,-140,-50,-140,-137r0,-101v3,-87,55,-137,140,-137v85,0,140,50,140,137r0,101","w":1196},"\u0160":{"d":"335,-781r-86,0r-129,-161r85,0r87,97r87,-97r85,0xm289,-624v-104,-8,-171,106,-103,177v46,48,177,37,241,65v67,30,111,86,111,179v0,144,-108,209,-256,209v-119,0,-188,-29,-252,-94r72,-71v47,47,97,67,182,68v84,1,145,-33,147,-109v3,-104,-100,-103,-190,-116v-112,-15,-187,-73,-187,-193v0,-139,94,-209,238,-209v104,0,163,28,221,81r-69,68v-39,-39,-85,-50,-155,-55","w":590},"\u2039":{"d":"37,-272r230,-229r0,123r-107,106r107,107r0,123","w":339},"\u0152":{"d":"323,-91v176,0,142,-196,147,-355v4,-129,-88,-202,-206,-163v-107,35,-87,203,-86,343v1,109,44,175,145,175xm218,-700v86,-35,208,-18,253,46r0,-58r450,0r0,96r-342,0r0,210r291,0r0,94r-291,0r0,216r343,0r0,96r-451,0r0,-58v-46,63,-167,82,-253,46v-91,-39,-152,-119,-150,-251v2,-147,-17,-306,68,-381v26,-23,52,-44,82,-56","w":977},"\u017d":{"d":"324,-781r-86,0r-129,-161r85,0r87,97r87,-97r85,0xm48,0r0,-93r329,-522r-315,0r0,-97r442,0r0,88r-331,527r331,0r0,97r-456,0","w":552},"\u2018":{"d":"78,-608r0,-104r112,-93r0,197r-112,0","w":268,"k":{"\u00c6":80,"\u00c5":80,"\u00c4":80,"\u00c3":80,"\u00c2":80,"\u00c1":80,"\u00c0":80,"s":60,"J":120,"A":80}},"\u2019":{"d":"78,-516r0,-196r112,0r0,105","w":268,"k":{"\u00c6":80,"\u00c5":80,"\u00c4":80,"\u00c3":80,"\u00c2":80,"\u00c1":80,"\u00c0":80,"s":60,"J":120,"A":80}},"\u201c":{"d":"78,-608r0,-104r112,-93r0,197r-112,0xm269,-608r0,-104r112,-93r0,197r-112,0","w":459,"k":{"\u00c6":80,"\u00c5":80,"\u00c4":80,"\u00c3":80,"\u00c2":80,"\u00c1":80,"\u00c0":80,"J":120,"A":80}},"\u201d":{"d":"78,-516r0,-196r112,0r0,105xm269,-516r0,-196r112,0r0,105","w":459,"k":{"\u00c6":80,"\u00c5":80,"\u00c4":80,"\u00c3":80,"\u00c2":80,"\u00c1":80,"\u00c0":80,"J":120,"A":80}},"\u2022":{"d":"256,-497v98,0,163,65,163,163v0,98,-65,163,-163,163v-98,0,-163,-65,-163,-163v0,-98,65,-163,163,-163","w":512},"\u2013":{"d":"51,-230r0,-95r431,0r0,95r-431,0"},"\u2014":{"d":"67,-231r0,-97r838,0r0,97r-838,0","w":972},"\u02dc":{"d":"419,-667v-36,35,-54,52,-104,55v-57,3,-78,-42,-131,-42v-30,0,-35,9,-58,30r-48,-47v37,-35,53,-52,104,-55v57,-3,77,43,130,43v28,0,38,-11,59,-31","w":500},"\u2122":{"d":"231,-643r0,358r-76,0r0,-358r-114,0r0,-69r305,0r0,69r-115,0xm745,-285r0,-279r-90,179r-71,0r-90,-179r0,279r-77,0r0,-427r77,0r125,243r126,-243r77,0r0,427r-77,0","w":883},"\u0161":{"d":"291,-599r-86,0r-129,-161r85,0r87,97r87,-97r85,0xm372,-391v-47,-45,-214,-65,-217,28v-2,68,88,58,150,65v91,10,150,48,151,143v3,198,-322,199,-424,88r67,-67v34,38,84,53,146,53v56,0,110,-18,111,-70v2,-71,-86,-60,-149,-67v-90,-9,-148,-45,-150,-140v-4,-180,274,-190,379,-98","w":499},"\u203a":{"d":"72,-42r0,-123r108,-107r-108,-106r0,-123r231,229","w":339},"\u0153":{"d":"706,-295v20,-134,-167,-180,-214,-69v-11,23,-12,37,-14,69r228,0xm268,-85v85,0,110,-76,110,-169v0,-92,-23,-168,-110,-168v-86,0,-109,76,-109,168v0,92,25,169,109,169xm592,-513v159,0,223,116,215,289r-329,0v0,86,44,143,129,142v64,-1,88,-19,123,-52r65,61v-46,47,-97,80,-189,79v-81,-1,-140,-28,-175,-80v-30,47,-87,82,-163,80v-152,-4,-211,-102,-211,-260v0,-158,59,-255,211,-259v77,-2,134,33,164,81v35,-54,89,-81,160,-81","w":862},"\u017e":{"d":"282,-599r-86,0r-129,-161r85,0r87,97r87,-97r85,0xm43,0r0,-81r252,-335r-238,0r0,-91r364,0r0,81r-254,335r254,0r0,91r-378,0","w":469},"\u0178":{"d":"334,-786r0,-108r92,0r0,108r-92,0xm118,-786r0,-108r92,0r0,108r-92,0xm326,-293r0,293r-108,0r0,-293r-213,-419r118,0r149,313r149,-313r118,0","w":544},"\u00a0":{"w":240},"\u00a1":{"d":"93,-398r0,-109r112,0r0,109r-112,0xm87,205r22,-500r80,0r22,500r-124,0","w":332},"\u00a2":{"d":"247,-528v-121,19,-123,305,0,324r0,-324xm459,-184v-39,41,-75,65,-141,74r0,110r-80,0r0,-111v-119,-24,-183,-113,-183,-255v0,-143,64,-231,183,-255r0,-91r80,0r0,90v65,8,102,33,141,74r-68,66v-25,-26,-43,-41,-82,-48r0,328v39,-7,58,-22,82,-48","w":498},"\u00a3":{"d":"343,-621v-84,0,-130,54,-129,142r0,88r129,0r0,78r-129,0r0,216r302,0r0,97r-411,0r0,-313r-62,0r0,-78r62,0r0,-96v-4,-179,162,-269,333,-215v28,9,53,28,78,53r-72,71v-27,-25,-48,-43,-101,-43","w":564},"\u00a4":{"d":"332,-143v82,0,136,-54,136,-136v0,-82,-55,-135,-136,-135v-81,0,-136,53,-136,135v0,82,54,136,136,136xm523,-403v49,59,49,189,0,248r74,74r-67,67r-74,-74v-59,49,-189,49,-248,0r-73,74r-67,-67r73,-74v-49,-59,-49,-189,0,-248r-73,-73r67,-67r73,73v69,-49,179,-49,248,0r74,-73r67,67","w":665},"\u00a5":{"d":"392,-422r87,0r0,78r-127,0r-26,51r0,52r153,0r0,78r-153,0r0,163r-108,0r0,-163r-153,0r0,-78r153,0r0,-52r-26,-51r-127,0r0,-78r87,0r-147,-290r118,0r150,314r148,-314r117,0","w":544},"\u00a6":{"d":"118,74r0,-350r102,0r0,350r-102,0xm118,-436r0,-350r102,0r0,350r-102,0","w":344},"\u00a7":{"d":"273,-154v61,0,99,-40,99,-107v0,-65,-35,-108,-99,-108v-62,0,-100,40,-99,108v1,67,37,107,99,107xm273,-629v-76,-6,-114,78,-68,127v27,28,82,38,125,52v86,26,142,80,142,186v0,79,-46,126,-97,156v50,24,88,65,88,141v0,198,-294,233,-367,84v-11,-21,-17,-47,-18,-76r100,0v4,50,39,79,94,79v77,0,115,-77,73,-135v-23,-32,-85,-43,-130,-58v-86,-27,-141,-79,-141,-186v0,-80,45,-127,97,-156v-48,-25,-84,-60,-84,-134v0,-193,300,-223,360,-71v9,20,13,43,14,67r-98,0v-3,-53,-37,-72,-90,-76","w":543},"\u00a8":{"d":"96,-604r0,-108r92,0r0,108r-92,0xm312,-604r0,-108r92,0r0,108r-92,0","w":500},"\u00a9":{"d":"568,-208v-37,32,-68,52,-131,52v-119,0,-175,-80,-179,-200v-5,-146,112,-235,251,-187v21,7,40,22,59,39r-46,47v-28,-23,-42,-34,-85,-35v-77,-1,-108,60,-108,136v0,76,31,137,108,136v43,-1,57,-12,85,-35xm431,-62v219,0,338,-197,267,-410v-43,-130,-214,-220,-380,-156v-128,49,-221,223,-154,388v41,101,130,178,267,178xm572,-690v158,66,278,263,192,475v-51,126,-163,221,-333,221v-170,0,-278,-98,-333,-221v-65,-144,-1,-320,77,-397v84,-83,254,-137,397,-78","w":862},"\u00aa":{"d":"204,-373v72,0,99,-33,92,-112v-71,2,-165,-16,-163,57v1,41,25,55,71,55xm67,-658v37,-43,71,-58,146,-58v111,0,166,46,166,139r0,270r-81,0r0,-36v-29,28,-52,40,-106,40v-89,1,-140,-39,-140,-123v0,-75,56,-117,139,-117r105,0v5,-70,-17,-104,-87,-102v-48,1,-64,11,-87,39","w":452},"\u00ab":{"d":"290,-272r230,-229r0,123r-108,106r108,107r0,123xm37,-272r230,-229r0,123r-107,106r107,107r0,123","w":592},"\u00ac":{"d":"389,-98r0,-141r-341,0r0,-95r436,0r0,236r-95,0"},"\u00ae":{"d":"443,-373v36,1,64,-25,64,-59v0,-34,-28,-59,-64,-59r-66,0r0,118r66,0xm578,-432v3,56,-36,91,-77,106r87,165r-81,0r-80,-155r-50,0r0,155r-72,0r0,-391r147,0v76,3,123,47,126,120xm544,-84v129,-51,217,-214,154,-388v-47,-130,-215,-220,-381,-156v-129,50,-216,220,-153,388v48,129,214,221,380,156xm572,-690v158,66,278,263,192,475v-51,126,-163,221,-333,221v-170,0,-278,-98,-333,-221v-65,-144,-1,-320,77,-397v84,-83,254,-137,397,-78","w":862},"\u00af":{"d":"95,-622r0,-73r310,0r0,73r-310,0","w":500},"\u02c9":{"d":"95,-622r0,-73r310,0r0,73r-310,0","w":500},"\u00b0":{"d":"235,-457v50,0,93,-42,91,-92v-2,-55,-35,-91,-91,-93v-50,-2,-90,43,-90,93v0,50,40,92,90,92xm235,-724v105,0,175,70,175,175v0,104,-70,174,-175,174v-104,0,-174,-70,-174,-174v0,-105,70,-175,174,-175","w":471},"\u00b1":{"d":"51,0r0,-95r431,0r0,95r-431,0xm314,-316r0,169r-95,0r0,-169r-168,0r0,-95r168,0r0,-168r95,0r0,168r168,0r0,95r-168,0"},"\u00b2":{"d":"175,-716v94,0,164,92,118,176v-37,68,-106,125,-155,186r167,0r0,69r-260,0r0,-69r161,-186v35,-29,29,-111,-31,-107v-31,2,-55,17,-53,55r-77,0v-2,-76,56,-124,130,-124","w":350},"\u00b3":{"d":"261,-505v31,17,56,46,56,97v0,143,-210,169,-260,59v-8,-16,-12,-35,-12,-57r77,0v0,36,27,56,60,57v35,0,59,-24,58,-61v0,-41,-26,-64,-72,-60r0,-66v43,4,67,-18,67,-55v1,-35,-23,-56,-54,-56v-32,0,-52,21,-54,52r-76,0v1,-73,57,-122,130,-121v78,2,127,45,130,122v2,46,-21,74,-50,89","w":362},"\u00b4":{"d":"275,-599r-77,0r75,-162r113,0","w":500},"\u00b5":{"d":"281,-85v63,0,104,-41,104,-113r0,-309r102,0r0,507r-100,0r0,-51v-39,51,-149,81,-209,32r0,224r-102,0r0,-712r102,0r0,309v-2,72,40,113,103,113","w":569},"\u03bc":{"d":"281,-85v63,0,104,-41,104,-113r0,-309r102,0r0,507r-100,0r0,-51v-39,51,-149,81,-209,32r0,224r-102,0r0,-712r102,0r0,309v-2,72,40,113,103,113","w":569},"\u00b6":{"d":"38,-513v0,-132,91,-199,225,-199r281,0r0,917r-102,0r0,-820r-108,0r0,820r-102,0r0,-522v-117,-7,-194,-80,-194,-196","w":637},"\u00b7":{"d":"78,-217r0,-122r122,0r0,122r-122,0","w":278},"\u22c5":{"d":"78,-217r0,-122r122,0r0,122r-122,0","w":278},"\u2219":{"d":"78,-217r0,-122r122,0r0,122r-122,0","w":278},"\u00b8":{"d":"268,211r-101,0r70,-147r82,0","w":500},"\u00b9":{"d":"127,-285r0,-341r-87,76r0,-87r87,-75r77,0r0,427r-77,0","w":277},"\u00ba":{"d":"229,-377v68,1,85,-60,85,-133v0,-73,-17,-132,-85,-132v-67,0,-85,60,-85,132v0,72,18,133,85,133xm229,-716v121,0,169,80,169,206v0,127,-48,207,-169,207v-121,0,-168,-80,-168,-207v0,-126,48,-206,168,-206","w":458},"\u00bb":{"d":"72,-42r0,-123r108,-107r-108,-106r0,-123r231,229xm325,-42r0,-123r107,-107r-107,-106r0,-123r231,229","w":592},"\u00bc":{"d":"127,-285r0,-341r-87,76r0,-87r87,-75r77,0r0,427r-77,0xm728,-61r0,61r-74,0r0,-61r-174,0r0,-71r147,-295r83,0r-147,295r91,0r0,-83r74,0r0,83r40,0r0,71r-40,0xm261,0r-81,0r335,-712r81,0","w":808},"\u00bd":{"d":"127,-285r0,-341r-87,76r0,-87r87,-75r77,0r0,427r-77,0xm253,0r-81,0r335,-712r81,0xm652,-431v94,0,164,91,118,175v-37,68,-106,126,-155,187r167,0r0,69r-259,0r0,-69r160,-186v35,-29,29,-111,-31,-107v-31,2,-55,17,-53,55r-76,0v-2,-76,55,-124,129,-124","w":827},"\u00be":{"d":"764,-61r0,61r-73,0r0,-61r-174,0r0,-71r146,-295r84,0r-147,295r91,0r0,-83r73,0r0,83r40,0r0,71r-40,0xm303,0r-81,0r335,-712r81,0xm261,-505v31,17,56,46,56,97v0,143,-210,169,-260,59v-8,-16,-12,-35,-12,-57r77,0v0,36,27,56,60,57v35,0,59,-24,58,-61v0,-41,-26,-64,-72,-60r0,-66v43,4,67,-18,67,-55v1,-35,-23,-56,-54,-56v-32,0,-52,21,-54,52r-76,0v1,-73,57,-122,130,-121v78,2,127,45,130,122v2,46,-21,74,-50,89","w":844},"\u00bf":{"d":"179,-398r0,-109r112,0r0,109r-112,0xm440,19v-6,120,-80,192,-200,192v-120,0,-199,-72,-199,-192v0,-121,100,-165,138,-257v8,-19,5,-35,5,-58r102,0v3,62,-8,99,-35,135v-34,45,-74,89,-99,141v-31,66,17,139,88,139v60,0,98,-44,98,-100r102,0","w":511},"\u00c0":{"d":"284,-781r-111,-162r113,0r75,162r-77,0xm315,-551r-111,316r219,0xm502,0r-49,-143r-281,0r-49,143r-115,0r261,-712r87,0r261,712r-115,0","w":625,"k":{"\u0152":3,"y":25,"v":25,"Y":35,"W":27,"V":35,"T":60,"Q":10,"O":10,"G":10,"C":10}},"\u00c1":{"d":"335,-781r-77,0r75,-162r113,0xm315,-551r-111,316r219,0xm502,0r-49,-143r-281,0r-49,143r-115,0r261,-712r87,0r261,712r-115,0","w":625,"k":{"\u0152":3,"y":25,"v":25,"Y":35,"W":27,"V":35,"T":60,"Q":10,"O":10,"G":10,"C":10}},"\u00c2":{"d":"397,-781r-87,-97r-87,97r-85,0r129,-161r86,0r129,161r-85,0xm315,-551r-111,316r219,0xm502,0r-49,-143r-281,0r-49,143r-115,0r261,-712r87,0r261,712r-115,0","w":625,"k":{"\u0152":3,"y":4,"v":25,"Y":35,"W":27,"V":35,"T":60,"Q":10,"O":10,"G":10,"C":10}},"\u00c3":{"d":"478,-849v-36,35,-54,52,-104,55v-57,3,-78,-42,-131,-42v-30,0,-35,9,-58,30r-48,-47v37,-35,53,-52,104,-55v57,-3,77,43,130,43v28,0,38,-11,59,-31xm315,-551r-111,316r219,0xm502,0r-49,-143r-281,0r-49,143r-115,0r261,-712r87,0r261,712r-115,0","w":625,"k":{"\u0152":3,"y":25,"v":25,"Y":35,"W":27,"V":35,"T":60,"Q":10,"O":10,"G":10,"C":10}},"\u00c4":{"d":"156,-786r0,-108r92,0r0,108r-92,0xm372,-786r0,-108r92,0r0,108r-92,0xm315,-551r-111,316r219,0xm502,0r-49,-143r-281,0r-49,143r-115,0r261,-712r87,0r261,712r-115,0","w":625,"k":{"\u0152":10,"y":25,"v":25,"Y":35,"W":27,"V":35,"T":60,"Q":10,"O":10,"G":10,"C":10}},"\u00c5":{"d":"310,-812v34,0,64,-29,64,-63v0,-34,-30,-63,-64,-63v-34,0,-64,29,-64,63v0,34,30,63,64,63xm315,-551r-111,316r219,0xm310,-1000v75,0,125,50,125,125v0,75,-50,125,-125,125v-75,0,-125,-50,-125,-125v0,-75,50,-125,125,-125xm502,0r-49,-143r-281,0r-49,143r-115,0r261,-712r87,0r261,712r-115,0","w":625,"k":{"\u0152":3,"y":25,"v":25,"Y":35,"W":27,"V":35,"T":60,"Q":10,"O":10,"G":10,"C":10}},"\u00c6":{"d":"442,-615r-188,361r188,0r0,-361xm442,0r0,-162r-235,0r-84,162r-118,0r374,-712r518,0r0,97r-347,0r0,209r296,0r0,97r-296,0r0,212r347,0r0,97r-455,0","w":952},"\u00c7":{"d":"323,211r-101,0r70,-147r82,0xm577,-213v-24,131,-104,219,-254,219v-162,0,-255,-101,-255,-270v0,-146,-11,-298,68,-378v79,-80,260,-103,354,-20v44,39,74,92,87,163r-110,0v-14,-87,-102,-146,-203,-111v-106,37,-89,205,-87,344v2,108,44,171,146,175v83,3,128,-54,145,-122r109,0","w":628,"k":{"\u00c6":3,"Y":10,"X":10,"W":10,"V":10,"T":20,"J":12,"A":10}},"\u00c8":{"d":"286,-781r-111,-162r113,0r75,162r-77,0xm93,0r0,-712r455,0r0,97r-347,0r0,208r296,0r0,96r-296,0r0,214r347,0r0,97r-455,0","w":603},"\u00c9":{"d":"336,-781r-77,0r75,-162r113,0xm93,0r0,-712r455,0r0,97r-347,0r0,208r296,0r0,96r-296,0r0,214r347,0r0,97r-455,0","w":603},"\u00ca":{"d":"398,-781r-87,-97r-87,97r-85,0r129,-161r86,0r129,161r-85,0xm93,0r0,-712r455,0r0,97r-347,0r0,208r296,0r0,96r-296,0r0,214r347,0r0,97r-455,0","w":603},"\u00cb":{"d":"373,-786r0,-108r92,0r0,108r-92,0xm157,-786r0,-108r92,0r0,108r-92,0xm93,0r0,-712r455,0r0,97r-347,0r0,208r296,0r0,96r-296,0r0,214r347,0r0,97r-455,0","w":603},"\u00cc":{"d":"109,-781r-111,-162r113,0r75,162r-77,0xm93,0r0,-712r108,0r0,712r-108,0","w":294},"\u00cd":{"d":"170,-781r-77,0r75,-162r113,0xm93,0r0,-712r108,0r0,712r-108,0","w":294},"\u00ce":{"d":"235,-781r-87,-97r-87,97r-85,0r129,-161r86,0r129,161r-85,0xm93,0r0,-712r108,0r0,712r-108,0","w":294},"\u00cf":{"d":"212,-786r0,-108r92,0r0,108r-92,0xm-4,-786r0,-108r92,0r0,108r-92,0xm93,0r0,-712r108,0r0,712r-108,0","w":294},"\u00d0":{"d":"482,-159v39,-63,26,-180,26,-275v0,-116,-48,-182,-159,-182r-129,0r0,215r138,0r0,83r-138,0r0,222v111,0,216,10,262,-63xm563,-617v68,78,53,221,53,355v0,126,-55,193,-138,236v-89,47,-240,19,-366,26r0,-318r-74,0r0,-83r74,0r0,-311r250,0v85,0,149,34,201,95","w":684},"\u00d1":{"d":"530,-849v-36,35,-54,52,-104,55v-57,3,-78,-42,-131,-42v-30,0,-35,9,-58,30r-48,-47v37,-35,53,-52,104,-55v57,-3,77,43,130,43v28,0,38,-11,59,-31xm530,0r-329,-501r0,501r-108,0r0,-712r99,0r329,500r0,-500r108,0r0,712r-99,0","w":722},"\u00d2":{"d":"298,-781r-111,-162r113,0r75,162r-77,0xm323,-91v176,0,142,-196,147,-355v4,-129,-87,-201,-206,-163v-107,35,-89,203,-88,343v1,109,45,175,147,175xm511,-642v85,75,64,232,67,378v2,134,-59,211,-151,250v-61,26,-147,26,-207,0v-91,-40,-154,-118,-152,-250v2,-146,-13,-300,68,-378v63,-61,187,-99,291,-56v31,13,58,33,84,56","w":646,"k":{"\u00c6":3,"Y":10,"X":10,"W":10,"V":10,"T":20,"J":12,"A":10}},"\u00d3":{"d":"348,-781r-77,0r75,-162r113,0xm323,-91v176,0,142,-196,147,-355v4,-129,-87,-201,-206,-163v-107,35,-89,203,-88,343v1,109,45,175,147,175xm511,-642v85,75,64,232,67,378v2,134,-59,211,-151,250v-61,26,-147,26,-207,0v-91,-40,-154,-118,-152,-250v2,-146,-13,-300,68,-378v63,-61,187,-99,291,-56v31,13,58,33,84,56","w":646,"k":{"\u00c6":3,"Y":10,"X":10,"W":10,"V":10,"T":20,"J":12,"A":10}},"\u00d4":{"d":"410,-781r-87,-97r-87,97r-85,0r129,-161r86,0r129,161r-85,0xm323,-91v176,0,142,-196,147,-355v4,-129,-87,-201,-206,-163v-107,35,-89,203,-88,343v1,109,45,175,147,175xm511,-642v85,75,64,232,67,378v2,134,-59,211,-151,250v-61,26,-147,26,-207,0v-91,-40,-154,-118,-152,-250v2,-146,-13,-300,68,-378v63,-61,187,-99,291,-56v31,13,58,33,84,56","w":646,"k":{"\u00c6":3,"Y":10,"X":10,"W":10,"V":10,"T":20,"J":12,"A":10}},"\u00d5":{"d":"492,-849v-36,35,-54,52,-104,55v-57,3,-78,-42,-131,-42v-30,0,-35,9,-58,30r-48,-47v37,-35,53,-52,104,-55v57,-3,77,43,130,43v28,0,38,-11,59,-31xm323,-91v176,0,142,-196,147,-355v4,-129,-87,-201,-206,-163v-107,35,-89,203,-88,343v1,109,45,175,147,175xm511,-642v85,75,64,232,67,378v2,134,-59,211,-151,250v-61,26,-147,26,-207,0v-91,-40,-154,-118,-152,-250v2,-146,-13,-300,68,-378v63,-61,187,-99,291,-56v31,13,58,33,84,56","w":646,"k":{"\u00c6":3,"Y":10,"X":10,"W":10,"V":10,"T":20,"J":12,"A":10}},"\u00d6":{"d":"169,-786r0,-108r92,0r0,108r-92,0xm385,-786r0,-108r92,0r0,108r-92,0xm323,-91v176,0,142,-196,147,-355v4,-129,-87,-201,-206,-163v-107,35,-89,203,-88,343v1,109,45,175,147,175xm511,-642v85,75,64,232,67,378v2,134,-59,211,-151,250v-61,26,-147,26,-207,0v-91,-40,-154,-118,-152,-250v2,-146,-13,-300,68,-378v63,-61,187,-99,291,-56v31,13,58,33,84,56","w":646,"k":{"\u00c6":3,"Y":10,"X":10,"W":10,"V":10,"T":20,"J":12,"A":10}},"\u00d7":{"d":"412,-69r-146,-145r-145,145r-64,-63r146,-146r-146,-146r64,-64r145,146r146,-146r64,64r-146,146r146,146"},"\u00d8":{"d":"403,-599v-90,-53,-210,-3,-219,93v-9,97,-18,259,12,340xm323,-91v184,-4,150,-218,145,-387v-1,-28,-8,-48,-17,-68r-207,433v23,15,50,22,79,22xm504,-648v90,66,74,231,74,384v0,134,-59,211,-151,250v-66,29,-166,24,-223,-7r-31,65r-82,0r51,-108v-88,-68,-74,-230,-74,-384v0,-133,60,-210,152,-250v65,-29,166,-24,223,7r30,-65r83,0","w":652},"\u00d9":{"d":"313,-781r-111,-162r113,0r75,162r-77,0xm593,-240v-6,155,-102,246,-256,246v-154,0,-255,-91,-255,-246r0,-472r108,0r0,467v-1,93,57,154,147,154v90,0,148,-61,148,-154r0,-467r108,0r0,472","w":675},"\u00da":{"d":"363,-781r-77,0r75,-162r113,0xm593,-240v-6,155,-102,246,-256,246v-154,0,-255,-91,-255,-246r0,-472r108,0r0,467v-1,93,57,154,147,154v90,0,148,-61,148,-154r0,-467r108,0r0,472","w":675},"\u00db":{"d":"425,-781r-87,-97r-87,97r-85,0r129,-161r86,0r129,161r-85,0xm593,-240v-6,155,-102,246,-256,246v-154,0,-255,-91,-255,-246r0,-472r108,0r0,467v-1,93,57,154,147,154v90,0,148,-61,148,-154r0,-467r108,0r0,472","w":675},"\u00dc":{"d":"400,-786r0,-108r92,0r0,108r-92,0xm184,-786r0,-108r92,0r0,108r-92,0xm593,-240v-6,155,-102,246,-256,246v-154,0,-255,-91,-255,-246r0,-472r108,0r0,467v-1,93,57,154,147,154v90,0,148,-61,148,-154r0,-467r108,0r0,472","w":675},"\u00dd":{"d":"297,-781r-77,0r75,-162r113,0xm326,-293r0,293r-108,0r0,-293r-213,-419r118,0r149,313r149,-313r118,0","w":544},"\u00de":{"d":"356,-241v75,0,126,-42,126,-118v0,-76,-51,-119,-126,-119r-155,0r0,237r155,0xm363,-575v139,4,228,79,228,216v0,137,-89,215,-228,215r-162,0r0,144r-108,0r0,-712r108,0r0,137r162,0","w":637},"\u00df":{"d":"501,-152v-1,119,-78,163,-208,152r0,-87v65,4,105,-10,105,-74r0,-156v1,-61,-42,-77,-105,-72r0,-81v63,6,108,-16,105,-75v-3,-59,-39,-84,-106,-84v-77,0,-108,41,-108,113r0,516r-103,0r0,-522v2,-132,82,-197,214,-197v120,0,203,50,205,171v1,60,-26,92,-62,116v42,24,63,49,63,115r0,165","w":565},"\u00e0":{"d":"232,-599r-111,-162r113,0r75,162r-77,0xm235,-79v92,0,126,-45,117,-145v-91,2,-213,-21,-210,73v1,52,35,72,93,72xm63,-440v46,-53,89,-73,182,-73v139,0,209,58,209,174r0,339r-100,0r0,-46v-37,35,-67,51,-135,52v-110,2,-176,-54,-176,-155v0,-94,69,-146,175,-146r134,0v6,-89,-21,-133,-111,-131v-60,1,-83,14,-111,49","w":530},"\u00e1":{"d":"282,-599r-77,0r75,-162r113,0xm235,-79v92,0,126,-45,117,-145v-91,2,-213,-21,-210,73v1,52,35,72,93,72xm63,-440v46,-53,89,-73,182,-73v139,0,209,58,209,174r0,339r-100,0r0,-46v-37,35,-67,51,-135,52v-110,2,-176,-54,-176,-155v0,-94,69,-146,175,-146r134,0v6,-89,-21,-133,-111,-131v-60,1,-83,14,-111,49","w":530},"\u00e2":{"d":"344,-599r-87,-97r-87,97r-85,0r129,-161r86,0r129,161r-85,0xm235,-79v92,0,126,-45,117,-145v-91,2,-213,-21,-210,73v1,52,35,72,93,72xm63,-440v46,-53,89,-73,182,-73v139,0,209,58,209,174r0,339r-100,0r0,-46v-37,35,-67,51,-135,52v-110,2,-176,-54,-176,-155v0,-94,69,-146,175,-146r134,0v6,-89,-21,-133,-111,-131v-60,1,-83,14,-111,49","w":530},"\u00e3":{"d":"426,-667v-36,35,-54,52,-104,55v-57,3,-78,-42,-131,-42v-30,0,-35,9,-58,30r-48,-47v37,-35,53,-52,104,-55v57,-3,77,43,130,43v28,0,38,-11,59,-31xm235,-79v92,0,126,-45,117,-145v-91,2,-213,-21,-210,73v1,52,35,72,93,72xm63,-440v46,-53,89,-73,182,-73v139,0,209,58,209,174r0,339r-100,0r0,-46v-37,35,-67,51,-135,52v-110,2,-176,-54,-176,-155v0,-94,69,-146,175,-146r134,0v6,-89,-21,-133,-111,-131v-60,1,-83,14,-111,49","w":530},"\u00e4":{"d":"103,-604r0,-108r92,0r0,108r-92,0xm319,-604r0,-108r92,0r0,108r-92,0xm235,-79v92,0,126,-45,117,-145v-91,2,-213,-21,-210,73v1,52,35,72,93,72xm63,-440v46,-53,89,-73,182,-73v139,0,209,58,209,174r0,339r-100,0r0,-46v-37,35,-67,51,-135,52v-110,2,-176,-54,-176,-155v0,-94,69,-146,175,-146r134,0v6,-89,-21,-133,-111,-131v-60,1,-83,14,-111,49","w":530},"\u00e5":{"d":"257,-638v34,0,64,-29,64,-63v0,-34,-30,-63,-64,-63v-34,0,-64,29,-64,63v0,34,30,63,64,63xm235,-79v92,0,126,-45,117,-145v-91,2,-213,-21,-210,73v1,52,35,72,93,72xm257,-826v75,0,125,50,125,125v0,75,-50,125,-125,125v-75,0,-125,-50,-125,-125v0,-75,50,-125,125,-125xm63,-440v46,-53,89,-73,182,-73v139,0,209,58,209,174r0,339r-100,0r0,-46v-37,35,-67,51,-135,52v-110,2,-176,-54,-176,-155v0,-94,69,-146,175,-146r134,0v6,-89,-21,-133,-111,-131v-60,1,-83,14,-111,49","w":530},"\u00e6":{"d":"681,-295v20,-134,-167,-180,-214,-69v-11,23,-12,37,-14,69r228,0xm235,-79v92,0,126,-45,117,-145v-91,2,-213,-21,-210,73v1,52,35,72,93,72xm567,-513v159,0,223,116,215,289r-329,0v0,86,44,143,129,142v64,-1,88,-19,123,-52r65,61v-46,47,-98,80,-190,79v-82,-1,-142,-27,-179,-79v-46,57,-90,78,-182,79v-111,1,-176,-50,-176,-155v0,-94,69,-146,175,-146r134,0v6,-89,-21,-133,-111,-131v-60,1,-83,14,-111,49r-67,-63v46,-53,89,-73,182,-73v83,0,141,22,172,67v37,-45,87,-67,150,-67","w":837},"\u00e7":{"d":"268,211r-101,0r70,-147r82,0xm448,-66v-44,46,-86,72,-167,72v-151,0,-226,-101,-226,-260v0,-160,75,-259,226,-259v81,0,123,25,167,71r-70,68v-29,-30,-47,-48,-97,-48v-86,0,-124,67,-124,168v0,101,37,169,124,169v50,0,68,-19,97,-48","w":485,"k":{"\u00e6":4,"\u0153":18,"o":18,"e":18,"c":4,"a":4}},"\u00e8":{"d":"248,-599r-111,-162r113,0r75,162r-77,0xm384,-295v8,-103,-92,-166,-176,-115v-36,22,-52,58,-52,115r228,0xm270,-513v159,0,223,116,215,289r-329,0v0,86,44,143,129,142v64,-1,88,-19,123,-52r65,61v-46,47,-98,80,-190,79v-158,-2,-226,-97,-228,-260v-2,-152,75,-259,215,-259","w":539,"k":{"y":10,"x":6,"w":8,"v":10}},"\u00e9":{"d":"298,-599r-77,0r75,-162r113,0xm384,-295v8,-103,-92,-166,-176,-115v-36,22,-52,58,-52,115r228,0xm270,-513v159,0,223,116,215,289r-329,0v0,86,44,143,129,142v64,-1,88,-19,123,-52r65,61v-46,47,-98,80,-190,79v-158,-2,-226,-97,-228,-260v-2,-152,75,-259,215,-259","w":539,"k":{"y":10,"x":6,"w":8,"v":10}},"\u00ea":{"d":"384,-295v8,-103,-92,-166,-176,-115v-36,22,-52,58,-52,115r228,0xm360,-599r-87,-97r-87,97r-85,0r129,-161r86,0r129,161r-85,0xm270,-513v159,0,223,116,215,289r-329,0v0,86,44,143,129,142v64,-1,88,-19,123,-52r65,61v-46,47,-98,80,-190,79v-158,-2,-226,-97,-228,-260v-2,-152,75,-259,215,-259","w":539,"k":{"y":10,"x":6,"w":8,"v":10}},"\u00eb":{"d":"119,-604r0,-108r92,0r0,108r-92,0xm335,-604r0,-108r92,0r0,108r-92,0xm384,-295v8,-103,-92,-166,-176,-115v-36,22,-52,58,-52,115r228,0xm270,-513v159,0,223,116,215,289r-329,0v0,86,44,143,129,142v64,-1,88,-19,123,-52r65,61v-46,47,-98,80,-190,79v-158,-2,-226,-97,-228,-260v-2,-152,75,-259,215,-259","w":539,"k":{"y":10,"x":6,"w":8,"v":10}},"\u00ec":{"d":"98,-599r-111,-162r113,0r75,162r-77,0xm81,0r0,-507r102,0r0,507r-102,0","w":264},"\u00ed":{"d":"158,-599r-77,0r75,-162r113,0xm81,0r0,-507r102,0r0,507r-102,0","w":264},"\u00ee":{"d":"222,-599r-87,-97r-87,97r-85,0r129,-161r86,0r129,161r-85,0xm81,0r0,-507r102,0r0,507r-102,0","w":264},"\u00ef":{"d":"195,-604r0,-108r92,0r0,108r-92,0xm-21,-604r0,-108r92,0r0,108r-92,0xm81,0r0,-507r102,0r0,507r-102,0","w":264},"\u00f1":{"d":"456,-667v-36,35,-54,52,-104,55v-57,3,-78,-42,-131,-42v-30,0,-35,9,-58,30r-48,-47v37,-35,53,-52,104,-55v57,-3,77,43,130,43v28,0,38,-11,59,-31xm316,-513v116,0,176,72,176,189r0,324r-102,0r0,-309v2,-72,-39,-113,-102,-113v-62,0,-105,42,-105,113r0,309r-102,0r0,-507r100,0r0,51v30,-35,77,-57,135,-57","w":568},"\u00f2":{"d":"236,-599r-111,-162r113,0r75,162r-77,0xm268,-85v85,0,110,-76,110,-169v0,-92,-23,-168,-110,-168v-86,0,-109,76,-109,168v0,92,25,169,109,169xm268,-513v152,0,212,101,212,259v0,159,-60,260,-212,260v-152,0,-211,-102,-211,-260v0,-158,59,-259,211,-259","w":537,"k":{"y":10,"x":6,"w":8,"v":10}},"\u00f3":{"d":"293,-599r-77,0r75,-162r113,0xm268,-85v85,0,110,-76,110,-169v0,-92,-23,-168,-110,-168v-86,0,-109,76,-109,168v0,92,25,169,109,169xm268,-513v152,0,212,101,212,259v0,159,-60,260,-212,260v-152,0,-211,-102,-211,-260v0,-158,59,-259,211,-259","w":537,"k":{"y":10,"x":6,"w":8,"v":10}},"\u00f4":{"d":"355,-599r-87,-97r-87,97r-85,0r129,-161r86,0r129,161r-85,0xm268,-85v85,0,110,-76,110,-169v0,-92,-23,-168,-110,-168v-86,0,-109,76,-109,168v0,92,25,169,109,169xm268,-513v152,0,212,101,212,259v0,159,-60,260,-212,260v-152,0,-211,-102,-211,-260v0,-158,59,-259,211,-259","w":537,"k":{"y":10,"x":6,"w":8,"v":10}},"\u00f5":{"d":"437,-667v-36,35,-54,52,-104,55v-57,3,-78,-42,-131,-42v-30,0,-35,9,-58,30r-48,-47v37,-35,53,-52,104,-55v57,-3,77,43,130,43v28,0,38,-11,59,-31xm268,-85v85,0,110,-76,110,-169v0,-92,-23,-168,-110,-168v-86,0,-109,76,-109,168v0,92,25,169,109,169xm268,-513v152,0,212,101,212,259v0,159,-60,260,-212,260v-152,0,-211,-102,-211,-260v0,-158,59,-259,211,-259","w":537,"k":{"y":10,"x":6,"w":8,"v":10}},"\u00f6":{"d":"114,-604r0,-108r92,0r0,108r-92,0xm330,-604r0,-108r92,0r0,108r-92,0xm268,-85v85,0,110,-76,110,-169v0,-92,-23,-168,-110,-168v-86,0,-109,76,-109,168v0,92,25,169,109,169xm268,-513v152,0,212,101,212,259v0,159,-60,260,-212,260v-152,0,-211,-102,-211,-260v0,-158,59,-259,211,-259","w":537,"k":{"y":10,"x":6,"w":8,"v":10}},"\u00f7":{"d":"212,-414r0,-109r109,0r0,109r-109,0xm212,-33r0,-109r109,0r0,109r-109,0xm48,-230r0,-95r436,0r0,95r-436,0"},"\u00f8":{"d":"268,-422v-123,0,-124,173,-94,277r154,-260v-17,-11,-37,-17,-60,-17xm268,-85v123,0,126,-173,95,-278r-154,260v17,12,37,18,59,18xm420,-453v47,48,59,108,60,199v2,159,-60,255,-212,260v-43,1,-76,-11,-104,-25r-37,63r-69,0r58,-99v-47,-48,-58,-108,-59,-199v-2,-158,59,-254,211,-259v43,-1,77,11,105,25r37,-63r69,0","w":537},"\u00f9":{"d":"256,-599r-111,-162r113,0r75,162r-77,0xm280,-85v69,0,105,-43,105,-113r0,-309r102,0r0,507r-100,0r0,-51v-30,35,-77,57,-135,57v-116,0,-176,-72,-176,-189r0,-324r102,0r0,309v-2,72,39,113,102,113","w":568},"\u00fa":{"d":"306,-599r-77,0r75,-162r113,0xm280,-85v69,0,105,-43,105,-113r0,-309r102,0r0,507r-100,0r0,-51v-30,35,-77,57,-135,57v-116,0,-176,-72,-176,-189r0,-324r102,0r0,309v-2,72,39,113,102,113","w":568},"\u00fb":{"d":"368,-599r-87,-97r-87,97r-85,0r129,-161r86,0r129,161r-85,0xm280,-85v69,0,105,-43,105,-113r0,-309r102,0r0,507r-100,0r0,-51v-30,35,-77,57,-135,57v-116,0,-176,-72,-176,-189r0,-324r102,0r0,309v-2,72,39,113,102,113","w":568},"\u00fc":{"d":"343,-604r0,-108r92,0r0,108r-92,0xm127,-604r0,-108r92,0r0,108r-92,0xm280,-85v69,0,105,-43,105,-113r0,-309r102,0r0,507r-100,0r0,-51v-30,35,-77,57,-135,57v-116,0,-176,-72,-176,-189r0,-324r102,0r0,309v-2,72,39,113,102,113","w":568},"\u00fd":{"d":"259,-599r-77,0r75,-162r113,0xm240,101v-23,75,-80,107,-182,100r0,-92v59,2,83,-8,99,-54r28,-79r-177,-483r108,0r121,357r118,-357r109,0","w":468},"\u00fe":{"d":"289,-85v91,0,105,-78,105,-169v0,-91,-14,-168,-105,-168v-92,0,-106,77,-106,168v0,91,14,169,106,169xm316,-513v143,0,180,111,180,259v0,148,-36,260,-180,260v-64,0,-100,-19,-133,-58r0,257r-102,0r0,-917r102,0r0,256v33,-40,68,-57,133,-57","w":554},"\u00ff":{"d":"296,-604r0,-108r92,0r0,108r-92,0xm80,-604r0,-108r92,0r0,108r-92,0xm240,101v-23,75,-80,107,-182,100r0,-92v59,2,83,-8,99,-54r28,-79r-177,-483r108,0r121,357r118,-357r109,0","w":468},"\u00f0":{"d":"268,-85v87,-1,106,-73,106,-164v0,-91,-19,-164,-106,-164v-82,0,-105,74,-105,164v0,90,23,165,105,164xm61,-249v0,-164,75,-268,239,-245r-45,-81r-116,0r0,-72r78,0r-39,-70r108,0r39,70r87,0r0,72r-50,0v46,100,114,174,114,326v0,156,-58,255,-208,255v-149,0,-207,-100,-207,-255","w":537},"\u0141":{"d":"107,0r0,-266r-69,44r0,-93r69,-43r0,-354r108,0r0,286r141,-89r0,91r-141,89r0,238r342,0r0,97r-450,0","w":587},"\u0142":{"d":"194,-146v-5,59,42,62,100,59r0,87v-123,10,-203,-28,-202,-140r0,-181r-59,36r0,-87r59,-36r0,-304r102,0r0,242r70,-43r0,86r-70,44r0,237","w":326},"\u2212":{"d":"51,-230r0,-95r431,0r0,95r-431,0"},"\u2215":{"d":"-28,0r-82,0r335,-712r82,0","w":197},"\ufb01":{"d":"396,-624r0,-91r109,0r0,91r-109,0xm399,0r0,-498r102,0r0,498r-102,0xm297,-630v-57,-4,-100,2,-100,59r0,73r100,0r0,78r-100,0r0,420r-102,0r0,-420r-58,0r0,-78r58,0v-9,-127,21,-218,139,-219r63,0r0,87","w":583},"\ufb02":{"d":"499,-146v-5,59,42,62,100,59r0,87v-123,10,-203,-28,-202,-140r0,-572r102,0r0,566xm297,-630v-57,-4,-100,2,-100,59r0,73r100,0r0,78r-100,0r0,420r-102,0r0,-420r-58,0r0,-78r58,0v-9,-127,21,-218,139,-219r63,0r0,87","w":626},"\u0131":{"d":"81,0r0,-507r102,0r0,507r-102,0","w":264},"\u02d8":{"d":"415,-735v-5,97,-66,145,-164,145v-98,0,-161,-48,-166,-145r74,0v6,45,42,71,92,71v50,0,86,-26,92,-71r72,0","w":500},"\u02d9":{"d":"196,-620r0,-91r108,0r0,91r-108,0","w":500},"\u02da":{"d":"250,-638v34,0,64,-29,64,-63v0,-34,-30,-63,-64,-63v-34,0,-64,29,-64,63v0,34,30,63,64,63xm250,-826v75,0,125,50,125,125v0,75,-50,125,-125,125v-75,0,-125,-50,-125,-125v0,-75,50,-125,125,-125","w":500},"\u02dd":{"d":"344,-599r-76,0r76,-162r112,0xm160,-599r-77,0r75,-162r113,0","w":500},"\u02db":{"d":"228,211r-51,-147r82,0r70,147r-101,0","w":500},"\u02c7":{"d":"293,-599r-86,0r-129,-161r85,0r87,97r87,-97r85,0","w":500}}});

/* END FILE static/js/cufont/DinRegular_400.font.js */
/* START FILE static/js/cufont/cufon-init.js */
Cufon.replace('.wg-typo-DinRegular');
Cufon.replace('.msg_titre h1');
/* END FILE static/js/cufont/cufon-init.js */
/* START FILE static/js/jquery/jquery-calendar.js */
/* MarcGrabanski.com v2.5 */
/* Pop-Up Calendar Built from Scratch by Marc Grabanski */
/* Enhanced by Keith Wood (kbwood@iprimus.com.au). */
/* Under the Creative Commons Licence http://creativecommons.org/licenses/by/3.0/
	Share or Remix it but please Attribute the authors. */
var popUpCal = {
	selectedDay: 0,
	selectedMonth: 0, // 0-11
	selectedYear: 0, // 4-digit year
	clearText: '', // Display text for clear link
	closeText: 'x', // Display text for close link
	prevText: '<<', // Display text for previous month link
	nextText: '>>', // Display text for next month link
	currentText: 'Today', // Display text for current month link
	appendText: '', // Display text following the input box, e.g. showing the format
	buttonText: '...', // Text for trigger button
	buttonImage: '', // URL for trigger button image
	buttonImageOnly: false, // True if the image appears alone, false if it appears on a button
	dayNames: ['Su','Mo','Tu','We','Th','Fr','Sa'], // Names of days starting at Sunday
	monthNames: ['January','February','March','April','May','June','July','August','September','October','November','December'], // Names of months
	dateFormat: 'YMD-', // First three are day, month, year in the required order, fourth is the separator, e.g. US would be 'MDY/'
	yearRange: '-10:+10', // Range of years to display in drop-down, either relative to current year (-nn:+nn) or absolute (nnnn:nnnn)
	changeMonth: true, // True if month can be selected directly, false if only prev/next
	changeYear: true, // True if year can be selected directly, false if only prev/next
	firstDay: 0, // The first day of the week, Sun = 0, Mon = 1, ...
	changeFirstDay: true, // True to click on day name to change, false to remain as set
	showOtherMonths: false, // True to show dates in other months, false to leave blank
	minDate: null, // The earliest selectable date, or null for no limit
	maxDate: null, // The latest selectable date, or null for no limit
	speed: 'medium', // Speed of display/closure
	autoPopUp: 'focus', // 'focus' for popup on focus, 'button' for trigger button, or 'both' for either
	closeAtTop: true, // True to have the clear/close at the top, false to have them at the bottom
	customDate: null, // Function that takes a date and returns an array with [0] = true if selectable, false if not,
		// [1] = custom CSS class name(s) or '', e.g. popUpCal.noWeekends
	fieldSettings: null, // Function that takes an input field and returns a set of custom settings for the calendar

	/* Initialisation. */
	init: function() {
		this.popUpShowing = false;
		this.lastInput = null;
		this.disabledInputs = [];
		wQuery('body').append('<div id="calendar_div"></div>');
		wQuery(document).mousedown(popUpCal.checkExternalClick);
	},
	
	/* Pop-up the calendar for a given input field. */
	showFor: function(target) {
		var input = (target.nodeName && target.nodeName.toLowerCase() == 'input' ? target : this);
		if (input.nodeName.toLowerCase() != 'input') { // find from button/image trigger
			input = wQuery('../input', input)[0];
		}
		if (popUpCal.lastInput == input) { // already here
			return;
		}
		for (var i = 0; i < popUpCal.disabledInputs.length; i++) {  // check not disabled
			if (popUpCal.disabledInputs[i] == input) {
				return;
			}
		}
		popUpCal.input = wQuery(input);
		popUpCal.hideCalendar();
		popUpCal.lastInput = input;
		popUpCal.setDateFromField();
		popUpCal.setPos(input, wQuery('#calendar_div'));
		wQuery.extend(popUpCal, (popUpCal.fieldSettings ? popUpCal.fieldSettings(input) : {}));
		popUpCal.showCalendar(); 
	},
	
	/* Handle keystrokes. */
	doKeyDown: function(e) {
		if (popUpCal.popUpShowing) {
			switch (e.keyCode) {
				case 9:  popUpCal.hideCalendar(); break; // hide on tab out
				case 13: popUpCal.selectDate(); break; // select the value on enter
				case 27: popUpCal.hideCalendar(popUpCal.speed); break; // hide on escape
				case 33: popUpCal.adjustDate(-1, (e.ctrlKey ? 'Y' : 'M')); break; // previous month/year on page up/+ ctrl
				case 34: popUpCal.adjustDate(+1, (e.ctrlKey ? 'Y' : 'M')); break; // next month/year on page down/+ ctrl
				case 35: if (e.ctrlKey) wQuery('#calendar_clear').click(); break; // clear on ctrl+end
				case 36: if (e.ctrlKey) wQuery('#calendar_current').click(); break; // current on ctrl+home
				case 37: if (e.ctrlKey) popUpCal.adjustDate(-1, 'D'); break; // -1 day on ctrl+left
				case 38: if (e.ctrlKey) popUpCal.adjustDate(-7, 'D'); break; // -1 week on ctrl+up
				case 39: if (e.ctrlKey) popUpCal.adjustDate(+1, 'D'); break; // +1 day on ctrl+right
				case 40: if (e.ctrlKey) popUpCal.adjustDate(+7, 'D'); break; // +1 week on ctrl+down
			}
		}
		else if (e.keyCode == 36 && e.ctrlKey) { // display the calendar on ctrl+home
			popUpCal.showFor(this);
		}
	},
		
	/* Filter entered characters. */
	doKeyPress: function(e) {
		var chr = String.fromCharCode(e.charCode == undefined ? e.keyCode : e.charCode);
		return (chr < ' ' || chr == popUpCal.dateFormat.charAt(3) || (chr >= '0' && chr <= '9')); // only allow numbers and separator
	},
	
	/* Attach the calendar to an input field. */
	connectCalendar: function(target) {
		var jQueryinput = wQuery(target);
		jQueryinput.after('<span class="calendar_append">' + this.appendText + '</span>');
		if (this.autoPopUp == 'focus' || this.autoPopUp == 'both') { // pop-up calendar when in the marked fields
			jQueryinput.focus(this.showFor);
		}
		if (this.autoPopUp == 'button' || this.autoPopUp == 'both') { // pop-up calendar when button clicked
			jQueryinput.wrap('<span class="calendar_wrap"></span>').
				after(this.buttonImageOnly ? '<img class="calendar_trigger" src="' + 
				this.buttonImage + '" alt="' + this.buttonText + '" title="' + this.buttonText + '"/>' :
				'<button class="calendar_trigger">' + (this.buttonImage != '' ? 
				'<img src="' + this.buttonImage + '" alt="' + this.buttonText + '" title="' + this.buttonText + '"/>' : 
				this.buttonText) + '</button>');
			wQuery((this.buttonImageOnly ? 'img' : 'button') + '.calendar_trigger', jQueryinput.parent('span')).click(this.showFor);
		}
		jQueryinput.keydown(this.doKeyDown).keypress(this.doKeyPress);
	},
	
	/* Enable the input field(s) for entry. */
	enableFor: function(inputs) {
		inputs = (inputs.jquery ? inputs : wQuery(inputs));
		inputs.each(function() {
			this.disabled = false;
			wQuery('../button.calendar_trigger', this).each(function() { this.disabled = false; });
			wQuery('../img.calendar_trigger', this).each(function() { wQuery(this).css('opacity', '1.0'); });
			var jQuerythis = this;
			popUpCal.disabledInputs = wQuery.map(popUpCal.disabledInputs, 
				function(value) { return (value == jQuerythis ? null : value); }); // delete entry
		});
		return false;
	},
	
	/* Disable the input field(s) from entry. */
	disableFor: function(inputs) {
		inputs = (inputs.jquery ? inputs : wQuery(inputs));
		inputs.each(function() {
			this.disabled = true;
			wQuery('../button.calendar_trigger', this).each(function() { this.disabled = true; });
			wQuery('../img.calendar_trigger', this).each(function() { wQuery(this).css('opacity', '0.5'); });
			var jQuerythis = this;
			popUpCal.disabledInputs = wQuery.map(popUpCal.disabledInputs, 
				function(value) { return (value == jQuerythis ? null : value); }); // delete entry
			popUpCal.disabledInputs[popUpCal.disabledInputs.length] = this;
		});
		return false;
	},
	
	/* Construct and display the calendar. */
	showCalendar: function() {
		this.popUpShowing = true;
		// build the calendar HTML
		var html = 
			'<div id="calendar_links"><a id="calendar_prev">' + this.prevText + '</a>' +
			'<a id="calendar_current">' + this.currentText + '</a>' +
			'<a id="calendar_next">' + this.nextText + '</a></div>' +
			'<div id="calendar_header">';
		if (!this.changeMonth) {
			html += this.monthNames[this.selectedMonth] + '&nbsp;';
		}
		else {
			var inMinYear = (this.minDate && this.minDate.getFullYear() == this.selectedYear);
			var inMaxYear = (this.maxDate && this.maxDate.getFullYear() == this.selectedYear);
			html += '<select id="calendar_newMonth">';
			for (var month = 0; month < 12; month++) {
				if ((!inMinYear || month >= this.minDate.getMonth()) &&
						(!inMaxYear || month <= this.maxDate.getMonth())) {
					html += '<option value="' + month + '"' + 
						(month == this.selectedMonth ? ' selected="selected"' : '') + 
						'>' + this.monthNames[month] + '</option>';
				}
			}
			html += '</select>';
		}
		if (!this.changeYear) {
			html += this.selectedYear;
		}
		else {
			// determine range of years to display
			var years = this.yearRange.split(':');
			var year = 0;
			var endYear = 0;
			if (years.length != 2) {
				year = this.selectedYear - 10;
				endYear = this.selectedYear + 10;
			}
			else if (years[0].charAt(0) == '+' || years[0].charAt(0) == '-') {
				year = this.selectedYear + parseInt(years[0]);
				endYear = this.selectedYear + parseInt(years[1]);
			}
			else {
				year = parseInt(years[0]);
				endYear = parseInt(years[1]);
			}
			year = (this.minDate ? Math.max(year, this.minDate.getFullYear()) : year);
			endYear = (this.maxDate ? Math.min(endYear, this.maxDate.getFullYear()) : endYear);
			html += '<select id="calendar_newYear">';
			for (; year <= endYear; year++) {
				html += '<option value="' + year + '"' + 
					(year == this.selectedYear ? ' selected="selected"' : '') + 
					'>' + year + '</option>';
			}
			html += '</select>';
		}
		html += '</div><table id="calendar" cellpadding="0" cellspacing="0"><thead>' +
			'<tr class="calendar_titleRow">';
		for (var dow = 0; dow < 7; dow++) {
			html += '<td>' + (this.changeFirstDay ? '<a>' : '') + 
				this.dayNames[(dow + this.firstDay) % 7] + (this.changeFirstDay ? '</a>' : '') + '</td>';
		}
		html += '</tr></thead><tbody>';
		var daysInMonth = this.getDaysInMonth(this.selectedYear, this.selectedMonth);
		this.selectedDay = Math.min(this.selectedDay, daysInMonth);
		var leadDays = (this.getFirstDayOfMonth(this.selectedYear, this.selectedMonth) - this.firstDay + 7) % 7;
		var currentDate = new Date(this.currentYear, this.currentMonth, this.currentDay);
		var selectedDate = new Date(this.selectedYear, this.selectedMonth, this.selectedDay);
		var printDate = new Date(this.selectedYear, this.selectedMonth, 1 - leadDays);
		var numRows = Math.ceil((leadDays + daysInMonth) / 7); // calculate the number of rows to generate
		var today = new Date();
		today = new Date(today.getFullYear(), today.getMonth(), today.getDate()); // clear time
		for (var row = 0; row < numRows; row++) { // create calendar rows
			html += '<tr class="calendar_daysRow">';
			for (var dow = 0; dow < 7; dow++) { // create calendar days
				var customSettings = (this.customDate ? this.customDate(printDate) : [true, '']);
				var otherMonth = (printDate.getMonth() != this.selectedMonth);
				var unselectable = otherMonth || !customSettings[0] || 
					(this.minDate && printDate < this.minDate) || 
					(this.maxDate && printDate > this.maxDate);
				html += '<td class="calendar_daysCell' + 
					((dow + this.firstDay + 6) % 7 >= 5 ? ' calendar_weekEndCell' : '') + // highlight weekends
					(otherMonth ? ' calendar_otherMonth' : '') + // highlight days from other months
					(printDate.getTime() == selectedDate.getTime() ? ' calendar_daysCellOver' : '') + // highlight selected day
					(unselectable ? ' calendar_unselectable' : '') +  // highlight unselectable days
					(!otherMonth || this.showOtherMonths ? ' ' + customSettings[1] : '') + '"' + // highlight custom dates
					(printDate.getTime() == currentDate.getTime() ? ' id="calendar_currentDay"' : // highlight current day
					(printDate.getTime() == today.getTime() ? ' id="calendar_today"' : '')) + '>' + // highlight today (if different)
					(otherMonth ? (this.showOtherMonths ? printDate.getDate() : '&nbsp;') : // display for other months
					(unselectable ? printDate.getDate() : '<a>' + printDate.getDate() + '</a>')) + '</td>'; // display for this month
				printDate.setDate(printDate.getDate() + 1);
			}
			html += '</tr>';

		}
		html += '</tbody></table><!--[if lte IE 6.5]><iframe src="javascript:false;" id="calendar_cover"></iframe><![endif]-->' +

			(this.closeAtTop ? '' : '<div id="calendar_control"><a id="calendar_clear">' + this.clearText + '</a>' +

			'<a id="calendar_close">' + this.closeText + '</a></div>');
		// add calendar to element to calendar Div
		wQuery('#calendar_div').empty().append(html).fadeIn(popUpCal.speed);
		this.input[0].focus();
		this.setupActions();
	}, // end showCalendar
	
	/* Connect behaviours to the calendar. */
	setupActions: function() {
		wQuery('#calendar_clear').click(function() { // clear button link
			popUpCal.clearDate();
		});
		wQuery('#calendar_close').click(function() { // close button link
			popUpCal.hideCalendar(popUpCal.speed);
		});
		wQuery('#calendar_prev').click(function() { // setup navigation links
			popUpCal.adjustDate(-1, 'M'); 
		});
		wQuery('#calendar_next').click(function() {
			popUpCal.adjustDate(+1, 'M'); 
		});
		wQuery('#calendar_current').click(function() { // back to today
			popUpCal.selectedDay = new Date().getDate();
			popUpCal.selectedMonth = new Date().getMonth();
			popUpCal.selectedYear = new Date().getFullYear();
			popUpCal.adjustDate(); 
		});
		wQuery('#calendar_newMonth').change(function() { // change month
			popUpCal.selecting = false;
			popUpCal.selectedMonth = this.options[this.selectedIndex].value - 0;
			popUpCal.adjustDate(); 
		}).click(this.selectMonthYear);
		wQuery('#calendar_newYear').change(function() { // change year
			popUpCal.selecting = false;
			popUpCal.selectedYear = this.options[this.selectedIndex].value - 0;
			popUpCal.adjustDate(); 
		}).click(this.selectMonthYear);
		wQuery('.calendar_titleRow a').click(function() { // change first day of week
			for (var i = 0; i < 7; i++) {
				if (popUpCal.dayNames[i] == this.firstChild.nodeValue) {
					popUpCal.firstDay = i; 
				}
			}
			popUpCal.showCalendar();
		});
		wQuery('.calendar_daysRow td:has(a)').hover( // highlight current day
			function() {
				wQuery(this).addClass('calendar_daysCellOver');
			}, function() {
				wQuery(this).removeClass('calendar_daysCellOver');
		});
		wQuery('.calendar_daysRow td:has(a)').click(function() { // select day
			popUpCal.selectedDay = wQuery("a",this).html();
			popUpCal.selectDate();
		});
		
	},
	
	/* Hide the calendar from view. */
	hideCalendar: function(speed) {
		if (this.popUpShowing) {
			wQuery('#calendar_div').fadeOut(speed);
			this.popUpShowing = false;
			this.lastInput = null;
		}
	},
	
	/* Restore input focus after not changing month/year. */
	selectMonthYear: function() { 
		if (popUpCal.selecting) {
			popUpCal.input[0].focus(); 
		}
		popUpCal.selecting = !popUpCal.selecting;
	},
	
	/* Update the input field with the selected date. */
	selectDate: function() {
		this.hideCalendar(this.speed);
		this.input.val(this.formatDate(this.selectedDay, this.selectedMonth, this.selectedYear));
	},

	/* Erase the input field and hide the calendar. */
	clearDate: function() {
		this.hideCalendar(this.speed);
		this.input.val('');		
	},
	
	/* Close calendar if clicked elsewhere. */
	checkExternalClick: function(event) {
		if (popUpCal.popUpShowing) {
			var node = event.target;
			var cal = wQuery('#calendar_div')[0];
			while (node && node != cal && node.className != 'calendar_trigger') {
				node = node.parentNode;
			}
			if (!node) {
				popUpCal.hideCalendar();
			}
		}
	},
	
	/* Set as customDate function to prevent selection of weekends. */
	noWeekends: function(date) {
		var day = date.getDay();
		return [(day > 0 && day < 6), ''];
	},
	
	/* Format and display the given date. */
	formatDate: function(day, month, year) {
		month++; // adjust javascript month
		var dateString = '';
		for (var i = 0; i < 3; i++) {
			dateString += this.dateFormat.charAt(3) + 
				(this.dateFormat.charAt(i) == 'D' ? (day < 10 ? '0' : '') + day : 
				(this.dateFormat.charAt(i) == 'M' ? (month < 10 ? '0' : '') + month : 
				(this.dateFormat.charAt(i) == 'Y' ? year : '?')));
		}
		return dateString.substring(1);
	},
	
	/* Parse existing date and initialise calendar. */
	setDateFromField: function() {
		var currentDate = this.input.val().split(this.dateFormat.charAt(3));
		if (currentDate.length == 3) {
			this.currentDay = parseInt(this.trimNumber(currentDate[this.dateFormat.indexOf('D')]));
			this.currentMonth = parseInt(this.trimNumber(currentDate[this.dateFormat.indexOf('M')])) - 1;
			this.currentYear = parseInt(this.trimNumber(currentDate[this.dateFormat.indexOf('Y')]));
		} else {
			this.currentDay = new Date().getDate();
			this.currentMonth = new Date().getMonth();
			this.currentYear = new Date().getFullYear();
		}
		this.selectedDay = this.currentDay;
		this.selectedMonth = this.currentMonth;
		this.selectedYear = this.currentYear;
		this.adjustDate(0, 'D', true);
	},

	/* Ensure numbers are not treated as octal. */
	trimNumber: function(value) {
		if (value == '')
			return '';
		while (value.charAt(0) == '0') {
			value = value.substring(1);
		}
		return value;
	},
	
	/* Adjust one of the date sub-fields. */
	adjustDate: function(offset, period, dontShow) {
		var date = new Date(this.selectedYear + (period == 'Y' ? offset : 0), 
			this.selectedMonth + (period == 'M' ? offset : 0), 
			this.selectedDay + (period == 'D' ? offset : 0));
		// ensure it is within the bounds set
		date = (this.minDate && date < this.minDate ? this.minDate : date);
		date = (this.maxDate && date > this.maxDate ? this.maxDate : date);
		this.selectedDay = date.getDate();
		this.selectedMonth = date.getMonth();
		this.selectedYear = date.getFullYear();
		if (!dontShow) {
			this.showCalendar();
		}
	},

	/* Find the number of days in a given month. */
	getDaysInMonth: function(year, month) {
		return 32 - new Date(year, month, 32).getDate();
	},
	
	/* Find the day of the week of the first of a month. */
	getFirstDayOfMonth: function(year, month) {
		return new Date(year, month, 1).getDay();
	},
	
	/* Set an object's position on the screen. */
	setPos: function(targetObj, moveObj) {
		var coords = this.findPos(targetObj);
		moveObj.css('position', 'absolute').css('left', (coords[0] + targetObj.offsetWidth + 4) + 'px').
			css('top', (coords[1] + 1) + 'px');
	},
	
	/* Find an object's position on the screen. */
	findPos: function(obj) {
		var curleft = curtop = 0;
		if (obj.offsetParent) {
			curleft = obj.offsetLeft;
			curtop = obj.offsetTop;
			while (obj = obj.offsetParent) {
				var origcurleft = curleft;
				curleft += obj.offsetLeft;
				if (curleft < 0) { 
					curleft = origcurleft;
				}
				curtop += obj.offsetTop;
			}
		}
		return [curleft,curtop];
	}
};

/* Attach the calendar to a jQuery selection. */
wQuery.fn.calendar = function(settings) {
	// customise the calendar object
	wQuery.extend(popUpCal, settings || {});
	// attach the calendar to each nominated input element
	return this.each(function() {
		if (this.nodeName.toLowerCase() == 'input') {
			popUpCal.connectCalendar(this);
		}
	});
};

/* Initialise the calendar. */
wQuery(document).ready(function() {
   popUpCal.init();
});

/* END FILE static/js/jquery/jquery-calendar.js */
/* START FILE static/js/jquery/wengo_channelizer_v2.js */
function wengo_menu_light_up(id) {
  wQuery("body").removeClass("").addClass("wg-category-id-"+id);
}

wQuery(document).ready(function() {

    if (jswengo != undefined) {
        
        if (jswengo.section != undefined) {
            if (jswengo.section == "directory") {
                if (jswengo.root_directory_keyid != undefined && jswengo.root_directory_keyid != "") {
                    wengo_menu_light_up(jswengo.root_directory_keyid);
                } else {
                    wengo_menu_light_up("directory");
                }
            } else if (jswengo.section == "home") {
                wengo_menu_light_up("home");
            }
        }
            
        if (jswengo.logged_as != undefined) {
            var wt = wQuery("span#selfcare_connected a.selfcare_connected_welcome");
			if (wt.length > 0) {
				wt = wt.html().replace(new RegExp("%%login%%", "g"), jswengo.logged_as);
				wQuery("span#selfcare_connected a.selfcare_connected_welcome").html(wt);
				wQuery("div#wg-meta-main .wg-ico-lock-in-grey-circle").removeClass('wg-ico-lock-in-grey-circle').addClass('wg-ico-lock-in-blue-circle');
				wQuery("span#selfcare_connect").hide();
				wQuery("span#selfcare_connected").show();
			}
        }
    }
});

/* END FILE static/js/jquery/wengo_channelizer_v2.js */
/* START FILE static/js/form2.js */
function wengo_ajax(vclass, vcontrol, vfield, vform, vprefix, vpayload) {
  wQuery.ajax({
    type: "POST",
    url: "/server_ajax.php",
    data: {
      "_class": vclass,
      "_control": vcontrol,
      "_field": vfield,
      "_form": vform,
      "_prefix": vprefix,
      "_payload": vpayload,
      "_query": wQuery('#'+vform).serialize(),
      "wtf": (new Date()).getTime()
    },
    cache: false
  });
}

/* END FILE static/js/form2.js */
/* START FILE static/js/jquery/thickbox.js */
var wg_tb_pathToImage = (jswengo.wg_tb_pathToImage != undefined)?jswengo.wg_tb_pathToImage:"../../static/xxx_xxx/img/loaders/intradiv-ajax-loader-2.gif";
var wg_tb_pathToSwf   = (jswengo.wg_tb_pathToSwf != undefined)?jswengo.wg_tb_pathToSwf:"../../static/xxx_xxx/swf/loaders/intradivloader.swf";
var wg_tb_remove_timeout = null;

wQuery(document).ready(function(){   
	imgLoader = new Image();
	imgLoader.src = wg_tb_pathToImage;	
});


function wg_tb_show(url, width, height) {
	
	// hide swf on covered page
	wQuery(".contains_swf").hide();

	if (typeof document.body.style.maxHeight === "undefined") {//IE 6 hack
		wQuery("body","html").css({height: "100%", width: "100%"});
	}
	if(document.getElementById("WG_TB_overlay") === null){
		wQuery("body").append("<div id='WG_TB_overlay'></div><div class='wg-space'><div id='WG_TB_window'></div></div>");
	}	
   
	TB_WIDTH = width;
	TB_HEIGHT = height;		

	var titleBar = "<div id='WG_TB_title'><div class='WG_TB_header_left'></div><div class='WG_TB_header_center'><div id='WG_TB_icon'></div><h2 id='WG_TB_titleLabel' class='wg-typo-DinRegular'></h2><div id='WG_TB_closeAjaxWindow'><a href='#' title='Close' onclick='javascript:wg_tb_remove();'><img src='static/xxx_xxx/img/btn_close_intradiv.png' width='29' height='29'/></a></div></div><div class='WG_TB_header_right'></div></div>";

	var loader_gif = "<div id='WG_TB_loading'><div id='WG_TB_loader'><img src='"+wg_tb_pathToImage+"' /></div></div>";
	var loader_swf = "<div id='WG_TB_loading'><object width='50' height='50'><param name='movie' value='"+wg_tb_pathToSwf+"'><param name='wmode' value='transparent'><embed src='"+wg_tb_pathToSwf+"' wmode='transparent' type='application/x-shockwave-flash' width='50' height='50'></object></div>";
	
	var loader = loader_gif;
	wQuery("#WG_TB_window").append(titleBar + "<div id='WG_TB_ajaxContent' style='width:"+TB_WIDTH+"px; height:"+TB_HEIGHT+"px;'><div id='WG_TB_mainContent'><div id='WG_TB_pathway' style='display:none;'></div><div id='WG_TB_content' style='display:none;'></div><div id='WG_TB_reassurance' style='display:none;'></div></div><div id='WG_TB_ajaxContent_bottom'></div></div>"+loader);
	
	wg_tb_position();
	wQuery("#WG_TB_window").fadeIn(400); 

	// Scroll automaticly to the Top of the page
	wg_tb_gotoTop();

	//check if the bottom msg must be displayed or not
	wg_tb_check_scroll();
}

function wg_tb_remove() {
	// disable auto close timer
	if (wg_tb_remove_timeout != null) {
		clearTimeout(wg_tb_remove_timeout);
		wg_tb_remove_timeout = null;
	}
	
	wQuery("#WG_TB_window").fadeOut("slow",function(){
		wQuery('#WG_TB_window,#WG_TB_overlay').remove();

		// show swf after displaying popup
		if (wQuery(".contains_swf")) {
			wQuery(".contains_swf").show();
		}
	});
	if (typeof document.body.style.maxHeight == "undefined") {//if IE 6
		wQuery("body","html").css({height: "auto", width: "auto"});
	}
    
    // when clickheat is activated, handle correctly the group switch
    if (typeof(window['clickHeatGroupPage']) != "undefined") {
        clickHeatGroup = clickHeatGroupPage;
        clickHeatNoScroll = false;
        if (typeof(window['clickHeatGroupPageHeatmapUrl']) != "undefined") {
            wQuery('body').css('backgroundImage', 'url(' + clickHeatGroupPageHeatmapUrl + '&_c='+ (new Date()).getTime() +')');
        }
    }
	
	// remove bottom message about thickbox appearance
	wg_tb_hide_bottom_msg();
	
	return false;
}

function wg_tb_position() {
    wQuery("#WG_TB_window").css({marginLeft: '-' + parseInt((TB_WIDTH /2), 10) + 'px', width: TB_WIDTH + 'px'});
}

function wg_tb_show_bottom_msg(){
	var wg_tbBottomMsgLabel = "Une fen&ecirc;tre est ouverte plus haut sur la page. Cliquez ici pour y acc&eacute;der.";
	var wg_tbBottomMsgCloseBtnLabel = "Fermer la fen&ecirc;tre";
	if (window && window.jswengo) {
		if(jswengo.t9n && jswengo.t9n == "eng")wg_tbBottomMsgLabel = "Une fen�tre est ouverte plus haut sur la page. Cliquez ici pour y acc�der."; wg_tbBottomMsgCloseBtnLabel = "Close window";
		if(jswengo.t9n && jswengo.t9n == "esl")wg_tbBottomMsgLabel = "Una ventana est� abierta en la parte de arriba de la p�gina. Haz clic aqu� para acceder."; wg_tbBottomMsgCloseBtnLabel = "Cerrar la ventana";
		if(jswengo.t9n && jswengo.t9n == "por")wg_tbBottomMsgLabel = "Uma janela est� aberta em cima da p�gina. Clique aqui para ver a p�gina."; wg_tbBottomMsgCloseBtnLabel = "Fechar janela";
	}
	if(wQuery(".WG_TB_bottom_msg").size()==0){
		wQuery("#WG_TB_window").after("<div class='WG_TB_bottom_msg'><div class='WG_TB_buttons_wrapper'><img style='vertical-align:middle; margin-right:15px;' src='static/xxx_xxx/images/icons/ico_intradiv.png' /><a onclick='wg_tb_gotoTop();'>"+wg_tbBottomMsgLabel+"</a><a class='btn_close' onclick='wg_tb_remove();'><img src='static/xxx_xxx/img/btn_close_tab_blue.png' alt='"+wg_tbBottomMsgCloseBtnLabel+"' title='"+wg_tbBottomMsgCloseBtnLabel+"'/></a></div></div>");
	}
	wQuery(".WG_TB_bottom_msg").slideDown("slow");
}

function wg_tb_hide_bottom_msg(){
	wQuery(".WG_TB_bottom_msg").slideUp("normal", function(){
		wQuery(".WG_TB_bottom_msg").remove();
	});
}

function wg_tb_gotoTop(){
	if(wQuery.scrollTo){
		wQuery(document).scrollTo(0,0,{duration:800});
	}else{
		wQuery(window).scrollTop(0);
	}
}

function wg_tb_check_scroll(){
	wQuery(window).scroll(function(){
		var limit_height = wQuery("#WG_TB_window").height();
		var scrollTop    = wQuery(window).scrollTop();
		if(scrollTop > limit_height){
			wg_tb_show_bottom_msg();
		}else{
			wg_tb_hide_bottom_msg();
		}
	});
};

/* END FILE static/js/jquery/thickbox.js */
/* START FILE static/js/intradiv_taco.js */

/*
 * Variables globales pour le positionnement du loader
 */
var top_pos  = 0;
var left_pos = 0;


/* parseUri JS v0.1, by Steven Levithan (http://badassery.blogspot.com)
Splits any well-formed URI into the following parts (all are optional):
----------------------
 * source (since the exec() method returns backreference 0 [i.e., the entire match] as key 0, we might as well use it)
 * protocol (scheme)
 * authority (includes both the domain and port)
    * domain (part of the authority; can be an IP address)
    * port (part of the authority)
 * path (includes both the directory path and filename)
    * directoryPath (part of the path; supports directories with periods, and without a trailing backslash)
    * fileName (part of the path)
 * query (does not include the leading question mark)
 * anchor (fragment)
*/

function parseUri(sourceUri){
    var uriPartNames = ["source","protocol","authority","domain","port","path","directoryPath","fileName","query","anchor"];
    var uriParts = new RegExp("^(?:([^:/?#.]+):)?(?://)?(([^:/?#]*)(?::(\\d*))?)?((/(?:[^?#](?![^?#/]*\\.[^?#/.]+(?:[\\?#]|$)))*/?)?([^?#/]*))?(?:\\?([^#]*))?(?:#(.*))?").exec(sourceUri);
    var uri = {};
    
    for(var i = 0; i < 10; i++){
        uri[uriPartNames[i]] = (uriParts[i] ? uriParts[i] : "");
    }
    
    // Always end directoryPath with a trailing backslash if a path was present in the source URI
    // Note that a trailing backslash is NOT automatically inserted within or appended to the "path" key
    if(uri.directoryPath.length > 0){
        uri.directoryPath = uri.directoryPath.replace(/\/?$/, "/");
    }
    return uri;
}

function intradivTaco_getURL(context) {
    
    var href = wQuery(context).attr('href');
    if (href == "#") href = null;
    href = wQuery(context).attr('tacohref') || href || wQuery(context).attr('alt');
    return href;
    
}
/*
 * function getQueryParameters
 * @params : query, the query url
 * @description :  return an associative array like key = value issue from the query url
 */
function getQueryParameters(query){
	var query_params = query.split("&");
	var array_query_params = new Array();

	for(var i=0;i<query_params.length;i++) {
		var tmp_query_params = query_params[i].split("=");
		array_query_params[tmp_query_params[0]] = unescape(tmp_query_params[1]);
	}
	return array_query_params;
}


function showIntradivLinks() {
	wQuery('.open_intradiv').css('opacity', '1');
	wQuery('.open_intradiv_nohijack').css('opacity', '1');
}

function bindIntradiv() {
   wQuery('.open_intradiv').unbind('click').click(
    function() {
            var url = intradivTaco_getURL(this);
            openIntradiv(url, true, this);
            return false;
    }
   );
   wQuery('.open_intradiv_nohijack').unbind('click').click(
    function() {
            var url = intradivTaco_getURL(this);
            openIntradiv(url, false, this);
            return false;
    }
   );
   showIntradivLinks();
}

/*
 * Quand la page est prete,
 *  si on clique sur le lien
 *    on force l'ouverture d'une intradiv
 * 
 */
wQuery(document).ready(function(){
  bindIntradiv();
});

function intradivtaco_getAjaxRoot() {
    var url_ajax_root = "/index.php";
    if (document.location.protocol == "https:") {
      url_ajax_root = "/selfcare/wengo"+url_ajax_root;
    }
    return url_ajax_root;
}

function openIntradiv(url, hijack, element) {
	
    if (typeof element !== 'undefined') {
        if (wQuery(element).hasClass('open_intradiv_disabled')) {
            return false;
        }
    }
    
	var parsedURI = parseUri(url);
	
	var query_parameters = getQueryParameters(url);

	// ouverture de l'intradiv
	wg_tb_show('#TB_inline?inlineId=fake&modal=true&top=true', 648, 500);
		
	var parsedCurrentURI = parseUri(location.href);
	
	var url_ajax_root = intradivtaco_getAjaxRoot();
	
	setOpacityOnLoadingContent();
	
	// appel ajax de la page passee en parametre cad ajax.php avec le formulaire
	wQuery.ajax({
	   type: "GET",
		url: url_ajax_root,
		data: parsedURI.query,
		success: function(){
			if (hijack == true) {
				hijackIntradivNav();
			}
			return false;
		},
		error: function(arg1, arg2, arg3) {
			wQuery('#WG_TB_titleLabel').append('<h2>Oups !</h2>');
			Cufon.replace('#WG_TB_titleLabel h2');
			wQuery('#WG_TB_ajaxContent').append('Dsol nous ne parvenons pas  afficher ce contenu.<br/>Nous mettons tout en oeuvre pour rgler ce problme au plus vite !<br/><br/>En attendant, merci de bien vouloir contacter le <strong>service client au 01 75 75 75 75</strong><br/><br/>Merci pour votre comprhension.<br/><br/>L\'quipe Wengo.');
			//alert(arg1+'-'+arg2+'-'+arg3);
		}
	});
	return false;
}

function callprocess_pathway_build(){
	// Pathway init
	var pathway_total_width          = wQuery('#WG_TB_window #WG_TB_pathway').width() - (wQuery('#WG_TB_window #WG_TB_pathway #callprocess_pathway_expert_photo img').outerWidth() / 2);
	var pathway_nbr_points           = wQuery('#WG_TB_window #WG_TB_pathway .pathway_point').length;
	var pathway_space_between_points = pathway_total_width / pathway_nbr_points;
		
	// Place pathway points and parts & replace points by images for pixel perfect result
	wQuery('#WG_TB_window #WG_TB_pathway .pathway_point').each(function(i,e){
		wQuery(this).html('<img src="/static/xxx_xxx/img/pathway_checkpoint_'+i+'.png" width="21" height="22" />');
		if(wQuery(this).hasClass('done')){
			wQuery(this).find('img').attr('src', '/static/xxx_xxx/img/pathway_checkpoint_'+i+'_done.png')
		}
		wQuery(this).css({ 
				left : pathway_space_between_points * (i+1) + 'px' 
			});
		wQuery('#WG_TB_window #WG_TB_pathway #callprocess_pathway_part_'+i).css({
			width: pathway_space_between_points + 'px'
		});
	});
	
	// Pathway metrics
	var point_width    = wQuery('#WG_TB_window #WG_TB_pathway .pathway_point:first').width();
	var last_point_pos = wQuery('#WG_TB_window #WG_TB_pathway .pathway_point.done:last').position();
	var cursor_width   = wQuery('#WG_TB_window #WG_TB_pathway .pathway_cursor').width();
	
	// Place labels under points, centered from point's position and it's width
	wQuery('#WG_TB_window #WG_TB_pathway .pathway_point_label').each(function(i,e){
		var elem_pos      = wQuery('#WG_TB_window #WG_TB_pathway #callprocess_pathway_point_'+i).position();
		var elem_new_left = elem_pos.left - (wQuery(this).width() / 2) + (point_width / 2);
		wQuery(this).css({ left :  elem_new_left + 'px' });
	});
	
	// Place pathway's indicator
	var cursor_new_left  = last_point_pos.left + (point_width / 2) - (cursor_width / 2);
	wQuery('#WG_TB_window #WG_TB_pathway .pathway_cursor').css({
		left : cursor_new_left + 'px'
	});
}

function hijackIntradivNav() {

	wQuery('.submit_intradiv_post').unbind('click');	// on enl_ve tous les evenements sur le clik du bouton submit
	wQuery('.intradiv_nav').unbind('click');
	
	// Replace inputs buttton by span element to allow Cufont replacement
	wQuery('#WG_TB_window .submit input').each(function(){
		var elem = wQuery(this)[0];
		var inputAttrStyle 		= '';
		if(elem.getAttributeNode('style')) inputAttrStyle   = elem.getAttributeNode('style').value;
		wQuery(this).hide().after('<a class="input page_title_theme_two btn_envoyer" style="'+ inputAttrStyle +'"></a>').next('a.input').text(wQuery(this).val()).click(function(){
			wQuery(this).prev('input').click();
			return false;
		});
	});
	
	// Enable typo replacement DinRegular with cufont
	Cufon.replace('#WG_TB_window .wg-typo-DinRegular');
	Cufon.replace('#WG_TB_window .submit .input');
	Cufon.replace('#WG_TB_window #WG_TB_content h3');
	Cufon.replace('#WG_TB_window #WG_TB_pathway .pathway_point');
	
	// Place callprocess pathway elements if callprocess pathway exist
	if(wQuery('.callprocess_pathway').length > 0){
		callprocess_pathway_build();
	}
	
	/*
	 * si on submit alors
	 *	  on charge la page ajax qui est dans le alt et les valeurs du formulaire avec serialize()
	 */
	wQuery('.submit_intradiv_post').click(
	function() {
			var url = intradivTaco_getURL(this);
			var parsedURI = parseUri(url);
		   var parsedCurrentURI = parseUri(location.href);
            var url_ajax_root = intradivtaco_getAjaxRoot();
			
			wQuery.ajax({
			   type: "POST",
				url: url_ajax_root,
				data: parsedURI.query + "&" + wQuery(this).parents("form").serialize() + "&wtf=" +(new Date()).getTime(),
				success: function(){
					hijackIntradivNav();	
				}
			});
			return false;	
	});


	wQuery('.intradiv_nav').click(
	function() {
			var url = intradivTaco_getURL(this);
			var parsedURI = parseUri(url);
         var parsedCurrentURI = parseUri(location.href);
         var url_ajax_root = intradivtaco_getAjaxRoot();

			wQuery.ajax({
			   type: "POST",
				url: url_ajax_root,
				data: parsedURI.query,
				success: function(){
					hijackIntradivNav();	
				}
			});
			return false;
	});
}

function setOpacityOnLoadingContent(){
	
	// Display & place the loader
	wQuery("#WG_TB_loading").ajaxStart(function(){
		var top_pos   =  (wQuery("#WG_TB_window").height() + wQuery("#WG_TB_loading").height())/2;
		var left_pos  =  (wQuery("#WG_TB_window").width() + wQuery("#WG_TB_loading").width())/2;
		wQuery("#WG_TB_loading").css({top: top_pos, left: left_pos});
  		wQuery("#WG_TB_loading").show();
		wQuery("#WG_TB_titleLabel").animate({opacity: 0.2},1);
		wQuery("#WG_TB_content").animate({opacity: 0.2},1);
		wQuery("#WG_TB_pathway").animate({opacity: 0.2},1);
		wQuery("#WG_TB_reassurance").animate({opacity: 0.2},1);
	});
	
	// Hide loader when ajax query is done
	wQuery("#WG_TB_loading").ajaxStop(function(){
  		wQuery("#WG_TB_loading").hide();
		wQuery("#WG_TB_titleLabel").animate({opacity: 1},1);
		wQuery("#WG_TB_content").animate({opacity: 1},1);
		wQuery("#WG_TB_pathway").animate({opacity: 1},1);
		wQuery("#WG_TB_reassurance").animate({opacity: 1},1);
	});
}

	

/* END FILE static/js/intradiv_taco.js */
/* START FILE static/js/swfobject.js */
/**
 * SWFObject v1.5: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 *
 * SWFObject is (c) 2007 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 */
if(typeof deconcept=="undefined"){var deconcept=new Object();}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};deconcept.PlayerVersion=function(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return "";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;
/* END FILE static/js/swfobject.js */
/* START FILE static/js/swfobject_2.2.js */
/*	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}}}}();
/* END FILE static/js/swfobject_2.2.js */
/* START FILE static/js/player_astrocenter.js */
var currentPlaylist = null;
var currentLength = 0;
var currentItem = -1; 
var previousItem = -1; 
var currentMute = false; 
var currentVolume = 80; 
var currentPosition = 0; 
var currentState = 'NONE';
var currentLoaded = 0;
var currentRemain = 0;

var player = null;
function playerReady(thePlayer) {
	player = window.document[thePlayer.id];
	addListeners();
	jQuery("#astrocentertv_control").show();
}


function addListeners() {
	if (player) { 
		player.addControllerListener("ITEM", "itemListener");
		player.addControllerListener("MUTE", "muteListener");

		player.addModelListener("LOADED", "loadedListener");
		player.addModelListener("STATE", "stateListener");
		player.addModelListener("TIME", "positionListener");

		player.addViewListener("VOLUME", "volumeListener");
		player.sendEvent('MUTE');
		player.sendEvent('MUTE');
		player.sendEvent('VOLUME',currentVolume);
	} else {
		setTimeout("addListeners()",100);
	}
}


function stateListener(obj) { //IDLE, BUFFERING, PLAYING, PAUSED, COMPLETED
	currentState = obj.newstate; 
	previousState = obj.oldstate; 

	var tmp = document.getElementById("stat");
	if (tmp) { 
		tmp.innerHTML = "current state: " + currentState + 
		"<br>previous state: " + previousState; 
	}
}


function positionListener(obj) { 
	currentPosition = obj.position; 
	var tmp = document.getElementById("tim");
	if (tmp) { tmp.innerHTML = "position: " + currentPosition + " secondes"; }
}


function loadedListener(obj) { 
	currentLoaded = obj.loaded; 
	currentRemain = obj.total - currentLoaded;
	var tmp = document.getElementById("ldd");
	if (tmp) { 
		tmp.innerHTML = "bytes loaded: " + currentLoaded +
				"<br>bytes remaining: " + currentRemain; 
	}
}


function volumeListener(obj) { 
	currentVolume = obj.percentage; 
	var tmp = document.getElementById("vol");
	if (tmp) { tmp.innerHTML = "volume: " + currentVolume; }
}


function muteListener(obj) { 
	currentMute = obj.state; 
	var tmp = document.getElementById("mut");
	if (tmp) { 
		if (currentMute ) { tmp.innerHTML = "Silence: oui"; }
		if (!currentMute) { tmp.innerHTML = "Silence: non"; }
	}
}


function itemListener(obj) { 
	if (obj.index != currentItem) {
 		previousItem = currentItem;
		currentItem = obj.index;

		if (previousItem == -1) { getPlaylistData(); }

		var tmp = document.getElementById("itm");
		if (tmp) { 
			tmp.innerHTML = "Element en cours: " + currentItem +
				"<br>Element pr&eacute;c&eacute;dent: " + previousItem;
		}

		var tmp = document.getElementById("item");
		if (tmp) { tmp.innerHTML = "Element: " + currentItem; }

		var tmp = document.getElementById("pid"); 
		if (tmp) { 
			tmp.innerHTML = "(received from the player with the id: <i><b>" + obj.id + "</b></i>)"; 
		} 
		printItemData(currentItem);
	}

}


function printItemData(theIndex) {
	var plst = null;
	if (!player) {		
		setTimeout("printItemData('"+theIndex+"')",100);
		return ;
	}
	plst = player.getPlaylist();

	if (plst) {
		var txt = '';
		if ( plst[theIndex] ) {
			txt += '<li><b>Element: </b>' + theIndex + ':</li>';
			txt += '<li><b>Titre: </b>' + plst[theIndex].title + '</li>';
	//		txt += '<li><b>Auteur: </b>' + plst[theIndex].author + '</li>';
	//		txt += '<li><b>file: </b>' + plst[theIndex].file + '</li>';
	//		txt += '<li><b>image: </b>' + plst[theIndex].image + '</li>';
	//		txt += '<li><b>link: </b><a href="' + plst[theIndex].link + '">' + plst[theIndex].link + '</a></li>';
			if ( plst[theIndex].description ) {
				txt += '<li><b>Categorie: </b>' + plst[theIndex].description + '</li>';
			}
		}
		var tmp = document.getElementById("itmsDat");
		if (tmp) { tmp.innerHTML = txt; }
	} 	
}


function getPlaylistData() { 
	var plst = null;
	if (!player) {		
		setTimeout("getPlaylistData()",100);
		return ;
	}
	plst = player.getPlaylist();

	if (plst) { 
		currentPlaylist = plst; 

		var txt = ''; 
		for(var i in currentPlaylist) { 
			txt += '<input type="checkbox" id="cb' + i + '" checked="checked" /> &nbsp; ';
			txt += currentPlaylist[i].title;
			txt += '<br />';
		}
		var tmp = document.getElementById("plstDat");
		if (tmp) { tmp.innerHTML = txt; }
	}	
}

function displayPlaylist(element) { 
	var plst = null;
	if (!player) {		
		setTimeout("displayPlaylist('"+element+"')",100);
		return ;
	}
	plst = player.getPlaylist();

	if (plst) { 
		currentPlaylist = plst; 

		var txt = ''; 
		var currenttype = ''
		var prevtype = '';
		var onesubopen = false ;
		var btoggle = false;
		txt += '<ul>';
		for(var i in currentPlaylist) { 
			//var titlesplit = (currentPlaylist[i].title).split(" ");
			//if (titlesplit.length == 3) {
				//currenttype = currentPlaylist[i].description ;
			//	currenttype = titlesplit[1];
			if (currentPlaylist[i].description) {
				currenttype = currentPlaylist[i].description ;
				if ( currenttype != prevtype ) {
					if ( onesubopen ) {
						txt += '</ul>' ;
					}
					txt += '<li>' + currenttype + '</li><ul>' ;
					onesubopen = true ;
				}
				prevtype = currenttype ;
			}
			txt += '<li><a href="javascript:player.sendEvent(\'ITEM\',' + i + ')">';
			txt += currentPlaylist[i].title;
			txt += '</a></li>';
		}
		txt += '</ul>';
		var tmp = document.getElementById(element);
		if (tmp) { tmp.innerHTML = txt; }
	}
	setTimeout("displayPlaylist('"+element+"')",1000);	
}


function loadCheckedPlaylistData() { 
	if (currentPlaylist) { 
		var j = 0; 
		var lst = new Array();
		for(var i in currentPlaylist) { 
			if(document.getElementById('cb' + i).checked) {
				lst[j] = {
					author:currentPlaylist[i].author,
					description:currentPlaylist[i].description,
					duration:currentPlaylist[i].duration,
					file:currentPlaylist[i].file,
					link:currentPlaylist[i].link,
					image:currentPlaylist[i].image,
					start:currentPlaylist[i].start,
					title:currentPlaylist[i].title,
					type:currentPlaylist[i].type
				}
				j++;
			}
		}
		if(lst.length > 0) { player.sendEvent('LOAD', lst); }
	}	
}


function getLength() { currentLength = player.getPlaylist().length; return(currentLength); };


function loadFile(theFile) { currentItem = -1; previousItem = -1; player.sendEvent('LOAD', theFile); };


function createPlayer(theFile, width, height) {
            var flashvars = {
                    file:theFile, 
                    autostart:"true", 
                    shuffle:"false", 
                    playlistsize:"150",
                    playlist:"none",
					controlbar:"none",
					dock:"false",
					smoothing:"true"
            }
            var params = {
                    allowfullscreen:"true", 
                    allowscriptaccess:"always"
            }
            var attributes = {
                    id:"player1",  
                    name:"player1"
            }
            swfobject.embedSWF("http://www.astrocenter.fr/fr/astrocentertv/mediaplayer.swf", "astrocentertv", width, height, "9.0.115", false, flashvars, params, attributes);
			displayPlaylist("jsplaylist"); 
			getPlaylistData();
			printItemData(0);
			
}







var isPlayerCreated = 0;
var isPlaylistLaunched = 0;
var isPlaylistLoaded = 0;
var isStarted = 0 ;

function startStreaming(theFile, width, height) { 
  if (!isPlayerCreated) {
    createPlayer(theFile, width, height);
    isPlayerCreated = 1;
  }
  var plst = null;
  if (!player) {
    setTimeout("startStreaming('"+theFile+"', '"+width+"', '"+height+"')",100);
    return ;
  }
  if (!isPlaylistLaunched) {
    loadFile(theFile) ;
    plst = player.getPlaylist();
    if (!plst) { alert('noplaylist!'); return ; }
    isPlaylistLaunched = 1;
  }

  if (!isPlaylistLoaded) {
    plst = player.getPlaylist();
    for(var i in plst) { 
    if (i > 0) {isPlaylistLoaded = 1 ; }
  }
  if (!isPlaylistLoaded) {
    setTimeout("startStreaming('"+theFile+"', '"+width+"', '"+height+"')",100);
    return;
  }
  }
  //alert('loaded');
  if (isStarted == 0 ) {
    player.sendEvent('ITEM',0);
    isStarted = 1;
  }
  //alert('launched');
  //return ;
  if (currentPosition <= 0 ) {
  //alert(currentPosition);
    setTimeout("startStreaming('"+theFile+"', '"+width+"', '"+height+"')",100);
    return;
  }

  //alert('started!' );
  var d = new Date();
  var curr_min = d.getMinutes();
  var curr_sec = d.getSeconds();

  player.sendEvent('SEEK',currentPosition+ curr_min * 60 + curr_sec);
}

function restartStreaming(theFile) {
  isPlaylistLaunched = 0;
  isPlaylistLoaded = 0;
  isStarted = 0 ;
  startStreaming(theFile);
}

/* END FILE static/js/player_astrocenter.js */
/* START FILE static/js/clickheat.js */
/** Code by www.labsmedia.com */
var clickHeatGroup='';var clickHeatSite='';var clickHeatServer='';var clickHeatLastIframe=-1;var clickHeatTime=0;var clickHeatQuota=-1;var clickHeatBrowser='';var clickHeatDocument='';var clickHeatWait=500;var clickHeatLocalWait=0;var clickHeatDebug=(window.location.href.search(/debugclickheat/) !== -1);var clickHeatNoScroll = false;
function showClickHeatDebug(str){if(clickHeatDebug === true){document.getElementById('clickHeatDebuggerSpan').innerHTML=str;document.getElementById('clickHeatDebuggerDiv').style.display='block';}}
function catchClickHeat(e){try{showClickHeatDebug('Gathering click data...');if(clickHeatQuota === 0){showClickHeatDebug('Click not logged: quota reached');return true;}
if(clickHeatGroup === ''){showClickHeatDebug('Click not logged: group name empty (clickHeatGroup)');return true;}
if(e === undefined){e=window.event;c=e.button;element=e.srcElement;}
else{c=e.which;element=null;}
if(c === 0){showClickHeatDebug('Click not logged: no button pressed');return true;}
if(element !== null&&element.tagName.toLowerCase() === 'iframe'){if(element.sourceIndex === clickHeatLastIframe){showClickHeatDebug('Click not logged: same iframe (a click on iframe opens a popup and popup is closed => iframe gets the focus again)');return true;}
clickHeatLastIframe=element.sourceIndex;}
else{clickHeatLastIframe=-1;}
var x=e.clientX;var y=e.clientY;var w=clickHeatDocument.clientWidth !== undefined?clickHeatDocument.clientWidth:window.innerWidth;var h=clickHeatDocument.clientHeight !== undefined?clickHeatDocument.clientHeight:window.innerHeight;var scrollx = 0;var scrolly = 0;if (!clickHeatNoScroll) {var scrollx = window.pageXOffset === undefined ? clickHeatDocument.scrollLeft : window.pageXOffset;var scrolly = window.pageYOffset === undefined ? clickHeatDocument.scrollTop : window.pageYOffset;}
if(x>w||y>h){showClickHeatDebug('Click not logged: out of document (should be a click on scrollbars)');return true;}
clickTime=new Date();if(clickTime.getTime()-clickHeatTime<1000){showClickHeatDebug('Click not logged: at least 1 second between clicks');return true;}
clickHeatTime=clickTime.getTime();if(clickHeatQuota>0){clickHeatQuota=clickHeatQuota-1;}
params='s='+clickHeatSite+'&g='+clickHeatGroup+'&x='+(x+scrollx)+'&y='+(y+scrolly)+'&w='+w+'&winh=' + wQuery(window).height() + '&b='+clickHeatBrowser+'&c='+c+'&random='+Date();showClickHeatDebug('Ready to send click data...');
var sent=false;if(clickHeatServer.substring(0, 4) !== 'http'){var xmlhttp=false;try{xmlhttp=new ActiveXObject("Msxml2.XMLHTTP");}
catch (er){try{xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");}
catch (oc){xmlhttp=null;}}
if(!xmlhttp&&typeof XMLHttpRequest !== undefined){xmlhttp=new XMLHttpRequest();}
if(xmlhttp){if(clickHeatDebug === true){xmlhttp.onreadystatechange=function(){if(xmlhttp.readyState === 4){if(xmlhttp.status === 200){showClickHeatDebug('Click recorded at '+clickHeatServer+' with the following parameters:<br />x='+(x+scrollx)+' ('+x+'px from left+'+scrollx+'px of horizontal scrolling)<br />y='+(y+scrolly)+' ('+y+'px from top+'+scrolly+'px of vertical scrolling)<br />width='+w+'<br />browser='+clickHeatBrowser+'<br />click='+c+'<br />site='+clickHeatSite+'<br />group='+clickHeatGroup+'<br /><br />Server answer: '+xmlhttp.responseText);}
else if(xmlhttp.status === 404){showClickHeatDebug('click.php was not found at: '+(clickHeatServer !== ''?clickHeatServer:'/clickheat/click.php')+' please set clickHeatServer value');}
else{showClickHeatDebug('click.php returned a status code '+xmlhttp.status+' with the following error: '+xmlhttp.responseText);}
clickHeatLocalWait=0;}};}
xmlhttp.open('GET', clickHeatServer+'?'+params, true);xmlhttp.setRequestHeader('Connection', 'close');xmlhttp.send(null);sent=true;}}
if(sent === false){if(clickHeatDebug === true){showClickHeatDebug('Click recorded at '+clickHeatServer+' with the following parameters:<br />x='+(x+scrollx)+' ('+x+'px from left+'+scrollx+'px of horizontal scrolling)<br />y='+(y+scrolly)+' ('+y+'px from top+'+scrolly+'px of vertical scrolling)<br />width='+w+'<br />browser='+clickHeatBrowser+'<br />click='+c+'<br />site='+clickHeatSite+'<br />group='+clickHeatGroup+'<br /><br />Server answer:<br />'+'<iframe src="'+clickHeatServer+'?'+params+'" width="700" height="60"></iframe>');}
else{var clickHeatImg=new Image();clickHeatImg.src=clickHeatServer+'?'+params;}}
var now=new Date();clickHeatLocalWait=now.getTime()+clickHeatWait;while (clickHeatLocalWait>now.getTime()){now=new Date();}}
catch(err){showClickHeatDebug('An error occurred while processing click (Javascript error): '+e.message);}
return true;}
function initClickHeat(){if(clickHeatDebug === true){document.write('<div id="clickHeatDebuggerDiv" style="padding:5px;display:none;position:absolute;top:10px;left:10px;border:1px solid #888;background-color:#eee;z-index:99;"><strong>ClickHeat debug: <a href="#" onmouseover="document.getElementById(\'clickHeatDebuggerDiv\').style.display=\'none\';return false">Rollover to close</a></strong><br /><br /><span id="clickHeatDebuggerSpan"></span></div>');}
if(clickHeatGroup === ''||clickHeatServer === ''){showClickHeatDebug('ClickHeat NOT initialised: either clickHeatGroup or clickHeatServer is empty');return false;}
domain=window.location.href.match(/http:\/\/[^/]+\//);if(domain !== null&&clickHeatServer.substring(0, domain[0].length) === domain[0]){clickHeatServer=clickHeatServer.substring(domain[0].length-1, clickHeatServer.length);}
if(document.addEventListener){document.addEventListener('mousedown', catchClickHeat, false);}
else if(document.attachEvent){document.attachEvent('onmousedown', catchClickHeat);}
iFrames=document.getElementsByTagName('iframe');for (i=0;i<iFrames.length;i++){if(document.addEventListener){iFrames[i].addEventListener('focus', catchClickHeat, false);}
else if(document.attachEvent){iFrames[i].attachEvent('onfocus', catchClickHeat);}}
clickHeatDocument=(document.documentElement !== undefined&&document.documentElement.clientHeight !== 0)?document.documentElement:document.body;
var b=navigator.userAgent !== undefined?navigator.userAgent.toLowerCase().replace(/-/g, ''):'';clickHeatBrowser=b.replace(/iceweasel/, 'firefox').replace(/^.*(firefox|kmeleon|safari|msie|opera).*$/, '$1');if(b === clickHeatBrowser||clickHeatBrowser === ''){clickHeatBrowser='unknown';}
showClickHeatDebug('ClickHeat initialised with:<br />site='+clickHeatSite+'<br />group='+clickHeatGroup+'<br />server='+clickHeatServer+'<br />quota='+(clickHeatQuota === -1?'unlimited':clickHeatQuota)+'<br /><br />browser='+clickHeatBrowser);}

/* END FILE static/js/clickheat.js */

