/*
 * 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 m=this,h,z=m.jQuery,q=m.$,p=m.jQuery=m.$=function(F,G){return new p.fn.init(F,G)},E=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,g=/^.[^:#\[\.,]*$/;p.fn=p.prototype={init:function(F,I){F=F||document;if(F.nodeType){this[0]=F;this.length=1;this.context=F;return this}if(typeof F==="string"){var H=E.exec(F);if(H&&(H[1]||!I)){if(H[1]){F=p.clean([H[1]],I)}else{var J=document.getElementById(H[3]);if(J&&J.id!=H[3]){return p().find(F)}var G=p(J||[]);G.context=document;G.selector=F;return G}}else{return p(I).find(F)}}else{if(p.isFunction(F)){return p(document).ready(F)}}if(F.selector&&F.context){this.selector=F.selector;this.context=F.context}return this.setArray(p.isArray(F)?F:p.makeArray(F))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(F){return F===h?Array.prototype.slice.call(this):this[F]},pushStack:function(G,I,F){var H=p(G);H.prevObject=this;H.context=this.context;if(I==="find"){H.selector=this.selector+(this.selector?" ":"")+F}else{if(I){H.selector=this.selector+"."+I+"("+F+")"}}return H},setArray:function(F){this.length=0;Array.prototype.push.apply(this,F);return this},each:function(G,F){return p.each(this,G,F)},index:function(F){return p.inArray(F&&F.jquery?F[0]:F,this)},attr:function(G,I,H){var F=G;if(typeof G==="string"){if(I===h){return this[0]&&p[H||"attr"](this[0],G)}else{F={};F[G]=I}}return this.each(function(J){for(G in F){p.attr(H?this.style:this,G,p.prop(this,F[G],H,J,G))}})},css:function(F,G){if((F=="width"||F=="height")&&parseFloat(G)<0){G=h}return this.attr(F,G,"curCSS")},text:function(G){if(typeof G!=="object"&&G!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(G))}var F="";p.each(G||this,function(){p.each(this.childNodes,function(){if(this.nodeType!=8){F+=this.nodeType!=1?this.nodeValue:p.fn.text([this])}})});return F},wrapAll:function(F){if(this[0]){var G=p(F,this[0].ownerDocument).clone();if(this[0].parentNode){G.insertBefore(this[0])}G.map(function(){var H=this;while(H.firstChild){H=H.firstChild}return H}).append(this)}return this},wrapInner:function(F){return this.each(function(){p(this).contents().wrapAll(F)})},wrap:function(F){return this.each(function(){p(this).wrapAll(F)})},append:function(){return this.domManip(arguments,true,function(F){if(this.nodeType==1){this.appendChild(F)}})},prepend:function(){return this.domManip(arguments,true,function(F){if(this.nodeType==1){this.insertBefore(F,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(F){this.parentNode.insertBefore(F,this)})},after:function(){return this.domManip(arguments,false,function(F){this.parentNode.insertBefore(F,this.nextSibling)})},end:function(){return this.prevObject||p([])},push:[].push,sort:[].sort,splice:[].splice,find:function(F){if(this.length===1){var G=this.pushStack([],"find",F);G.length=0;p.find(F,this[0],G);return G}else{return this.pushStack(p.unique(p.map(this,function(H){return p.find(F,H)})),"find",F)}},clone:function(H){var F=this.map(function(){if(!p.support.noCloneEvent&&!p.isXMLDoc(this)){var J=this.outerHTML;if(!J){var K=this.ownerDocument.createElement("div");K.appendChild(this.cloneNode(true));J=K.innerHTML}return p.clean([J.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(H===true){var I=this.find("*").andSelf(),G=0;F.find("*").andSelf().each(function(){if(this.nodeName!==I[G].nodeName){return}var J=p.data(I[G],"events");for(var L in J){for(var K in J[L]){p.event.add(this,L,J[L][K],J[L][K].data)}}G++})}return F},filter:function(F){return this.pushStack(p.isFunction(F)&&p.grep(this,function(H,G){return F.call(H,G)})||p.multiFilter(F,p.grep(this,function(G){return G.nodeType===1})),"filter",F)},closest:function(F){var H=p.expr.match.POS.test(F)?p(F):null,G=0;return this.map(function(){var I=this;while(I&&I.ownerDocument){if(H?H.index(I)>-1:p(I).is(F)){p.data(I,"closest",G);return I}I=I.parentNode;G++}})},not:function(F){if(typeof F==="string"){if(g.test(F)){return this.pushStack(p.multiFilter(F,this,true),"not",F)}else{F=p.multiFilter(F,this)}}var G=F.length&&F[F.length-1]!==h&&!F.nodeType;return this.filter(function(){return G?p.inArray(this,F)<0:this!=F})},add:function(F){return this.pushStack(p.unique(p.merge(this.get(),typeof F==="string"?p(F):p.makeArray(F))))},is:function(F){return !!F&&p.multiFilter(F,this).length>0},hasClass:function(F){return !!F&&this.is("."+F)},val:function(L){if(L===h){var F=this[0];if(F){if(p.nodeName(F,"option")){return(F.attributes.value||{}).specified?F.value:F.text}if(p.nodeName(F,"select")){var J=F.selectedIndex,M=[],N=F.options,I=F.type=="select-one";if(J<0){return null}for(var G=I?J:0,K=I?J+1:N.length;G<K;G++){var H=N[G];if(H.selected){L=p(H).val();if(I){return L}M.push(L)}}return M}return(F.value||"").replace(/\r/g,"")}return h}if(typeof L==="number"){L+=""}return this.each(function(){if(this.nodeType!=1){return}if(p.isArray(L)&&/radio|checkbox/.test(this.type)){this.checked=(p.inArray(this.value,L)>=0||p.inArray(this.name,L)>=0)}else{if(p.nodeName(this,"select")){var O=p.makeArray(L);p("option",this).each(function(){this.selected=(p.inArray(this.value,O)>=0||p.inArray(this.text,O)>=0)});if(!O.length){this.selectedIndex=-1}}else{this.value=L}}})},html:function(F){return F===h?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(F)},replaceWith:function(F){return this.after(F).remove()},eq:function(F){return this.slice(F,+F+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(F){return this.pushStack(p.map(this,function(H,G){return F.call(H,G,H)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(K,N,M){if(this[0]){var J=(this[0].ownerDocument||this[0]).createDocumentFragment(),G=p.clean(K,(this[0].ownerDocument||this[0]),J),I=J.firstChild;if(I){for(var H=0,F=this.length;H<F;H++){M.call(L(this[H],I),this.length>1||H>0?J.cloneNode(true):J)}}if(G){p.each(G,A)}}return this;function L(O,P){return N&&p.nodeName(O,"table")&&p.nodeName(P,"tr")?(O.getElementsByTagName("tbody")[0]||O.appendChild(O.ownerDocument.createElement("tbody"))):O}}};p.fn.init.prototype=p.fn;function A(F,G){if(G.src){p.ajax({url:G.src,async:false,dataType:"script"})}else{p.globalEval(G.text||G.textContent||G.innerHTML||"")}if(G.parentNode){G.parentNode.removeChild(G)}}function f(){return +new Date}p.extend=p.fn.extend=function(){var K=arguments[0]||{},I=1,J=arguments.length,F=false,H;if(typeof K==="boolean"){F=K;K=arguments[1]||{};I=2}if(typeof K!=="object"&&!p.isFunction(K)){K={}}if(J==I){K=this;--I}for(;I<J;I++){if((H=arguments[I])!=null){for(var G in H){var L=K[G],M=H[G];if(K===M){continue}if(F&&M&&typeof M==="object"&&!M.nodeType){K[G]=p.extend(F,L||(M.length!=null?[]:{}),M)}else{if(M!==h){K[G]=M}}}}}return K};var c=/z-?index|font-?weight|opacity|zoom|line-?height/i,r=document.defaultView||{},t=Object.prototype.toString;p.extend({noConflict:function(F){m.$=q;if(F){m.jQuery=z}return p},isFunction:function(F){return t.call(F)==="[object Function]"},isArray:function(F){return t.call(F)==="[object Array]"},isXMLDoc:function(F){return F.nodeType===9&&F.documentElement.nodeName!=="HTML"||!!F.ownerDocument&&p.isXMLDoc(F.ownerDocument)},globalEval:function(H){if(H&&/\S/.test(H)){var G=document.getElementsByTagName("head")[0]||document.documentElement,F=document.createElement("script");F.type="text/javascript";if(p.support.scriptEval){F.appendChild(document.createTextNode(H))}else{F.text=H}G.insertBefore(F,G.firstChild);G.removeChild(F)}},nodeName:function(G,F){return G.nodeName&&G.nodeName.toUpperCase()==F.toUpperCase()},each:function(H,L,G){var F,I=0,J=H.length;if(G){if(J===h){for(F in H){if(L.apply(H[F],G)===false){break}}}else{for(;I<J;){if(L.apply(H[I++],G)===false){break}}}}else{if(J===h){for(F in H){if(L.call(H[F],F,H[F])===false){break}}}else{for(var K=H[0];I<J&&L.call(K,I,K)!==false;K=H[++I]){}}}return H},prop:function(I,J,H,G,F){if(p.isFunction(J)){J=J.call(I,G)}return typeof J==="number"&&H=="curCSS"&&!c.test(F)?J+"px":J},className:{add:function(F,G){p.each((G||"").split(/\s+/),function(H,I){if(F.nodeType==1&&!p.className.has(F.className,I)){F.className+=(F.className?" ":"")+I}})},remove:function(F,G){if(F.nodeType==1){F.className=G!==h?p.grep(F.className.split(/\s+/),function(H){return !p.className.has(G,H)}).join(" "):""}},has:function(G,F){return G&&p.inArray(F,(G.className||G).toString().split(/\s+/))>-1}},swap:function(I,H,J){var F={};for(var G in H){F[G]=I.style[G];I.style[G]=H[G]}J.call(I);for(var G in H){I.style[G]=F[G]}},css:function(I,G,K,F){if(G=="width"||G=="height"){var M,H={position:"absolute",visibility:"hidden",display:"block"},L=G=="width"?["Left","Right"]:["Top","Bottom"];function J(){M=G=="width"?I.offsetWidth:I.offsetHeight;if(F==="border"){return}p.each(L,function(){if(!F){M-=parseFloat(p.curCSS(I,"padding"+this,true))||0}if(F==="margin"){M+=parseFloat(p.curCSS(I,"margin"+this,true))||0}else{M-=parseFloat(p.curCSS(I,"border"+this+"Width",true))||0}})}if(I.offsetWidth!==0){J()}else{p.swap(I,H,J)}return Math.max(0,Math.round(M))}return p.curCSS(I,G,K)},curCSS:function(J,G,H){var M,F=J.style;if(G=="opacity"&&!p.support.opacity){M=p.attr(F,"opacity");return M==""?"1":M}if(G.match(/float/i)){G=x}if(!H&&F&&F[G]){M=F[G]}else{if(r.getComputedStyle){if(G.match(/float/i)){G="float"}G=G.replace(/([A-Z])/g,"-$1").toLowerCase();var N=r.getComputedStyle(J,null);if(N){M=N.getPropertyValue(G)}if(G=="opacity"&&M==""){M="1"}}else{if(J.currentStyle){var K=G.replace(/\-(\w)/g,function(O,P){return P.toUpperCase()});M=J.currentStyle[G]||J.currentStyle[K];if(!/^\d+(px)?$/i.test(M)&&/^\d/.test(M)){var I=F.left,L=J.runtimeStyle.left;J.runtimeStyle.left=J.currentStyle.left;F.left=M||0;M=F.pixelLeft+"px";F.left=I;J.runtimeStyle.left=L}}}}return M},clean:function(G,L,J){L=L||document;if(typeof L.createElement==="undefined"){L=L.ownerDocument||L[0]&&L[0].ownerDocument||document}if(!J&&G.length===1&&typeof G[0]==="string"){var I=/^<(\w+)\s*\/?>$/.exec(G[0]);if(I){return[L.createElement(I[1])]}}var H=[],F=[],M=L.createElement("div");p.each(G,function(Q,T){if(typeof T==="number"){T+=""}if(!T){return}if(typeof T==="string"){T=T.replace(/(<(\w+)[^>]*?)\/>/g,function(V,W,U){return U.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?V:W+"></"+U+">"});var P=T.replace(/^\s+/,"").substring(0,10).toLowerCase();var R=!P.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!P.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||P.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!P.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!P.indexOf("<td")||!P.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!P.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!p.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];M.innerHTML=R[1]+T+R[2];while(R[0]--){M=M.lastChild}if(!p.support.tbody){var S=/<tbody/i.test(T),O=!P.indexOf("<table")&&!S?M.firstChild&&M.firstChild.childNodes:R[1]=="<table>"&&!S?M.childNodes:[];for(var N=O.length-1;N>=0;--N){if(p.nodeName(O[N],"tbody")&&!O[N].childNodes.length){O[N].parentNode.removeChild(O[N])}}}if(!p.support.leadingWhitespace&&/^\s/.test(T)){M.insertBefore(L.createTextNode(T.match(/^\s*/)[0]),M.firstChild)}T=p.makeArray(M.childNodes)}if(T.nodeType){H.push(T)}else{H=p.merge(H,T)}});if(J){for(var K=0;H[K];K++){if(p.nodeName(H[K],"script")&&(!H[K].type||H[K].type.toLowerCase()==="text/javascript")){F.push(H[K].parentNode?H[K].parentNode.removeChild(H[K]):H[K])}else{if(H[K].nodeType===1){H.splice.apply(H,[K+1,0].concat(p.makeArray(H[K].getElementsByTagName("script"))))}J.appendChild(H[K])}}return F}return H},attr:function(K,H,L){if(!K||K.nodeType==3||K.nodeType==8){return h}var I=!p.isXMLDoc(K),M=L!==h;H=I&&p.props[H]||H;if(K.tagName){var G=/href|src|style/.test(H);if(H=="selected"&&K.parentNode){K.parentNode.selectedIndex}if(H in K&&I&&!G){if(M){if(H=="type"&&p.nodeName(K,"input")&&K.parentNode){throw"type property can't be changed"}K[H]=L}if(p.nodeName(K,"form")&&K.getAttributeNode(H)){return K.getAttributeNode(H).nodeValue}if(H=="tabIndex"){var J=K.getAttributeNode("tabIndex");return J&&J.specified?J.value:K.nodeName.match(/(button|input|object|select|textarea)/i)?0:K.nodeName.match(/^(a|area)$/i)&&K.href?0:h}return K[H]}if(!p.support.style&&I&&H=="style"){return p.attr(K.style,"cssText",L)}if(M){K.setAttribute(H,""+L)}var F=!p.support.hrefNormalized&&I&&G?K.getAttribute(H,2):K.getAttribute(H);return F===null?h:F}if(!p.support.opacity&&H=="opacity"){if(M){K.zoom=1;K.filter=(K.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(L)+""=="NaN"?"":"alpha(opacity="+L*100+")")}return K.filter&&K.filter.indexOf("opacity=")>=0?(parseFloat(K.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}H=H.replace(/-([a-z])/ig,function(N,O){return O.toUpperCase()});if(M){K[H]=L}return K[H]},trim:function(F){return(F||"").replace(/^\s+|\s+$/g,"")},makeArray:function(H){var F=[];if(H!=null){var G=H.length;if(G==null||typeof H==="string"||p.isFunction(H)||H.setInterval){F[0]=H}else{while(G){F[--G]=H[G]}}}return F},inArray:function(H,I){for(var F=0,G=I.length;F<G;F++){if(I[F]===H){return F}}return -1},merge:function(I,F){var G=0,H,J=I.length;if(!p.support.getAll){while((H=F[G++])!=null){if(H.nodeType!=8){I[J++]=H}}}else{while((H=F[G++])!=null){I[J++]=H}}return I},unique:function(L){var G=[],F={};try{for(var H=0,I=L.length;H<I;H++){var K=p.data(L[H]);if(!F[K]){F[K]=true;G.push(L[H])}}}catch(J){G=L}return G},grep:function(G,K,F){var H=[];for(var I=0,J=G.length;I<J;I++){if(!F!=!K(G[I],I)){H.push(G[I])}}return H},map:function(F,K){var G=[];for(var H=0,I=F.length;H<I;H++){var J=K(F[H],H);if(J!=null){G[G.length]=J}}return G.concat.apply([],G)}});var D=navigator.userAgent.toLowerCase();p.browser={version:(D.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(D),opera:/opera/.test(D),msie:/msie/.test(D)&&!/opera/.test(D),mozilla:/mozilla/.test(D)&&!/(compatible|webkit)/.test(D)};p.each({parent:function(F){return F.parentNode},parents:function(F){return p.dir(F,"parentNode")},next:function(F){return p.nth(F,2,"nextSibling")},prev:function(F){return p.nth(F,2,"previousSibling")},nextAll:function(F){return p.dir(F,"nextSibling")},prevAll:function(F){return p.dir(F,"previousSibling")},siblings:function(F){return p.sibling(F.parentNode.firstChild,F)},children:function(F){return p.sibling(F.firstChild)},contents:function(F){return p.nodeName(F,"iframe")?F.contentDocument||F.contentWindow.document:p.makeArray(F.childNodes)}},function(F,G){p.fn[F]=function(H){var I=p.map(this,G);if(H&&typeof H=="string"){I=p.multiFilter(H,I)}return this.pushStack(p.unique(I),F,H)}});p.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(F,G){p.fn[F]=function(H){var K=[],M=p(H);for(var L=0,I=M.length;L<I;L++){var J=(L>0?this.clone(true):this).get();p.fn[G].apply(p(M[L]),J);K=K.concat(J)}return this.pushStack(K,F,H)}});p.each({removeAttr:function(F){p.attr(this,F,"");if(this.nodeType==1){this.removeAttribute(F)}},addClass:function(F){p.className.add(this,F)},removeClass:function(F){p.className.remove(this,F)},toggleClass:function(G,F){if(typeof F!=="boolean"){F=!p.className.has(this,G)}p.className[F?"add":"remove"](this,G)},remove:function(F){if(!F||p.filter(F,[this]).length){p("*",this).add([this]).each(function(){p.event.remove(this);p.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){p(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(F,G){p.fn[F]=function(){return this.each(G,arguments)}});function k(F,G){return F[0]&&parseInt(p.curCSS(F[0],G,true),10)||0}var i="jQuery"+f(),w=0,B={};p.extend({cache:{},data:function(G,F,H){G=G==m?B:G;var I=G[i];if(!I){I=G[i]=++w}if(F&&!p.cache[I]){p.cache[I]={}}if(H!==h){p.cache[I][F]=H}return F?p.cache[I][F]:I},removeData:function(G,F){G=G==m?B:G;var I=G[i];if(F){if(p.cache[I]){delete p.cache[I][F];F="";for(F in p.cache[I]){break}if(!F){p.removeData(G)}}}else{try{delete G[i]}catch(H){if(G.removeAttribute){G.removeAttribute(i)}}delete p.cache[I]}},queue:function(G,F,I){if(G){F=(F||"fx")+"queue";var H=p.data(G,F);if(!H||p.isArray(I)){H=p.data(G,F,p.makeArray(I))}else{if(I){H.push(I)}}}return H},dequeue:function(I,H){var F=p.queue(I,H),G=F.shift();if(!H||H==="fx"){G=F[0]}if(G!==h){G.call(I)}}});p.fn.extend({data:function(F,H){var I=F.split(".");I[1]=I[1]?"."+I[1]:"";if(H===h){var G=this.triggerHandler("getData"+I[1]+"!",[I[0]]);if(G===h&&this.length){G=p.data(this[0],F)}return G===h&&I[1]?this.data(I[0]):G}else{return this.trigger("setData"+I[1]+"!",[I[0],H]).each(function(){p.data(this,F,H)})}},removeData:function(F){return this.each(function(){p.removeData(this,F)})},queue:function(F,G){if(typeof F!=="string"){G=F;F="fx"}if(G===h){return p.queue(this[0],F)}return this.each(function(){var H=p.queue(this,F,G);if(F=="fx"&&H.length==1){H[0].call(this)}})},dequeue:function(F){return this.each(function(){p.dequeue(this,F)})}});
/*
 * 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 S=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,M=0,I=Object.prototype.toString;var G=function(Z,V,ac,ad){ac=ac||[];V=V||document;if(V.nodeType!==1&&V.nodeType!==9){return[]}if(!Z||typeof Z!=="string"){return ac}var aa=[],X,ag,aj,U,ae,W,Y=true;S.lastIndex=0;while((X=S.exec(Z))!==null){aa.push(X[1]);if(X[2]){W=RegExp.rightContext;break}}if(aa.length>1&&N.exec(Z)){if(aa.length===2&&J.relative[aa[0]]){ag=K(aa[0]+aa[1],V)}else{ag=J.relative[aa[0]]?[V]:G(aa.shift(),V);while(aa.length){Z=aa.shift();if(J.relative[Z]){Z+=aa.shift()}ag=K(Z,ag)}}}else{var af=ad?{expr:aa.pop(),set:F(ad)}:G.find(aa.pop(),aa.length===1&&V.parentNode?V.parentNode:V,R(V));ag=G.filter(af.expr,af.set);if(aa.length>0){aj=F(ag)}else{Y=false}while(aa.length){var ai=aa.pop(),ah=ai;if(!J.relative[ai]){ai=""}else{ah=aa.pop()}if(ah==null){ah=V}J.relative[ai](aj,ah,R(V))}}if(!aj){aj=ag}if(!aj){throw"Syntax error, unrecognized expression: "+(ai||Z)}if(I.call(aj)==="[object Array]"){if(!Y){ac.push.apply(ac,aj)}else{if(V.nodeType===1){for(var ab=0;aj[ab]!=null;ab++){if(aj[ab]&&(aj[ab]===true||aj[ab].nodeType===1&&L(V,aj[ab]))){ac.push(ag[ab])}}}else{for(var ab=0;aj[ab]!=null;ab++){if(aj[ab]&&aj[ab].nodeType===1){ac.push(ag[ab])}}}}}else{F(aj,ac)}if(W){G(W,V,ac,ad);if(H){hasDuplicate=false;ac.sort(H);if(hasDuplicate){for(var ab=1;ab<ac.length;ab++){if(ac[ab]===ac[ab-1]){ac.splice(ab--,1)}}}}}return ac};G.matches=function(U,V){return G(U,null,null,V)};G.find=function(ab,U,ac){var aa,Y;if(!ab){return[]}for(var X=0,W=J.order.length;X<W;X++){var Z=J.order[X],Y;if((Y=J.match[Z].exec(ab))){var V=RegExp.leftContext;if(V.substr(V.length-1)!=="\\"){Y[1]=(Y[1]||"").replace(/\\/g,"");aa=J.find[Z](Y,U,ac);if(aa!=null){ab=ab.replace(J.match[Z],"");break}}}}if(!aa){aa=U.getElementsByTagName("*")}return{set:aa,expr:ab}};G.filter=function(ae,ad,ah,X){var W=ae,aj=[],ab=ad,Z,U,aa=ad&&ad[0]&&R(ad[0]);while(ae&&ad.length){for(var ac in J.filter){if((Z=J.match[ac].exec(ae))!=null){var V=J.filter[ac],ai,ag;U=false;if(ab==aj){aj=[]}if(J.preFilter[ac]){Z=J.preFilter[ac](Z,ab,ah,aj,X,aa);if(!Z){U=ai=true}else{if(Z===true){continue}}}if(Z){for(var Y=0;(ag=ab[Y])!=null;Y++){if(ag){ai=V(ag,Z,Y,ab);var af=X^!!ai;if(ah&&ai!=null){if(af){U=true}else{ab[Y]=false}}else{if(af){aj.push(ag);U=true}}}}}if(ai!==h){if(!ah){ab=aj}ae=ae.replace(J.match[ac],"");if(!U){return[]}break}}}if(ae==W){if(U==null){throw"Syntax error, unrecognized expression: "+ae}else{break}}W=ae}return ab};var J=G.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(U){return U.getAttribute("href")}},relative:{"+":function(ab,U,aa){var Y=typeof U==="string",ac=Y&&!/\W/.test(U),Z=Y&&!ac;if(ac&&!aa){U=U.toUpperCase()}for(var X=0,W=ab.length,V;X<W;X++){if((V=ab[X])){while((V=V.previousSibling)&&V.nodeType!==1){}ab[X]=Z||V&&V.nodeName===U?V||false:V===U}}if(Z){G.filter(U,ab,true)}},">":function(aa,V,ab){var Y=typeof V==="string";if(Y&&!/\W/.test(V)){V=ab?V:V.toUpperCase();for(var W=0,U=aa.length;W<U;W++){var Z=aa[W];if(Z){var X=Z.parentNode;aa[W]=X.nodeName===V?X:false}}}else{for(var W=0,U=aa.length;W<U;W++){var Z=aa[W];if(Z){aa[W]=Y?Z.parentNode:Z.parentNode===V}}if(Y){G.filter(V,aa,true)}}},"":function(X,V,Z){var W=M++,U=T;if(!V.match(/\W/)){var Y=V=Z?V:V.toUpperCase();U=Q}U("parentNode",V,W,X,Y,Z)},"~":function(X,V,Z){var W=M++,U=T;if(typeof V==="string"&&!V.match(/\W/)){var Y=V=Z?V:V.toUpperCase();U=Q}U("previousSibling",V,W,X,Y,Z)}},find:{ID:function(V,W,X){if(typeof W.getElementById!=="undefined"&&!X){var U=W.getElementById(V[1]);return U?[U]:[]}},NAME:function(W,Z,aa){if(typeof Z.getElementsByName!=="undefined"){var V=[],Y=Z.getElementsByName(W[1]);for(var X=0,U=Y.length;X<U;X++){if(Y[X].getAttribute("name")===W[1]){V.push(Y[X])}}return V.length===0?null:V}},TAG:function(U,V){return V.getElementsByTagName(U[1])}},preFilter:{CLASS:function(X,V,W,U,aa,ab){X=" "+X[1].replace(/\\/g,"")+" ";if(ab){return X}for(var Y=0,Z;(Z=V[Y])!=null;Y++){if(Z){if(aa^(Z.className&&(" "+Z.className+" ").indexOf(X)>=0)){if(!W){U.push(Z)}}else{if(W){V[Y]=false}}}}return false},ID:function(U){return U[1].replace(/\\/g,"")},TAG:function(V,U){for(var W=0;U[W]===false;W++){}return U[W]&&R(U[W])?V[1]:V[1].toUpperCase()},CHILD:function(U){if(U[1]=="nth"){var V=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(U[2]=="even"&&"2n"||U[2]=="odd"&&"2n+1"||!/\D/.test(U[2])&&"0n+"+U[2]||U[2]);U[2]=(V[1]+(V[2]||1))-0;U[3]=V[3]-0}U[0]=M++;return U},ATTR:function(Y,V,W,U,Z,aa){var X=Y[1].replace(/\\/g,"");if(!aa&&J.attrMap[X]){Y[1]=J.attrMap[X]}if(Y[2]==="~="){Y[4]=" "+Y[4]+" "}return Y},PSEUDO:function(Y,V,W,U,Z){if(Y[1]==="not"){if(Y[3].match(S).length>1||/^\w/.test(Y[3])){Y[3]=G(Y[3],null,null,V)}else{var X=G.filter(Y[3],V,W,true^Z);if(!W){U.push.apply(U,X)}return false}}else{if(J.match.POS.test(Y[0])||J.match.CHILD.test(Y[0])){return true}}return Y},POS:function(U){U.unshift(true);return U}},filters:{enabled:function(U){return U.disabled===false&&U.type!=="hidden"},disabled:function(U){return U.disabled===true},checked:function(U){return U.checked===true},selected:function(U){U.parentNode.selectedIndex;return U.selected===true},parent:function(U){return !!U.firstChild},empty:function(U){return !U.firstChild},has:function(W,V,U){return !!G(U[3],W).length},header:function(U){return/h\d/i.test(U.nodeName)},text:function(U){return"text"===U.type},radio:function(U){return"radio"===U.type},checkbox:function(U){return"checkbox"===U.type},file:function(U){return"file"===U.type},password:function(U){return"password"===U.type},submit:function(U){return"submit"===U.type},image:function(U){return"image"===U.type},reset:function(U){return"reset"===U.type},button:function(U){return"button"===U.type||U.nodeName.toUpperCase()==="BUTTON"},input:function(U){return/input|select|textarea|button/i.test(U.nodeName)}},setFilters:{first:function(V,U){return U===0},last:function(W,V,U,X){return V===X.length-1},even:function(V,U){return U%2===0},odd:function(V,U){return U%2===1},lt:function(W,V,U){return V<U[3]-0},gt:function(W,V,U){return V>U[3]-0},nth:function(W,V,U){return U[3]-0==V},eq:function(W,V,U){return U[3]-0==V}},filter:{PSEUDO:function(aa,W,X,ab){var V=W[1],Y=J.filters[V];if(Y){return Y(aa,X,W,ab)}else{if(V==="contains"){return(aa.textContent||aa.innerText||"").indexOf(W[3])>=0}else{if(V==="not"){var Z=W[3];for(var X=0,U=Z.length;X<U;X++){if(Z[X]===aa){return false}}return true}}}},CHILD:function(U,X){var aa=X[1],V=U;switch(aa){case"only":case"first":while(V=V.previousSibling){if(V.nodeType===1){return false}}if(aa=="first"){return true}V=U;case"last":while(V=V.nextSibling){if(V.nodeType===1){return false}}return true;case"nth":var W=X[2],ad=X[3];if(W==1&&ad==0){return true}var Z=X[0],ac=U.parentNode;if(ac&&(ac.sizcache!==Z||!U.nodeIndex)){var Y=0;for(V=ac.firstChild;V;V=V.nextSibling){if(V.nodeType===1){V.nodeIndex=++Y}}ac.sizcache=Z}var ab=U.nodeIndex-ad;if(W==0){return ab==0}else{return(ab%W==0&&ab/W>=0)}}},ID:function(V,U){return V.nodeType===1&&V.getAttribute("id")===U},TAG:function(V,U){return(U==="*"&&V.nodeType===1)||V.nodeName===U},CLASS:function(V,U){return(" "+(V.className||V.getAttribute("class"))+" ").indexOf(U)>-1},ATTR:function(Z,X){var W=X[1],U=J.attrHandle[W]?J.attrHandle[W](Z):Z[W]!=null?Z[W]:Z.getAttribute(W),aa=U+"",Y=X[2],V=X[4];return U==null?Y==="!=":Y==="="?aa===V:Y==="*="?aa.indexOf(V)>=0:Y==="~="?(" "+aa+" ").indexOf(V)>=0:!V?aa&&U!==false:Y==="!="?aa!=V:Y==="^="?aa.indexOf(V)===0:Y==="$="?aa.substr(aa.length-V.length)===V:Y==="|="?aa===V||aa.substr(0,V.length+1)===V+"-":false},POS:function(Y,V,W,Z){var U=V[2],X=J.setFilters[U];if(X){return X(Y,W,V,Z)}}}};var N=J.match.POS;for(var P in J.match){J.match[P]=RegExp(J.match[P].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var F=function(V,U){V=Array.prototype.slice.call(V);if(U){U.push.apply(U,V);return U}return V};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(O){F=function(Y,X){var V=X||[];if(I.call(Y)==="[object Array]"){Array.prototype.push.apply(V,Y)}else{if(typeof Y.length==="number"){for(var W=0,U=Y.length;W<U;W++){V.push(Y[W])}}else{for(var W=0;Y[W];W++){V.push(Y[W])}}}return V}}var H;if(document.documentElement.compareDocumentPosition){H=function(V,U){var W=V.compareDocumentPosition(U)&4?-1:V===U?0:1;if(W===0){hasDuplicate=true}return W}}else{if("sourceIndex" in document.documentElement){H=function(V,U){var W=V.sourceIndex-U.sourceIndex;if(W===0){hasDuplicate=true}return W}}else{if(document.createRange){H=function(X,V){var W=X.ownerDocument.createRange(),U=V.ownerDocument.createRange();W.selectNode(X);W.collapse(true);U.selectNode(V);U.collapse(true);var Y=W.compareBoundaryPoints(Range.START_TO_END,U);if(Y===0){hasDuplicate=true}return Y}}}}(function(){var V=document.createElement("form"),W="script"+(new Date).getTime();V.innerHTML="<input name='"+W+"'/>";var U=document.documentElement;U.insertBefore(V,U.firstChild);if(!!document.getElementById(W)){J.find.ID=function(Y,Z,aa){if(typeof Z.getElementById!=="undefined"&&!aa){var X=Z.getElementById(Y[1]);return X?X.id===Y[1]||typeof X.getAttributeNode!=="undefined"&&X.getAttributeNode("id").nodeValue===Y[1]?[X]:h:[]}};J.filter.ID=function(Z,X){var Y=typeof Z.getAttributeNode!=="undefined"&&Z.getAttributeNode("id");return Z.nodeType===1&&Y&&Y.nodeValue===X}}U.removeChild(V)})();(function(){var U=document.createElement("div");U.appendChild(document.createComment(""));if(U.getElementsByTagName("*").length>0){J.find.TAG=function(V,Z){var Y=Z.getElementsByTagName(V[1]);if(V[1]==="*"){var X=[];for(var W=0;Y[W];W++){if(Y[W].nodeType===1){X.push(Y[W])}}Y=X}return Y}}U.innerHTML="<a href='#'></a>";if(U.firstChild&&typeof U.firstChild.getAttribute!=="undefined"&&U.firstChild.getAttribute("href")!=="#"){J.attrHandle.href=function(V){return V.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var U=G,V=document.createElement("div");V.innerHTML="<p class='TEST'></p>";if(V.querySelectorAll&&V.querySelectorAll(".TEST").length===0){return}G=function(Z,Y,W,X){Y=Y||document;if(!X&&Y.nodeType===9&&!R(Y)){try{return F(Y.querySelectorAll(Z),W)}catch(aa){}}return U(Z,Y,W,X)};G.find=U.find;G.filter=U.filter;G.selectors=U.selectors;G.matches=U.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var U=document.createElement("div");U.innerHTML="<div class='test e'></div><div class='test'></div>";if(U.getElementsByClassName("e").length===0){return}U.lastChild.className="e";if(U.getElementsByClassName("e").length===1){return}J.order.splice(1,0,"CLASS");J.find.CLASS=function(V,W,X){if(typeof W.getElementsByClassName!=="undefined"&&!X){return W.getElementsByClassName(V[1])}}})()}function Q(V,aa,Z,ae,ab,ad){var ac=V=="previousSibling"&&!ad;for(var X=0,W=ae.length;X<W;X++){var U=ae[X];if(U){if(ac&&U.nodeType===1){U.sizcache=Z;U.sizset=X}U=U[V];var Y=false;while(U){if(U.sizcache===Z){Y=ae[U.sizset];break}if(U.nodeType===1&&!ad){U.sizcache=Z;U.sizset=X}if(U.nodeName===aa){Y=U;break}U=U[V]}ae[X]=Y}}}function T(V,aa,Z,ae,ab,ad){var ac=V=="previousSibling"&&!ad;for(var X=0,W=ae.length;X<W;X++){var U=ae[X];if(U){if(ac&&U.nodeType===1){U.sizcache=Z;U.sizset=X}U=U[V];var Y=false;while(U){if(U.sizcache===Z){Y=ae[U.sizset];break}if(U.nodeType===1){if(!ad){U.sizcache=Z;U.sizset=X}if(typeof aa!=="string"){if(U===aa){Y=true;break}}else{if(G.filter(aa,[U]).length>0){Y=U;break}}}U=U[V]}ae[X]=Y}}}var L=document.compareDocumentPosition?function(V,U){return V.compareDocumentPosition(U)&16}:function(V,U){return V!==U&&(V.contains?V.contains(U):true)};var R=function(U){return U.nodeType===9&&U.documentElement.nodeName!=="HTML"||!!U.ownerDocument&&R(U.ownerDocument)};var K=function(U,ab){var X=[],Y="",Z,W=ab.nodeType?[ab]:ab;while((Z=J.match.PSEUDO.exec(U))){Y+=Z[0];U=U.replace(J.match.PSEUDO,"")}U=J.relative[U]?U+"*":U;for(var aa=0,V=W.length;aa<V;aa++){G(U,W[aa],X)}return G.filter(Y,X)};p.find=G;p.filter=G.filter;p.expr=G.selectors;p.expr[":"]=p.expr.filters;G.selectors.filters.hidden=function(U){return U.offsetWidth===0||U.offsetHeight===0};G.selectors.filters.visible=function(U){return U.offsetWidth>0||U.offsetHeight>0};G.selectors.filters.animated=function(U){return p.grep(p.timers,function(V){return U===V.elem}).length};p.multiFilter=function(W,U,V){if(V){W=":not("+W+")"}return G.matches(W,U)};p.dir=function(W,V){var U=[],X=W[V];while(X&&X!=document){if(X.nodeType==1){U.push(X)}X=X[V]}return U};p.nth=function(Y,U,W,X){U=U||1;var V=0;for(;Y;Y=Y[W]){if(Y.nodeType==1&&++V==U){break}}return Y};p.sibling=function(W,V){var U=[];for(;W;W=W.nextSibling){if(W.nodeType==1&&W!=V){U.push(W)}}return U};return;m.Sizzle=G})();p.event={add:function(J,G,I,L){if(J.nodeType==3||J.nodeType==8){return}if(J.setInterval&&J!=m){J=m}if(!I.guid){I.guid=this.guid++}if(L!==h){var H=I;I=this.proxy(H);I.data=L}var F=p.data(J,"events")||p.data(J,"events",{}),K=p.data(J,"handle")||p.data(J,"handle",function(){return typeof p!=="undefined"&&!p.event.triggered?p.event.handle.apply(arguments.callee.elem,arguments):h});K.elem=J;p.each(G.split(/\s+/),function(N,O){var P=O.split(".");O=P.shift();I.type=P.slice().sort().join(".");var M=F[O];if(p.event.specialAll[O]){p.event.specialAll[O].setup.call(J,L,P)}if(!M){M=F[O]={};if(!p.event.special[O]||p.event.special[O].setup.call(J,L,P)===false){if(J.addEventListener){J.addEventListener(O,K,false)}else{if(J.attachEvent){J.attachEvent("on"+O,K)}}}}M[I.guid]=I;p.event.global[O]=true});J=null},guid:1,global:{},remove:function(L,I,K){if(L.nodeType==3||L.nodeType==8){return}var H=p.data(L,"events"),G,F;if(H){if(I===h||(typeof I==="string"&&I.charAt(0)==".")){for(var J in H){this.remove(L,J+(I||""))}}else{if(I.type){K=I.handler;I=I.type}p.each(I.split(/\s+/),function(N,P){var R=P.split(".");P=R.shift();var O=RegExp("(^|\\.)"+R.slice().sort().join(".*\\.")+"(\\.|$)");if(H[P]){if(K){delete H[P][K.guid]}else{for(var Q in H[P]){if(O.test(H[P][Q].type)){delete H[P][Q]}}}if(p.event.specialAll[P]){p.event.specialAll[P].teardown.call(L,R)}for(G in H[P]){break}if(!G){if(!p.event.special[P]||p.event.special[P].teardown.call(L,R)===false){if(L.removeEventListener){L.removeEventListener(P,p.data(L,"handle"),false)}else{if(L.detachEvent){L.detachEvent("on"+P,p.data(L,"handle"))}}}G=null;delete H[P]}}})}for(G in H){break}if(!G){var M=p.data(L,"handle");if(M){M.elem=null}p.removeData(L,"events");p.removeData(L,"handle")}}},trigger:function(J,L,I,F){var H=J.type||J;if(!F){J=typeof J==="object"?J[i]?J:p.extend(p.Event(H),J):p.Event(H);if(H.indexOf("!")>=0){J.type=H=H.slice(0,-1);J.exclusive=true}if(!I){J.stopPropagation();if(this.global[H]){p.each(p.cache,function(){if(this.events&&this.events[H]){p.event.trigger(J,L,this.handle.elem)}})}}if(!I||I.nodeType==3||I.nodeType==8){return h}J.result=h;J.target=I;L=p.makeArray(L);L.unshift(J)}J.currentTarget=I;var K=p.data(I,"handle");if(K){K.apply(I,L)}if((!I[H]||(p.nodeName(I,"a")&&H=="click"))&&I["on"+H]&&I["on"+H].apply(I,L)===false){J.result=false}if(!F&&I[H]&&!J.isDefaultPrevented()&&!(p.nodeName(I,"a")&&H=="click")){this.triggered=true;try{I[H]()}catch(M){}}this.triggered=false;if(!J.isPropagationStopped()){var G=I.parentNode||I.ownerDocument;if(G){p.event.trigger(J,L,G,true)}}},handle:function(L){var K,F;L=arguments[0]=p.event.fix(L||m.event);L.currentTarget=this;var M=L.type.split(".");L.type=M.shift();K=!M.length&&!L.exclusive;var J=RegExp("(^|\\.)"+M.slice().sort().join(".*\\.")+"(\\.|$)");F=(p.data(this,"events")||{})[L.type];for(var H in F){var I=F[H];if(K||J.test(I.type)){L.handler=I;L.data=I.data;var G=I.apply(this,arguments);if(G!==h){L.result=G;if(G===false){L.preventDefault();L.stopPropagation()}}if(L.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(I){if(I[i]){return I}var G=I;I=p.Event(G);for(var H=this.props.length,K;H;){K=this.props[--H];I[K]=G[K]}if(!I.target){I.target=I.srcElement||document}if(I.target.nodeType==3){I.target=I.target.parentNode}if(!I.relatedTarget&&I.fromElement){I.relatedTarget=I.fromElement==I.target?I.toElement:I.fromElement}if(I.pageX==null&&I.clientX!=null){var J=document.documentElement,F=document.body;I.pageX=I.clientX+(J&&J.scrollLeft||F&&F.scrollLeft||0)-(J.clientLeft||0);I.pageY=I.clientY+(J&&J.scrollTop||F&&F.scrollTop||0)-(J.clientTop||0)}if(!I.which&&((I.charCode||I.charCode===0)?I.charCode:I.keyCode)){I.which=I.charCode||I.keyCode}if(!I.metaKey&&I.ctrlKey){I.metaKey=I.ctrlKey}if(!I.which&&I.button){I.which=(I.button&1?1:(I.button&2?3:(I.button&4?2:0)))}return I},proxy:function(G,F){F=F||function(){return G.apply(this,arguments)};F.guid=G.guid=G.guid||F.guid||this.guid++;return F},special:{ready:{setup:C,teardown:function(){}}},specialAll:{live:{setup:function(F,G){p.event.add(this,G[0],d)},teardown:function(H){if(H.length){var F=0,G=RegExp("(^|\\.)"+H[0]+"(\\.|$)");p.each((p.data(this,"events").live||{}),function(){if(G.test(this.type)){F++}});if(F<1){p.event.remove(this,H[0],d)}}}}}};p.Event=function(F){if(!this.preventDefault){return new p.Event(F)}if(F&&F.type){this.originalEvent=F;this.type=F.type}else{this.type=F}this.timeStamp=f();this[i]=true};function l(){return false}function v(){return true}p.Event.prototype={preventDefault:function(){this.isDefaultPrevented=v;var F=this.originalEvent;if(!F){return}if(F.preventDefault){F.preventDefault()}F.returnValue=false},stopPropagation:function(){this.isPropagationStopped=v;var F=this.originalEvent;if(!F){return}if(F.stopPropagation){F.stopPropagation()}F.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=v;this.stopPropagation()},isDefaultPrevented:l,isPropagationStopped:l,isImmediatePropagationStopped:l};var b=function(G){var F=G.relatedTarget;while(F&&F!=this){try{F=F.parentNode}catch(H){F=this}}if(F!=this){G.type=G.data;p.event.handle.apply(this,arguments)}};p.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(G,F){p.event.special[F]={setup:function(){p.event.add(this,G,b,F)},teardown:function(){p.event.remove(this,G,b)}}});p.fn.extend({bind:function(G,H,F){return G=="unload"?this.one(G,H,F):this.each(function(){p.event.add(this,G,F||H,F&&H)})},one:function(H,I,G){var F=p.event.proxy(G||I,function(J){p(this).unbind(J,F);return(G||I).apply(this,arguments)});return this.each(function(){p.event.add(this,H,F,G&&I)})},unbind:function(G,F){return this.each(function(){p.event.remove(this,G,F)})},trigger:function(F,G){return this.each(function(){p.event.trigger(F,G,this)})},triggerHandler:function(F,H){if(this[0]){var G=p.Event(F);G.preventDefault();G.stopPropagation();p.event.trigger(G,H,this[0]);return G.result}},toggle:function(H){var F=arguments,G=1;while(G<F.length){p.event.proxy(H,F[G++])}return this.click(p.event.proxy(H,function(I){this.lastToggle=(this.lastToggle||0)%G;I.preventDefault();return F[this.lastToggle++].apply(this,arguments)||false}))},hover:function(F,G){return this.mouseenter(F).mouseleave(G)},ready:function(F){C();if(p.isReady){F.call(document,p)}else{p.readyList.push(F)}return this},live:function(H,G){var F=p.event.proxy(G);F.guid+=this.selector+H;p(document).bind(j(H,this.selector),this.selector,F);return this},die:function(G,F){p(document).unbind(j(G,this.selector),F?{guid:F.guid+this.selector+G}:null);return this}});function d(I){var F=RegExp("(^|\\.)"+I.type+"(\\.|$)"),H=true,G=[];p.each(p.data(this,"events").live||[],function(J,K){if(F.test(K.type)){var L=p(I.target).closest(K.data)[0];if(L){G.push({elem:L,fn:K})}}});G.sort(function(K,J){return p.data(K.elem,"closest")-p.data(J.elem,"closest")});p.each(G,function(){if(this.fn.call(this.elem,I,this.fn.data)===false){return(H=false)}});return H}function j(G,F){return["live",G,F.replace(/\./g,"`").replace(/ /g,"|")].join(".")}p.extend({isReady:false,readyList:[],ready:function(){if(!p.isReady){p.isReady=true;if(p.readyList){p.each(p.readyList,function(){this.call(document,p)});p.readyList=null}p(document).triggerHandler("ready")}}});var y=false;function C(){if(y){return}y=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);p.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);p.ready()}});if(document.documentElement.doScroll&&m==m.top){(function(){if(p.isReady){return}try{document.documentElement.doScroll("left")}catch(F){setTimeout(arguments.callee,0);return}p.ready()})()}}}p.event.add(m,"load",p.ready)}p.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(G,F){p.fn[F]=function(H){return H?this.bind(F,H):this.trigger(F)}});p(m).bind("unload",function(){for(var F in p.cache){if(F!=1&&p.cache[F].handle){p.event.remove(p.cache[F].handle.elem)}}});(function(){p.support={};var G=document.documentElement,H=document.createElement("script"),L=document.createElement("div"),K="script"+(new Date).getTime();L.style.display="none";L.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 I=L.getElementsByTagName("*"),F=L.getElementsByTagName("a")[0];if(!I||!I.length||!F){return}p.support={leadingWhitespace:L.firstChild.nodeType==3,tbody:!L.getElementsByTagName("tbody").length,objectAll:!!L.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!L.getElementsByTagName("link").length,style:/red/.test(F.getAttribute("style")),hrefNormalized:F.getAttribute("href")==="/a",opacity:F.style.opacity==="0.5",cssFloat:!!F.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};H.type="text/javascript";try{H.appendChild(document.createTextNode("window."+K+"=1;"))}catch(J){}G.insertBefore(H,G.firstChild);if(m[K]){p.support.scriptEval=true;delete m[K]}G.removeChild(H);if(L.attachEvent&&L.fireEvent){L.attachEvent("onclick",function(){p.support.noCloneEvent=false;L.detachEvent("onclick",arguments.callee)});L.cloneNode(true).fireEvent("onclick")}p(function(){var M=document.createElement("div");M.style.width=M.style.paddingLeft="1px";document.body.appendChild(M);p.boxModel=p.support.boxModel=M.offsetWidth===2;document.body.removeChild(M).style.display="none"})})();var x=p.support.cssFloat?"cssFloat":"styleFloat";p.props={"for":"htmlFor","class":"className","float":x,cssFloat:x,styleFloat:x,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};p.fn.extend({_load:p.fn.load,load:function(H,K,L){if(typeof H!=="string"){return this._load(H)}var J=H.indexOf(" ");if(J>=0){var F=H.slice(J,H.length);H=H.slice(0,J)}var I="GET";if(K){if(p.isFunction(K)){L=K;K=null}else{if(typeof K==="object"){K=p.param(K);I="POST"}}}var G=this;p.ajax({url:H,type:I,dataType:"html",data:K,complete:function(N,M){if(M=="success"||M=="notmodified"){G.html(F?p("<div/>").append(N.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(F):N.responseText)}if(L){G.each(L,[N.responseText,M,N])}}});return this},serialize:function(){return p.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?p.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(F,G){var H=p(this).val();return H==null?null:p.isArray(H)?p.map(H,function(J,I){return{name:G.name,value:J}}):{name:G.name,value:H}}).get()}});p.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(F,G){p.fn[G]=function(H){return this.bind(G,H)}});var s=f();p.extend({get:function(F,H,I,G){if(p.isFunction(H)){I=H;H=null}return p.ajax({type:"GET",url:F,data:H,success:I,dataType:G})},getScript:function(F,G){return p.get(F,null,G,"script")},getJSON:function(F,G,H){return p.get(F,G,H,"json")},post:function(F,H,I,G){if(p.isFunction(H)){I=H;H={}}return p.ajax({type:"POST",url:F,data:H,success:I,dataType:G})},ajaxSetup:function(F){p.extend(p.ajaxSettings,F)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return m.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(N){N=p.extend(true,N,p.extend(true,{},p.ajaxSettings,N));var X,G=/=\?(&|$)/g,S,W,H=N.type.toUpperCase();if(N.data&&N.processData&&typeof N.data!=="string"){N.data=p.param(N.data)}if(N.dataType=="jsonp"){if(H=="GET"){if(!N.url.match(G)){N.url+=(N.url.match(/\?/)?"&":"?")+(N.jsonp||"callback")+"=?"}}else{if(!N.data||!N.data.match(G)){N.data=(N.data?N.data+"&":"")+(N.jsonp||"callback")+"=?"}}N.dataType="json"}if(N.dataType=="json"&&(N.data&&N.data.match(G)||N.url.match(G))){X="jsonp"+s++;if(N.data){N.data=(N.data+"").replace(G,"="+X+"$1")}N.url=N.url.replace(G,"="+X+"$1");N.dataType="script";m[X]=function(Y){W=Y;J();M();m[X]=h;try{delete m[X]}catch(Z){}if(I){I.removeChild(U)}}}if(N.dataType=="script"&&N.cache==null){N.cache=false}if(N.cache===false&&H=="GET"){var F=f();var V=N.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+F+"$2");N.url=V+((V==N.url)?(N.url.match(/\?/)?"&":"?")+"_="+F:"")}if(N.data&&H=="GET"){N.url+=(N.url.match(/\?/)?"&":"?")+N.data;N.data=null}if(N.global&&!p.active++){p.event.trigger("ajaxStart")}var R=/^(\w+:)?\/\/([^\/?#]+)/.exec(N.url);if(N.dataType=="script"&&H=="GET"&&R&&(R[1]&&R[1]!=location.protocol||R[2]!=location.host)){var I=document.getElementsByTagName("head")[0];var U=document.createElement("script");U.src=N.url;if(N.scriptCharset){U.charset=N.scriptCharset}if(!X){var P=false;U.onload=U.onreadystatechange=function(){if(!P&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){P=true;J();M();U.onload=U.onreadystatechange=null;I.removeChild(U)}}}I.appendChild(U);return h}var L=false;var K=N.xhr();if(N.username){K.open(H,N.url,N.async,N.username,N.password)}else{K.open(H,N.url,N.async)}try{if(N.data){K.setRequestHeader("Content-Type",N.contentType)}if(N.ifModified){K.setRequestHeader("If-Modified-Since",p.lastModified[N.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}K.setRequestHeader("X-Requested-With","XMLHttpRequest");K.setRequestHeader("Accept",N.dataType&&N.accepts[N.dataType]?N.accepts[N.dataType]+", */*":N.accepts._default)}catch(T){}if(N.beforeSend&&N.beforeSend(K,N)===false){if(N.global&&!--p.active){p.event.trigger("ajaxStop")}K.abort();return false}if(N.global){p.event.trigger("ajaxSend",[K,N])}var O=function(Y){if(K.readyState==0){if(Q){clearInterval(Q);Q=null;if(N.global&&!--p.active){p.event.trigger("ajaxStop")}}}else{if(!L&&K&&(K.readyState==4||Y=="timeout")){L=true;if(Q){clearInterval(Q);Q=null}S=Y=="timeout"?"timeout":!p.httpSuccess(K)?"error":N.ifModified&&p.httpNotModified(K,N.url)?"notmodified":"success";if(S=="success"){try{W=p.httpData(K,N.dataType,N)}catch(aa){S="parsererror"}}if(S=="success"){var Z;try{Z=K.getResponseHeader("Last-Modified")}catch(aa){}if(N.ifModified&&Z){p.lastModified[N.url]=Z}if(!X){J()}}else{p.handleError(N,K,S)}M();if(Y){K.abort()}if(N.async){K=null}}}};if(N.async){var Q=setInterval(O,13);if(N.timeout>0){setTimeout(function(){if(K&&!L){O("timeout")}},N.timeout)}}try{K.send(N.data)}catch(T){p.handleError(N,K,null,T)}if(!N.async){O()}function J(){if(N.success){N.success(W,S)}if(N.global){p.event.trigger("ajaxSuccess",[K,N])}}function M(){if(N.complete){N.complete(K,S)}if(N.global){p.event.trigger("ajaxComplete",[K,N])}if(N.global&&!--p.active){p.event.trigger("ajaxStop")}}return K},handleError:function(G,I,F,H){if(G.error){G.error(I,F,H)}if(G.global){p.event.trigger("ajaxError",[I,G,H])}},active:0,httpSuccess:function(G){try{return !G.status&&location.protocol=="file:"||(G.status>=200&&G.status<300)||G.status==304||G.status==1223}catch(F){}return false},httpNotModified:function(H,F){try{var I=H.getResponseHeader("Last-Modified");return H.status==304||I==p.lastModified[F]}catch(G){}return false},httpData:function(K,I,H){var G=K.getResponseHeader("content-type"),F=I=="xml"||!I&&G&&G.indexOf("xml")>=0,J=F?K.responseXML:K.responseText;if(F&&J.documentElement.tagName=="parsererror"){throw"parsererror"}if(H&&H.dataFilter){J=H.dataFilter(J,I)}if(typeof J==="string"){if(I=="script"){p.globalEval(J)}if(I=="json"){J=m["eval"]("("+J+")")}}return J},param:function(F){var H=[];function I(J,K){H[H.length]=encodeURIComponent(J)+"="+encodeURIComponent(K)}if(p.isArray(F)||F.jquery){p.each(F,function(){I(this.name,this.value)})}else{for(var G in F){if(p.isArray(F[G])){p.each(F[G],function(){I(G,this)})}else{I(G,p.isFunction(F[G])?F[G]():F[G])}}}return H.join("&").replace(/%20/g,"+")}});var n={},o,e=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function u(G,F){var H={};p.each(e.concat.apply([],e.slice(0,F)),function(){H[this]=G});return H}p.fn.extend({show:function(K,M){if(K){return this.animate(u("show",3),K,M)}else{for(var I=0,G=this.length;I<G;I++){var F=p.data(this[I],"olddisplay");this[I].style.display=F||"";if(p.css(this[I],"display")==="none"){var H=this[I].tagName,L;if(n[H]){L=n[H]}else{var J=p("<"+H+" />").appendTo("body");L=J.css("display");if(L==="none"){L="block"}J.remove();n[H]=L}p.data(this[I],"olddisplay",L)}}for(var I=0,G=this.length;I<G;I++){this[I].style.display=p.data(this[I],"olddisplay")||""}return this}},hide:function(I,J){if(I){return this.animate(u("hide",3),I,J)}else{for(var H=0,G=this.length;H<G;H++){var F=p.data(this[H],"olddisplay");if(!F&&F!=="none"){p.data(this[H],"olddisplay",p.css(this[H],"display"))}}for(var H=0,G=this.length;H<G;H++){this[H].style.display="none"}return this}},_toggle:p.fn.toggle,toggle:function(H,G){var F=typeof H==="boolean";return p.isFunction(H)&&p.isFunction(G)?this._toggle.apply(this,arguments):H==null||F?this.each(function(){var I=F?H:p(this).is(":hidden");p(this)[I?"show":"hide"]()}):this.animate(u("toggle",3),H,G)},fadeTo:function(F,H,G){return this.animate({opacity:H},F,G)},animate:function(J,G,I,H){var F=p.speed(G,I,H);return this[F.queue===false?"each":"queue"](function(){var L=p.extend({},F),N,M=this.nodeType==1&&p(this).is(":hidden"),K=this;for(N in J){if(J[N]=="hide"&&M||J[N]=="show"&&!M){return L.complete.call(this)}if((N=="height"||N=="width")&&this.style){L.display=p.css(this,"display");L.overflow=this.style.overflow}}if(L.overflow!=null){this.style.overflow="hidden"}L.curAnim=p.extend({},J);p.each(J,function(P,T){var S=new p.fx(K,L,P);if(/toggle|show|hide/.test(T)){S[T=="toggle"?M?"show":"hide":T](J)}else{var R=T.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),U=S.cur(true)||0;if(R){var O=parseFloat(R[2]),Q=R[3]||"px";if(Q!="px"){K.style[P]=(O||1)+Q;U=((O||1)/S.cur(true))*U;K.style[P]=U+Q}if(R[1]){O=((R[1]=="-="?-1:1)*O)+U}S.custom(U,O,Q)}else{S.custom(U,T,"")}}});return true})},stop:function(G,F){var H=p.timers;if(G){this.queue([])}this.each(function(){for(var I=H.length-1;I>=0;I--){if(H[I].elem==this){if(F){H[I](true)}H.splice(I,1)}}});if(!F){this.dequeue()}return this}});p.each({slideDown:u("show",1),slideUp:u("hide",1),slideToggle:u("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(F,G){p.fn[F]=function(H,I){return this.animate(G,H,I)}});p.extend({speed:function(H,I,G){var F=typeof H==="object"?H:{complete:G||!G&&I||p.isFunction(H)&&H,duration:H,easing:G&&I||I&&!p.isFunction(I)&&I};F.duration=p.fx.off?0:typeof F.duration==="number"?F.duration:p.fx.speeds[F.duration]||p.fx.speeds._default;F.old=F.complete;F.complete=function(){if(F.queue!==false){p(this).dequeue()}if(p.isFunction(F.old)){F.old.call(this)}};return F},easing:{linear:function(H,I,F,G){return F+G*H},swing:function(H,I,F,G){return((-Math.cos(H*Math.PI)/2)+0.5)*G+F}},timers:[],fx:function(G,F,H){this.options=F;this.elem=G;this.prop=H;if(!F.orig){F.orig={}}}});p.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(p.fx.step[this.prop]||p.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(G){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var F=parseFloat(p.css(this.elem,this.prop,G));return F&&F>-10000?F:parseFloat(p.curCSS(this.elem,this.prop))||0},custom:function(J,I,H){this.startTime=f();this.start=J;this.end=I;this.unit=H||this.unit||"px";this.now=this.start;this.pos=this.state=0;var F=this;function G(K){return F.step(K)}G.elem=this.elem;if(G()&&p.timers.push(G)&&!o){o=setInterval(function(){var L=p.timers;for(var K=0;K<L.length;K++){if(!L[K]()){L.splice(K--,1)}}if(!L.length){clearInterval(o);o=h}},13)}},show:function(){this.options.orig[this.prop]=p.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());p(this.elem).show()},hide:function(){this.options.orig[this.prop]=p.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(I){var H=f();if(I||H>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var F=true;for(var G in this.options.curAnim){if(this.options.curAnim[G]!==true){F=false}}if(F){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(p.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){p(this.elem).hide()}if(this.options.hide||this.options.show){for(var J in this.options.curAnim){p.attr(this.elem.style,J,this.options.orig[J])}}this.options.complete.call(this.elem)}return false}else{var K=H-this.startTime;this.state=K/this.options.duration;this.pos=p.easing[this.options.easing||(p.easing.swing?"swing":"linear")](this.state,K,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};p.extend(p.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(F){p.attr(F.elem.style,"opacity",F.now)},_default:function(F){if(F.elem.style&&F.elem.style[F.prop]!=null){F.elem.style[F.prop]=F.now+F.unit}else{F.elem[F.prop]=F.now}}}});if(document.documentElement.getBoundingClientRect){p.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return p.offset.bodyOffset(this[0])}var H=this[0].getBoundingClientRect(),K=this[0].ownerDocument,G=K.body,F=K.documentElement,M=F.clientTop||G.clientTop||0,L=F.clientLeft||G.clientLeft||0,J=H.top+(self.pageYOffset||p.boxModel&&F.scrollTop||G.scrollTop)-M,I=H.left+(self.pageXOffset||p.boxModel&&F.scrollLeft||G.scrollLeft)-L;return{top:J,left:I}}}else{p.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return p.offset.bodyOffset(this[0])}p.offset.initialized||p.offset.initialize();var K=this[0],H=K.offsetParent,G=K,P=K.ownerDocument,N,I=P.documentElement,L=P.body,M=P.defaultView,F=M.getComputedStyle(K,null),O=K.offsetTop,J=K.offsetLeft;while((K=K.parentNode)&&K!==L&&K!==I){N=M.getComputedStyle(K,null);O-=K.scrollTop,J-=K.scrollLeft;if(K===H){O+=K.offsetTop,J+=K.offsetLeft;if(p.offset.doesNotAddBorder&&!(p.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(K.tagName))){O+=parseInt(N.borderTopWidth,10)||0,J+=parseInt(N.borderLeftWidth,10)||0}G=H,H=K.offsetParent}if(p.offset.subtractsBorderForOverflowNotVisible&&N.overflow!=="visible"){O+=parseInt(N.borderTopWidth,10)||0,J+=parseInt(N.borderLeftWidth,10)||0}F=N}if(F.position==="relative"||F.position==="static"){O+=L.offsetTop,J+=L.offsetLeft}if(F.position==="fixed"){O+=Math.max(I.scrollTop,L.scrollTop),J+=Math.max(I.scrollLeft,L.scrollLeft)}return{top:O,left:J}}}p.offset={initialize:function(){if(this.initialized){return}var M=document.body,G=document.createElement("div"),I,H,O,J,N,F,K=M.style.marginTop,L='<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>';N={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(F in N){G.style[F]=N[F]}G.innerHTML=L;M.insertBefore(G,M.firstChild);I=G.firstChild,H=I.firstChild,J=I.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(H.offsetTop!==5);this.doesAddBorderForTableAndCells=(J.offsetTop===5);I.style.overflow="hidden",I.style.position="relative";this.subtractsBorderForOverflowNotVisible=(H.offsetTop===-5);M.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(M.offsetTop===0);M.style.marginTop=K;M.removeChild(G);this.initialized=true},bodyOffset:function(F){p.offset.initialized||p.offset.initialize();var H=F.offsetTop,G=F.offsetLeft;if(p.offset.doesNotIncludeMarginInBodyOffset){H+=parseInt(p.curCSS(F,"marginTop",true),10)||0,G+=parseInt(p.curCSS(F,"marginLeft",true),10)||0}return{top:H,left:G}}};p.fn.extend({position:function(){var J=0,I=0,G;if(this[0]){var H=this.offsetParent(),K=this.offset(),F=/^body|html$/i.test(H[0].tagName)?{top:0,left:0}:H.offset();K.top-=k(this,"marginTop");K.left-=k(this,"marginLeft");F.top+=k(H,"borderTopWidth");F.left+=k(H,"borderLeftWidth");G={top:K.top-F.top,left:K.left-F.left}}return G},offsetParent:function(){var F=this[0].offsetParent||document.body;while(F&&(!/^body|html$/i.test(F.tagName)&&p.css(F,"position")=="static")){F=F.offsetParent}return p(F)}});p.each(["Left","Top"],function(G,F){var H="scroll"+F;p.fn[H]=function(I){if(!this[0]){return null}return I!==h?this.each(function(){this==m||this==document?m.scrollTo(!G?I:p(m).scrollLeft(),G?I:p(m).scrollTop()):this[H]=I}):this[0]==m||this[0]==document?self[G?"pageYOffset":"pageXOffset"]||p.boxModel&&document.documentElement[H]||document.body[H]:this[0][H]}});p.each(["Height","Width"],function(J,H){var F=J?"Left":"Top",I=J?"Right":"Bottom",G=H.toLowerCase();p.fn["inner"+H]=function(){return this[0]?p.css(this[0],G,false,"padding"):null};p.fn["outer"+H]=function(L){return this[0]?p.css(this[0],G,false,L?"margin":"border"):null};var K=H.toLowerCase();p.fn[K]=function(L){return this[0]==m?document.compatMode=="CSS1Compat"&&document.documentElement["client"+H]||document.body["client"+H]:this[0]==document?Math.max(document.documentElement["client"+H],document.body["scroll"+H],document.documentElement["scroll"+H],document.body["offset"+H],document.documentElement["offset"+H]):L===h?(this.length?p.css(this[0],K):null):this.css(K,typeof L==="string"?L:L+"px")}})})();(function(d){d.effects=d.effects||{};d.extend(d.effects,{save:function(g,h){for(var f=0;f<h.length;f++){if(h[f]!==null){d.data(g[0],"ec.storage."+h[f],g[0].style[h[f]])}}},restore:function(g,h){for(var f=0;f<h.length;f++){if(h[f]!==null){g.css(h[f],d.data(g[0],"ec.storage."+h[f]))}}},setMode:function(f,g){if(g=="toggle"){g=f.is(":hidden")?"show":"hide"}return g},getBaseline:function(g,h){var i,f;switch(g[0]){case"top":i=0;break;case"middle":i=0.5;break;case"bottom":i=1;break;default:i=g[0]/h.height}switch(g[1]){case"left":f=0;break;case"center":f=0.5;break;case"right":f=1;break;default:f=g[1]/h.width}return{x:f,y:i}},createWrapper:function(g){if(g.parent().attr("id")=="fxWrapper"){return g}var f={width:g.outerWidth({margin:true}),height:g.outerHeight({margin:true}),"float":g.css("float")};g.wrap('<div id="fxWrapper" style="font-size:100%;background:transparent;border:none;margin:0;padding:0"></div>');var j=g.parent();if(g.css("position")=="static"){j.css({position:"relative"});g.css({position:"relative"})}else{var i=g.css("top");if(isNaN(parseInt(i))){i="auto"}var h=g.css("left");if(isNaN(parseInt(h))){h="auto"}j.css({position:g.css("position"),top:i,left:h,zIndex:g.css("z-index")}).show();g.css({position:"relative",top:0,left:0})}j.css(f);return j},removeWrapper:function(f){if(f.parent().attr("id")=="fxWrapper"){return f.parent().replaceWith(f)}return f},setTransition:function(g,h,f,i){i=i||{};d.each(h,function(k,j){unit=g.cssUnit(j);if(unit[0]>0){i[j]=unit[0]*f+unit[1]}});return i},animateClass:function(h,i,k,j){var f=(typeof k=="function"?k:(j?j:null));var g=(typeof k=="object"?k:null);return this.each(function(){var q={};var o=d(this);var p=o.attr("style")||"";if(typeof p=="object"){p=p.cssText}if(h.toggle){o.hasClass(h.toggle)?h.remove=h.toggle:h.add=h.toggle}var l=d.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(h.add){o.addClass(h.add)}if(h.remove){o.removeClass(h.remove)}var m=d.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(h.add){o.removeClass(h.add)}if(h.remove){o.addClass(h.remove)}for(var r in m){if(typeof m[r]!="function"&&m[r]&&r.indexOf("Moz")==-1&&r.indexOf("length")==-1&&m[r]!=l[r]&&(r.match(/color/i)||(!r.match(/color/i)&&!isNaN(parseInt(m[r],10))))&&(l.position!="static"||(l.position=="static"&&!r.match(/left|top|bottom|right/)))){q[r]=m[r]}}o.animate(q,i,g,function(){if(typeof d(this).attr("style")=="object"){d(this).attr("style")["cssText"]="";d(this).attr("style")["cssText"]=p}else{d(this).attr("style",p)}if(h.add){d(this).addClass(h.add)}if(h.remove){d(this).removeClass(h.remove)}if(f){f.apply(this,arguments)}})})}});d.fn.extend({_show:d.fn.show,_hide:d.fn.hide,__toggle:d.fn.toggle,_addClass:d.fn.addClass,_removeClass:d.fn.removeClass,_toggleClass:d.fn.toggleClass,effect:function(f,h,g,i){return d.effects[f]?d.effects[f].call(this,{method:f,options:h||{},duration:g,callback:i}):null},show:function(){if(!arguments[0]||(arguments[0].constructor==Number||/(slow|normal|fast)/.test(arguments[0]))){return this._show.apply(this,arguments)}else{var f=arguments[1]||{};f.mode="show";return this.effect.apply(this,[arguments[0],f,arguments[2]||f.duration,arguments[3]||f.callback])}},hide:function(){if(!arguments[0]||(arguments[0].constructor==Number||/(slow|normal|fast)/.test(arguments[0]))){return this._hide.apply(this,arguments)}else{var f=arguments[1]||{};f.mode="hide";return this.effect.apply(this,[arguments[0],f,arguments[2]||f.duration,arguments[3]||f.callback])}},toggle:function(){if(!arguments[0]||(arguments[0].constructor==Number||/(slow|normal|fast)/.test(arguments[0]))||(arguments[0].constructor==Function)){return this.__toggle.apply(this,arguments)}else{var f=arguments[1]||{};f.mode="toggle";return this.effect.apply(this,[arguments[0],f,arguments[2]||f.duration,arguments[3]||f.callback])}},addClass:function(g,f,i,h){return f?d.effects.animateClass.apply(this,[{add:g},f,i,h]):this._addClass(g)},removeClass:function(g,f,i,h){return f?d.effects.animateClass.apply(this,[{remove:g},f,i,h]):this._removeClass(g)},toggleClass:function(g,f,i,h){return f?d.effects.animateClass.apply(this,[{toggle:g},f,i,h]):this._toggleClass(g)},morph:function(f,h,g,j,i){return d.effects.animateClass.apply(this,[{add:h,remove:f},g,j,i])},switchClass:function(){return this.morph.apply(this,arguments)},cssUnit:function(f){var g=this.css(f),h=[];d.each(["em","px","%","pt"],function(j,k){if(g.indexOf(k)>0){h=[parseFloat(g),k]}});return h}});jQuery.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(g,f){jQuery.fx.step[f]=function(h){if(h.state==0||h.start.constructor!=Array||h.end.constructor!=Array){h.start=e(h.elem,f);h.end=c(h.end)}h.elem.style[f]="rgb("+[Math.max(Math.min(parseInt((h.pos*(h.end[0]-h.start[0]))+h.start[0]),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[1]-h.start[1]))+h.start[1]),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[2]-h.start[2]))+h.start[2]),255),0)].join(",")+")"}});function c(g){var f;if(g&&g.constructor==Array&&g.length==3){return g}if(f=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(g)){return[parseInt(f[1]),parseInt(f[2]),parseInt(f[3])]}if(f=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(g)){return[parseFloat(f[1])*2.55,parseFloat(f[2])*2.55,parseFloat(f[3])*2.55]}if(f=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(g)){return[parseInt(f[1],16),parseInt(f[2],16),parseInt(f[3],16)]}if(f=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(g)){return[parseInt(f[1]+f[1],16),parseInt(f[2]+f[2],16),parseInt(f[3]+f[3],16)]}if(f=/rgba\(0, 0, 0, 0\)/.exec(g)){return b.transparent}return b[jQuery.trim(g).toLowerCase()]}function e(h,f){var g;do{g=jQuery.curCSS(h,f);if(g!=""&&g!="transparent"||jQuery.nodeName(h,"body")){break}f="backgroundColor"}while(h=h.parentNode);return c(g)}var b={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]};jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(g,h,f,j,i){return jQuery.easing[jQuery.easing.def](g,h,f,j,i)},easeInQuad:function(g,h,f,j,i){return j*(h/=i)*h+f},easeOutQuad:function(g,h,f,j,i){return -j*(h/=i)*(h-2)+f},easeInOutQuad:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h+f}return -j/2*((--h)*(h-2)-1)+f},easeInCubic:function(g,h,f,j,i){return j*(h/=i)*h*h+f},easeOutCubic:function(g,h,f,j,i){return j*((h=h/i-1)*h*h+1)+f},easeInOutCubic:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h+f}return j/2*((h-=2)*h*h+2)+f},easeInQuart:function(g,h,f,j,i){return j*(h/=i)*h*h*h+f},easeOutQuart:function(g,h,f,j,i){return -j*((h=h/i-1)*h*h*h-1)+f},easeInOutQuart:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h*h+f}return -j/2*((h-=2)*h*h*h-2)+f},easeInQuint:function(g,h,f,j,i){return j*(h/=i)*h*h*h*h+f},easeOutQuint:function(g,h,f,j,i){return j*((h=h/i-1)*h*h*h*h+1)+f},easeInOutQuint:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h*h*h+f}return j/2*((h-=2)*h*h*h*h+2)+f},easeInSine:function(g,h,f,j,i){return -j*Math.cos(h/i*(Math.PI/2))+j+f},easeOutSine:function(g,h,f,j,i){return j*Math.sin(h/i*(Math.PI/2))+f},easeInOutSine:function(g,h,f,j,i){return -j/2*(Math.cos(Math.PI*h/i)-1)+f},easeInExpo:function(g,h,f,j,i){return(h==0)?f:j*Math.pow(2,10*(h/i-1))+f},easeOutExpo:function(g,h,f,j,i){return(h==i)?f+j:j*(-Math.pow(2,-10*h/i)+1)+f},easeInOutExpo:function(g,h,f,j,i){if(h==0){return f}if(h==i){return f+j}if((h/=i/2)<1){return j/2*Math.pow(2,10*(h-1))+f}return j/2*(-Math.pow(2,-10*--h)+2)+f},easeInCirc:function(g,h,f,j,i){return -j*(Math.sqrt(1-(h/=i)*h)-1)+f},easeOutCirc:function(g,h,f,j,i){return j*Math.sqrt(1-(h=h/i-1)*h)+f},easeInOutCirc:function(g,h,f,j,i){if((h/=i/2)<1){return -j/2*(Math.sqrt(1-h*h)-1)+f}return j/2*(Math.sqrt(1-(h-=2)*h)+1)+f},easeInElastic:function(g,i,f,m,l){var j=1.70158;var k=0;var h=m;if(i==0){return f}if((i/=l)==1){return f+m}if(!k){k=l*0.3}if(h<Math.abs(m)){h=m;var j=k/4}else{var j=k/(2*Math.PI)*Math.asin(m/h)}return -(h*Math.pow(2,10*(i-=1))*Math.sin((i*l-j)*(2*Math.PI)/k))+f},easeOutElastic:function(g,i,f,m,l){var j=1.70158;var k=0;var h=m;if(i==0){return f}if((i/=l)==1){return f+m}if(!k){k=l*0.3}if(h<Math.abs(m)){h=m;var j=k/4}else{var j=k/(2*Math.PI)*Math.asin(m/h)}return h*Math.pow(2,-10*i)*Math.sin((i*l-j)*(2*Math.PI)/k)+m+f},easeInOutElastic:function(g,i,f,m,l){var j=1.70158;var k=0;var h=m;if(i==0){return f}if((i/=l/2)==2){return f+m}if(!k){k=l*(0.3*1.5)}if(h<Math.abs(m)){h=m;var j=k/4}else{var j=k/(2*Math.PI)*Math.asin(m/h)}if(i<1){return -0.5*(h*Math.pow(2,10*(i-=1))*Math.sin((i*l-j)*(2*Math.PI)/k))+f}return h*Math.pow(2,-10*(i-=1))*Math.sin((i*l-j)*(2*Math.PI)/k)*0.5+m+f},easeInBack:function(g,h,f,k,j,i){if(i==undefined){i=1.70158}return k*(h/=j)*h*((i+1)*h-i)+f},easeOutBack:function(g,h,f,k,j,i){if(i==undefined){i=1.70158}return k*((h=h/j-1)*h*((i+1)*h+i)+1)+f},easeInOutBack:function(g,h,f,k,j,i){if(i==undefined){i=1.70158}if((h/=j/2)<1){return k/2*(h*h*(((i*=(1.525))+1)*h-i))+f}return k/2*((h-=2)*h*(((i*=(1.525))+1)*h+i)+2)+f},easeInBounce:function(g,h,f,j,i){return j-jQuery.easing.easeOutBounce(g,i-h,0,j,i)+f},easeOutBounce:function(g,h,f,j,i){if((h/=i)<(1/2.75)){return j*(7.5625*h*h)+f}else{if(h<(2/2.75)){return j*(7.5625*(h-=(1.5/2.75))*h+0.75)+f}else{if(h<(2.5/2.75)){return j*(7.5625*(h-=(2.25/2.75))*h+0.9375)+f}else{return j*(7.5625*(h-=(2.625/2.75))*h+0.984375)+f}}}},easeInOutBounce:function(g,h,f,j,i){if(h<i/2){return jQuery.easing.easeInBounce(g,h*2,0,j,i)*0.5+f}return jQuery.easing.easeOutBounce(g,h*2-i,0,j,i)*0.5+j*0.5+f}})})(jQuery);(function(d){var b=d.scrollTo=function(g,f,e){d(window).scrollTo(g,f,e)};b.defaults={axis:"xy",duration:parseFloat(d.fn.jquery)>=1.3?0:1};b.window=function(e){return d(window)._scrollable()};d.fn._scrollable=function(){return this.map(function(){var f=this,e=!f.nodeName||d.inArray(f.nodeName.toLowerCase(),["iframe","#document","html","body"])!=-1;if(!e){return f}var g=(f.contentWindow||f).document||f.ownerDocument||f;return d.browser.safari||g.compatMode=="BackCompat"?g.body:g.documentElement})};d.fn.scrollTo=function(g,f,e){if(typeof f=="object"){e=f;f=0}if(typeof e=="function"){e={onAfter:e}}if(g=="max"){g=9000000000}e=d.extend({},b.defaults,e);f=f||e.speed||e.duration;e.queue=e.queue&&e.axis.length>1;if(e.queue){f/=2}e.offset=c(e.offset);e.over=c(e.over);return this._scrollable().each(function(){var m=this,k=d(m),l=g,j,h={},n=k.is("html,body");switch(typeof l){case"number":case"string":if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(l)){l=c(l);break}l=d(l,this);case"object":if(l.is||l.style){j=(l=d(l)).offset()}}d.each(e.axis.split(""),function(r,s){var t=s=="x"?"Left":"Top",v=t.toLowerCase(),q="scroll"+t,p=m[q],o=b.max(m,s);if(j){h[q]=j[v]+(n?0:p-k.offset()[v]);if(e.margin){h[q]-=parseInt(l.css("margin"+t))||0;h[q]-=parseInt(l.css("border"+t+"Width"))||0}h[q]+=e.offset[v]||0;if(e.over[v]){h[q]+=l[s=="x"?"width":"height"]()*e.over[v]}}else{var u=l[v];h[q]=u.slice&&u.slice(-1)=="%"?parseFloat(u)/100*o:u}if(/^\d+$/.test(h[q])){h[q]=h[q]<=0?0:Math.min(h[q],o)}if(!r&&e.queue){if(p!=h[q]){i(e.onAfterFirst)}delete h[q]}});i(e.onAfter);function i(o){k.animate(h,f,e.easing,o&&function(){o.call(this,g,e)})}}).end()};b.max=function(k,j){var i=j=="x"?"Width":"Height",f="scroll"+i;if(!d(k).is("html,body")){return k[f]-d(k)[i.toLowerCase()]()}var h="client"+i,g=k.ownerDocument.documentElement,e=k.ownerDocument.body;return Math.max(g[f],e[f])-Math.min(g[h],e[h])};function c(e){return typeof e=="object"?e:{top:e,left:e}}})(jQuery);var swfobject=function(){var aq="undefined",aD="object",ab="Shockwave Flash",X="ShockwaveFlash.ShockwaveFlash",aE="application/x-shockwave-flash",ac="SWFObjectExprInst",ax="onreadystatechange",af=window,aL=document,aB=navigator,aa=false,Z=[aN],aG=[],ag=[],al=[],aJ,ad,ap,at,ak=false,aU=false,aH,an,aI=true,ah=function(){var b=typeof aL.getElementById!=aq&&typeof aL.getElementsByTagName!=aq&&typeof aL.createElement!=aq,f=aB.userAgent.toLowerCase(),d=aB.platform.toLowerCase(),i=d?/win/.test(d):/win/.test(f),k=d?/mac/.test(d):/mac/.test(f),h=/webkit/.test(f)?parseFloat(f.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,e=!+"\v1",g=[0,0,0],l=null;if(typeof aB.plugins!=aq&&typeof aB.plugins[ab]==aD){l=aB.plugins[ab].description;if(l&&!(typeof aB.mimeTypes!=aq&&aB.mimeTypes[aE]&&!aB.mimeTypes[aE].enabledPlugin)){aa=true;e=false;l=l.replace(/^.*\s+(\S+\s+\S+$)/,"$1");g[0]=parseInt(l.replace(/^(.*)\..*$/,"$1"),10);g[1]=parseInt(l.replace(/^.*\.(.*)\s.*$/,"$1"),10);g[2]=/[a-zA-Z]/.test(l)?parseInt(l.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof af.ActiveXObject!=aq){try{var j=new ActiveXObject(X);if(j){l=j.GetVariable("$version");if(l){e=true;l=l.split(" ")[1].split(",");g=[parseInt(l[0],10),parseInt(l[1],10),parseInt(l[2],10)]}}}catch(c){}}}return{w3:b,pv:g,wk:h,ie:e,win:i,mac:k}}(),aK=function(){if(!ah.w3){return}if((typeof aL.readyState!=aq&&aL.readyState=="complete")||(typeof aL.readyState==aq&&(aL.getElementsByTagName("body")[0]||aL.body))){aP()}if(!ak){if(typeof aL.addEventListener!=aq){aL.addEventListener("DOMContentLoaded",aP,false)}if(ah.ie&&ah.win){aL.attachEvent(ax,function(){if(aL.readyState=="complete"){aL.detachEvent(ax,arguments.callee);aP()}});if(af==top){(function(){if(ak){return}try{aL.documentElement.doScroll("left")}catch(b){setTimeout(arguments.callee,0);return}aP()})()}}if(ah.wk){(function(){if(ak){return}if(!/loaded|complete/.test(aL.readyState)){setTimeout(arguments.callee,0);return}aP()})()}aC(aP)}}();function aP(){if(ak){return}try{var c=aL.getElementsByTagName("body")[0].appendChild(ar("span"));c.parentNode.removeChild(c)}catch(b){return}ak=true;var e=Z.length;for(var d=0;d<e;d++){Z[d]()}}function aj(b){if(ak){b()}else{Z[Z.length]=b}}function aC(b){if(typeof af.addEventListener!=aq){af.addEventListener("load",b,false)}else{if(typeof aL.addEventListener!=aq){aL.addEventListener("load",b,false)}else{if(typeof af.attachEvent!=aq){aM(af,"onload",b)}else{if(typeof af.onload=="function"){var c=af.onload;af.onload=function(){c();b()}}else{af.onload=b}}}}}function aN(){if(aa){Y()}else{am()}}function Y(){var e=aL.getElementsByTagName("body")[0];var c=ar(aD);c.setAttribute("type",aE);var b=e.appendChild(c);if(b){var d=0;(function(){if(typeof b.GetVariable!=aq){var f=b.GetVariable("$version");if(f){f=f.split(" ")[1].split(",");ah.pv=[parseInt(f[0],10),parseInt(f[1],10),parseInt(f[2],10)]}}else{if(d<10){d++;setTimeout(arguments.callee,10);return}}e.removeChild(c);b=null;am()})()}else{am()}}function am(){var h=aG.length;if(h>0){for(var i=0;i<h;i++){var d=aG[i].id;var m=aG[i].callbackFn;var b={success:false,id:d};if(ah.pv[0]>0){var j=aS(d);if(j){if(ao(aG[i].swfVersion)&&!(ah.wk&&ah.wk<312)){ay(d,true);if(m){b.success=true;b.ref=av(d);m(b)}}else{if(aG[i].expressInstall&&au()){var f={};f.data=aG[i].expressInstall;f.width=j.getAttribute("width")||"0";f.height=j.getAttribute("height")||"0";if(j.getAttribute("class")){f.styleclass=j.getAttribute("class")}if(j.getAttribute("align")){f.align=j.getAttribute("align")}var g={};var e=j.getElementsByTagName("param");var l=e.length;for(var k=0;k<l;k++){if(e[k].getAttribute("name").toLowerCase()!="movie"){g[e[k].getAttribute("name")]=e[k].getAttribute("value")}}ae(f,g,d,m)}else{aF(j);if(m){m(b)}}}}}else{ay(d,true);if(m){var c=av(d);if(c&&typeof c.SetVariable!=aq){b.success=true;b.ref=c}m(b)}}}}}function av(c){var e=null;var d=aS(c);if(d&&d.nodeName=="OBJECT"){if(typeof d.SetVariable!=aq){e=d}else{var b=d.getElementsByTagName(aD)[0];if(b){e=b}}}return e}function au(){return !aU&&ao("6.0.65")&&(ah.win||ah.mac)&&!(ah.wk&&ah.wk<312)}function ae(g,e,i,f){aU=true;ap=f||null;at={success:false,id:i};var b=aS(i);if(b){if(b.nodeName=="OBJECT"){aJ=aO(b);ad=null}else{aJ=b;ad=i}g.id=ac;if(typeof g.width==aq||(!/%$/.test(g.width)&&parseInt(g.width,10)<310)){g.width="310"}if(typeof g.height==aq||(!/%$/.test(g.height)&&parseInt(g.height,10)<137)){g.height="137"}aL.title=aL.title.slice(0,47)+" - Flash Player Installation";var c=ah.ie&&ah.win?"ActiveX":"PlugIn",d="MMredirectURL="+af.location.toString().replace(/&/g,"%26")+"&MMplayerType="+c+"&MMdoctitle="+aL.title;if(typeof e.flashvars!=aq){e.flashvars+="&"+d}else{e.flashvars=d}if(ah.ie&&ah.win&&b.readyState!=4){var h=ar("div");i+="SWFObjectNew";h.setAttribute("id",i);b.parentNode.insertBefore(h,b);b.style.display="none";(function(){if(b.readyState==4){b.parentNode.removeChild(b)}else{setTimeout(arguments.callee,10)}})()}aA(g,e,i)}}function aF(b){if(ah.ie&&ah.win&&b.readyState!=4){var c=ar("div");b.parentNode.insertBefore(c,b);c.parentNode.replaceChild(aO(b),c);b.style.display="none";(function(){if(b.readyState==4){b.parentNode.removeChild(b)}else{setTimeout(arguments.callee,10)}})()}else{b.parentNode.replaceChild(aO(b),b)}}function aO(c){var e=ar("div");if(ah.win&&ah.ie){e.innerHTML=c.innerHTML}else{var f=c.getElementsByTagName(aD)[0];if(f){var b=f.childNodes;if(b){var g=b.length;for(var d=0;d<g;d++){if(!(b[d].nodeType==1&&b[d].nodeName=="PARAM")&&!(b[d].nodeType==8)){e.appendChild(b[d].cloneNode(true))}}}}}return e}function aA(f,h,d){var e,b=aS(d);if(ah.wk&&ah.wk<312){return e}if(b){if(typeof f.id==aq){f.id=d}if(ah.ie&&ah.win){var g="";for(var j in f){if(f[j]!=Object.prototype[j]){if(j.toLowerCase()=="data"){h.movie=f[j]}else{if(j.toLowerCase()=="styleclass"){g+=' class="'+f[j]+'"'}else{if(j.toLowerCase()!="classid"){g+=" "+j+'="'+f[j]+'"'}}}}}var i="";for(var k in h){if(h[k]!=Object.prototype[k]){i+='<param name="'+k+'" value="'+h[k]+'" />'}}b.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+g+">"+i+"</object>";ag[ag.length]=f.id;e=aS(f.id)}else{var c=ar(aD);c.setAttribute("type",aE);for(var l in f){if(f[l]!=Object.prototype[l]){if(l.toLowerCase()=="styleclass"){c.setAttribute("class",f[l])}else{if(l.toLowerCase()!="classid"){c.setAttribute(l,f[l])}}}}for(var m in h){if(h[m]!=Object.prototype[m]&&m.toLowerCase()!="movie"){aQ(c,m,h[m])}}b.parentNode.replaceChild(c,b);e=c}}return e}function aQ(c,e,d){var b=ar("param");b.setAttribute("name",e);b.setAttribute("value",d);c.appendChild(b)}function aw(b){var c=aS(b);if(c&&c.nodeName=="OBJECT"){if(ah.ie&&ah.win){c.style.display="none";(function(){if(c.readyState==4){aT(b)}else{setTimeout(arguments.callee,10)}})()}else{c.parentNode.removeChild(c)}}}function aT(b){var c=aS(b);if(c){for(var d in c){if(typeof c[d]=="function"){c[d]=null}}c.parentNode.removeChild(c)}}function aS(b){var d=null;try{d=aL.getElementById(b)}catch(c){}return d}function ar(b){return aL.createElement(b)}function aM(b,d,c){b.attachEvent(d,c);al[al.length]=[b,d,c]}function ao(b){var c=ah.pv,d=b.split(".");d[0]=parseInt(d[0],10);d[1]=parseInt(d[1],10)||0;d[2]=parseInt(d[2],10)||0;return(c[0]>d[0]||(c[0]==d[0]&&c[1]>d[1])||(c[0]==d[0]&&c[1]==d[1]&&c[2]>=d[2]))?true:false}function az(c,g,b,d){if(ah.ie&&ah.mac){return}var f=aL.getElementsByTagName("head")[0];if(!f){return}var h=(b&&typeof b=="string")?b:"screen";if(d){aH=null;an=null}if(!aH||an!=h){var e=ar("style");e.setAttribute("type","text/css");e.setAttribute("media",h);aH=f.appendChild(e);if(ah.ie&&ah.win&&typeof aL.styleSheets!=aq&&aL.styleSheets.length>0){aH=aL.styleSheets[aL.styleSheets.length-1]}an=h}if(ah.ie&&ah.win){if(aH&&typeof aH.addRule==aD){aH.addRule(c,g)}}else{if(aH&&typeof aL.createTextNode!=aq){aH.appendChild(aL.createTextNode(c+" {"+g+"}"))}}}function ay(b,d){if(!aI){return}var c=d?"visible":"hidden";if(ak&&aS(b)){aS(b).style.visibility=c}else{az("#"+b,"visibility:"+c)}}function ai(c){var b=/[\\\"<>\.;]/;var d=b.exec(c)!=null;return d&&typeof encodeURIComponent!=aq?encodeURIComponent(c):c}var aR=function(){if(ah.ie&&ah.win){window.attachEvent("onunload",function(){var b=al.length;for(var c=0;c<b;c++){al[c][0].detachEvent(al[c][1],al[c][2])}var e=ag.length;for(var d=0;d<e;d++){aw(ag[d])}for(var f in ah){ah[f]=null}ah=null;for(var g in swfobject){swfobject[g]=null}swfobject=null})}}();return{registerObject:function(b,f,d,c){if(ah.w3&&b&&f){var e={};e.id=b;e.swfVersion=f;e.expressInstall=d;e.callbackFn=c;aG[aG.length]=e;ay(b,false)}else{if(c){c({success:false,id:b})}}},getObjectById:function(b){if(ah.w3){return av(b)}},embedSWF:function(l,f,i,g,d,b,c,j,h,k){var e={success:false,id:f};if(ah.w3&&!(ah.wk&&ah.wk<312)&&l&&f&&i&&g&&d){ay(f,false);aj(function(){i+="";g+="";var r={};if(h&&typeof h===aD){for(var p in h){r[p]=h[p]}}r.data=l;r.width=i;r.height=g;var o={};if(j&&typeof j===aD){for(var q in j){o[q]=j[q]}}if(c&&typeof c===aD){for(var m in c){if(typeof o.flashvars!=aq){o.flashvars+="&"+m+"="+c[m]}else{o.flashvars=m+"="+c[m]}}}if(ao(d)){var n=aA(r,o,f);if(r.id==f){ay(f,true)}e.success=true;e.ref=n}else{if(b&&au()){r.data=b;ae(r,o,f,k);return}else{ay(f,true)}}if(k){k(e)}})}else{if(k){k(e)}}},switchOffAutoHideShow:function(){aI=false},ua:ah,getFlashPlayerVersion:function(){return{major:ah.pv[0],minor:ah.pv[1],release:ah.pv[2]}},hasFlashPlayerVersion:ao,createSWF:function(b,c,d){if(ah.w3){return aA(b,c,d)}else{return undefined}},showExpressInstall:function(c,b,e,d){if(ah.w3&&au()){ae(c,b,e,d)}},removeSWF:function(b){if(ah.w3){aw(b)}},createCSS:function(c,b,d,e){if(ah.w3){az(c,b,d,e)}},addDomLoadEvent:aj,addLoadEvent:aC,getQueryParamValue:function(c){var b=aL.location.search||aL.location.hash;if(b){if(/\?/.test(b)){b=b.split("?")[1]}if(c==null){return ai(b)}var d=b.split("&");for(var e=0;e<d.length;e++){if(d[e].substring(0,d[e].indexOf("="))==c){return ai(d[e].substring((d[e].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(aU){var b=aS(ac);if(b&&aJ){b.parentNode.replaceChild(aJ,b);if(ad){ay(ad,true);if(ah.ie&&ah.win){aJ.style.display="block"}}if(ap){ap(at)}}aU=false}}}}();if(typeof asual=="undefined"){var asual={}}if(typeof asual.util=="undefined"){asual.util={}}asual.util.Browser=new function(){var c=navigator.userAgent.toLowerCase(),b=/webkit/.test(c),f=/opera/.test(c),d=/msie/.test(c)&&!/opera/.test(c),e=/mozilla/.test(c)&&!/(compatible|webkit)/.test(c),g=parseFloat(d?c.substr(c.indexOf("msie")+4):(c.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1]);this.toString=function(){return"[class Browser]"};this.getVersion=function(){return g};this.isMSIE=function(){return d};this.isSafari=function(){return b};this.isOpera=function(){return f};this.isMozilla=function(){return e}};asual.util.Events=new function(){var d="DOMContentLoaded",k="onstop",l=window,i=document,c=[],b=asual.util,f=b.Browser,e=f.isMSIE(),h=f.isSafari();this.toString=function(){return"[class Events]"};this.addListener=function(o,m,n){c.push({o:o,t:m,l:n});if(!(m==d&&(e||h))){if(o.addEventListener){o.addEventListener(m,n,false)}else{if(o.attachEvent){o.attachEvent("on"+m,n)}}}};this.removeListener=function(q,n,o){for(var m=0,p;p=c[m];m++){if(p.o==q&&p.t==n&&p.l==o){c.splice(m,1);break}}if(!(n==d&&(e||h))){if(q.removeEventListener){q.removeEventListener(n,o,false)}else{if(q.detachEvent){q.detachEvent("on"+n,o)}}}};var j=function(){for(var n=0,m;m=c[n];n++){if(m.t!=d){b.Events.removeListener(m.o,m.t,m.l)}}};var g=function(){if(i.readyState=="interactive"){function m(){i.detachEvent(k,m);j()}i.attachEvent(k,m);l.setTimeout(function(){i.detachEvent(k,m)},0)}};if(e||h){(function(){try{if((e&&i.body)||!/loaded|complete/.test(i.readyState)){i.documentElement.doScroll("left")}}catch(n){return setTimeout(arguments.callee,0)}for(var m=0,n;n=c[m];m++){if(n.t==d){n.l.call(null)}}})()}if(e){l.attachEvent("onbeforeunload",g)}this.addListener(l,"unload",j)};asual.util.Functions=new function(){this.toString=function(){return"[class Functions]"};this.bind=function(g,c,f){for(var d=2,e,b=[];e=arguments[d];d++){b.push(e)}return function(){return g.apply(c,b)}}};var SWFAddressEvent=function(e){this.toString=function(){return"[object SWFAddressEvent]"};this.type=e;this.target=[SWFAddress][0];this.value=SWFAddress.getValue();this.path=SWFAddress.getPath();this.pathNames=SWFAddress.getPathNames();this.parameters={};var d=SWFAddress.getParameterNames();for(var c=0,b=d.length;c<b;c++){this.parameters[d[c]]=SWFAddress.getParameter(d[c])}this.parameterNames=d};SWFAddressEvent.INIT="init";SWFAddressEvent.CHANGE="change";SWFAddressEvent.INTERNAL_CHANGE="internalChange";SWFAddressEvent.EXTERNAL_CHANGE="externalChange";var SWFAddress=new function(){var _getHash=function(){var index=_l.href.indexOf("#");return index!=-1?_ec(_dc(_l.href.substr(index+1))):""};var _getWindow=function(){try{top.document;return top}catch(e){return window}};var _strictCheck=function(value,force){if(_opts.strict){value=force?(value.substr(0,1)!="/"?"/"+value:value):(value==""?"/":value)}return value};var _ieLocal=function(value,direction){return(_msie&&_l.protocol=="file:")?(direction?_value.replace(/\?/,"%3F"):_value.replace(/%253F/,"?")):value};var _searchScript=function(el){if(el.childNodes){for(var i=0,l=el.childNodes.length,s;i<l;i++){if(el.childNodes[i].src){_url=String(el.childNodes[i].src)}if(s=_searchScript(el.childNodes[i])){return s}}}};var _titleCheck=function(){if(_d.title!=_title&&_d.title.indexOf("#")!=-1){_d.title=_title}};var _listen=function(){if(!_silent){var hash=_getHash();var diff=!(_value==hash);if(_safari&&_version<523){if(_length!=_h.length){_length=_h.length;if(typeof _stack[_length-1]!=UNDEFINED){_value=_stack[_length-1]}_update.call(this,false)}}else{if(_msie&&diff){if(_version<7){_l.reload()}else{this.setValue(hash)}}else{if(diff){_value=hash;_update.call(this,false)}}}if(_msie){_titleCheck.call(this)}}};var _bodyClick=function(e){if(_popup.length>0){var popup=window.open(_popup[0],_popup[1],eval(_popup[2]));if(typeof _popup[3]!=UNDEFINED){eval(_popup[3])}}_popup=[]};var _swfChange=function(){for(var i=0,id,obj,value=SWFAddress.getValue(),setter="setSWFAddressValue";id=_ids[i];i++){obj=document.getElementById(id);if(obj){if(obj.parentNode&&typeof obj.parentNode.so!=UNDEFINED){obj.parentNode.so.call(setter,value)}else{if(!(obj&&typeof obj[setter]!=UNDEFINED)){var objects=obj.getElementsByTagName("object");var embeds=obj.getElementsByTagName("embed");obj=((objects[0]&&typeof objects[0][setter]!=UNDEFINED)?objects[0]:((embeds[0]&&typeof embeds[0][setter]!=UNDEFINED)?embeds[0]:null))}if(obj){obj[setter](value)}}}else{if(obj=document[id]){if(typeof obj[setter]!=UNDEFINED){obj[setter](value)}}}}};var _jsDispatch=function(type){this.dispatchEvent(new SWFAddressEvent(type));type=type.substr(0,1).toUpperCase()+type.substr(1);if(typeof this["on"+type]==FUNCTION){this["on"+type]()}};var _jsInit=function(){if(_util.Browser.isSafari()){_d.body.addEventListener("click",_bodyClick)}_jsDispatch.call(this,"init")};var _jsChange=function(){_swfChange();_jsDispatch.call(this,"change")};var _update=function(internal){_jsChange.call(this);if(internal){_jsDispatch.call(this,"internalChange")}else{_jsDispatch.call(this,"externalChange")}_st(_functions.bind(_track,this),10)};var _track=function(){var value=(_l.pathname+(/\/$/.test(_l.pathname)?"":"/")+this.getValue()).replace(/\/\//,"/").replace(/^\/$/,"");var fn=_t[_opts.tracker];if(typeof fn==FUNCTION){fn(value)}else{if(typeof _t.pageTracker!=UNDEFINED&&typeof _t.pageTracker._trackPageview==FUNCTION){_t.pageTracker._trackPageview(value)}else{if(typeof _t.urchinTracker==FUNCTION){_t.urchinTracker(value)}}}};var _htmlWrite=function(){var doc=_frame.contentWindow.document;doc.open();doc.write("<html><head><title>"+_d.title+"</title><script>var "+ID+' = "'+_getHash()+'";<\/script></head></html>');doc.close()};var _htmlLoad=function(){var win=_frame.contentWindow;var src=win.location.href;_value=(typeof win[ID]!=UNDEFINED?win[ID]:"");if(_value!=_getHash()){_update.call(SWFAddress,false);_l.hash=_ieLocal(_value,TRUE)}};var _load=function(){if(!_loaded){_loaded=TRUE;if(_msie&&_version<8){var frameset=_d.getElementsByTagName("frameset")[0];_frame=_d.createElement((frameset?"":"i")+"frame");if(frameset){frameset.insertAdjacentElement("beforeEnd",_frame);frameset[frameset.cols?"cols":"rows"]+=",0";_frame.src="javascript:false";_frame.noResize=true;_frame.frameBorder=_frame.frameSpacing=0}else{_frame.src="javascript:false";_frame.style.display="none";_d.body.insertAdjacentElement("afterBegin",_frame)}_st(function(){_events.addListener(_frame,"load",_htmlLoad);if(typeof _frame.contentWindow[ID]==UNDEFINED){_htmlWrite()}},50)}else{if(_safari){if(_version<418){_d.body.innerHTML+='<form id="'+ID+'" style="position:absolute;top:-9999px;" method="get"></form>';_form=_d.getElementById(ID)}if(typeof _l[ID]==UNDEFINED){_l[ID]={}}if(typeof _l[ID][_l.pathname]!=UNDEFINED){_stack=_l[ID][_l.pathname].split(",")}}}_st(_functions.bind(function(){_jsInit.call(this);_jsChange.call(this);_track.call(this)},this),1);if(_msie&&_version>=8){_d.body.onhashchange=_functions.bind(_listen,this);_si(_functions.bind(_titleCheck,this),50)}else{_si(_functions.bind(_listen,this),50)}}};var ID="swfaddress",FUNCTION="function",UNDEFINED="undefined",TRUE=true,FALSE=false,_util=asual.util,_browser=_util.Browser,_events=_util.Events,_functions=_util.Functions,_version=_browser.getVersion(),_msie=_browser.isMSIE(),_mozilla=_browser.isMozilla(),_opera=_browser.isOpera(),_safari=_browser.isSafari(),_supported=FALSE,_t=_getWindow(),_d=_t.document,_h=_t.history,_l=_t.location,_si=setInterval,_st=setTimeout,_dc=decodeURI,_ec=encodeURI,_frame,_form,_url,_title=_d.title,_length=_h.length,_silent=FALSE,_loaded=FALSE,_justset=TRUE,_juststart=TRUE,_ref=this,_stack=[],_ids=[],_popup=[],_listeners={},_value=_getHash(),_opts={history:TRUE,strict:TRUE};if(_msie&&_d.documentMode&&_d.documentMode!=_version){_version=_d.documentMode!=8?7:8}_supported=(_mozilla&&_version>=1)||(_msie&&_version>=6)||(_opera&&_version>=9.5)||(_safari&&_version>=312);if(_supported){if(_opera){history.navigationMode="compatible"}for(var i=1;i<_length;i++){_stack.push("")}_stack.push(_getHash());if(_msie&&_l.hash!=_getHash()){_l.hash="#"+_ieLocal(_getHash(),TRUE)}_searchScript(document);var _qi=_url?_url.indexOf("?"):-1;if(_qi!=-1){var param,params=_url.substr(_qi+1).split("&");for(var i=0,p;p=params[i];i++){param=p.split("=");if(/^(history|strict)$/.test(param[0])){_opts[param[0]]=(isNaN(param[1])?/^(true|yes)$/i.test(param[1]):(parseInt(param[1])!=0))}if(/^tracker$/.test(param[0])){_opts[param[0]]=param[1]}}}if(_msie){_titleCheck.call(this)}if(window==_t){_events.addListener(document,"DOMContentLoaded",_functions.bind(_load,this))}_events.addListener(_t,"load",_functions.bind(_load,this))}else{if((!_supported&&_l.href.indexOf("#")!=-1)||(_safari&&_version<418&&_l.href.indexOf("#")!=-1&&_l.search!="")){_d.open();_d.write('<html><head><meta http-equiv="refresh" content="0;url='+_l.href.substr(0,_l.href.indexOf("#"))+'" /></head></html>');_d.close()}else{_track()}}this.toString=function(){return"[class SWFAddress]"};this.back=function(){_h.back()};this.forward=function(){_h.forward()};this.up=function(){var path=this.getPath();this.setValue(path.substr(0,path.lastIndexOf("/",path.length-2)+(path.substr(path.length-1)=="/"?1:0)))};this.go=function(delta){_h.go(delta)};this.href=function(url,target){target=typeof target!=UNDEFINED?target:"_self";if(target=="_self"){self.location.href=url}else{if(target=="_top"){_l.href=url}else{if(target=="_blank"){window.open(url)}else{_t.frames[target].location.href=url}}}};this.popup=function(url,name,options,handler){try{var popup=window.open(url,name,eval(options));if(typeof handler!=UNDEFINED){eval(handler)}}catch(ex){}_popup=arguments};this.getIds=function(){return _ids};this.getId=function(index){return _ids[0]};this.setId=function(id){_ids[0]=id};this.addId=function(id){this.removeId(id);_ids.push(id)};this.removeId=function(id){for(var i=0;i<_ids.length;i++){if(id==_ids[i]){_ids.splice(i,1);break}}};this.addEventListener=function(type,listener){if(typeof _listeners[type]==UNDEFINED){_listeners[type]=[]}_listeners[type].push(listener)};this.removeEventListener=function(type,listener){if(typeof _listeners[type]!=UNDEFINED){for(var i=0,l;l=_listeners[type][i];i++){if(l==listener){break}}_listeners[type].splice(i,1)}};this.dispatchEvent=function(event){if(this.hasEventListener(event.type)){event.target=this;for(var i=0,l;l=_listeners[event.type][i];i++){l(event)}return TRUE}return FALSE};this.hasEventListener=function(type){return(typeof _listeners[type]!=UNDEFINED&&_listeners[type].length>0)};this.getBaseURL=function(){var url=_l.href;if(url.indexOf("#")!=-1){url=url.substr(0,url.indexOf("#"))}if(url.substr(url.length-1)=="/"){url=url.substr(0,url.length-1)}return url};this.getStrict=function(){return _opts.strict};this.setStrict=function(strict){_opts.strict=strict};this.getHistory=function(){return _opts.history};this.setHistory=function(history){_opts.history=history};this.getTracker=function(){return _opts.tracker};this.setTracker=function(tracker){_opts.tracker=tracker};this.getTitle=function(){return _d.title};this.setTitle=function(title){if(!_supported){return null}if(typeof title==UNDEFINED){return}if(title=="null"){title=""}title=_dc(title);_st(function(){_title=_d.title=title;if(_juststart&&_frame&&_frame.contentWindow&&_frame.contentWindow.document){_frame.contentWindow.document.title=title;_juststart=FALSE}if(!_justset&&_mozilla){_l.replace(_l.href.indexOf("#")!=-1?_l.href:_l.href+"#")}_justset=FALSE},10)};this.getStatus=function(){return _t.status};this.setStatus=function(status){if(!_supported){return null}if(typeof status==UNDEFINED){return}if(status=="null"){status=""}status=_dc(status);if(!_safari){status=_strictCheck((status!="null")?status:"",TRUE);if(status=="/"){status=""}if(!(/http(s)?:\/\//.test(status))){var index=_l.href.indexOf("#");status=(index==-1?_l.href:_l.href.substr(0,index))+"#"+status}_t.status=status}};this.resetStatus=function(){_t.status=""};this.getValue=function(){if(!_supported){return null}return _dc(_strictCheck(_ieLocal(_value,FALSE),FALSE))};this.setValue=function(value){if(!_supported){return null}if(typeof value==UNDEFINED){return}if(value=="null"){value=""}value=_ec(_dc(_strictCheck(value,TRUE)));if(value=="/"){value=""}if(_value==value){return}_justset=TRUE;_value=value;_silent=TRUE;_update.call(SWFAddress,true);_stack[_h.length]=_value;if(_safari){if(_opts.history){_l[ID][_l.pathname]=_stack.toString();_length=_h.length+1;if(_version<418){if(_l.search==""){_form.action="#"+_value;_form.submit()}}else{if(_version<523||_value==""){var evt=_d.createEvent("MouseEvents");evt.initEvent("click",TRUE,TRUE);var anchor=_d.createElement("a");anchor.href="#"+_value;anchor.dispatchEvent(evt)}else{_l.hash="#"+_value}}}else{_l.replace("#"+_value)}}else{if(_value!=_getHash()){if(_opts.history){_l.hash="#"+_dc(_ieLocal(_value,TRUE))}else{_l.replace("#"+_dc(_value))}}}if((_msie&&_version<8)&&_opts.history){_st(_htmlWrite,50)}if(_safari){_st(function(){_silent=FALSE},1)}else{_silent=FALSE}};this.getPath=function(){var value=this.getValue();if(value.indexOf("?")!=-1){return value.split("?")[0]}else{if(value.indexOf("#")!=-1){return value.split("#")[0]}else{return value}}};this.getPathNames=function(){var path=this.getPath(),names=path.split("/");if(path.substr(0,1)=="/"||path.length==0){names.splice(0,1)}if(path.substr(path.length-1,1)=="/"){names.splice(names.length-1,1)}return names};this.getQueryString=function(){var value=this.getValue(),index=value.indexOf("?");if(index!=-1&&index<value.length){return value.substr(index+1)}};this.getParameter=function(param){var value=this.getValue();var index=value.indexOf("?");if(index!=-1){value=value.substr(index+1);var p,params=value.split("&"),i=params.length,r=[];while(i--){p=params[i].split("=");if(p[0]==param){r.push(p[1])}}if(r.length!=0){return r.length!=1?r:r[0]}}};this.getParameterNames=function(){var value=this.getValue();var index=value.indexOf("?");var names=[];if(index!=-1){value=value.substr(index+1);if(value!=""&&value.indexOf("=")!=-1){var params=value.split("&"),i=0;while(i<params.length){names.push(params[i].split("=")[0]);i++}}}return names};this.onInit=null;this.onChange=null;this.onInternalChange=null;this.onExternalChange=null;(function(){var _args;if(typeof FlashObject!=UNDEFINED){SWFObject=FlashObject}if(typeof SWFObject!=UNDEFINED&&SWFObject.prototype&&SWFObject.prototype.write){var _s1=SWFObject.prototype.write;SWFObject.prototype.write=function(){_args=arguments;if(this.getAttribute("version").major<8){this.addVariable("$swfaddress",SWFAddress.getValue());((typeof _args[0]=="string")?document.getElementById(_args[0]):_args[0]).so=this}var success;if(success=_s1.apply(this,_args)){_ref.addId(this.getAttribute("id"))}return success}}if(typeof swfobject!=UNDEFINED){var _s2r=swfobject.registerObject;swfobject.registerObject=function(){_args=arguments;_s2r.apply(this,_args);_ref.addId(_args[0])};var _s2c=swfobject.createSWF;swfobject.createSWF=function(){_args=arguments;var swf=_s2c.apply(this,_args);if(swf){_ref.addId(_args[0].id)}return swf};var _s2e=swfobject.embedSWF;swfobject.embedSWF=function(){_args=arguments;if(typeof _args[8]==UNDEFINED){_args[8]={}}if(typeof _args[8].id==UNDEFINED){_args[8].id=_args[1]}_s2e.apply(this,_args);_ref.addId(_args[8].id)}}if(typeof UFO!=UNDEFINED){var _u=UFO.create;UFO.create=function(){_args=arguments;_u.apply(this,_args);_ref.addId(_args[0].id)}}if(typeof AC_FL_RunContent!=UNDEFINED){var _a=AC_FL_RunContent;AC_FL_RunContent=function(){_args=arguments;_a.apply(this,_args);for(var i=0,l=_args.length;i<l;i++){if(_args[i]=="id"){_ref.addId(_args[i+1])}}}}})()};var SWFUpload;if(SWFUpload==undefined){SWFUpload=function(b){this.initSWFUpload(b)}}SWFUpload.prototype.initSWFUpload=function(c){try{this.customSettings={};this.settings=c;this.eventQueue=[];this.movieName="SWFUpload_"+SWFUpload.movieCount++;this.movieElement=null;SWFUpload.instances[this.movieName]=this;this.initSettings();this.loadFlash();this.displayDebugInfo()}catch(b){delete SWFUpload.instances[this.movieName];throw b}};SWFUpload.instances={};SWFUpload.movieCount=0;SWFUpload.version="2.2.0 2009-03-25";SWFUpload.QUEUE_ERROR={QUEUE_LIMIT_EXCEEDED:-100,FILE_EXCEEDS_SIZE_LIMIT:-110,ZERO_BYTE_FILE:-120,INVALID_FILETYPE:-130};SWFUpload.UPLOAD_ERROR={HTTP_ERROR:-200,MISSING_UPLOAD_URL:-210,IO_ERROR:-220,SECURITY_ERROR:-230,UPLOAD_LIMIT_EXCEEDED:-240,UPLOAD_FAILED:-250,SPECIFIED_FILE_ID_NOT_FOUND:-260,FILE_VALIDATION_FAILED:-270,FILE_CANCELLED:-280,UPLOAD_STOPPED:-290};SWFUpload.FILE_STATUS={QUEUED:-1,IN_PROGRESS:-2,ERROR:-3,COMPLETE:-4,CANCELLED:-5};SWFUpload.BUTTON_ACTION={SELECT_FILE:-100,SELECT_FILES:-110,START_UPLOAD:-120};SWFUpload.CURSOR={ARROW:-1,HAND:-2};SWFUpload.WINDOW_MODE={WINDOW:"window",TRANSPARENT:"transparent",OPAQUE:"opaque"};SWFUpload.completeURL=function(b){if(typeof(b)!=="string"||b.match(/^https?:\/\//i)||b.match(/^\//)){return b}var d=window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"");var c=window.location.pathname.lastIndexOf("/");if(c<=0){path="/"}else{path=window.location.pathname.substr(0,c)+"/"}return path+b};SWFUpload.prototype.initSettings=function(){this.ensureDefault=function(c,b){this.settings[c]=(this.settings[c]==undefined)?b:this.settings[c]};this.ensureDefault("upload_url","");this.ensureDefault("preserve_relative_urls",false);this.ensureDefault("file_post_name","Filedata");this.ensureDefault("post_params",{});this.ensureDefault("use_query_string",false);this.ensureDefault("requeue_on_error",false);this.ensureDefault("http_success",[]);this.ensureDefault("assume_success_timeout",0);this.ensureDefault("file_types","*.*");this.ensureDefault("file_types_description","All Files");this.ensureDefault("file_size_limit",0);this.ensureDefault("file_upload_limit",0);this.ensureDefault("file_queue_limit",0);this.ensureDefault("flash_url","swfupload.swf");this.ensureDefault("prevent_swf_caching",true);this.ensureDefault("button_image_url","");this.ensureDefault("button_width",1);this.ensureDefault("button_height",1);this.ensureDefault("button_text","");this.ensureDefault("button_text_style","color: #000000; font-size: 16pt;");this.ensureDefault("button_text_top_padding",0);this.ensureDefault("button_text_left_padding",0);this.ensureDefault("button_action",SWFUpload.BUTTON_ACTION.SELECT_FILES);this.ensureDefault("button_disabled",false);this.ensureDefault("button_placeholder_id","");this.ensureDefault("button_placeholder",null);this.ensureDefault("button_cursor",SWFUpload.CURSOR.ARROW);this.ensureDefault("button_window_mode",SWFUpload.WINDOW_MODE.WINDOW);this.ensureDefault("debug",false);this.settings.debug_enabled=this.settings.debug;this.settings.return_upload_start_handler=this.returnUploadStart;this.ensureDefault("swfupload_loaded_handler",null);this.ensureDefault("file_dialog_start_handler",null);this.ensureDefault("file_queued_handler",null);this.ensureDefault("file_queue_error_handler",null);this.ensureDefault("file_dialog_complete_handler",null);this.ensureDefault("upload_start_handler",null);this.ensureDefault("upload_progress_handler",null);this.ensureDefault("upload_error_handler",null);this.ensureDefault("upload_success_handler",null);this.ensureDefault("upload_complete_handler",null);this.ensureDefault("debug_handler",this.debugMessage);this.ensureDefault("custom_settings",{});this.customSettings=this.settings.custom_settings;if(!!this.settings.prevent_swf_caching){this.settings.flash_url=this.settings.flash_url+(this.settings.flash_url.indexOf("?")<0?"?":"&")+"preventswfcaching="+new Date().getTime()}if(!this.settings.preserve_relative_urls){this.settings.upload_url=SWFUpload.completeURL(this.settings.upload_url);this.settings.button_image_url=SWFUpload.completeURL(this.settings.button_image_url)}delete this.ensureDefault};SWFUpload.prototype.loadFlash=function(){var b,c;if(document.getElementById(this.movieName)!==null){throw"ID "+this.movieName+" is already in use. The Flash Object could not be added"}b=document.getElementById(this.settings.button_placeholder_id)||this.settings.button_placeholder;if(b==undefined){throw"Could not find the placeholder element: "+this.settings.button_placeholder_id}c=document.createElement("div");c.innerHTML=this.getFlashHTML();b.parentNode.replaceChild(c.firstChild,b);if(window[this.movieName]==undefined){window[this.movieName]=this.getMovieElement()}};SWFUpload.prototype.getFlashHTML=function(){return['<object id="',this.movieName,'" type="application/x-shockwave-flash" data="',this.settings.flash_url,'" width="',this.settings.button_width,'" height="',this.settings.button_height,'" class="swfupload">','<param name="wmode" value="',this.settings.button_window_mode,'" />','<param name="movie" value="',this.settings.flash_url,'" />','<param name="quality" value="high" />','<param name="menu" value="false" />','<param name="allowScriptAccess" value="always" />','<param name="flashvars" value="'+this.getFlashVars()+'" />',"</object>"].join("")};SWFUpload.prototype.getFlashVars=function(){var c=this.buildParamString();var b=this.settings.http_success.join(",");return["movieName=",encodeURIComponent(this.movieName),"&amp;uploadURL=",encodeURIComponent(this.settings.upload_url),"&amp;useQueryString=",encodeURIComponent(this.settings.use_query_string),"&amp;requeueOnError=",encodeURIComponent(this.settings.requeue_on_error),"&amp;httpSuccess=",encodeURIComponent(b),"&amp;assumeSuccessTimeout=",encodeURIComponent(this.settings.assume_success_timeout),"&amp;params=",encodeURIComponent(c),"&amp;filePostName=",encodeURIComponent(this.settings.file_post_name),"&amp;fileTypes=",encodeURIComponent(this.settings.file_types),"&amp;fileTypesDescription=",encodeURIComponent(this.settings.file_types_description),"&amp;fileSizeLimit=",encodeURIComponent(this.settings.file_size_limit),"&amp;fileUploadLimit=",encodeURIComponent(this.settings.file_upload_limit),"&amp;fileQueueLimit=",encodeURIComponent(this.settings.file_queue_limit),"&amp;debugEnabled=",encodeURIComponent(this.settings.debug_enabled),"&amp;buttonImageURL=",encodeURIComponent(this.settings.button_image_url),"&amp;buttonWidth=",encodeURIComponent(this.settings.button_width),"&amp;buttonHeight=",encodeURIComponent(this.settings.button_height),"&amp;buttonText=",encodeURIComponent(this.settings.button_text),"&amp;buttonTextTopPadding=",encodeURIComponent(this.settings.button_text_top_padding),"&amp;buttonTextLeftPadding=",encodeURIComponent(this.settings.button_text_left_padding),"&amp;buttonTextStyle=",encodeURIComponent(this.settings.button_text_style),"&amp;buttonAction=",encodeURIComponent(this.settings.button_action),"&amp;buttonDisabled=",encodeURIComponent(this.settings.button_disabled),"&amp;buttonCursor=",encodeURIComponent(this.settings.button_cursor)].join("")};SWFUpload.prototype.getMovieElement=function(){if(this.movieElement==undefined){this.movieElement=document.getElementById(this.movieName)}if(this.movieElement===null){throw"Could not find Flash element"}return this.movieElement};SWFUpload.prototype.buildParamString=function(){var d=this.settings.post_params;var c=[];if(typeof(d)==="object"){for(var b in d){if(d.hasOwnProperty(b)){c.push(encodeURIComponent(b.toString())+"="+encodeURIComponent(d[b].toString()))}}}return c.join("&amp;")};SWFUpload.prototype.destroy=function(){try{this.cancelUpload(null,false);var b=null;b=this.getMovieElement();if(b&&typeof(b.CallFunction)==="unknown"){for(var d in b){try{if(typeof(b[d])==="function"){b[d]=null}}catch(f){}}try{b.parentNode.removeChild(b)}catch(c){}}window[this.movieName]=null;SWFUpload.instances[this.movieName]=null;delete SWFUpload.instances[this.movieName];this.movieElement=null;this.settings=null;this.customSettings=null;this.eventQueue=null;this.movieName=null;return true}catch(e){return false}};SWFUpload.prototype.displayDebugInfo=function(){this.debug(["---SWFUpload Instance Info---\n","Version: ",SWFUpload.version,"\n","Movie Name: ",this.movieName,"\n","Settings:\n","\t","upload_url:               ",this.settings.upload_url,"\n","\t","flash_url:                ",this.settings.flash_url,"\n","\t","use_query_string:         ",this.settings.use_query_string.toString(),"\n","\t","requeue_on_error:         ",this.settings.requeue_on_error.toString(),"\n","\t","http_success:             ",this.settings.http_success.join(", "),"\n","\t","assume_success_timeout:   ",this.settings.assume_success_timeout,"\n","\t","file_post_name:           ",this.settings.file_post_name,"\n","\t","post_params:              ",this.settings.post_params.toString(),"\n","\t","file_types:               ",this.settings.file_types,"\n","\t","file_types_description:   ",this.settings.file_types_description,"\n","\t","file_size_limit:          ",this.settings.file_size_limit,"\n","\t","file_upload_limit:        ",this.settings.file_upload_limit,"\n","\t","file_queue_limit:         ",this.settings.file_queue_limit,"\n","\t","debug:                    ",this.settings.debug.toString(),"\n","\t","prevent_swf_caching:      ",this.settings.prevent_swf_caching.toString(),"\n","\t","button_placeholder_id:    ",this.settings.button_placeholder_id.toString(),"\n","\t","button_placeholder:       ",(this.settings.button_placeholder?"Set":"Not Set"),"\n","\t","button_image_url:         ",this.settings.button_image_url.toString(),"\n","\t","button_width:             ",this.settings.button_width.toString(),"\n","\t","button_height:            ",this.settings.button_height.toString(),"\n","\t","button_text:              ",this.settings.button_text.toString(),"\n","\t","button_text_style:        ",this.settings.button_text_style.toString(),"\n","\t","button_text_top_padding:  ",this.settings.button_text_top_padding.toString(),"\n","\t","button_text_left_padding: ",this.settings.button_text_left_padding.toString(),"\n","\t","button_action:            ",this.settings.button_action.toString(),"\n","\t","button_disabled:          ",this.settings.button_disabled.toString(),"\n","\t","custom_settings:          ",this.settings.custom_settings.toString(),"\n","Event Handlers:\n","\t","swfupload_loaded_handler assigned:  ",(typeof this.settings.swfupload_loaded_handler==="function").toString(),"\n","\t","file_dialog_start_handler assigned: ",(typeof this.settings.file_dialog_start_handler==="function").toString(),"\n","\t","file_queued_handler assigned:       ",(typeof this.settings.file_queued_handler==="function").toString(),"\n","\t","file_queue_error_handler assigned:  ",(typeof this.settings.file_queue_error_handler==="function").toString(),"\n","\t","upload_start_handler assigned:      ",(typeof this.settings.upload_start_handler==="function").toString(),"\n","\t","upload_progress_handler assigned:   ",(typeof this.settings.upload_progress_handler==="function").toString(),"\n","\t","upload_error_handler assigned:      ",(typeof this.settings.upload_error_handler==="function").toString(),"\n","\t","upload_success_handler assigned:    ",(typeof this.settings.upload_success_handler==="function").toString(),"\n","\t","upload_complete_handler assigned:   ",(typeof this.settings.upload_complete_handler==="function").toString(),"\n","\t","debug_handler assigned:             ",(typeof this.settings.debug_handler==="function").toString(),"\n"].join(""))};SWFUpload.prototype.addSetting=function(c,d,b){if(d==undefined){return(this.settings[c]=b)}else{return(this.settings[c]=d)}};SWFUpload.prototype.getSetting=function(b){if(this.settings[b]!=undefined){return this.settings[b]}return""};SWFUpload.prototype.callFlash=function(functionName,argumentArray){argumentArray=argumentArray||[];var movieElement=this.getMovieElement();var returnValue,returnString;try{returnString=movieElement.CallFunction('<invoke name="'+functionName+'" returntype="javascript">'+__flash__argumentsToXML(argumentArray,0)+"</invoke>");returnValue=eval(returnString)}catch(ex){throw"Call to "+functionName+" failed"}if(returnValue!=undefined&&typeof returnValue.post==="object"){returnValue=this.unescapeFilePostParams(returnValue)}return returnValue};SWFUpload.prototype.selectFile=function(){this.callFlash("SelectFile")};SWFUpload.prototype.selectFiles=function(){this.callFlash("SelectFiles")};SWFUpload.prototype.startUpload=function(b){this.callFlash("StartUpload",[b])};SWFUpload.prototype.cancelUpload=function(b,c){if(c!==false){c=true}this.callFlash("CancelUpload",[b,c])};SWFUpload.prototype.stopUpload=function(){this.callFlash("StopUpload")};SWFUpload.prototype.getStats=function(){return this.callFlash("GetStats")};SWFUpload.prototype.setStats=function(b){this.callFlash("SetStats",[b])};SWFUpload.prototype.getFile=function(b){if(typeof(b)==="number"){return this.callFlash("GetFileByIndex",[b])}else{return this.callFlash("GetFile",[b])}};SWFUpload.prototype.addFileParam=function(b,c,d){return this.callFlash("AddFileParam",[b,c,d])};SWFUpload.prototype.removeFileParam=function(b,c){this.callFlash("RemoveFileParam",[b,c])};SWFUpload.prototype.setUploadURL=function(b){this.settings.upload_url=b.toString();this.callFlash("SetUploadURL",[b])};SWFUpload.prototype.setPostParams=function(b){this.settings.post_params=b;this.callFlash("SetPostParams",[b])};SWFUpload.prototype.addPostParam=function(b,c){this.settings.post_params[b]=c;this.callFlash("SetPostParams",[this.settings.post_params])};SWFUpload.prototype.removePostParam=function(b){delete this.settings.post_params[b];this.callFlash("SetPostParams",[this.settings.post_params])};SWFUpload.prototype.setFileTypes=function(b,c){this.settings.file_types=b;this.settings.file_types_description=c;this.callFlash("SetFileTypes",[b,c])};SWFUpload.prototype.setFileSizeLimit=function(b){this.settings.file_size_limit=b;this.callFlash("SetFileSizeLimit",[b])};SWFUpload.prototype.setFileUploadLimit=function(b){this.settings.file_upload_limit=b;this.callFlash("SetFileUploadLimit",[b])};SWFUpload.prototype.setFileQueueLimit=function(b){this.settings.file_queue_limit=b;this.callFlash("SetFileQueueLimit",[b])};SWFUpload.prototype.setFilePostName=function(b){this.settings.file_post_name=b;this.callFlash("SetFilePostName",[b])};SWFUpload.prototype.setUseQueryString=function(b){this.settings.use_query_string=b;this.callFlash("SetUseQueryString",[b])};SWFUpload.prototype.setRequeueOnError=function(b){this.settings.requeue_on_error=b;this.callFlash("SetRequeueOnError",[b])};SWFUpload.prototype.setHTTPSuccess=function(b){if(typeof b==="string"){b=b.replace(" ","").split(",")}this.settings.http_success=b;this.callFlash("SetHTTPSuccess",[b])};SWFUpload.prototype.setAssumeSuccessTimeout=function(b){this.settings.assume_success_timeout=b;this.callFlash("SetAssumeSuccessTimeout",[b])};SWFUpload.prototype.setDebugEnabled=function(b){this.settings.debug_enabled=b;this.callFlash("SetDebugEnabled",[b])};SWFUpload.prototype.setButtonImageURL=function(b){if(b==undefined){b=""}this.settings.button_image_url=b;this.callFlash("SetButtonImageURL",[b])};SWFUpload.prototype.setButtonDimensions=function(d,b){this.settings.button_width=d;this.settings.button_height=b;var c=this.getMovieElement();if(c!=undefined){c.style.width=d+"px";c.style.height=b+"px"}this.callFlash("SetButtonDimensions",[d,b])};SWFUpload.prototype.setButtonText=function(b){this.settings.button_text=b;this.callFlash("SetButtonText",[b])};SWFUpload.prototype.setButtonTextPadding=function(c,b){this.settings.button_text_top_padding=b;this.settings.button_text_left_padding=c;this.callFlash("SetButtonTextPadding",[c,b])};SWFUpload.prototype.setButtonTextStyle=function(b){this.settings.button_text_style=b;this.callFlash("SetButtonTextStyle",[b])};SWFUpload.prototype.setButtonDisabled=function(b){this.settings.button_disabled=b;this.callFlash("SetButtonDisabled",[b])};SWFUpload.prototype.setButtonAction=function(b){this.settings.button_action=b;this.callFlash("SetButtonAction",[b])};SWFUpload.prototype.setButtonCursor=function(b){this.settings.button_cursor=b;this.callFlash("SetButtonCursor",[b])};SWFUpload.prototype.queueEvent=function(c,d){if(d==undefined){d=[]}else{if(!(d instanceof Array)){d=[d]}}var b=this;if(typeof this.settings[c]==="function"){this.eventQueue.push(function(){this.settings[c].apply(this,d)});setTimeout(function(){b.executeNextEvent()},0)}else{if(this.settings[c]!==null){throw"Event handler "+c+" is unknown or is not a function"}}};SWFUpload.prototype.executeNextEvent=function(){var b=this.eventQueue?this.eventQueue.shift():null;if(typeof(b)==="function"){b.apply(this)}};SWFUpload.prototype.unescapeFilePostParams=function(d){var f=/[$]([0-9a-f]{4})/i;var g={};var e;if(d!=undefined){for(var b in d.post){if(d.post.hasOwnProperty(b)){e=b;var c;while((c=f.exec(e))!==null){e=e.replace(c[0],String.fromCharCode(parseInt("0x"+c[1],16)))}g[e]=d.post[b]}}d.post=g}return d};SWFUpload.prototype.testExternalInterface=function(){try{return this.callFlash("TestExternalInterface")}catch(b){return false}};SWFUpload.prototype.flashReady=function(){var b=this.getMovieElement();if(!b){this.debug("Flash called back ready but the flash movie can't be found.");return}this.cleanUp(b);this.queueEvent("swfupload_loaded_handler")};SWFUpload.prototype.cleanUp=function(b){try{if(this.movieElement&&typeof(b.CallFunction)==="unknown"){this.debug("Removing Flash functions hooks (this should only run in IE and should prevent memory leaks)");for(var d in b){try{if(typeof(b[d])==="function"){b[d]=null}}catch(c){}}}}catch(e){}window.__flash__removeCallback=function(f,g){try{if(f){f[g]=null}}catch(h){}}};SWFUpload.prototype.fileDialogStart=function(){this.queueEvent("file_dialog_start_handler")};SWFUpload.prototype.fileQueued=function(b){b=this.unescapeFilePostParams(b);this.queueEvent("file_queued_handler",b)};SWFUpload.prototype.fileQueueError=function(b,d,c){b=this.unescapeFilePostParams(b);this.queueEvent("file_queue_error_handler",[b,d,c])};SWFUpload.prototype.fileDialogComplete=function(c,d,b){this.queueEvent("file_dialog_complete_handler",[c,d,b])};SWFUpload.prototype.uploadStart=function(b){b=this.unescapeFilePostParams(b);this.queueEvent("return_upload_start_handler",b)};SWFUpload.prototype.returnUploadStart=function(b){var c;if(typeof this.settings.upload_start_handler==="function"){b=this.unescapeFilePostParams(b);c=this.settings.upload_start_handler.call(this,b)}else{if(this.settings.upload_start_handler!=undefined){throw"upload_start_handler must be a function"}}if(c===undefined){c=true}c=!!c;this.callFlash("ReturnUploadStart",[c])};SWFUpload.prototype.uploadProgress=function(b,d,c){b=this.unescapeFilePostParams(b);this.queueEvent("upload_progress_handler",[b,d,c])};SWFUpload.prototype.uploadError=function(b,d,c){b=this.unescapeFilePostParams(b);this.queueEvent("upload_error_handler",[b,d,c])};SWFUpload.prototype.uploadSuccess=function(c,b,d){c=this.unescapeFilePostParams(c);this.queueEvent("upload_success_handler",[c,b,d])};SWFUpload.prototype.uploadComplete=function(b){b=this.unescapeFilePostParams(b);this.queueEvent("upload_complete_handler",b)};SWFUpload.prototype.debug=function(b){this.queueEvent("debug_handler",b)};SWFUpload.prototype.debugMessage=function(d){if(this.settings.debug){var b,e=[];if(typeof d==="object"&&typeof d.name==="string"&&typeof d.message==="string"){for(var c in d){if(d.hasOwnProperty(c)){e.push(c+": "+d[c])}}b=e.join("\n")||"";e=b.split("\n");b="EXCEPTION: "+e.join("\nEXCEPTION: ");SWFUpload.Console.writeLine(b)}else{SWFUpload.Console.writeLine(d)}}};SWFUpload.Console={};SWFUpload.Console.writeLine=function(e){var c,b;try{c=document.getElementById("SWFUpload_Console");if(!c){b=document.createElement("form");document.getElementsByTagName("body")[0].appendChild(b);c=document.createElement("textarea");c.id="SWFUpload_Console";c.style.fontFamily="monospace";c.setAttribute("wrap","off");c.wrap="off";c.style.overflow="auto";c.style.width="700px";c.style.height="350px";c.style.margin="5px";b.appendChild(c)}c.value+=e+"\n";c.scrollTop=c.scrollHeight-c.clientHeight}catch(d){alert("Exception: "+d.name+" Message: "+d.message)}};
/*
* Copyright (c) 2009 Simo Kinnunen.
* Licensed under the MIT license.
*
* @version 1.09
*/
var Cufon=(function(){var n=function(){return n.replace.apply(null,arguments)};var y=n.DOM={ready:(function(){var D=false,F={loaded:1,complete:1};var C=[],E=function(){if(D){return}D=true;for(var G;G=C.shift();G()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",E,false);window.addEventListener("pageshow",E,false)}if(!window.opera&&document.readyState){(function(){F[document.readyState]?E():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");E()}catch(G){setTimeout(arguments.callee,1)}})()}r(window,"load",E);return function(G){if(!arguments.length){E()}else{D?G():C.push(G)}}})(),root:function(){return document.documentElement||document.body}};var o=n.CSS={Size:function(D,C){this.value=parseFloat(D);this.unit=String(D).match(/[a-z%]*$/)[0]||"px";this.convert=function(E){return E/C*this.value};this.convertFrom=function(E){return E/this.value*C};this.toString=function(){return this.value+this.unit}},addClass:function(D,C){var E=D.className;D.className=E+(E&&" ")+C;return D},color:k(function(D){var C={};C.color=D.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(F,E,G){C.opacity=parseFloat(G);return"rgb("+E+")"});return C}),fontStretch:k(function(C){if(typeof C=="number"){return C}if(/%$/.test(C)){return parseFloat(C)/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}[C]||1}),getStyle:function(D){var C=document.defaultView;if(C&&C.getComputedStyle){return new b(C.getComputedStyle(D,null))}if(D.currentStyle){return new b(D.currentStyle)}return new b(D.style)},gradient:k(function(G){var H={id:G,type:G.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},D=G.substr(G.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var F=0,C=D.length,E;F<C;++F){E=D[F].split("=",2).reverse();H.stops.push([E[1]||F/(C-1),E[0]])}return H}),quotedList:k(function(F){var E=[],D=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,C;while(C=D.exec(F)){E.push(C[3]||C[1])}return E}),recognizesMedia:k(function(H){var F=document.createElement("style"),E,D,C;F.type="text/css";F.media=H;try{F.appendChild(document.createTextNode("/**/"))}catch(G){}D=h("head")[0];D.insertBefore(F,D.firstChild);E=(F.sheet||F.styleSheet);C=E&&!E.disabled;D.removeChild(F);return C}),removeClass:function(E,D){var C=RegExp("(?:^|\\s+)"+D+"(?=\\s|$)","g");E.className=E.className.replace(C,"");return E},supports:function(E,D){var C=document.createElement("span").style;if(C[E]===undefined){return false}C[E]=D;return C[E]===D},textAlign:function(F,E,C,D){if(E.get("textAlign")=="right"){if(C>0){F=" "+F}}else{if(C<D-1){F+=" "}}return F},textShadow:k(function(G){if(G=="none"){return null}var F=[],H={},C,D=0;var E=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(C=E.exec(G)){if(C[0]==","){F.push(H);H={};D=0}else{if(C[1]){H.color=C[1]}else{H[["offX","offY","blur"][D++]]=C[2]}}}F.push(H);return F}),textTransform:(function(){var C={uppercase:function(D){return D.toUpperCase()},lowercase:function(D){return D.toLowerCase()},capitalize:function(D){return D.replace(/\b./g,function(E){return E.toUpperCase()})}};return function(F,E){var D=C[E.get("textTransform")];return D?D(F):F}})(),whiteSpace:(function(){var E={inline:1,"inline-block":1,"run-in":1};var D=/^\s+/,C=/\s+$/;return function(I,G,H,F){if(F){if(F.nodeName.toLowerCase()=="br"){I=I.replace(D,"")}}if(E[G.get("display")]){return I}if(!H.previousSibling){I=I.replace(D,"")}if(!H.nextSibling){I=I.replace(C,"")}return I}})()};o.ready=(function(){var C=!o.recognizesMedia("all"),F=false;var E=[],I=function(){C=true;for(var L;L=E.shift();L()){}};var J=h("link"),K=h("style");function D(L){return L.disabled||H(L.sheet,L.media||"screen")}function H(N,Q){if(!o.recognizesMedia(Q||"all")){return true}if(!N||N.disabled){return false}try{var R=N.cssRules,P;if(R){search:for(var M=0,L=R.length;P=R[M],M<L;++M){switch(P.type){case 2:break;case 3:if(!H(P.styleSheet,P.media.mediaText)){return false}break;default:break search}}}}catch(O){}return true}function G(){if(document.createStyleSheet){return true}var M,L;for(L=0;M=J[L];++L){if(M.rel.toLowerCase()=="stylesheet"&&!D(M)){return false}}for(L=0;M=K[L];++L){if(!D(M)){return false}}return true}y.ready(function(){if(!F){F=o.getStyle(document.body).isUsable()}if(C||(F&&G())){I()}else{setTimeout(arguments.callee,10)}});return function(L){if(C){L()}else{E.push(L)}}})();function t(E){var D=this.face=E.face,C={"\u0020":1,"\u00a0":1,"\u3000":1};this.glyphs=E.glyphs;this.w=E.w;this.baseSize=parseInt(D["units-per-em"],10);this.family=D["font-family"].toLowerCase();this.weight=D["font-weight"];this.style=D["font-style"]||"normal";this.viewBox=(function(){var G=D.bbox.split(/\s+/);var F={minX:parseInt(G[0],10),minY:parseInt(G[1],10),maxX:parseInt(G[2],10),maxY:parseInt(G[3],10)};F.width=F.maxX-F.minX;F.height=F.maxY-F.minY;F.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")};return F})();this.ascent=-parseInt(D.ascent,10);this.descent=-parseInt(D.descent,10);this.height=-this.ascent+this.descent;this.spacing=function(M,P,F){var Q=this.glyphs,N,L,H,R=[],G=0,O,K=-1,J=-1,I;while(I=M[++K]){N=Q[I]||this.missingGlyph;if(!N){continue}if(L){G-=H=L[I]||0;R[J]-=H}O=N.w;if(isNaN(O)){O=+this.w}if(O>0){O+=P;if(C[I]){O+=F}}G+=R[++J]=~~O;L=N.k}R.total=G;return R}}function g(){var D={},C={oblique:"italic",italic:"oblique"};this.add=function(E){(D[E.style]||(D[E.style]={}))[E.weight]=E};this.get=function(I,J){var H=D[I]||D[C[I]]||D.normal||D.italic||D.oblique;if(!H){return null}J={normal:400,bold:700}[J]||parseInt(J,10);if(H[J]){return H[J]}var F={1:1,99:0}[J%100],L=[],G,E;if(F===undefined){F=J>400}if(J==500){J=400}for(var K in H){if(!l(H,K)){continue}K=parseInt(K,10);if(!G||K<G){G=K}if(!E||K>E){E=K}L.push(K)}if(J<G){J=G}if(J>E){J=E}L.sort(function(N,M){return(F?(N>=J&&M>=J)?N<M:N>M:(N<=J&&M<=J)?N>M:N<M)?-1:1});return H[L[0]]}}function s(){function E(G,I){try{if(G.contains){return G.contains(I)}return G.compareDocumentPosition(I)&16}catch(H){}return false}function C(H){var G=H.relatedTarget;if(G&&E(this,G)){return}D(this,H.type=="mouseover")}function F(G){D(this,G.type=="mouseenter")}function D(G,H){setTimeout(function(){var I=e.get(G).options;n.replace(G,H?i(I,I.hover):I,true)},10)}this.attach=function(G){if(G.onmouseenter===undefined){r(G,"mouseover",C);r(G,"mouseout",C)}else{r(G,"mouseenter",F);r(G,"mouseleave",F)}}}function v(){var D=[],E={};function C(I){var F=[],H;for(var G=0;H=I[G];++G){F[G]=D[E[H]]}return F}this.add=function(G,F){E[G]=D.push(F)-1};this.repeat=function(){var F=arguments.length?C(arguments):D,G;for(var H=0;G=F[H++];){n.replace(G[0],G[1],true)}}}function B(){var E={},C=0;function D(F){return F.cufid||(F.cufid=++C)}this.get=function(F){var G=D(F);return E[G]||(E[G]={})}}function b(C){var E={},D={};this.extend=function(F){for(var G in F){if(l(F,G)){E[G]=F[G]}}return this};this.get=function(F){return E[F]!=undefined?E[F]:C[F]};this.getSize=function(G,F){return D[G]||(D[G]=new o.Size(this.get(G),F))};this.isUsable=function(){return !!C}}function r(D,C,E){if(D.addEventListener){D.addEventListener(C,E,false)}else{if(D.attachEvent){D.attachEvent("on"+C,function(){return E.call(D,window.event)})}}}function w(D,C){var E=e.get(D);if(E.options){return D}if(C.hover&&C.hoverables[D.nodeName.toLowerCase()]){c.attach(D)}E.options=C;return D}function k(C){var D={};return function(E){if(!l(D,E)){D[E]=C.apply(null,arguments)}return D[E]}}function d(G,F){var C=o.quotedList(F.get("fontFamily").toLowerCase()),E;for(var D=0;E=C[D];++D){if(j[E]){return j[E].get(F.get("fontStyle"),F.get("fontWeight"))}}return null}function h(C){return document.getElementsByTagName(C)}function l(D,C){return D.hasOwnProperty(C)}function i(){var D={},C,G;for(var F=0,E=arguments.length;C=arguments[F],F<E;++F){for(G in C){if(l(C,G)){D[G]=C[G]}}}return D}function p(F,N,D,O,G,E){var L=document.createDocumentFragment(),I;if(N===""){return L}var M=O.separate;var J=N.split(q[M]),C=(M=="words");if(C&&u){if(/^\s/.test(N)){J.unshift("")}if(/\s$/.test(N)){J.push("")}}for(var K=0,H=J.length;K<H;++K){I=A[O.engine](F,C?o.textAlign(J[K],D,K,H):J[K],D,O,G,E,K<H-1);if(I){L.appendChild(I)}}return L}function m(E,N){var D=E.nodeName.toLowerCase();if(N.ignore[D]){return}var F=!N.textless[D];var C=o.getStyle(w(E,N)).extend(N);var G=d(E,C),H,L,J,I,M,K;if(!G){return}for(H=E.firstChild;H;H=J){L=H.nodeType;J=H.nextSibling;if(F&&L==3){if(I){I.appendData(H.data);E.removeChild(H)}else{I=H}if(J){continue}}if(I){E.replaceChild(p(G,o.whiteSpace(I.data,C,I,K),C,N,H,E),I);I=null}if(L==1){if(H.firstChild){if(H.nodeName.toLowerCase()=="cufon"){A[N.engine](G,null,C,N,H,E)}else{arguments.callee(H,N)}}K=H}}}var u=" ".split(/\s+/).length==0;var e=new B();var c=new s();var z=new v();var f=false;var A={},j={},x={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,noscript: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(C){return jQuery(C)})||(window.dojo&&dojo.query)||(window.glow&&glow.dom&&glow.dom.get)||(window.Ext&&Ext.query)||(window.YAHOO&&YAHOO.util&&YAHOO.util.Selector&&YAHOO.util.Selector.query)||(window.$$&&function(C){return $$(C)})||(window.$&&function(C){return $(C)})||(document.querySelectorAll&&function(C){return document.querySelectorAll(C)})||h),separate:"words",textless:{dl:1,html:1,ol:1,table:1,tbody:1,thead:1,tfoot:1,tr:1,ul:1},textShadow:"none"};var q={words:/\s/.test("\u00a0")?/[^\S\u00a0]+/:/\s+/,characters:"",none:/^/};n.now=function(){y.ready();return n};n.refresh=function(){z.repeat.apply(z,arguments);return n};n.registerEngine=function(D,C){if(!C){return n}A[D]=C;return n.set("engine",D)};n.registerFont=function(E){if(!E){return n}var C=new t(E),D=C.family;if(!j[D]){j[D]=new g()}j[D].add(C);return n.set("fontFamily",'"'+D+'"')};n.replace=function(E,D,C){D=i(x,D);if(!D.engine){return n}if(!f){o.addClass(y.root(),"cufon-active cufon-loading");o.ready(function(){o.addClass(o.removeClass(y.root(),"cufon-loading"),"cufon-ready")});f=true}if(D.hover){D.forceHitArea=true}if(D.autoDetect){delete D.fontFamily}if(typeof D.textShadow=="string"){D.textShadow=o.textShadow(D.textShadow)}if(typeof D.color=="string"&&/^-/.test(D.color)){D.textGradient=o.gradient(D.color)}else{delete D.textGradient}if(!C){z.add(E,arguments)}if(E.nodeType||typeof E=="string"){E=[E]}o.ready(function(){for(var G=0,F=E.length;G<F;++G){var H=E[G];if(typeof H=="string"){n.replace(D.selector(H),D,true)}else{m(H,D)}}});return n};n.set=function(C,D){x[C]=D;return n};return n})();Cufon.registerEngine("canvas",(function(){var c=document.createElement("canvas");if(!c||!c.getContext||!c.getContext.apply){return}c=null;var b=Cufon.CSS.supports("display","inline-block");var f=!b&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId));var g=document.createElement("style");g.type="text/css";g.appendChild(document.createTextNode(("cufon{text-indent:0;}@media screen,projection{cufon{display:inline;display:inline-block;position:relative;vertical-align:middle;"+(f?"":"font-size:1px;line-height:1px;")+"}cufon cufontext{display:-moz-inline-box;display:inline-block;width:0;height:0;text-indent:-10000in;}"+(b?"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(g);function e(q,j){var o=0,n=0;var h=[],p=/([mrvxe])([^a-z]*)/g,l;generate:for(var k=0;l=p.exec(q);++k){var m=l[2].split(",");switch(l[1]){case"v":h[k]={m:"bezierCurveTo",a:[o+~~m[0],n+~~m[1],o+~~m[2],n+~~m[3],o+=~~m[4],n+=~~m[5]]};break;case"r":h[k]={m:"lineTo",a:[o+=~~m[0],n+=~~m[1]]};break;case"m":h[k]={m:"moveTo",a:[o=~~m[0],n=~~m[1]]};break;case"x":h[k]={m:"closePath"};break;case"e":break generate}j[h[k].m].apply(j,h[k].a)}return h}function d(n,m){for(var k=0,j=n.length;k<j;++k){var h=n[k];m[h.m].apply(m,h.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(b){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 y=V.glyphs,ac,x=-1,l=-1,ab;X.scale(G,1);while(ab=Z[++x]){var ac=y[Z[x]]||V.missingGlyph;if(!ac){continue}if(ac.d){X.beginPath();if(ac.code){d(ac.code,X)}else{ac.code=e("m"+ac.d,X)}X.fill()}X.translate(E[++l],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}})());Cufon.registerEngine("vml",(function(){var f=document.namespaces;if(!f){return}f.add("cvml","urn:schemas-microsoft-com:vml");f=null;var c=document.createElement("cvml:shape");c.style.behavior="url(#default#VML)";if(!c.coordsize){return}c=null;var i=(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:'+(i?"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 d(j,k){return b(j,/(?:em|ex|%)$|^[a-z-]+$/i.test(k)?"1em":k)}function b(m,n){if(n==="0"){return 0}if(/px$/i.test(n)){return parseFloat(n)}var l=m.style.left,k=m.runtimeStyle.left;m.runtimeStyle.left=m.currentStyle.left;m.style.left=n.replace("%","em");var j=m.style.pixelLeft;m.style.left=l;m.runtimeStyle.left=k;return j}function g(m,l,k,o){var j="computed"+o,n=l[j];if(isNaN(n)){n=l.get(o);l[j]=n=(n=="normal")?0:~~k.convertFrom(b(m,n))}return n}var h={};function e(q){var r=q.id;if(!h[r]){var o=q.stops,p=document.createElement("cvml:fill"),l=[];p.type="gradient";p.angle=180;p.focus="0";p.method="none";p.color=o[0][1];for(var n=1,m=o.length-1;n<m;++n){l.push(o[n][0]*100+"% "+o[n][1])}p.colors=l.join(",");p.color2=o[m][1];h[r]=p}return h[r]}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(d(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,g(ad,Y,p,"letterSpacing"),g(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&&e(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(i){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*(b(ad,E)-parseFloat(ai.height))}if(Q){ai.marginTop=Math.ceil(Q)+"px";ai.marginBottom=Q+"px"}}return y}})());if(!window.console){window.console={};window.console.log=function(){}}var ziba=(function(){var e=false;var h=function(){if(!e){if(ziba.transitions){document.documentElement.id="transitions"}k("/frontend/img/my-ziba-corner-white.png","/frontend/img/my-ziba-corner-gray.png","/frontend/img/my-ziba-corner-blue.png","/frontend/img/my-ziba-trend-opacity.png","/frontend/img/my-ziba-trend-opacity-added.png");e=true}h.ready(function(){j();o();c();$('a[rel="external"],a.external').live("click",i)});return h};function i(p){window.open(this.href,"_blank");return false}function k(){for(var q=0,p=arguments.length;q<p;++q){(new Image).src=arguments[q]}}var l=function(p){$(document).ready(p)};h.ready=l;function c(){if(!c.done){var u=$("#header"),r=u.find("li"),q=u.css("backgroundColor"),t=$("<span></span>").css({position:"absolute",top:"0",left:"0",width:"100%",height:"100%",opacity:"0",zIndex:"3"});function p(v){$(this).find("span").stop(true,true).animate({opacity:"1"},200)}function s(v){$(this).find("span").animate({opacity:"0"},200)}if(r.css("backgroundPosition")||r.css("backgroundPositionX")){r.each(function(z,B){var w,y,x,A,v;B=$(B);w=B.find("a");y=(w.css("backgroundPosition")||w.css("backgroundPositionX")+" "+w.css("backgroundPositionY")).split(" ");A=y[0];v=parseInt(y[1],10)-105;if(v<=-315){v+=210}else{if(v<=-211){v+=105}}w.append(t.clone().css({background:"url(/frontend/img/header.png) "+A+" "+v+"px",backgroundColor:q}));w.mouseenter(p);w.mouseleave(s)});u.removeClass("no-fade")}c.done=true}}function o(){var p=false;function u(v){var x="http://vimeo.com/moogaloop.swf?clip_id="+v.data("vid")+"&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1&amp;js_api=1",w={allowfullscreen:"true",allowscriptaccess:"always",wmode:"transparent"};swfobject.embedSWF(x,v.data("cid"),"640","360","9.0.0","/frontend/swf/expressInstall.swf",{},w,{},null);v.addClass("initialized")}function r(x){var v=$(this).closest(".fancy-slideshow"),w=v.get(0),y=0;while(w&&w.tagName.toLowerCase()!="body"){y+=w.offsetTop;w=w.offsetParent}v.data("pageOffset",y);if(jQuery.support.opacity){$(this).find("span").stop(true,true).fadeIn(150)}else{$(this).find("span").css({display:"block"})}}function s(v){if(jQuery.support.opacity){$(this).find("span").stop(true,true).fadeOut(150)}else{$(this).find("span").hide()}}function q(B){var w=$(this).closest(".fancy-slideshow"),v=$(this).height(),x=$(this).find("span"),z=x.height(),C=B.pageY-w.data("pageOffset"),A=C<z/2?0:C>v-z/2?v-z:Math.round(C-z/2);x.css({top:A+"px"})}function t(z){var x=$(this).closest(".fancy-slideshow"),v=x.find(".container"),w=x.find(".index"),y=x.find(".showing"),A=this.href.split("#")[1];z.preventDefault();if(!p){p=true;switch(A){case"next":A=y.next(".asset");if(!A.size()){A=v.find(".asset:first")}break;case"previous":A=y.prev(".asset");if(!A.size()){A=v.find(".asset:last")}break;default:A=v.find("."+A)}if(A.size()){w.find(".on").removeClass("on");w.find(A.data("ref")).addClass("on");x.find(".captions").empty().text(A.data("caption"));if(A.hasClass("video")){if(!A.hasClass("initialized")){u(A)}x.find("a.next,a.prev").css({height:"300px"})}else{x.find("a.next,a.prev").css({height:""})}v.animate({height:A.css("height")},200);y.fadeOut(200,function(){var B=$(this);B.removeClass("showing");if(B.hasClass("video")){var C=B.find("#"+B.data("cid")).get(0);if(typeof C.api_pause=="function"){C.api_pause()}}p=false});A.fadeIn(200,function(){$(this).addClass("showing")})}}}$(".slideshow").each(function(y,G){var H=$(G).addClass("fancy-slideshow").removeClass("slideshow"),v=$('<div class="container"></div>'),E=$('<div class="asset"></div>'),A=$('<p class="captions"></p>'),D=false,C=$('<ol class="index"></ol>'),z,w,B=0;H.append(v);H.find("a,img").each(function(K,J){var I="a-"+K,L=E.clone().addClass(I).data("ref","."+I);v.append(L);if(J.className=="image"){L.addClass("image").append(J.cloneNode(true));L.css({height:J.height+"px"});if(J.alt&&J.alt.length){L.data("caption",J.alt);D=true}}else{if(J.className=="video"){L.addClass("video").append('<div class="video-wrapper"><div id="'+J.id+"\">You'll need the flash video player to see this video.</div></div>");L.data("cid",J.id).data("vid",J.rel);L.css({height:"360px"});var M=$(J).text();if(M&&M.length){L.data("caption",M);D=true}}}$(J).remove();if(K==0){v.css({height:L.css("height")});L.addClass("showing");if(L.data("caption")&&L.data("caption").length){A.text(L.data("caption"))}if(L.hasClass("video")){u(L);H.find("a.next,a.prev").css({height:"300px"})}}C.append('<li><a class="'+I+'" href="#a-'+K+'">'+(L.data("caption")||"&nbsp;")+"</a></li>");++B});if(D){H.append(v).append(A)}if(B>1){H.append(C);C.find("a").click(t);C.find("a:first").addClass("on");next_button=$('<a class="next" href="#next"><span>Next</span></a>');prev_button=$('<a class="prev" href="#previous"><span>Previous</span></a>');v.append(prev_button).append(next_button);next_button.mouseenter(r).mousemove(q).mouseleave(s).click(t);prev_button.mouseenter(r).mousemove(q).mouseleave(s).click(t);if(next_button.get(0).hideFocus===false){next_button.get(0).hideFocus=true;prev_button.get(0).hideFocus=true}if(jQuery.browser.msie&&jQuery.browser.version=="6.0"){next_button.children("span").css({display:"block"}).get(0).style.behavior="url(/frontend/css/iepngfix.htc)";prev_button.children("span").css({display:"block"}).get(0).style.behavior="url(/frontend/css/iepngfix.htc)";window.setTimeout(function(){next_button.children("span").hide();prev_button.children("span").hide()},100)}var F,x=0;while(F&&F.tagName.toLowerCase()!="body"){x+=F.offsetTop;F=F.offsetParent}H.data("pageOffset",x)}if(jQuery.support.opacity){H.css({opacity:"0",visibility:"visible"}).animate({opacity:"1"},300)}else{H.css({visibility:"visible"})}H=v=E=A=C=null})}var g=(function(){var t=false,q,r,s=null,p=null,v=function(){return v.open.apply(null,arguments)};var w=0.8,y=200;function x(D){var A=getPageSize(),C=getPageScroll(),B=r.width(),z=r.height();D.stopPropagation();r.css({top:parseInt(C.y+((A.windowHeight/2)-(z/2)),10)+"px",left:parseInt(C.x+((A.windowWidth/2)-(B/2)),10)+"px"})}var u=function(B,D){var A,z;function C(H){var F,E;r.append(H);r.css({visibility:"hidden",display:"block"});E=r.height();F=r.width();var G=getPageScroll();z=z||getPageSize();r.css({width:F+"px",top:parseInt(G.y+((z.windowHeight/2)-(E/2)),10)+"px",left:parseInt(G.x+((z.windowWidth/2)-(F/2)),10)+"px"});if(s){s();s=null}r.css({visibility:"visible",display:"none"});t=true;r.fadeIn(y)}if(t){A=arguments;r.fadeOut(y,function(){if(p){p();p=null}r.empty();t=false;u.apply(null,A)})}else{s=D.onload||null;p=D.onunload||null;if(D.no_click){q.unbind("click",v.close)}else{q.click(v.close)}if(q.css("display")!="block"){$("body").addClass("overlay");z=getPageSize();q.css({height:z.pageHeight});q.fadeIn(y)}$.ajax({url:B,type:"GET",dataType:"html",success:C})}};v.open=function(){q=$('<div id="overlay-backdrop"></div>');r=$('<div id="overlay-container"></div>');$("body").append(q).append(r);q.css({opacity:w});$(window).resize(x);v.open=u;u.apply(null,arguments)};v.close=function(z){if(t){t=false;if(z){z.preventDefault()}r.fadeOut(y,function(){r.empty()});q.fadeOut(y,function(){if(p){p();p=null}$("body").removeClass("overlay")})}};return v})();function j(){var q=(window.location.hash.substring(1)||window.location.pathname).split("/"),p=q[1]||"home";Cufon.replace("blockquote",{fontFamily:"HelveticaNeueLTStd-Thin"});switch(p){case"work":if(!q[2]){Cufon.replace("h1,h2",{fontFamily:"HelveticaNeueLTStd-Light"});Cufon.replace("h3",{fontFamily:"HelveticaNeueLTStd-Light"})}else{if(q[2]=="client"){Cufon.replace("h1,h2",{fontFamily:"HelveticaNeueLTStd-Light"});Cufon.replace("h3",{fontFamily:"HelveticaNeueLTStd-Light"})}else{Cufon.replace("#big-idea p,blockquote",{fontFamily:"HelveticaNeueLTStd-Light"})}}break;case"perspectives":if(!q[2]||q[2]!="article"){Cufon.replace("h1",{fontFamily:"HelveticaNeueLTStd-Light"});Cufon.replace("h2",{fontFamily:"HelveticaNeueLTStd-Light",hover:{a:true}})}else{if(q[2]=="article"){Cufon.replace("#title h1",{fontFamily:"LubalinGraphStd-Demi"});Cufon.replace("#title .author",{fontFamily:"LubalinGraphStd-Demi"});Cufon.replace("h2",{fontFamily:"HelveticaNeueLTStd-Light"})}}break;case"trends":if(!q[2]){Cufon.replace(".tagline",{fontFamily:"HelveticaNeueLTStd-Thin"})}else{Cufon.replace("h1",{fontFamily:"HelveticaNeueLTStd-Thin"});Cufon.replace("h2",{fontFamily:"HelveticaNeueLTStd-Light"});Cufon.replace(".tagline",{fontFamily:"HelveticaNeueLTStd-Light"})}break;case"events":if(!q[2]){Cufon.replace("h1",{fontFamily:"HelveticaNeueLTStd-Light"});Cufon.replace("h2",{fontFamily:"HelveticaNeueLTStd-Light",hover:{a:true}})}else{if(q[2]=="archive"){Cufon.replace("h1,h2",{fontFamily:"HelveticaNeueLTStd-Light"})}else{if(q[2]=="spaces"){Cufon.replace("h1",{fontFamily:"HelveticaNeueLTStd-Light"})}else{Cufon.replace("h1",{fontFamily:"HelveticaNeueLTStd-Light"})}}}break;case"news":Cufon.replace("h1",{fontFamily:"HelveticaNeueLTStd-Light"});Cufon.replace("h2",{fontFamily:"HelveticaNeueLTStd-Light",hover:{a:true}});break;case"about":Cufon.replace(".tagline",{fontFamily:"HelveticaNeueLTStd-Thin"});Cufon.replace("#secondary-copy .large",{fontFamily:"HelveticaNeueLTStd-Light"});break;case"contact":Cufon.replace("h1,h2,h3",{fontFamily:"HelveticaNeueLTStd-Light"});Cufon.replace("#content #body .large",{fontFamily:"HelveticaNeueLTStd-Light"});break;case"careers":Cufon.replace("h1",{fontFamily:"HelveticaNeueLTStd-Light"});Cufon.replace(".description h1,.description h2,.description h3",{fontFamily:"HelveticaNeueLTStd-Light"});break;case"my-ziba":Cufon.replace(".tagline",{fontFamily:"HelveticaNeueLTStd-Thin"});break}Cufon.now()}function f(){var s=$("#detail-navigation"),p=$("#detail-navigation").find(".back"),r=$("#detail-navigation").find(".prev"),q=$("#detail-navigation").find(".next");p.mouseenter(function(t){p.stop(true,false).animate({top:"-5px",height:"35px"},150)});p.mouseleave(function(t){p.stop(true,false).animate({top:"0",height:"27px"},150)});r.mouseenter(function(t){r.stop(true,false).animate({left:"-5px",width:"35px"},150)});r.mouseleave(function(t){r.stop(true,false).animate({left:"0",width:"27px"},150)});q.mouseenter(function(t){q.stop(true,false).animate({right:"-5px",width:"35px"},150)});q.mouseleave(function(t){q.stop(true,false).animate({right:"0",width:"27px"},150)})}function n(){function q(s){s.stopPropagation();$("#share-js").fadeIn(150)}function r(s){$("#share-js").fadeOut(150)}function p(t){var s=encodeURIComponent("http://"+window.location.hostname+(window.location.hash.length?window.location.hash.replace(/#\//g,"/"):window.location.pathname));t.preventDefault();switch(t.target.className){case"facebook":window.open("http://www.facebook.com/sharer.php?u="+s+"&t="+encodeURIComponent(document.title));break;case"twitter":window.open("http://twitter.com/?status="+encodeURIComponent(document.title)+": "+s);break;case"digg":window.open("http://digg.com/submit?url="+s+"&title="+encodeURIComponent(document.title)+"&media=news");break;case"delicious":window.open("http://delicious.com/save?v=5&noui&jump=close&url="+s+"&title="+encodeURIComponent(document.title));break;case"linkedin":window.open("http://linkedin.com/shareArticle?mini=true&url="+s+"&title"+encodeURIComponent(document.title));break}r(t)}$("#share-options").wrap('<div id="share-js"></div>').after('<span class="shadow"></span><span class="shadow-top"></span><span class="shadow-left"></span>');$("#share-options a").click(p);$("#share").mouseenter(q).mouseleave(r)}function m(t){var p,s;function r(){var v=true,w=[];p.find("input[type=text],input[type=password]").each(function(y,x){if(x.value==""){$(x.parentNode).addClass("has-error");w.push($("label[for="+x.id+"]").text().toLowerCase()+" is blank");v=false}else{$(x.parentNode).removeClass("has-error")}});if(!v){if(w.length>1){var u=w[w.length-1];u="and "+u}p.find(".status").text("Log in error: "+w.join(", ")+".");p.removeClass("has-success");p.addClass("has-errors")}else{p.removeClass("has-errors")}return v}var q=function(v){var u=this.action;v.preventDefault();if(r()){$.ajax({type:"PUT",url:u,data:p.serialize(),success:function(w){if(t){t()}g.close()},error:function(){p.find(".status").text("We could not log you in with those credentials.");p.removeClass("has-success");p.addClass("has-errors")}})}};g("/extensions/inline_login/",{onload:function(){Cufon.replace("h1",{fontFamily:"HelveticaNeueLTStd-Light"});if(ziba.transitions){ziba.routing.addLinks($("#inline-login"));$("#login-options a").click(g.close)}p=$("#inline-login form");p.submit(q);s=$('<a rel="notransition" class="close">Close</a>');$("#inline-login").append(s);s.click(g.close)},onunload:function(){s.unbind("click",g.close);p.unbind("submit",q);if(ziba.routing){$("#inline-options a").unbind("click",g.close)}s=p=null}})}h.addToMyZiba=function(r,u){function p(){$("#add-my-ziba,#my-ziba-added").animate({height:"70px",width:"70px"},300)}function t(v){$("#add-my-ziba").stop(true,true).animate({height:"75px",width:"75px"},75)}function q(v){$("#add-my-ziba").animate({height:"70px",width:"70px"},75)}function s(x){var v=this.href;x.preventDefault();function w(){$.ajax({url:v,success:function(z){if(z=="ok"){y()}}})}function y(){if(pageTracker){var D=ziba.transitions?SWFAddress.getValue():window.location.pathname;pageTracker._trackEvent("My Ziba","Add",D)}var A=$("#add-my-ziba"),B=$('<div id="my-ziba-added" style="height:70px;width:70px;display:none"><span class="text">Already added</span><span class="plus"></span><span class="trend-opacity"></span><span class="corner"></span></div>'),C=$('<div id="my-ziba-added-notice"><span class="text">Added</span></div>'),z=$('<span class="flasher"></span>');A.children(".text").remove();A.unbind("click",s).unbind("mouseenter",t).unbind("mouseleave",q);q();$("#content").append(B).append(C);A.append(z);z.fadeIn(50,function(){z.fadeOut(175,function(){z=null})});C.fadeIn(75,function(){window.setTimeout(function(){if(jQuery.support.opacity){C.fadeOut(200,function(){C.remove();C=null})}else{C.hide().remove();C=null}},2000)});B.fadeIn(300,function(){A.remove();B.mouseenter(function(E){$(this).addClass("hover")}).mouseleave(function(E){$(this).removeClass("hover")});B=A=null})}$.ajax({url:v,success:function(z){if(z=="ok"){y()}else{if(z=="login"){m(w)}}}})}l(function(){$("#add-my-ziba").click(s).mouseenter(t).mouseleave(q);if(ziba.transitions){window.setTimeout(p,600)}else{$("#add-my-ziba").css({height:"70px",width:"70px"});$("#add-my-ziba .corner").css({height:"100%"})}$("#my-ziba-added").mouseenter(function(v){$(this).addClass("hover")}).mouseleave(function(v){$(this).removeClass("hover")})})};h.work=function(){var p={};function r(){$("#client-list").slideDown(250);$("h1").removeClass("on");$("h2").addClass("on");Cufon.refresh("h1,h2")}function q(){$("#client-list").slideUp(250).find(".on").removeClass("on");$("h1").addClass("on");$("h2").removeClass("on");SWFAddress.setValue("/work/");Cufon.refresh("h1,h2")}l(function(){var t=$("h2").clone().addClass("inline").addClass("off"),s=$("#client-list").clone().css({display:"none"});$("h2").remove();$("h1").addClass("on");$("#client-list").remove();$("h2").after(s);if(ziba.transitions){ziba.routing.addLinks(s)}else{s.find("a").click(function(w){var u=this,v=a.get(0).pathname;w.preventDefault();s.find(".on").removeClass("on");u.addClass("on");SWFAddress.setValue(v)});SWFAddress.addEventListener(SWFAddressEvent.CHANGE,p.loadClient)}$("h1").click(q);$("h2").click(r)});p.client=function(){l(function(){var s=SWFAddress.getValue().split("/")[3];$("h1").removeClass("on");$("h2").addClass("on");$("#featured-projects").hide();$("#client-list").find("."+s).addClass("on");$("#client-list").show();Cufon.refresh("h1,h2")})};return p};h.work.loadClient=function(r){if(!r){r=SWFAddress.getValue()}var p=r.split("/")[3];function q(s){$("h1").removeClass("on");$("h2").addClass("on");$("#client-list").find(".on").removeClass("on");$("#client-list").find("."+p).addClass("on");$("#client-list").slideDown(250);Cufon.refresh("h1,h2")}if(r.match(/^\/work\/$/)){$("#client-list").slideUp(250);$("#client-projects").css({position:"absolute"}).fadeOut(250,function(){$("#client-projects").css({position:"static"})});$("#featured-projects").fadeIn(250)}else{q(r);$("#client-projects,#featured-projects").fadeOut(250,function(){$.ajax({url:r+"?partial=1",dataType:"html",success:function(s){$("#client-projects").remove();$("#featured-projects").after(s);if(ziba.transitions){ziba.routing.addLinks($("#client-projects"))}Cufon.refresh("h3");$("#client-projects").fadeIn(250)}})})}};h.workDetail=function(){l(function(){f();n()})};h.perspectiveArticle=function(){function p(r){var q=$(this);function s(){var u=true,v=[];q.find("input[type=text],textarea").each(function(x,w){if(w.value==""){$(w.parentNode).addClass("has-error");v.push($("label[for="+w.id+"]").text().toLowerCase()+" is blank");u=false}else{if(w.id=="email-address"&&!/^([a-zA-Z0-9_.\-\+])+@(([a-zA-Z0-9-])+.)+([a-zA-Z0-9]{2,4})+$/.test(w.value)){$(w.parentNode).addClass("has-error");v.push("you did not enter a valid email address");u=false}else{$(w.parentNode).removeClass("has-error")}}});if(!u){if(v.length>1){var t=v[v.length-1];t="and "+t}$("#status").text("You missed some information below. Please add all the information requested to continue. ");q.removeClass("has-success");q.addClass("has-errors")}else{q.removeClass("has-errors")}return u}r.preventDefault();if(s()){$.ajax({url:q.attr("action"),data:q.serialize(),success:function(){$("#status").text("Thanks for your comment. It will be posted to the site pending review.");q.addClass("has-success");q.get(0).reset()},error:function(t){$("#status").text("There was a problem with your comment: "+t.responseText);q.addClass("has-errors")}})}}l(function(){$("#comments form").submit(p);f();n();if(!ziba.transitions){$("#article-info .comments").click(function(q){q.preventDefault();$.scrollTo($("#comments"))})}})};h.trends=function(){l(function(){f();n()})};h.spaces=function(){l(function(){f()})};h.eventDetail=function(){l(function(){f();n()})};h.contact=function(){function p(r){var q=$(this);function s(){var u=true,v=[];q.find("input[type=text],textarea").each(function(x,w){if(w.value==""){$(w.parentNode).addClass("has-error");v.push($("label[for="+w.id+"]").text().toLowerCase()+"");u=false}else{if(w.id=="email-address"&&!/^([a-zA-Z0-9_.\-\+])+@(([a-zA-Z0-9-])+.)+([a-zA-Z0-9]{2,4})+$/.test(w.value)){$(w.parentNode).addClass("has-error");v.push("you did not enter a valid email address");u=false}else{$(w.parentNode).removeClass("has-error")}}});if(!u){if(v.length>1){var t=v[v.length-1];t="and "+t}$("#status").text("We do want to hear from you, but your message is incomplete. Please add all the information requested to continue.");q.removeClass("has-success");q.addClass("has-errors")}else{q.removeClass("has-errors")}return u}r.preventDefault();if(s()){$.ajax({url:q.attr("action"),data:q.serialize(),success:function(){$("#status").text("Thanks for your message. We will get back to you shortly.");q.addClass("has-success");q.get(0).reset()},error:function(t){$("#status").text("There was a problem with your message: "+t.responseText);q.addClass("has-errors")}})}}l(function(){$(".address span").css({cursor:"pointer"});$(".address address").hide();$(".address span").toggle(function(){$(this).next("address").slideDown(200)},function(){$(this).next("address").slideUp(200)});$("#inquiry").submit(p)})};h.about=function(){var r={},p={mainPath:"http://"+(window.location.host||window.location.hostname),swfPath:"/frontend/swf/",siteXML:"/frontend/swf/site.xml"},q={};swfobject.embedSWF("/frontend/swf/main.swf","swf",900,1400,"9.0.0","/frontend/swf/expressInstall.swf",p,r,q)};h.setCultureHeight=function(p){$("#swf").height(p)};h.careers=function(){var r={},z=false,F=false;var B=function(G){if(this.customSettings.file_queued){this.cancelUpload(this.customSettings.file_queued);this.customSettings.queued.empty()}this.customSettings.queued.text("File: ").append("<span>"+G.name+"</span>").show();this.customSettings.file_queued=G.id};var C=function(H,G,I){this.customSettings.queued.show().text("Error: ").append('<span class="error">'+I+"</span>").show()};var p=function(H){var G=this;G.customSettings.form.removeClass("has-errors");G.customSettings.form.find("input[name]").each(function(J,I){G.addPostParam(I.name,I.value)});G.customSettings.progress.find(".progress").css({width:"0"});G.customSettings.form.addClass("working");return true};var q=function(H,G,J){var K=this.customSettings.progress.find(".progress"),I=Math.floor((G/J)*100);K.css({width:I+"%"})};var E=function(H,G,I){this.customSettings.form.children(".status").text("There was a problem with your submission. Please review it for incorrect or missing information.");this.cancelUpload();this.customSettings.file_queued=null;this.customSettings.queued.empty().hide();this.customSettings.form.removeClass("working");this.customSettings.form.addClass("has-errors")};var v=function(I,H,G){this.customSettings.form.children(".status").text("Your information has been recieved. We will review it shortly.");this.customSettings.progress.find(".progress").css({width:"100%"});this.customSettings.form.addClass("has-success")};var t=function(G){this.customSettings.form.removeClass("working")};function D(G){if(r[this.id]){r[this.id].cancelUpload(null,false);r[this.id].customSettings.queued.empty().hide()}$(this).removeClass("working")}function s(G){$.ajax({type:"PUT",url:G.attr("action"),data:G.serialize(),success:function(){G.find(".status").text("Your information has been received. We will review it shortly.");G.addClass("has-success")},error:function(H){G.find(".status").text("There was a problem with your submission. Please review it for incorrect or missing information.");G.removeClass("has-success");G.addClass("has-errors")}})}function u(G){G.preventDefault();function H(K){var J=true,L=[];K.find("input[name]").each(function(N,M){if(M.value==""){$(M.parentNode).addClass("has-error");L.push($("label[for="+M.id+"]").text().toLowerCase()+"");J=false}else{$(M.parentNode).removeClass("has-error")}});if(F&&r[K.attr("id")]&&r[K.attr("id")].getStats().files_queued==0){L.push("attach a resume/portfolio");J=false}if(!J){if(L.length>1){var I=L[L.length-1];I="and "+I}K.find(".status").text("You missed some information below. Please add all the information requested to continue.");K.removeClass("has-success");K.addClass("has-errors")}else{K.removeClass("has-errors")}return J}if(H($(this))){if(F&&r[this.id]&&r[this.id].getStats().files_queued>0){r[this.id].startUpload()}else{s($(this))}}}function x(G){$(this.parentNode).addClass("expanded").children(".description").slideDown(200)}function w(H){var G=$(this.parentNode).children("form");D.call(G.get(0));$(this.parentNode).removeClass("expanded").children(".description").slideUp(200,function(){G.hide();$(".show-form").show()})}function y(H){var G=$(this).closest(".job").children("form"),I=G.attr("id");H.preventDefault();$(this).hide();G.show();if(z&&!r[I]){G.find(".resume").append('<div>Please upload your resume, portfolio and any additional documents you would like to provide. A zipped file or single PDF is preferred.</div><div><div class="uploader"><strong>Requires Javascript and Adobe Flash.</strong></div></div><div class="queued"></div><div class="progress">Progress: <span class="overall"><span class="progress"></span></span></div>');r[I]=new SWFUpload({upload_url:"/extensions/apply_to_job/",flash_url:"/frontend/swf/swfupload.swf",file_post_name:"resume",file_types:"*.pdf;*.doc;*.zip",file_types_description:"Resume/Portfolio (.pdf, .doc, .zip), 20MB limit",file_size_limit:"20MB",file_upload_limit:0,file_queue_limit:0,button_placeholder:G.find(".uploader").get(0),button_image_url:"/frontend/img/select-file.png",button_window_mode:SWFUpload.WINDOW_MODE.TRANSPARENT,button_width:68,button_height:22,button_cursor:SWFUpload.CURSOR.HAND,swfupload_loaded_handler:function(){F=true},file_queued_handler:B,file_queue_error_handler:C,upload_start_handler:p,upload_progress_handler:q,upload_error_handler:E,upload_success_handler:v,upload_complete_handler:t});r[I].customSettings={form:G,queued:G.find(".queued"),progress:G.find(".progress")}}}function A(){function H(J){J.stopPropagation();$(".share-js").fadeIn(150)}function I(J){$(".share-js").fadeOut(150)}function G(K){var L=$(this).closest(".job").children(".title").text(),J=encodeURIComponent("http://"+window.location.hostname+(window.location.hash.length?window.location.hash.replace(/#\//g,"/"):window.location.pathname));K.preventDefault();switch(K.target.className){case"facebook":window.open("http://www.facebook.com/sharer.php?u="+J+"&t="+encodeURIComponent(L?"Ziba Career Listing - "+L:document.title));break;case"twitter":window.open("http://twitter.com/?status="+encodeURIComponent(L?"Ziba Career Listing - "+L:document.title)+": "+J);break;case"digg":window.open("http://digg.com/submit?url="+J+"&title="+encodeURIComponent(L?"Ziba Career Listing - "+L:document.title)+"&media=news");break;case"delicious":window.open("http://delicious.com/save?v=5&noui&jump=close&url="+J+"&title="+encodeURIComponent(L?"Ziba Career Listing - "+L:document.title));break;case"linkedin":window.open("http://linkedin.com/shareArticle?mini=true&url="+J+"&title"+encodeURIComponent(L?"Ziba Career Listing - "+L:document.title));break}I(K)}$(".share-options").wrap('<div class="share-js"></div>').after('<span class="shadow"></span><span class="shadow-top"></span><span class="shadow-left"></span>');$(".share-options a").click(G);$(".share").mouseenter(H).mouseleave(I)}l(function(){z=swfobject.getFlashPlayerVersion().major>9;$(".job > h2").toggle(x,w);$("#jobs form").each(function(G,H){$(H).submit(u);$(H).bind("reset",null,D)});$(".show-form").click(y);A()});if(ziba.routing){ziba.routing.onUnload(function(){for(form_id in r){r[form_id].customSettings.form=r[form_id].customSettings.queued=r[form_id].customSettings.progress=null;r[form_id].destroy()}r=null;z=F=false})}};function b(){$("#my-ziba-corner").removeClass("locked").animate({height:"70px",width:"70px"},300)}function d(p){var q=$("#my-ziba-wrapper");$("#my-ziba-corner").addClass("locked");$("#content").css({height:$("#content").height()+"px"});q.fadeOut(300,function(){$("#content").css({height:"auto"});q.empty().append(p);if(ziba.transitions){ziba.routing.addLinks(q)}if(ziba.ready.go){ziba.ready.go()}q.fadeIn(200)})}h.myZibaLogin=function(){function q(u){var t=true,v=[];u.find("input[type=text],input[type=password]").each(function(x,w){if(w.value==""){$(w.parentNode).addClass("has-error");v.push($("label[for="+w.id+"]").text().toLowerCase()+" is blank");t=false}else{if(w.name=="password_confirm"&&w.value!==u.find('input[name="account[password]"]').val()){$(w.parentNode).addClass("has-error");v.push("password fields do not match");t=false}else{$(w.parentNode).removeClass("has-error")}}});if(!t){if(v.length>1){var s=v[v.length-1];s="and "+s}u.find(".status").text("You missed some information below. Please enter all the information requested to continue.");u.removeClass("has-success");u.addClass("has-errors")}else{u.removeClass("has-errors")}return t}function r(u){var s=$(this),t=s.attr("action");u.preventDefault();if(q(s)){$.ajax({type:"PUT",url:t,data:s.serialize(),success:function(){s.find(".status").text("Please check your e-mail to verify your account.");s.addClass("has-success")},error:function(v){s.find(".status").text("Sorry, there was a problem creating your account: "+v.responseText);s.removeClass("has-success");s.addClass("has-errors")}})}}function p(u){var s=$(this),t=s.attr("action");u.preventDefault();if(q(s)){$.ajax({type:"PUT",url:t,data:s.serialize(),success:function(v){d(v)},error:function(){s.find(".status").text("That login and password combination is incorrect. Please re-enter your information.");s.removeClass("has-success");s.addClass("has-errors")}})}}l(function(){$("#sign-up").submit(r);$("#log-in").submit(p);if(ziba.transitions){$("#my-ziba-corner").not(".locked").each(function(){$(this).css({height:"0",width:"0"});window.setTimeout(b,600)})}})};h.myZibaAccount=function(){function u(y){$("#account-options").slideDown(200)}function q(y){$("#account-options").slideUp(200)}function v(y){$("#remove-account").slideDown(200)}function s(y){$("#remove-account").slideUp(200)}function x(y){y.preventDefault();$.ajax({type:"GET",url:y.target.href,success:d})}function r(A){var z=true,B=[];A.find("input[type=text],input[type=password]").each(function(D,C){if(C.value==""){$(C.parentNode).addClass("has-error");B.push($("label[for="+C.id+"]").text().toLowerCase()+" is blank");z=false}else{if(C.name=="password_confirm"&&C.value!==A.find('input[name="password"]').val()){$(C.parentNode).addClass("has-error");B.push("password fields do not match");z=false}else{$(C.parentNode).removeClass("has-error")}}});if(!z){if(B.length>1){var y=B[B.length-1];y="and "+y}A.find(".status").text("Update error: "+B.join(", ")+".");A.removeClass("has-success");A.addClass("has-errors")}else{A.removeClass("has-errors")}return z}function t(A){var y=$(this),z=y.attr("action");A.preventDefault();if(r(y)){$.ajax({type:"POST",url:z,data:y.serialize(),success:function(B){y.find(".status").text("Your account has been updated.");y.addClass("has-success");y.removeClass("has-errors")},error:function(B){y.find(".status").text("We had trouble updating your account: "+B.responseText);y.removeClass("has-success");y.addClass("has-errors")}})}}function w(A){var z=this.href,y=$(this).closest("li");if(pageTracker){var B=y.find("a.info")[0].href.replace("http://"+window.location.host,"");pageTracker._trackEvent("My Ziba","Remove",B)}A.preventDefault();$.ajax({url:z,success:function(){y.slideUp(200,function(){y.remove()})}})}function p(A){var y=$(this),z=y.attr("action");A.preventDefault();$.ajax({type:"GET",url:z,data:y.serialize(),success:function(B){d(B)}})}l(function(){$(".delete").click(w);$("#account-options").hide();$(".account-options").toggle(u,q);$("#remove-account").hide();$(".remove-account").toggle(v,s);$("#remove-account").bind("reset",s);$("#update-email").submit(t);$("#update-password").submit(t);$("#remove-account").submit(p);$("#logout").click(x);if(ziba.transitions){$("#my-ziba-corner").not(".locked").each(function(){$(this).css({height:"0",width:"0"});window.setTimeout(b,600)})}})};h.myZibaForgot=function(){function q(t){var s=true,u=[];t.find("input[type=text],input[type=password]").each(function(w,v){if(v.value==""){$(v.parentNode).addClass("has-error");u.push($("label[for="+v.id+"]").text().toLowerCase()+" is blank");s=false}else{$(v.parentNode).removeClass("has-error")}});if(!s){if(u.length>1){var r=u[u.length-1];r="and "+r}t.find(".status").text("Log in error: "+u.join(", ")+".");t.removeClass("has-success");t.addClass("has-errors")}else{t.removeClass("has-errors")}return s}function p(t){var r=$(this),s=r.attr("action");t.preventDefault();if(q(r)){$.ajax({type:"POST",url:s,data:r.serialize(),success:function(u){r.find(".status").text(u);r.addClass("has-success");r.removeClass("has-errors")},error:function(u){r.find(".status").text("There was a problem: "+u.responseText);r.removeClass("has-success");r.addClass("has-errors")}})}}l(function(){$("form").submit(p);$("#my-ziba-corner").not(".locked").each(function(){$(this).css({height:"0",width:"0"});window.setTimeout(b,600)})})};h.myZibaReset=function(){function q(t){var s=true,u=[];t.find("input[type=text],input[type=password]").each(function(w,v){if(v.value==""){$(v.parentNode).addClass("has-error");u.push($("label[for="+v.id+"]").text().toLowerCase()+" is blank");s=false}else{$(v.parentNode).removeClass("has-error")}});if(!s){if(u.length>1){var r=u[u.length-1];r="and "+r}t.find(".status").text("Error: "+u.join(", ")+".");t.removeClass("has-success");t.addClass("has-errors")}else{t.removeClass("has-errors")}return s}function p(s){var r=$(this);if(!q(r)){s.preventDefault()}}l(function(){$("form").submit(p);$("#my-ziba-corner").not(".locked").each(function(){$(this).css({height:"0",width:"0"});window.setTimeout(b,600)})})};return h})();function getPageScroll(){var c,b;if(self.pageYOffset){b=self.pageYOffset;c=self.pageXOffset}else{if(document.documentElement&&document.documentElement.scrollTop){b=document.documentElement.scrollTop;c=document.documentElement.scrollLeft}else{if(document.body){b=document.body.scrollTop;c=document.body.scrollLeft}}}return{x:c,y:b}}function getPageSize(){var d,b,c,e;if(window.innerHeight&&window.scrollMaxY){d=window.innerWidth+window.scrollMaxX;b=window.innerHeight+window.scrollMaxY}else{if(document.body.scrollHeight>document.body.offsetHeight){d=document.body.scrollWidth;b=document.body.scrollHeight}else{d=document.body.offsetWidth;b=document.body.offsetHeight}}if(self.innerHeight){if(document.documentElement.clientWidth){c=document.documentElement.clientWidth}else{c=self.innerWidth}e=self.innerHeight}else{if(document.documentElement&&document.documentElement.clientHeight){c=document.documentElement.clientWidth;e=document.documentElement.clientHeight}else{if(document.body){c=document.body.clientWidth;e=document.body.clientHeight}}}if(b<e){pageHeight=e}else{pageHeight=b}if(d<c){pageWidth=d}else{pageWidth=c}return{pageWidth:pageWidth,pageHeight:pageHeight,windowWidth:c,windowHeight:e}}(function(){if(!document.documentElement||document.documentElement.tagName.toLowerCase()!="html"){return}if(jQuery.browser.msie&&parseInt(jQuery.browser.version,10)<=6){return}ziba.transitions=true;ziba.ready=function(){var p=[],o=function(q){if($.isReady){p.push(q)}else{$(document).ready(q)}};o.go=function(){for(var r=0,q=p.length;r<q;++r){p[r].call(document,null)}p=[]};return o}();var h,e,f,c,l,j={};ziba.ready(function(){h=$("body");e=$("#clip");f=$("#header");c=$("#content-wrapper");l=$("#content")});function k(p){var s=p.split("-"),r=[];for(var q=0,o=s.length;q<o;++q){r.push(s[q].substr(0,1).toUpperCase()+s[q].substr(1))}return r.join(" ")||"Home"}var g=(function(){var v={},A=window.location.host||window.location.hostname,u=false,r=null,o="/",w=null,q="right",t=false,y=null;var p=SWFAddress.getValue,z=function(D){var B=$(D.target).closest("a"),C=B.get(0).pathname;D.preventDefault();$(".on").removeClass("on");B.addClass("on");switch(B.attr("rel")){case"left":q="left";break;case"up":q="up";break;case"right":default:q="right";break}SWFAddress.setValue(C)};function s(D){var B=$("body"),C=false;if(D.match(/^\/((work)|(work\/client\/.*))\/$/)&&B.attr("id")=="work"&&(!B.hasClass("detail")||B.hasClass("client"))){ziba.work.loadClient(D);C=true}return C}function x(){var E=p().replace(/(.*?)\?.*/,"$1");function D(){m.hide(o,q,function(){if(r){E=r;r=null}if(y){y();y=null}C()})}function C(){$.ajax({url:E,dataType:"html",error:function(F){console.log(F)},success:function(F){},complete:function(F){if(r){E=r;r=null;C()}else{B(F.responseText)}}})}function B(F){m.show(E,F,q,function(){u=false;o=E;q="right";if(r){r=null;x()}else{if(w){$.scrollTo($(w),250);w=null}}})}if(t){if(!s(E)){if(!u){u=true;D()}else{r=E}}}else{if(o!=E){u=true;t=true;D()}else{if(o!=window.location.pathname&&window.location.pathname!="/my-ziba/reset/"){o=window.location.pathname;SWFAddress.setValue(window.location.pathname)}else{l.fadeIn(200);t=true}}}}ziba.ready(function(){SWFAddress.setStrict(true);SWFAddress.addEventListener(SWFAddressEvent.CHANGE,x);g.addLinks($("#header")).addLinks($("#content"))});return{addLinks:function(B){var C=$(B).find('a[rel!="notransition"][rel!="external"]');C.each(function(E,D){if((D.host==A||D.hostname==A)&&!D.hash){$(D).click(z)}else{if(D.host==A||D.hostname==A){var F=(D.pathname.charAt(0)=="/"?"":"/")+D.pathname;if(F==p()){$(D).click(function(G){G.preventDefault();$.scrollTo($(D.hash),250)})}else{$(D).click(function(G){w=D.hash;z(G)})}}}});return this},onUnload:function(B){y=B;return this}}})();ziba.routing=g;var m=(function(){var o=false,r=true;function p(z,w,y,A){var x=this,u=arguments,s;if(!o&&!r){o=true;z=z.replace(/^\/(.*)\/$/,"$1").split("/");h.attr({id:(z[0]||"home")}).removeAttr("class");if(z[1]){h.addClass("detail").addClass(z[1])}var v=k(z[0]);document.title="Ziba - "+(v=="Home"?"A Design and Innovation Consultancy":v);l.append(w);g.addLinks(l);s=b(z).show(y);s.complete(function(){r=true;o=false;if(A){A()}});window.setTimeout(function(){if($.inArray("my-ziba",z)!=-1){f.addClass("my-ziba")}else{f.removeClass("my-ziba")}},200);window.setTimeout(s.run,15)}else{window.setTimeout(function(){p.apply(x,u)},50)}}function q(w,v,x){var u=this,t=arguments,s;if(!o&&r){o=true;s=b(w).hide(v);s.complete(function(){o=false;r=false;if(x){x()}});window.setTimeout(s.run,15)}else{window.setTimeout(function(){q.apply(u,t)},50)}}return{show:p,hide:q}})();var i=function(){var p=[],r=0,o,s,q=function(){};q.prototype={setup:function(t){o=t},add:function(u,w,v){var t=v.complete||function(){};v.complete=function(){t();--r;if(r==0){p=[];if(s){s()}}};p.push(function(){u.animate(w,v)});++r},complete:function(t){s=t},run:function(){if(o){o()}for(var u=0,t=p.length;u<t;++u){p[u]()}},finished:function(){return !(r)}};return new q};function b(s){var q=d,r;for(var p=0,o=s.length;p<o;++p){if(q[s[p]]){q=q[s[p]]}else{if(q._slug){r=q._slug}else{r=q._landing}break}}if(!r){r=q._landing}return{show:function(u){var t=i();t.setup(function(){l.css({display:"block",opacity:"0",position:"relative"});switch(u){case"left":l.css({left:"20px"});break;case"up":l.css({top:"20px"});break;case"right":default:l.css({left:"-20px"});break}if(r.content){l.css({backgroundColor:r.content})}f.addClass("no-fade");ziba.ready.go()});t.add(f,{backgroundColor:r.header},{duration:250,complete:function(){var v=f.css("backgroundColor");f.find("span").css({backgroundColor:v});f.removeClass("no-fade");f.find(".on").removeClass("on")}});t.add(h,{backgroundColor:r.body},{duration:250,complete:function(){}});t.add(l,{left:"0",top:"0",opacity:"1"},{duration:300,complete:function(){l.css({backgroundColor:"",left:"auto",top:"auto",position:"relative"})}});return t},hide:function(v){var u=i(),t={opacity:"0"};u.setup(function(){var x=getPageScroll(),y=getPageSize(),w=f.height()+parseInt(f.css("padding-top"))+parseInt(f.css("padding-bottom"));$("html,body").css({overflow:"hidden"});c.css({height:c.height()+"px"});e.css({height:e.height()+"px",position:"absolute"});l.css({position:"fixed",top:(-x.y+w)+"px"});e.css({position:"absolute"});$("html,body").css({height:y.windowHeight+"px",width:y.windowWidth+"px"})});switch(v){case"left":t.left="-20px";break;case"up":t.top="-=20px";break;case"right":default:t.left="20px";break}u.add(l,t,{duration:250,complete:function(){l.empty().css({left:"auto",top:"auto",position:"static",display:"none",opacity:"1"});e.css({position:"static",height:"auto"});c.css({height:"auto"});$("html, body").css({height:"auto",width:"auto",overflow:"auto"});e.removeClass("nt")}});return u}}}var n={content:"transparent",body:"#ffffff",header:"#f1f1f1"};var d={_landing:n,work:{_landing:n,client:{_landing:n,_slug:n},_slug:{body:"#f1f1f1",header:"#f1f1f1"}},perspectives:{_landing:n,article:{_slug:{body:"#ffffff",header:"#ffffff"}},publisher:{_slug:n},topic:{_slug:n},archive:{_slug:n},_slug:{body:"#ffffff",header:"#ffffff"}},trends:{_landing:{content:"transparent",body:"#121212",header:"#ffffff"},_slug:{body:"#ffffff",header:"#ffffff"}},events:{_landing:n,_slug:{body:"#f1f1f1",header:"#f1f1f1"}},"my-ziba":{_landing:{body:"#269de9",header:"#269de9"}}}})();
