/*
 * jQuery JavaScript Library v1.3.1
 * http://jquery.com/
 *
 * Copyright (c) 2009 John Resig
 * Dual licensed under the MIT and GPL licenses.
 * http://docs.jquery.com/License
 *
 * Date: 2009-01-21 20:42:16 -0500 (Wed, 21 Jan 2009)
 * Revision: 6158
 */
(function(){var l=this,g,z=l.jQuery,p=l.$,o=l.jQuery=l.$=function(F,G){return new o.fn.init(F,G)},E=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.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=o.clean([H[1]],I)}else{var J=document.getElementById(H[3]);if(J&&J.id!=H[3]){return o().find(F)}var G=o(J||[]);G.context=document;G.selector=F;return G}}else{return o(I).find(F)}}else{if(o.isFunction(F)){return o(document).ready(F)}}if(F.selector&&F.context){this.selector=F.selector;this.context=F.context}return this.setArray(o.makeArray(F))},selector:"",jquery:"1.3.1",size:function(){return this.length},get:function(F){return F===g?o.makeArray(this):this[F]},pushStack:function(G,I,F){var H=o(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 o.each(this,G,F)},index:function(F){return o.inArray(F&&F.jquery?F[0]:F,this)},attr:function(G,I,H){var F=G;if(typeof G==="string"){if(I===g){return this[0]&&o[H||"attr"](this[0],G)}else{F={};F[G]=I}}return this.each(function(J){for(G in F){o.attr(H?this.style:this,G,o.prop(this,F[G],H,J,G))}})},css:function(F,G){if((F=="width"||F=="height")&&parseFloat(G)<0){G=g}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="";o.each(G||this,function(){o.each(this.childNodes,function(){if(this.nodeType!=8){F+=this.nodeType!=1?this.nodeValue:o.fn.text([this])}})});return F},wrapAll:function(F){if(this[0]){var G=o(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(){o(this).contents().wrapAll(F)})},wrap:function(F){return this.each(function(){o(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||o([])},push:[].push,find:function(F){if(this.length===1&&!/,/.test(F)){var H=this.pushStack([],"find",F);H.length=0;o.find(F,this[0],H);return H}else{var G=o.map(this,function(I){return o.find(F,I)});return this.pushStack(/[^+>] [^+>]/.test(F)?o.unique(G):G,"find",F)}},clone:function(G){var F=this.map(function(){if(!o.support.noCloneEvent&&!o.isXMLDoc(this)){var J=this.cloneNode(true),I=document.createElement("div");I.appendChild(J);return o.clean([I.innerHTML])[0]}else{return this.cloneNode(true)}});var H=F.find("*").andSelf().each(function(){if(this[h]!==g){this[h]=null}});if(G===true){this.find("*").andSelf().each(function(J){if(this.nodeType==3){return}var I=o.data(this,"events");for(var L in I){for(var K in I[L]){o.event.add(H[J],L,I[L][K],I[L][K].data)}}})}return F},filter:function(F){return this.pushStack(o.isFunction(F)&&o.grep(this,function(H,G){return F.call(H,G)})||o.multiFilter(F,o.grep(this,function(G){return G.nodeType===1})),"filter",F)},closest:function(F){var G=o.expr.match.POS.test(F)?o(F):null;return this.map(function(){var H=this;while(H&&H.ownerDocument){if(G?G.index(H)>-1:o(H).is(F)){return H}H=H.parentNode}})},not:function(F){if(typeof F==="string"){if(f.test(F)){return this.pushStack(o.multiFilter(F,this,true),"not",F)}else{F=o.multiFilter(F,this)}}var G=F.length&&F[F.length-1]!==g&&!F.nodeType;return this.filter(function(){return G?o.inArray(this,F)<0:this!=F})},add:function(F){return this.pushStack(o.unique(o.merge(this.get(),typeof F==="string"?o(F):o.makeArray(F))))},is:function(F){return !!F&&o.multiFilter(F,this).length>0},hasClass:function(F){return !!F&&this.is("."+F)},val:function(L){if(L===g){var F=this[0];if(F){if(o.nodeName(F,"option")){return(F.attributes.value||{}).specified?F.value:F.text}if(o.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=o(H).val();if(I){return L}M.push(L)}}return M}return(F.value||"").replace(/\r/g,"")}return g}if(typeof L==="number"){L+=""}return this.each(function(){if(this.nodeType!=1){return}if(o.isArray(L)&&/radio|checkbox/.test(this.type)){this.checked=(o.inArray(this.value,L)>=0||o.inArray(this.name,L)>=0)}else{if(o.nodeName(this,"select")){var O=o.makeArray(L);o("option",this).each(function(){this.selected=(o.inArray(this.value,O)>=0||o.inArray(this.text,O)>=0)});if(!O.length){this.selectedIndex=-1}}else{this.value=L}}})},html:function(F){return F===g?(this[0]?this[0].innerHTML: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(o.map(this,function(H,G){return F.call(H,G,H)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(L,O,N){if(this[0]){var K=(this[0].ownerDocument||this[0]).createDocumentFragment(),H=o.clean(L,(this[0].ownerDocument||this[0]),K),J=K.firstChild,F=this.length>1?K.cloneNode(true):K;if(J){for(var I=0,G=this.length;I<G;I++){N.call(M(this[I],J),I>0?F.cloneNode(true):K)}}if(H){o.each(H,A)}}return this;function M(P,Q){return O&&o.nodeName(P,"table")&&o.nodeName(Q,"tr")?(P.getElementsByTagName("tbody")[0]||P.appendChild(P.ownerDocument.createElement("tbody"))):P}}};o.fn.init.prototype=o.fn;function A(F,G){if(G.src){o.ajax({url:G.src,async:false,dataType:"script"})}else{o.globalEval(G.text||G.textContent||G.innerHTML||"")}if(G.parentNode){G.parentNode.removeChild(G)}}function e(){return +new Date}o.extend=o.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"&&!o.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]=o.extend(F,L||(M.length!=null?[]:{}),M)}else{if(M!==g){K[G]=M}}}}}return K};var b=/z-?index|font-?weight|opacity|zoom|line-?height/i,q=document.defaultView||{},s=Object.prototype.toString;o.extend({noConflict:function(F){l.$=p;if(F){l.jQuery=z}return o},isFunction:function(F){return s.call(F)==="[object Function]"},isArray:function(F){return s.call(F)==="[object Array]"},isXMLDoc:function(F){return F.nodeType===9&&F.documentElement.nodeName!=="HTML"||!!F.ownerDocument&&o.isXMLDoc(F.ownerDocument)},globalEval:function(H){H=o.trim(H);if(H){var G=document.getElementsByTagName("head")[0]||document.documentElement,F=document.createElement("script");F.type="text/javascript";if(o.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===g){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===g){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(o.isFunction(J)){J=J.call(I,G)}return typeof J==="number"&&H=="curCSS"&&!b.test(F)?J+"px":J},className:{add:function(F,G){o.each((G||"").split(/\s+/),function(H,I){if(F.nodeType==1&&!o.className.has(F.className,I)){F.className+=(F.className?" ":"")+I}})},remove:function(F,G){if(F.nodeType==1){F.className=G!==g?o.grep(F.className.split(/\s+/),function(H){return !o.className.has(G,H)}).join(" "):""}},has:function(G,F){return G&&o.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(H,F,J){if(F=="width"||F=="height"){var L,G={position:"absolute",visibility:"hidden",display:"block"},K=F=="width"?["Left","Right"]:["Top","Bottom"];function I(){L=F=="width"?H.offsetWidth:H.offsetHeight;var N=0,M=0;o.each(K,function(){N+=parseFloat(o.curCSS(H,"padding"+this,true))||0;M+=parseFloat(o.curCSS(H,"border"+this+"Width",true))||0});L-=Math.round(N+M)}if(o(H).is(":visible")){I()}else{o.swap(H,G,I)}return Math.max(0,L)}return o.curCSS(H,F,J)},curCSS:function(J,G,H){var M,F=J.style;if(G=="opacity"&&!o.support.opacity){M=o.attr(F,"opacity");return M==""?"1":M}if(G.match(/float/i)){G=w}if(!H&&F&&F[G]){M=F[G]}else{if(q.getComputedStyle){if(G.match(/float/i)){G="float"}G=G.replace(/([A-Z])/g,"-$1").toLowerCase();var N=q.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");o.each(G,function(Q,S){if(typeof S==="number"){S+=""}if(!S){return}if(typeof S==="string"){S=S.replace(/(<(\w+)[^>]*?)\/>/g,function(U,V,T){return T.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?U:V+"></"+T+">"});var P=o.trim(S).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>"]||!o.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];M.innerHTML=R[1]+S+R[2];while(R[0]--){M=M.lastChild}if(!o.support.tbody){var O=!P.indexOf("<table")&&P.indexOf("<tbody")<0?M.firstChild&&M.firstChild.childNodes:R[1]=="<table>"&&P.indexOf("<tbody")<0?M.childNodes:[];for(var N=O.length-1;N>=0;--N){if(o.nodeName(O[N],"tbody")&&!O[N].childNodes.length){O[N].parentNode.removeChild(O[N])}}}if(!o.support.leadingWhitespace&&/^\s/.test(S)){M.insertBefore(L.createTextNode(S.match(/^\s*/)[0]),M.firstChild)}S=o.makeArray(M.childNodes)}if(S.nodeType){H.push(S)}else{H=o.merge(H,S)}});if(J){for(var K=0;H[K];K++){if(o.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(o.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 g}var I=!o.isXMLDoc(K),M=L!==g;H=I&&o.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"&&o.nodeName(K,"input")&&K.parentNode){throw"type property can't be changed"}K[H]=L}if(o.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:g}return K[H]}if(!o.support.style&&I&&H=="style"){return o.attr(K.style,"cssText",L)}if(M){K.setAttribute(H,""+L)}var F=!o.support.hrefNormalized&&I&&G?K.getAttribute(H,2):K.getAttribute(H);return F===null?g:F}if(!o.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"||o.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(!o.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=o.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();o.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)};o.each({parent:function(F){return F.parentNode},parents:function(F){return o.dir(F,"parentNode")},next:function(F){return o.nth(F,2,"nextSibling")},prev:function(F){return o.nth(F,2,"previousSibling")},nextAll:function(F){return o.dir(F,"nextSibling")},prevAll:function(F){return o.dir(F,"previousSibling")},siblings:function(F){return o.sibling(F.parentNode.firstChild,F)},children:function(F){return o.sibling(F.firstChild)},contents:function(F){return o.nodeName(F,"iframe")?F.contentDocument||F.contentWindow.document:o.makeArray(F.childNodes)}},function(F,G){o.fn[F]=function(H){var I=o.map(this,G);if(H&&typeof H=="string"){I=o.multiFilter(H,I)}return this.pushStack(o.unique(I),F,H)}});o.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(F,G){o.fn[F]=function(){var H=arguments;return this.each(function(){for(var I=0,J=H.length;I<J;I++){o(H[I])[G](this)}})}});o.each({removeAttr:function(F){o.attr(this,F,"");if(this.nodeType==1){this.removeAttribute(F)}},addClass:function(F){o.className.add(this,F)},removeClass:function(F){o.className.remove(this,F)},toggleClass:function(G,F){if(typeof F!=="boolean"){F=!o.className.has(this,G)}o.className[F?"add":"remove"](this,G)},remove:function(F){if(!F||o.filter(F,[this]).length){o("*",this).add([this]).each(function(){o.event.remove(this);o.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){o(">*",this).remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(F,G){o.fn[F]=function(){return this.each(G,arguments)}});function j(F,G){return F[0]&&parseInt(o.curCSS(F[0],G,true),10)||0}var h="jQuery"+e(),v=0,B={};o.extend({cache:{},data:function(G,F,H){G=G==l?B:G;var I=G[h];if(!I){I=G[h]=++v}if(F&&!o.cache[I]){o.cache[I]={}}if(H!==g){o.cache[I][F]=H}return F?o.cache[I][F]:I},removeData:function(G,F){G=G==l?B:G;var I=G[h];if(F){if(o.cache[I]){delete o.cache[I][F];F="";for(F in o.cache[I]){break}if(!F){o.removeData(G)}}}else{try{delete G[h]}catch(H){if(G.removeAttribute){G.removeAttribute(h)}}delete o.cache[I]}},queue:function(G,F,I){if(G){F=(F||"fx")+"queue";var H=o.data(G,F);if(!H||o.isArray(I)){H=o.data(G,F,o.makeArray(I))}else{if(I){H.push(I)}}}return H},dequeue:function(I,H){var F=o.queue(I,H),G=F.shift();if(!H||H==="fx"){G=F[0]}if(G!==g){G.call(I)}}});o.fn.extend({data:function(F,H){var I=F.split(".");I[1]=I[1]?"."+I[1]:"";if(H===g){var G=this.triggerHandler("getData"+I[1]+"!",[I[0]]);if(G===g&&this.length){G=o.data(this[0],F)}return G===g&&I[1]?this.data(I[0]):G}else{return this.trigger("setData"+I[1]+"!",[I[0],H]).each(function(){o.data(this,F,H)})}},removeData:function(F){return this.each(function(){o.removeData(this,F)})},queue:function(F,G){if(typeof F!=="string"){G=F;F="fx"}if(G===g){return o.queue(this[0],F)}return this.each(function(){var H=o.queue(this,F,G);if(F=="fx"&&H.length==1){H[0].call(this)}})},dequeue:function(F){return this.each(function(){o.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 R=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]+['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[]+)+|[>+~])(\s*,\s*)?/g,L=0,H=Object.prototype.toString;var G=function(Y,U,ab,ac){ab=ab||[];U=U||document;if(U.nodeType!==1&&U.nodeType!==9){return[]}if(!Y||typeof Y!=="string"){return ab}var Z=[],W,af,ai,T,ad,V,X=true;R.lastIndex=0;while((W=R.exec(Y))!==null){Z.push(W[1]);if(W[2]){V=RegExp.rightContext;break}}if(Z.length>1&&M.exec(Y)){if(Z.length===2&&I.relative[Z[0]]){af=J(Z[0]+Z[1],U)}else{af=I.relative[Z[0]]?[U]:G(Z.shift(),U);while(Z.length){Y=Z.shift();if(I.relative[Y]){Y+=Z.shift()}af=J(Y,af)}}}else{var ae=ac?{expr:Z.pop(),set:F(ac)}:G.find(Z.pop(),Z.length===1&&U.parentNode?U.parentNode:U,Q(U));af=G.filter(ae.expr,ae.set);if(Z.length>0){ai=F(af)}else{X=false}while(Z.length){var ah=Z.pop(),ag=ah;if(!I.relative[ah]){ah=""}else{ag=Z.pop()}if(ag==null){ag=U}I.relative[ah](ai,ag,Q(U))}}if(!ai){ai=af}if(!ai){throw"Syntax error, unrecognized expression: "+(ah||Y)}if(H.call(ai)==="[object Array]"){if(!X){ab.push.apply(ab,ai)}else{if(U.nodeType===1){for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&(ai[aa]===true||ai[aa].nodeType===1&&K(U,ai[aa]))){ab.push(af[aa])}}}else{for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&ai[aa].nodeType===1){ab.push(af[aa])}}}}}else{F(ai,ab)}if(V){G(V,U,ab,ac)}return ab};G.matches=function(T,U){return G(T,null,null,U)};G.find=function(aa,T,ab){var Z,X;if(!aa){return[]}for(var W=0,V=I.order.length;W<V;W++){var Y=I.order[W],X;if((X=I.match[Y].exec(aa))){var U=RegExp.leftContext;if(U.substr(U.length-1)!=="\\"){X[1]=(X[1]||"").replace(/\\/g,"");Z=I.find[Y](X,T,ab);if(Z!=null){aa=aa.replace(I.match[Y],"");break}}}}if(!Z){Z=T.getElementsByTagName("*")}return{set:Z,expr:aa}};G.filter=function(ac,ab,af,W){var V=ac,ah=[],Z=ab,Y,T;while(ac&&ab.length){for(var aa in I.filter){if((Y=I.match[aa].exec(ac))!=null){var U=I.filter[aa],ag,ae;T=false;if(Z==ah){ah=[]}if(I.preFilter[aa]){Y=I.preFilter[aa](Y,Z,af,ah,W);if(!Y){T=ag=true}else{if(Y===true){continue}}}if(Y){for(var X=0;(ae=Z[X])!=null;X++){if(ae){ag=U(ae,Y,X,Z);var ad=W^!!ag;if(af&&ag!=null){if(ad){T=true}else{Z[X]=false}}else{if(ad){ah.push(ae);T=true}}}}}if(ag!==g){if(!af){Z=ah}ac=ac.replace(I.match[aa],"");if(!T){return[]}break}}}ac=ac.replace(/\s*,\s*/,"");if(ac==V){if(T==null){throw"Syntax error, unrecognized expression: "+ac}else{break}}V=ac}return Z};var I=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(T){return T.getAttribute("href")}},relative:{"+":function(X,U){for(var V=0,T=X.length;V<T;V++){var W=X[V];if(W){var Y=W.previousSibling;while(Y&&Y.nodeType!==1){Y=Y.previousSibling}X[V]=typeof U==="string"?Y||false:Y===U}}if(typeof U==="string"){G.filter(U,X,true)}},">":function(Y,U,Z){if(typeof U==="string"&&!/\W/.test(U)){U=Z?U:U.toUpperCase();for(var V=0,T=Y.length;V<T;V++){var X=Y[V];if(X){var W=X.parentNode;Y[V]=W.nodeName===U?W:false}}}else{for(var V=0,T=Y.length;V<T;V++){var X=Y[V];if(X){Y[V]=typeof U==="string"?X.parentNode:X.parentNode===U}}if(typeof U==="string"){G.filter(U,Y,true)}}},"":function(W,U,Y){var V="done"+(L++),T=S;if(!U.match(/\W/)){var X=U=Y?U:U.toUpperCase();T=P}T("parentNode",U,V,W,X,Y)},"~":function(W,U,Y){var V="done"+(L++),T=S;if(typeof U==="string"&&!U.match(/\W/)){var X=U=Y?U:U.toUpperCase();T=P}T("previousSibling",U,V,W,X,Y)}},find:{ID:function(U,V,W){if(typeof V.getElementById!=="undefined"&&!W){var T=V.getElementById(U[1]);return T?[T]:[]}},NAME:function(T,U,V){if(typeof U.getElementsByName!=="undefined"&&!V){return U.getElementsByName(T[1])}},TAG:function(T,U){return U.getElementsByTagName(T[1])}},preFilter:{CLASS:function(W,U,V,T,Z){W=" "+W[1].replace(/\\/g,"")+" ";var Y;for(var X=0;(Y=U[X])!=null;X++){if(Y){if(Z^(" "+Y.className+" ").indexOf(W)>=0){if(!V){T.push(Y)}}else{if(V){U[X]=false}}}}return false},ID:function(T){return T[1].replace(/\\/g,"")},TAG:function(U,T){for(var V=0;T[V]===false;V++){}return T[V]&&Q(T[V])?U[1]:U[1].toUpperCase()},CHILD:function(T){if(T[1]=="nth"){var U=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(T[2]=="even"&&"2n"||T[2]=="odd"&&"2n+1"||!/\D/.test(T[2])&&"0n+"+T[2]||T[2]);T[2]=(U[1]+(U[2]||1))-0;T[3]=U[3]-0}T[0]="done"+(L++);return T},ATTR:function(U){var T=U[1].replace(/\\/g,"");if(I.attrMap[T]){U[1]=I.attrMap[T]}if(U[2]==="~="){U[4]=" "+U[4]+" "}return U},PSEUDO:function(X,U,V,T,Y){if(X[1]==="not"){if(X[3].match(R).length>1){X[3]=G(X[3],null,null,U)}else{var W=G.filter(X[3],U,V,true^Y);if(!V){T.push.apply(T,W)}return false}}else{if(I.match.POS.test(X[0])){return true}}return X},POS:function(T){T.unshift(true);return T}},filters:{enabled:function(T){return T.disabled===false&&T.type!=="hidden"},disabled:function(T){return T.disabled===true},checked:function(T){return T.checked===true},selected:function(T){T.parentNode.selectedIndex;return T.selected===true},parent:function(T){return !!T.firstChild},empty:function(T){return !T.firstChild},has:function(V,U,T){return !!G(T[3],V).length},header:function(T){return/h\d/i.test(T.nodeName)},text:function(T){return"text"===T.type},radio:function(T){return"radio"===T.type},checkbox:function(T){return"checkbox"===T.type},file:function(T){return"file"===T.type},password:function(T){return"password"===T.type},submit:function(T){return"submit"===T.type},image:function(T){return"image"===T.type},reset:function(T){return"reset"===T.type},button:function(T){return"button"===T.type||T.nodeName.toUpperCase()==="BUTTON"},input:function(T){return/input|select|textarea|button/i.test(T.nodeName)}},setFilters:{first:function(U,T){return T===0},last:function(V,U,T,W){return U===W.length-1},even:function(U,T){return T%2===0},odd:function(U,T){return T%2===1},lt:function(V,U,T){return U<T[3]-0},gt:function(V,U,T){return U>T[3]-0},nth:function(V,U,T){return T[3]-0==U},eq:function(V,U,T){return T[3]-0==U}},filter:{CHILD:function(T,W){var Z=W[1],aa=T.parentNode;var Y=W[0];if(aa&&(!aa[Y]||!T.nodeIndex)){var X=1;for(var U=aa.firstChild;U;U=U.nextSibling){if(U.nodeType==1){U.nodeIndex=X++}}aa[Y]=X-1}if(Z=="first"){return T.nodeIndex==1}else{if(Z=="last"){return T.nodeIndex==aa[Y]}else{if(Z=="only"){return aa[Y]==1}else{if(Z=="nth"){var ac=false,V=W[2],ab=W[3];if(V==1&&ab==0){return true}if(V==0){if(T.nodeIndex==ab){ac=true}}else{if((T.nodeIndex-ab)%V==0&&(T.nodeIndex-ab)/V>=0){ac=true}}return ac}}}}},PSEUDO:function(Z,V,W,aa){var U=V[1],X=I.filters[U];if(X){return X(Z,W,V,aa)}else{if(U==="contains"){return(Z.textContent||Z.innerText||"").indexOf(V[3])>=0}else{if(U==="not"){var Y=V[3];for(var W=0,T=Y.length;W<T;W++){if(Y[W]===Z){return false}}return true}}}},ID:function(U,T){return U.nodeType===1&&U.getAttribute("id")===T},TAG:function(U,T){return(T==="*"&&U.nodeType===1)||U.nodeName===T},CLASS:function(U,T){return T.test(U.className)},ATTR:function(X,V){var T=I.attrHandle[V[1]]?I.attrHandle[V[1]](X):X[V[1]]||X.getAttribute(V[1]),Y=T+"",W=V[2],U=V[4];return T==null?W==="!=":W==="="?Y===U:W==="*="?Y.indexOf(U)>=0:W==="~="?(" "+Y+" ").indexOf(U)>=0:!V[4]?T:W==="!="?Y!=U:W==="^="?Y.indexOf(U)===0:W==="$="?Y.substr(Y.length-U.length)===U:W==="|="?Y===U||Y.substr(0,U.length+1)===U+"-":false},POS:function(X,U,V,Y){var T=U[2],W=I.setFilters[T];if(W){return W(X,V,U,Y)}}}};var M=I.match.POS;for(var O in I.match){I.match[O]=RegExp(I.match[O].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var F=function(U,T){U=Array.prototype.slice.call(U);if(T){T.push.apply(T,U);return T}return U};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(N){F=function(X,W){var U=W||[];if(H.call(X)==="[object Array]"){Array.prototype.push.apply(U,X)}else{if(typeof X.length==="number"){for(var V=0,T=X.length;V<T;V++){U.push(X[V])}}else{for(var V=0;X[V];V++){U.push(X[V])}}}return U}}(function(){var U=document.createElement("form"),V="script"+(new Date).getTime();U.innerHTML="<input name='"+V+"'/>";var T=document.documentElement;T.insertBefore(U,T.firstChild);if(!!document.getElementById(V)){I.find.ID=function(X,Y,Z){if(typeof Y.getElementById!=="undefined"&&!Z){var W=Y.getElementById(X[1]);return W?W.id===X[1]||typeof W.getAttributeNode!=="undefined"&&W.getAttributeNode("id").nodeValue===X[1]?[W]:g:[]}};I.filter.ID=function(Y,W){var X=typeof Y.getAttributeNode!=="undefined"&&Y.getAttributeNode("id");return Y.nodeType===1&&X&&X.nodeValue===W}}T.removeChild(U)})();(function(){var T=document.createElement("div");T.appendChild(document.createComment(""));if(T.getElementsByTagName("*").length>0){I.find.TAG=function(U,Y){var X=Y.getElementsByTagName(U[1]);if(U[1]==="*"){var W=[];for(var V=0;X[V];V++){if(X[V].nodeType===1){W.push(X[V])}}X=W}return X}}T.innerHTML="<a href='#'></a>";if(T.firstChild&&T.firstChild.getAttribute("href")!=="#"){I.attrHandle.href=function(U){return U.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var T=G,U=document.createElement("div");U.innerHTML="<p class='TEST'></p>";if(U.querySelectorAll&&U.querySelectorAll(".TEST").length===0){return}G=function(Y,X,V,W){X=X||document;if(!W&&X.nodeType===9&&!Q(X)){try{return F(X.querySelectorAll(Y),V)}catch(Z){}}return T(Y,X,V,W)};G.find=T.find;G.filter=T.filter;G.selectors=T.selectors;G.matches=T.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){I.order.splice(1,0,"CLASS");I.find.CLASS=function(T,U){return U.getElementsByClassName(T[1])}}function P(U,aa,Z,ad,ab,ac){for(var X=0,V=ad.length;X<V;X++){var T=ad[X];if(T){T=T[U];var Y=false;while(T&&T.nodeType){var W=T[Z];if(W){Y=ad[W];break}if(T.nodeType===1&&!ac){T[Z]=X}if(T.nodeName===aa){Y=T;break}T=T[U]}ad[X]=Y}}}function S(U,Z,Y,ac,aa,ab){for(var W=0,V=ac.length;W<V;W++){var T=ac[W];if(T){T=T[U];var X=false;while(T&&T.nodeType){if(T[Y]){X=ac[T[Y]];break}if(T.nodeType===1){if(!ab){T[Y]=W}if(typeof Z!=="string"){if(T===Z){X=true;break}}else{if(G.filter(Z,[T]).length>0){X=T;break}}}T=T[U]}ac[W]=X}}}var K=document.compareDocumentPosition?function(U,T){return U.compareDocumentPosition(T)&16}:function(U,T){return U!==T&&(U.contains?U.contains(T):true)};var Q=function(T){return T.nodeType===9&&T.documentElement.nodeName!=="HTML"||!!T.ownerDocument&&Q(T.ownerDocument)};var J=function(T,aa){var W=[],X="",Y,V=aa.nodeType?[aa]:aa;while((Y=I.match.PSEUDO.exec(T))){X+=Y[0];T=T.replace(I.match.PSEUDO,"")}T=I.relative[T]?T+"*":T;for(var Z=0,U=V.length;Z<U;Z++){G(T,V[Z],W)}return G.filter(X,W)};o.find=G;o.filter=G.filter;o.expr=G.selectors;o.expr[":"]=o.expr.filters;G.selectors.filters.hidden=function(T){return"hidden"===T.type||o.css(T,"display")==="none"||o.css(T,"visibility")==="hidden"};G.selectors.filters.visible=function(T){return"hidden"!==T.type&&o.css(T,"display")!=="none"&&o.css(T,"visibility")!=="hidden"};G.selectors.filters.animated=function(T){return o.grep(o.timers,function(U){return T===U.elem}).length};o.multiFilter=function(V,T,U){if(U){V=":not("+V+")"}return G.matches(V,T)};o.dir=function(V,U){var T=[],W=V[U];while(W&&W!=document){if(W.nodeType==1){T.push(W)}W=W[U]}return T};o.nth=function(X,T,V,W){T=T||1;var U=0;for(;X;X=X[V]){if(X.nodeType==1&&++U==T){break}}return X};o.sibling=function(V,U){var T=[];for(;V;V=V.nextSibling){if(V.nodeType==1&&V!=U){T.push(V)}}return T};return;l.Sizzle=G})();o.event={add:function(J,G,I,L){if(J.nodeType==3||J.nodeType==8){return}if(J.setInterval&&J!=l){J=l}if(!I.guid){I.guid=this.guid++}if(L!==g){var H=I;I=this.proxy(H);I.data=L}var F=o.data(J,"events")||o.data(J,"events",{}),K=o.data(J,"handle")||o.data(J,"handle",function(){return typeof o!=="undefined"&&!o.event.triggered?o.event.handle.apply(arguments.callee.elem,arguments):g});K.elem=J;o.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(o.event.specialAll[O]){o.event.specialAll[O].setup.call(J,L,P)}if(!M){M=F[O]={};if(!o.event.special[O]||o.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;o.event.global[O]=true});J=null},guid:1,global:{},remove:function(L,I,K){if(L.nodeType==3||L.nodeType==8){return}var H=o.data(L,"events"),G,F;if(H){if(I===g||(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}o.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(o.event.specialAll[P]){o.event.specialAll[P].teardown.call(L,R)}for(G in H[P]){break}if(!G){if(!o.event.special[P]||o.event.special[P].teardown.call(L,R)===false){if(L.removeEventListener){L.removeEventListener(P,o.data(L,"handle"),false)}else{if(L.detachEvent){L.detachEvent("on"+P,o.data(L,"handle"))}}}G=null;delete H[P]}}})}for(G in H){break}if(!G){var M=o.data(L,"handle");if(M){M.elem=null}o.removeData(L,"events");o.removeData(L,"handle")}}},trigger:function(J,L,I,F){var H=J.type||J;if(!F){J=typeof J==="object"?J[h]?J:o.extend(o.Event(H),J):o.Event(H);if(H.indexOf("!")>=0){J.type=H=H.slice(0,-1);J.exclusive=true}if(!I){J.stopPropagation();if(this.global[H]){o.each(o.cache,function(){if(this.events&&this.events[H]){o.event.trigger(J,L,this.handle.elem)}})}}if(!I||I.nodeType==3||I.nodeType==8){return g}J.result=g;J.target=I;L=o.makeArray(L);L.unshift(J)}J.currentTarget=I;var K=o.data(I,"handle");if(K){K.apply(I,L)}if((!I[H]||(o.nodeName(I,"a")&&H=="click"))&&I["on"+H]&&I["on"+H].apply(I,L)===false){J.result=false}if(!F&&I[H]&&!J.isDefaultPrevented()&&!(o.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){o.event.trigger(J,L,G,true)}}},handle:function(L){var K,F;L=arguments[0]=o.event.fix(L||l.event);var M=L.type.split(".");L.type=M.shift();K=!M.length&&!L.exclusive;var J=RegExp("(^|\\.)"+M.slice().sort().join(".*\\.")+"(\\.|$)");F=(o.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!==g){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[h]){return I}var G=I;I=o.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){o.event.add(this,G[0],c)},teardown:function(H){if(H.length){var F=0,G=RegExp("(^|\\.)"+H[0]+"(\\.|$)");o.each((o.data(this,"events").live||{}),function(){if(G.test(this.type)){F++}});if(F<1){o.event.remove(this,H[0],c)}}}}}};o.Event=function(F){if(!this.preventDefault){return new o.Event(F)}if(F&&F.type){this.originalEvent=F;this.type=F.type}else{this.type=F}this.timeStamp=e();this[h]=true};function k(){return false}function u(){return true}o.Event.prototype={preventDefault:function(){this.isDefaultPrevented=u;var F=this.originalEvent;if(!F){return}if(F.preventDefault){F.preventDefault()}F.returnValue=false},stopPropagation:function(){this.isPropagationStopped=u;var F=this.originalEvent;if(!F){return}if(F.stopPropagation){F.stopPropagation()}F.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=u;this.stopPropagation()},isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k};var a=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;o.event.handle.apply(this,arguments)}};o.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(G,F){o.event.special[F]={setup:function(){o.event.add(this,G,a,F)},teardown:function(){o.event.remove(this,G,a)}}});o.fn.extend({bind:function(G,H,F){return G=="unload"?this.one(G,H,F):this.each(function(){o.event.add(this,G,F||H,F&&H)})},one:function(H,I,G){var F=o.event.proxy(G||I,function(J){o(this).unbind(J,F);return(G||I).apply(this,arguments)});return this.each(function(){o.event.add(this,H,F,G&&I)})},unbind:function(G,F){return this.each(function(){o.event.remove(this,G,F)})},trigger:function(F,G){return this.each(function(){o.event.trigger(F,G,this)})},triggerHandler:function(F,H){if(this[0]){var G=o.Event(F);G.preventDefault();G.stopPropagation();o.event.trigger(G,H,this[0]);return G.result}},toggle:function(H){var F=arguments,G=1;while(G<F.length){o.event.proxy(H,F[G++])}return this.click(o.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(o.isReady){F.call(document,o)}else{o.readyList.push(F)}return this},live:function(H,G){var F=o.event.proxy(G);F.guid+=this.selector+H;o(document).bind(i(H,this.selector),this.selector,F);return this},die:function(G,F){o(document).unbind(i(G,this.selector),F?{guid:F.guid+this.selector+G}:null);return this}});function c(I){var F=RegExp("(^|\\.)"+I.type+"(\\.|$)"),H=true,G=[];o.each(o.data(this,"events").live||[],function(J,K){if(F.test(K.type)){var L=o(I.target).closest(K.data)[0];if(L){G.push({elem:L,fn:K})}}});o.each(G,function(){if(this.fn.call(this.elem,I,this.fn.data)===false){H=false}});return H}function i(G,F){return["live",G,F.replace(/\./g,"`").replace(/ /g,"|")].join(".")}o.extend({isReady:false,readyList:[],ready:function(){if(!o.isReady){o.isReady=true;if(o.readyList){o.each(o.readyList,function(){this.call(document,o)});o.readyList=null}o(document).triggerHandler("ready")}}});var y=false;function C(){if(y){return}y=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);o.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);o.ready()}});if(document.documentElement.doScroll&&typeof l.frameElement==="undefined"){(function(){if(o.isReady){return}try{document.documentElement.doScroll("left")}catch(F){setTimeout(arguments.callee,0);return}o.ready()})()}}}o.event.add(l,"load",o.ready)}o.each(("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error").split(","),function(G,F){o.fn[F]=function(H){return H?this.bind(F,H):this.trigger(F)}});o(l).bind("unload",function(){for(var F in o.cache){if(F!=1&&o.cache[F].handle){o.event.remove(o.cache[F].handle.elem)}}});(function(){o.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}o.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(l[K]){o.support.scriptEval=true;delete l[K]}G.removeChild(H);if(L.attachEvent&&L.fireEvent){L.attachEvent("onclick",function(){o.support.noCloneEvent=false;L.detachEvent("onclick",arguments.callee)});L.cloneNode(true).fireEvent("onclick")}o(function(){var M=document.createElement("div");M.style.width="1px";M.style.paddingLeft="1px";document.body.appendChild(M);o.boxModel=o.support.boxModel=M.offsetWidth===2;document.body.removeChild(M)})})();var w=o.support.cssFloat?"cssFloat":"styleFloat";o.props={"for":"htmlFor","class":"className","float":w,cssFloat:w,styleFloat:w,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};o.fn.extend({_load:o.fn.load,load:function(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(o.isFunction(K)){L=K;K=null}else{if(typeof K==="object"){K=o.param(K);I="POST"}}}var G=this;o.ajax({url:H,type:I,dataType:"html",data:K,complete:function(N,M){if(M=="success"||M=="notmodified"){G.html(F?o("<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 o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?o.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password/i.test(this.type))}).map(function(F,G){var H=o(this).val();return H==null?null:o.isArray(H)?o.map(H,function(J,I){return{name:G.name,value:J}}):{name:G.name,value:H}}).get()}});o.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(F,G){o.fn[G]=function(H){return this.bind(G,H)}});var r=e();o.extend({get:function(F,H,I,G){if(o.isFunction(H)){I=H;H=null}return o.ajax({type:"GET",url:F,data:H,success:I,dataType:G})},getScript:function(F,G){return o.get(F,null,G,"script")},getJSON:function(F,G,H){return o.get(F,G,H,"json")},post:function(F,H,I,G){if(o.isFunction(H)){I=H;H={}}return o.ajax({type:"POST",url:F,data:H,success:I,dataType:G})},ajaxSetup:function(F){o.extend(o.ajaxSettings,F)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return l.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(N){N=o.extend(true,N,o.extend(true,{},o.ajaxSettings,N));var X,G=/=\?(&|$)/g,S,W,H=N.type.toUpperCase();if(N.data&&N.processData&&typeof N.data!=="string"){N.data=o.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"+r++;if(N.data){N.data=(N.data+"").replace(G,"="+X+"$1")}N.url=N.url.replace(G,"="+X+"$1");N.dataType="script";l[X]=function(Y){W=Y;J();M();l[X]=g;try{delete l[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=e();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&&!o.active++){o.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();I.removeChild(U)}}}I.appendChild(U);return g}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",o.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&&!--o.active){o.event.trigger("ajaxStop")}K.abort();return false}if(N.global){o.event.trigger("ajaxSend",[K,N])}var O=function(Y){if(K.readyState==0){if(Q){clearInterval(Q);Q=null;if(N.global&&!--o.active){o.event.trigger("ajaxStop")}}}else{if(!L&&K&&(K.readyState==4||Y=="timeout")){L=true;if(Q){clearInterval(Q);Q=null}S=Y=="timeout"?"timeout":!o.httpSuccess(K)?"error":N.ifModified&&o.httpNotModified(K,N.url)?"notmodified":"success";if(S=="success"){try{W=o.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){o.lastModified[N.url]=Z}if(!X){J()}}else{o.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){o.handleError(N,K,null,T)}if(!N.async){O()}function J(){if(N.success){N.success(W,S)}if(N.global){o.event.trigger("ajaxSuccess",[K,N])}}function M(){if(N.complete){N.complete(K,S)}if(N.global){o.event.trigger("ajaxComplete",[K,N])}if(N.global&&!--o.active){o.event.trigger("ajaxStop")}}return K},handleError:function(G,I,F,H){if(G.error){G.error(I,F,H)}if(G.global){o.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==o.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"){o.globalEval(J)}if(I=="json"){J=l["eval"]("("+J+")")}}return J},param:function(F){var H=[];function I(J,K){H[H.length]=encodeURIComponent(J)+"="+encodeURIComponent(K)}if(o.isArray(F)||F.jquery){o.each(F,function(){I(this.name,this.value)})}else{for(var G in F){if(o.isArray(F[G])){o.each(F[G],function(){I(G,this)})}else{I(G,o.isFunction(F[G])?F[G]():F[G])}}}return H.join("&").replace(/%20/g,"+")}});var m={},n,d=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function t(G,F){var H={};o.each(d.concat.apply([],d.slice(0,F)),function(){H[this]=G});return H}o.fn.extend({show:function(K,M){if(K){return this.animate(t("show",3),K,M)}else{for(var I=0,G=this.length;I<G;I++){var F=o.data(this[I],"olddisplay");this[I].style.display=F||"";if(o.css(this[I],"display")==="none"){var H=this[I].tagName,L;if(m[H]){L=m[H]}else{var J=o("<"+H+" />").appendTo("body");L=J.css("display");if(L==="none"){L="block"}J.remove();m[H]=L}this[I].style.display=o.data(this[I],"olddisplay",L)}}return this}},hide:function(I,J){if(I){return this.animate(t("hide",3),I,J)}else{for(var H=0,G=this.length;H<G;H++){var F=o.data(this[H],"olddisplay");if(!F&&F!=="none"){o.data(this[H],"olddisplay",o.css(this[H],"display"))}this[H].style.display="none"}return this}},_toggle:o.fn.toggle,toggle:function(H,G){var F=typeof H==="boolean";return o.isFunction(H)&&o.isFunction(G)?this._toggle.apply(this,arguments):H==null||F?this.each(function(){var I=F?H:o(this).is(":hidden");o(this)[I?"show":"hide"]()}):this.animate(t("toggle",3),H,G)},fadeTo:function(F,H,G){return this.animate({opacity:H},F,G)},animate:function(J,G,I,H){var F=o.speed(G,I,H);return this[F.queue===false?"each":"queue"](function(){var L=o.extend({},F),N,M=this.nodeType==1&&o(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=o.css(this,"display");L.overflow=this.style.overflow}}if(L.overflow!=null){this.style.overflow="hidden"}L.curAnim=o.extend({},J);o.each(J,function(P,T){var S=new o.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=o.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}});o.each({slideDown:t("show",1),slideUp:t("hide",1),slideToggle:t("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(F,G){o.fn[F]=function(H,I){return this.animate(G,H,I)}});o.extend({speed:function(H,I,G){var F=typeof H==="object"?H:{complete:G||!G&&I||o.isFunction(H)&&H,duration:H,easing:G&&I||I&&!o.isFunction(I)&&I};F.duration=o.fx.off?0:typeof F.duration==="number"?F.duration:o.fx.speeds[F.duration]||o.fx.speeds._default;F.old=F.complete;F.complete=function(){if(F.queue!==false){o(this).dequeue()}if(o.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={}}}});o.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(o.fx.step[this.prop]||o.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(G){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var F=parseFloat(o.css(this.elem,this.prop,G));return F&&F>-10000?F:parseFloat(o.curCSS(this.elem,this.prop))||0},custom:function(J,I,H){this.startTime=e();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()&&o.timers.push(G)==1){n=setInterval(function(){var L=o.timers;for(var K=0;K<L.length;K++){if(!L[K]()){L.splice(K--,1)}}if(!L.length){clearInterval(n)}},13)}},show:function(){this.options.orig[this.prop]=o.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());o(this.elem).show()},hide:function(){this.options.orig[this.prop]=o.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(I){var H=e();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(o.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){o(this.elem).hide()}if(this.options.hide||this.options.show){for(var J in this.options.curAnim){o.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=o.easing[this.options.easing||(o.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}};o.extend(o.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(F){o.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){o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}var 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||o.boxModel&&F.scrollTop||G.scrollTop)-M,I=H.left+(self.pageXOffset||o.boxModel&&F.scrollLeft||G.scrollLeft)-L;return{top:J,left:I}}}else{o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}o.offset.initialized||o.offset.initialize();var 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(o.offset.doesNotAddBorder&&!(o.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(o.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}}}o.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){o.offset.initialized||o.offset.initialize();var H=F.offsetTop,G=F.offsetLeft;if(o.offset.doesNotIncludeMarginInBodyOffset){H+=parseInt(o.curCSS(F,"marginTop",true),10)||0,G+=parseInt(o.curCSS(F,"marginLeft",true),10)||0}return{top:H,left:G}}};o.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-=j(this,"marginTop");K.left-=j(this,"marginLeft");F.top+=j(H,"borderTopWidth");F.left+=j(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)&&o.css(F,"position")=="static")){F=F.offsetParent}return o(F)}});o.each(["Left","Top"],function(G,F){var H="scroll"+F;o.fn[H]=function(I){if(!this[0]){return null}return I!==g?this.each(function(){this==l||this==document?l.scrollTo(!G?I:o(l).scrollLeft(),G?I:o(l).scrollTop()):this[H]=I}):this[0]==l||this[0]==document?self[G?"pageYOffset":"pageXOffset"]||o.boxModel&&document.documentElement[H]||document.body[H]:this[0][H]}});o.each(["Height","Width"],function(I,G){var F=I?"Left":"Top",H=I?"Right":"Bottom";o.fn["inner"+G]=function(){return this[G.toLowerCase()]()+j(this,"padding"+F)+j(this,"padding"+H)};o.fn["outer"+G]=function(K){return this["inner"+G]()+j(this,"border"+F+"Width")+j(this,"border"+H+"Width")+(K?j(this,"margin"+F)+j(this,"margin"+H):0)};var J=G.toLowerCase();o.fn[J]=function(K){return this[0]==l?document.compatMode=="CSS1Compat"&&document.documentElement["client"+G]||document.body["client"+G]:this[0]==document?Math.max(document.documentElement["client"+G],document.body["scroll"+G],document.documentElement["scroll"+G],document.body["offset"+G],document.documentElement["offset"+G]):K===g?(this.length?o.css(this[0],J):null):this.css(J,typeof K==="string"?K:K+"px")}})})();(function(c){var i=c.fn.remove,d=c.browser.mozilla&&(parseFloat(c.browser.version)<1.9);c.ui={version:"1.6rc6",plugin:{add:function(k,l,n){var m=c.ui[k].prototype;for(var j in n){m.plugins[j]=m.plugins[j]||[];m.plugins[j].push([l,n[j]])}},call:function(j,l,k){var n=j.plugins[l];if(!n){return}for(var m=0;m<n.length;m++){if(j.options[n[m][0]]){n[m][1].apply(j.element,k)}}}},contains:function(k,j){return document.compareDocumentPosition?k.compareDocumentPosition(j)&16:k!==j&&k.contains(j)},cssCache:{},css:function(j){if(c.ui.cssCache[j]){return c.ui.cssCache[j]}var k=c('<div class="ui-gen"></div>').addClass(j).css({position:"absolute",top:"-5000px",left:"-5000px",display:"block"}).appendTo("body");c.ui.cssCache[j]=!!((!(/auto|default/).test(k.css("cursor"))||(/^[1-9]/).test(k.css("height"))||(/^[1-9]/).test(k.css("width"))||!(/none/).test(k.css("backgroundImage"))||!(/transparent|rgba\(0, 0, 0, 0\)/).test(k.css("backgroundColor"))));try{c("body").get(0).removeChild(k.get(0))}catch(l){}return c.ui.cssCache[j]},hasScroll:function(m,k){if(c(m).css("overflow")=="hidden"){return false}var j=(k&&k=="left")?"scrollLeft":"scrollTop",l=false;if(m[j]>0){return true}m[j]=1;l=(m[j]>0);m[j]=0;return l},isOverAxis:function(k,j,l){return(k>j)&&(k<(j+l))},isOver:function(o,k,n,m,j,l){return c.ui.isOverAxis(o,n,j)&&c.ui.isOverAxis(k,m,l)},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(d){var f=c.attr,e=c.fn.removeAttr,h="http://www.w3.org/2005/07/aaa",a=/^aria-/,b=/^wairole:/;c.attr=function(k,j,l){var m=l!==undefined;return(j=="role"?(m?f.call(this,k,j,"wairole:"+l):(f.apply(this,arguments)||"").replace(b,"")):(a.test(j)?(m?k.setAttributeNS(h,j.replace(a,"aaa:"),l):f.call(this,k,j.replace(a,"aaa:"))):f.apply(this,arguments)))};c.fn.removeAttr=function(j){return(a.test(j)?this.each(function(){this.removeAttributeNS(h,j.replace(a,""))}):e.call(this,j))}}c.fn.extend({remove:function(){c("*",this).add(this).each(function(){c(this).triggerHandler("remove")});return i.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var j;if((c.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){j=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(c.curCSS(this,"position",1))&&(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}else{j=this.parents().filter(function(){return(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!j.length?c(document):j}});c.extend(c.expr[":"],{data:function(l,k,j){return !!c.data(l,j[3])},focusable:function(k){var l=k.nodeName.toLowerCase(),j=c.attr(k,"tabindex");return(/input|select|textarea|button|object/.test(l)?!k.disabled:"a"==l||"area"==l?k.href||!isNaN(j):!isNaN(j))&&!c(k)["area"==l?"parents":"closest"](":hidden").length},tabbable:function(k){var j=c.attr(k,"tabindex");return(isNaN(j)||j>=0)&&c(k).is(":focusable")}});function g(m,n,o,l){function k(q){var p=c[m][n][q]||[];return(typeof p=="string"?p.split(/,?\s+/):p)}var j=k("getter");if(l.length==1&&typeof l[0]=="string"){j=j.concat(k("getterSetter"))}return(c.inArray(o,j)!=-1)}c.widget=function(k,j){var l=k.split(".")[0];k=k.split(".")[1];c.fn[k]=function(p){var n=(typeof p=="string"),o=Array.prototype.slice.call(arguments,1);if(n&&p.substring(0,1)=="_"){return this}if(n&&g(l,k,p,o)){var m=c.data(this[0],k);return(m?m[p].apply(m,o):undefined)}return this.each(function(){var q=c.data(this,k);(!q&&!n&&c.data(this,k,new c[l][k](this,p))._init());(q&&n&&c.isFunction(q[p])&&q[p].apply(q,o))})};c[l]=c[l]||{};c[l][k]=function(o,n){var m=this;this.namespace=l;this.widgetName=k;this.widgetEventPrefix=c[l][k].eventPrefix||k;this.widgetBaseClass=l+"-"+k;this.options=c.extend({},c.widget.defaults,c[l][k].defaults,c.metadata&&c.metadata.get(o)[k],n);this.element=c(o).bind("setData."+k,function(q,p,r){if(q.target==o){return m._setData(p,r)}}).bind("getData."+k,function(q,p){if(q.target==o){return m._getData(p)}}).bind("remove",function(){return m.destroy()})};c[l][k].prototype=c.extend({},c.widget.prototype,j);c[l][k].getterSetter="option"};c.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(l,m){var k=l,j=this;if(typeof l=="string"){if(m===undefined){return this._getData(l)}k={};k[l]=m}c.each(k,function(n,o){j._setData(n,o)})},_getData:function(j){return this.options[j]},_setData:function(j,k){this.options[j]=k;if(j=="disabled"){this.element[k?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",k)}},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(l,m,n){var p=this.options[l],j=(l==this.widgetEventPrefix?l:this.widgetEventPrefix+l);m=c.Event(m);m.type=j;if(m.originalEvent){for(var k=c.event.props.length,o;k;){o=c.event.props[--k];m[o]=m.originalEvent[o]}}this.element.trigger(m,n);return !(c.isFunction(p)&&p.call(this.element[0],m,n)===false||m.isDefaultPrevented())}};c.widget.defaults={disabled:false};c.ui.mouse={_mouseInit:function(){var j=this;this.element.bind("mousedown."+this.widgetName,function(k){return j._mouseDown(k)}).bind("click."+this.widgetName,function(k){if(j._preventClickEvent){j._preventClickEvent=false;return false}});if(c.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);(c.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable))},_mouseDown:function(l){if(l.originalEvent.mouseHandled){return}(this._mouseStarted&&this._mouseUp(l));this._mouseDownEvent=l;var k=this,m=(l.which==1),j=(typeof this.options.cancel=="string"?c(l.target).parents().add(l.target).filter(this.options.cancel).length:false);if(!m||j||!this._mouseCapture(l)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){k.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(l)&&this._mouseDelayMet(l)){this._mouseStarted=(this._mouseStart(l)!==false);if(!this._mouseStarted){l.preventDefault();return true}}this._mouseMoveDelegate=function(n){return k._mouseMove(n)};this._mouseUpDelegate=function(n){return k._mouseUp(n)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(c.browser.safari||l.preventDefault());l.originalEvent.mouseHandled=true;return true},_mouseMove:function(j){if(c.browser.msie&&!j.button){return this._mouseUp(j)}if(this._mouseStarted){this._mouseDrag(j);return j.preventDefault()}if(this._mouseDistanceMet(j)&&this._mouseDelayMet(j)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,j)!==false);(this._mouseStarted?this._mouseDrag(j):this._mouseUp(j))}return !this._mouseStarted},_mouseUp:function(j){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=true;this._mouseStop(j)}return false},_mouseDistanceMet:function(j){return(Math.max(Math.abs(this._mouseDownEvent.pageX-j.pageX),Math.abs(this._mouseDownEvent.pageY-j.pageY))>=this.options.distance)},_mouseDelayMet:function(j){return this.mouseDelayMet},_mouseStart:function(j){},_mouseDrag:function(j){},_mouseStop:function(j){},_mouseCapture:function(j){return true}};c.ui.mouse.defaults={cancel:null,distance:1,delay:0}})(jQuery);(function(a){a.widget("ui.accordion",{_init:function(){var d=this.options,b=this;this.running=0;if(d.navigation){var c=this.element.find("a").filter(d.navigationFilter);if(c.length){if(c.filter(d.header).length){this.active=c}else{this.active=c.parent().parent().prev();c.addClass("ui-accordion-content-active")}}}this.element.addClass("ui-accordion ui-widget ui-helper-reset");this.headers=this.element.find(d.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all").bind("mouseenter.accordion",function(){a(this).addClass("ui-state-hover")}).bind("mouseleave.accordion",function(){a(this).removeClass("ui-state-hover")});this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom");this.active=this._findActive(this.active||d.active).toggleClass("ui-state-default").toggleClass("ui-state-active").toggleClass("ui-corner-all").toggleClass("ui-corner-top");this.active.next().addClass("ui-accordion-content-active");a("<span/>").addClass("ui-icon "+d.icons.header).prependTo(this.headers);this.active.find(".ui-icon").toggleClass(d.icons.header).toggleClass(d.icons.headerSelected);if(a.browser.msie){this.element.find("a").css("zoom","1")}this.resize();this.element.attr("role","tablist");this.headers.attr("role","tab").bind("keydown",function(e){return b._keydown(e)}).next().attr("role","tabpanel");this.headers.not(this.active||"").attr("aria-expanded","false").attr("tabIndex","-1").next().hide();if(!this.active.length){this.headers.eq(0).attr("tabIndex","0")}else{this.active.attr("aria-expanded","true").attr("tabIndex","0")}if(!a.browser.safari){this.headers.find("a").attr("tabIndex","-1")}if(d.event){this.element.bind((d.event)+".accordion",function(e){return b._clickHandler.call(b,e)})}},destroy:function(){this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role").unbind(".accordion").removeData("accordion");this.headers.unbind(".accordion").removeClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("tabindex");this.headers.find("a").removeAttr("tabindex");this.headers.children(".ui-icon").remove();this.headers.next().removeClass("ui-accordion-content ui-accordion-content-active")},_keydown:function(e){var g=this.options,f=a.ui.keyCode;if(g.disabled||e.altKey||e.ctrlKey){return}var d=this.headers.length;var b=this.headers.index(e.target);var c=false;switch(e.keyCode){case f.RIGHT:case f.DOWN:c=this.headers[(b+1)%d];break;case f.LEFT:case f.UP:c=this.headers[(b-1+d)%d];break;case f.SPACE:case f.ENTER:return this._clickHandler({target:e.target})}if(c){a(e.target).attr("tabIndex","-1");a(c).attr("tabIndex","0");c.focus();return false}return true},resize:function(){var e=this.options,d;if(e.fillSpace){if(a.browser.msie){var b=this.element.parent().css("overflow");this.element.parent().css("overflow","hidden")}d=this.element.parent().height();if(a.browser.msie){this.element.parent().css("overflow",b)}this.headers.each(function(){d-=a(this).outerHeight()});var c=0;this.headers.next().each(function(){c=Math.max(c,a(this).innerHeight()-a(this).height())}).height(d-c).css("overflow","auto")}else{if(e.autoHeight){d=0;this.headers.next().each(function(){d=Math.max(d,a(this).outerHeight())}).height(d)}}},activate:function(b){this._clickHandler({target:this._findActive(b)[0]})},_findActive:function(b){return b?typeof b=="number"?this.headers.filter(":eq("+b+")"):this.headers.not(this.headers.not(b)):b===false?a([]):this.headers.filter(":eq(0)")},_clickHandler:function(f){var h=this.options;if(h.disabled){return false}if(!f.target&&!h.alwaysOpen){this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").find(".ui-icon").removeClass(h.icons.headerSelected).addClass(h.icons.header);this.active.next().addClass("ui-accordion-content-active");var c=this.active.next(),g={options:h,newHeader:a([]),oldHeader:h.active,newContent:a([]),oldContent:c},b=(this.active=a([]));this._toggle(b,c,g);return false}var d=a(f.target);d=a(d.parents(h.header)[0]||d);var e=d[0]==this.active[0];if(this.running||(h.alwaysOpen&&e)){return false}if(!d.is(h.header)){return}this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").find(".ui-icon").removeClass(h.icons.headerSelected).addClass(h.icons.header);this.active.next().addClass("ui-accordion-content-active");if(!e){d.removeClass("ui-state-default ui-corner-all").addClass("ui-state-active ui-corner-top").find(".ui-icon").removeClass(h.icons.header).addClass(h.icons.headerSelected);d.next().addClass("ui-accordion-content-active")}var b=d.next(),c=this.active.next(),g={options:h,newHeader:e&&!h.alwaysOpen?a([]):d,oldHeader:this.active,newContent:e&&!h.alwaysOpen?a([]):b.find("> *"),oldContent:c.find("> *")},i=this.headers.index(this.active[0])>this.headers.index(d[0]);this.active=e?a([]):d;this._toggle(b,c,g,e,i);return false},_toggle:function(b,i,g,j,k){var d=this.options,m=this;this.toShow=b;this.toHide=i;this.data=g;var c=function(){if(!m){return}return m._completed.apply(m,arguments)};this._trigger("changestart",null,this.data);this.running=i.size()===0?b.size():i.size();if(d.animated){var f={};if(!d.alwaysOpen&&j){f={toShow:a([]),toHide:i,complete:c,down:k,autoHeight:d.autoHeight||d.fillSpace}}else{f={toShow:b,toHide:i,complete:c,down:k,autoHeight:d.autoHeight||d.fillSpace}}if(!d.proxied){d.proxied=d.animated}if(!d.proxiedDuration){d.proxiedDuration=d.duration}d.animated=a.isFunction(d.proxied)?d.proxied(f):d.proxied;d.duration=a.isFunction(d.proxiedDuration)?d.proxiedDuration(f):d.proxiedDuration;var l=a.ui.accordion.animations,e=d.duration,h=d.animated;if(!l[h]){l[h]=function(n){this.slide(n,{easing:h,duration:e||700})}}l[h](f)}else{if(!d.alwaysOpen&&j){b.toggle()}else{i.hide();b.show()}c(true)}i.prev().attr("aria-expanded","false").attr("tabIndex","-1");b.prev().attr("aria-expanded","true").attr("tabIndex","0").focus()},_completed:function(b){var c=this.options;this.running=b?0:--this.running;if(this.running){return}if(c.clearStyle){this.toShow.add(this.toHide).css({height:"",overflow:""})}this._trigger("change",null,this.data)}});a.extend(a.ui.accordion,{version:"1.6rc6",defaults:{active:null,autoHeight:true,alwaysOpen:true,animated:"slide",clearStyle:false,event:"click",fillSpace:false,header:"a",icons:{header:"ui-icon-triangle-1-e",headerSelected:"ui-icon-triangle-1-s"},navigation:false,navigationFilter:function(){return this.href.toLowerCase()==location.href.toLowerCase()}},animations:{slide:function(j,h){j=a.extend({easing:"swing",duration:300},j,h);if(!j.toHide.size()){j.toShow.animate({height:"show"},j);return}var b=j.toHide.height(),i=j.toShow.height(),c=i/b,d=j.toShow.css("overflow"),e={},g={},f=["height","paddingTop","paddingBottom"];a.each(f,function(k,l){g[l]="hide";e[l]=parseFloat(j.toShow.css(l))});j.toShow.css({height:0,overflow:"hidden"}).show();j.toHide.filter(":hidden").each(j.complete).end().filter(":visible").animate(g,{step:function(l,m){if(!j.toShow[0]){return}var k=m.start!=m.end?(m.now-m.start)/(m.end-m.start):0,n=k*e[m.prop];if(a.browser.msie||a.browser.opera){n=Math.ceil(n)}j.toShow[0].style[m.prop]=n+"px"},duration:j.duration,easing:j.easing,complete:function(){if(!j.autoHeight){j.toShow.css("height","auto")}j.toShow.css({overflow:d});j.complete()}})},bounceslide:function(b){this.slide(b,{easing:b.down?"easeOutBounce":"swing",duration:b.down?1000:200})},easeslide:function(b){this.slide(b,{easing:"easeinout",duration:700})}}})})(jQuery);jQuery.cookie=function(b,j,m){if(typeof j!="undefined"){m=m||{};if(j===null){j="";m.expires=-1}var e="";if(m.expires&&(typeof m.expires=="number"||m.expires.toUTCString)){var f;if(typeof m.expires=="number"){f=new Date();f.setTime(f.getTime()+(m.expires*24*60*60*1000))}else{f=m.expires}e="; expires="+f.toUTCString()}var l=m.path?"; path="+(m.path):"";var g=m.domain?"; domain="+(m.domain):"";var a=m.secure?"; secure":"";document.cookie=[b,"=",encodeURIComponent(j),e,l,g,a].join("")}else{var d=null;if(document.cookie&&document.cookie!=""){var k=document.cookie.split(";");for(var h=0;h<k.length;h++){var c=jQuery.trim(k[h]);if(c.substring(0,b.length+1)==(b+"=")){d=decodeURIComponent(c.substring(b.length+1));break}}}return d}};(function(a){a.fn.filestyle=function(b){var c={width:250};if(b){a.extend(c,b)}return this.each(function(){var e=this;var f=a("<div>").css({width:c.imagewidth+"px",height:c.imageheight+"px",background:"url("+c.image+") 0 0 no-repeat","background-position":"right",display:"inline",position:"absolute",overflow:"hidden"});var d=a('<input class="file">').addClass(a(e).attr("class")).css({display:"inline",width:c.width+"px"});a(e).before(d);a(e).wrap(f);a(e).css({position:"relative",height:c.imageheight+"px",width:c.width+"px",display:"inline",cursor:"pointer",opacity:"0.0"});if(a.browser.mozilla){if(/Win/.test(navigator.platform)){a(e).css("margin-left","-142px")}else{a(e).css("margin-left","-168px")}}else{a(e).css("margin-left",c.imagewidth-c.width+"px")}a(e).bind("change",function(){d.val(a(e).val())})})}})(jQuery);(function(a){a.fn.reverseOrder=function(){return this.each(function(){a(this).prependTo(a(this).parent())})}})(jQuery);jQuery.fn.reverse=function(){return this.pushStack(this.get().reverse(),arguments)};jQuery.fn.sort=function(){return this.pushStack([].sort.apply(this,arguments),[])};(function(a){jQuery.fn.extend({textnodes:function(){return jQuery(jQuery.map(this,function(b){return jQuery.grep(b.childNodes,function(c){return c.nodeType==3})}))}})})(jQuery);(function($){$.extend({metadata:{defaults:{type:"class",name:"metadata",cre:/({.*})/,single:"metadata"},setType:function(type,name){this.defaults.type=type;this.defaults.name=name},get:function(elem,opts){var settings=$.extend({},this.defaults,opts);if(!settings.single.length){settings.single="metadata"}var data=$.data(elem,settings.single);if(data){return data}data="{}";if(settings.type=="class"){var m=settings.cre.exec(elem.className);if(m){data=m[1]}}else{if(settings.type=="elem"){if(!elem.getElementsByTagName){return}var e=elem.getElementsByTagName(settings.name);if(e.length){data=$.trim(e[0].innerHTML)}}else{if(elem.getAttribute!=undefined){var attr=elem.getAttribute(settings.name);if(attr){data=attr}}}}if(data.indexOf("{")<0){data="{"+data+"}"}data=eval("("+data+")");$.data(elem,settings.single,data);return data}}});$.fn.metadata=function(opts){return $.metadata.get(this[0],opts)}})(jQuery);(function(a){a.jScrollPane={active:[]};a.fn.jScrollPane=function(c){c=a.extend({},a.fn.jScrollPane.defaults,c);var b=function(){return false};return this.each(function(){var o=a(this);o.css("overflow","hidden");var z=this;if(a(this).parent().is(".jScrollPaneContainer")){var ad=c.maintainPosition?o.position().top:0;var l=a(this).parent();var F=l.innerWidth();var ae=l.outerHeight();var m=ae;a(">.jScrollPaneTrack, >.jScrollArrowUp, >.jScrollArrowDown",l).remove();o.css({top:0})}else{var ad=0;this.originalPadding=o.css("paddingTop")+" "+o.css("paddingRight")+" "+o.css("paddingBottom")+" "+o.css("paddingLeft");this.originalSidePaddingTotal=(parseInt(o.css("paddingLeft"))||0)+(parseInt(o.css("paddingRight"))||0);var F=o.innerWidth();var ae=o.innerHeight();var m=ae;o.wrap(a("<div></div>").attr({className:"jScrollPaneContainer"}).css({height:ae+"px",width:F+"px"}));a(document).bind("emchange",function(af,ag,p){o.jScrollPane(c)})}if(c.reinitialiseOnImageLoad){var n=a.data(z,"jScrollPaneImagesToLoad")||a("img",o);var g=[];if(n.length){n.each(function(p,af){a(this).bind("load",function(){if(a.inArray(p,g)==-1){g.push(af);n=a.grep(n,function(ah,ag){return ah!=af});a.data(z,"jScrollPaneImagesToLoad",n);c.reinitialiseOnImageLoad=false;o.jScrollPane(c)}}).each(function(ag,ah){if(this.complete||this.complete===undefined){this.src=this.src}})})}}var Q=this.originalSidePaddingTotal;var N={height:"auto",width:F-c.scrollbarWidth-c.scrollbarMargin-Q+"px"};if(c.scrollbarOnLeft){N.paddingLeft=c.scrollbarMargin+c.scrollbarWidth+"px"}else{N.paddingRight=c.scrollbarMargin+"px"}o.css(N);var O=o.outerHeight();var K=ae/O;if(K<0.99){var h=o.parent();h.append(a("<div></div>").attr({className:"jScrollPaneTrack"}).css({width:c.scrollbarWidth+"px"}).append(a("<div></div>").attr({className:"jScrollPaneDrag"}).css({width:c.scrollbarWidth+"px"}).append(a("<div></div>").attr({className:"jScrollPaneDragTop"}).css({width:c.scrollbarWidth+"px"}),a("<div></div>").attr({className:"jScrollPaneDragBottom"}).css({width:c.scrollbarWidth+"px"}))));var aa=a(">.jScrollPaneTrack",h);var q=a(">.jScrollPaneTrack .jScrollPaneDrag",h);if(c.showArrows){var I;var ac;var t;var S;var L=function(){if(S>4||S%4==0){Z(V+ac*D)}S++};var k=function(p){a("html").unbind("mouseup",k);I.removeClass("jScrollActiveArrowButton");clearInterval(t)};var B=function(){a("html").bind("mouseup",k);I.addClass("jScrollActiveArrowButton");S=0;L();t=setInterval(L,100)};h.append(a("<a></a>").attr({href:"javascript:;",className:"jScrollArrowUp"}).css({width:c.scrollbarWidth+"px"}).html("Scroll up").bind("mousedown",function(){I=a(this);ac=-1;B();this.blur();return false}).bind("click",b),a("<a></a>").attr({href:"javascript:;",className:"jScrollArrowDown"}).css({width:c.scrollbarWidth+"px"}).html("Scroll down").bind("mousedown",function(){I=a(this);ac=1;B();this.blur();return false}).bind("click",b));var r=a(">.jScrollArrowUp",h);var j=a(">.jScrollArrowDown",h);if(c.arrowSize){m=ae-c.arrowSize-c.arrowSize;aa.css({height:m+"px",top:c.arrowSize+"px"})}else{var T=r.height();c.arrowSize=T;m=ae-T-j.height();aa.css({height:m+"px",top:T+"px"})}}var X=a(this).css({position:"absolute",overflow:"visible"});var d;var A;var D;var V=0;var w=K*ae/2;var C=function(af,ah){var ag=ah=="X"?"Left":"Top";return af["page"+ah]||(af["client"+ah]+(document.documentElement["scroll"+ag]||document.body["scroll"+ag]))||0};var H=function(){return false};var W=function(){P();d=q.offset(false);d.top-=V;A=m-q[0].offsetHeight;D=2*c.wheelSpeed*A/O};var e=function(p){W();w=C(p,"Y")-V-d.top;a("html").bind("mouseup",u).bind("mousemove",J);if(a.browser.msie){a("html").bind("dragstart",H).bind("selectstart",H)}return false};var u=function(){a("html").unbind("mouseup",u).unbind("mousemove",J);w=K*ae/2;if(a.browser.msie){a("html").unbind("dragstart",H).unbind("selectstart",H)}};var Z=function(af){af=af<0?0:(af>A?A:af);V=af;q.css({top:af+"px"});var ag=af/A;o.data("jScrollPanePosition",(ae-O)*-ag);X.css({top:((ae-O)*ag)+"px"});o.trigger("scroll");if(c.showArrows){r[af==0?"addClass":"removeClass"]("disabled");j[af==A?"addClass":"removeClass"]("disabled")}};var J=function(p){Z(C(p,"Y")-d.top-w)};var R=Math.max(Math.min(K*(ae-c.arrowSize*2),c.dragMaxHeight),c.dragMinHeight);q.css({height:R+"px"}).bind("mousedown",e);var M;var s;var i;var U=function(){if(s>8||s%4==0){Z((V-((V-i)/2)))}s++};var ab=function(){clearInterval(M);a("html").unbind("mouseup",ab).unbind("mousemove",G)};var G=function(p){i=C(p,"Y")-d.top-w};var v=function(p){W();G(p);s=0;a("html").bind("mouseup",ab).bind("mousemove",G);M=setInterval(U,100);U()};aa.bind("mousedown",v);h.bind("mousewheel",function(af,ah){W();P();var ag=V;Z(V-ah*D);var p=ag!=V;return !p});var f;var y;function E(){var p=(f-V)/c.animateStep;if(p>1||p<-1){Z(V+p)}else{Z(f);P()}}var P=function(){if(y){clearInterval(y);delete f}};var Y=function(ah,p){if(typeof ah=="string"){$e=a(ah,o);if(!$e.length){return}ah=$e.offset().top-o.offset().top}h.scrollTop(0);P();var ag=O-ae;ah=ah>ag?ag:ah;o.data("jScrollPaneMaxScroll",ag);var af=ah/ag*A;if(p||!c.animateTo){Z(af)}else{f=af;y=setInterval(E,c.animateInterval)}};o[0].scrollTo=Y;o[0].scrollBy=function(af){var p=-parseInt(X.css("top"))||0;Y(p+af)};W();Y(-ad,true);a("*",this).bind("focus",function(ai){var ah=a(this);var ak=0;while(ah[0]!=o[0]){ak+=ah.position().top;ah=ah.offsetParent()}var p=-parseInt(X.css("top"))||0;var aj=p+ae;var ag=ak>p&&ak<aj;if(!ag){var af=ak-c.scrollbarMargin;if(ak>p){af+=a(this).height()+15+c.scrollbarMargin-ae}Y(af)}});if(location.hash){Y(location.hash)}a(document).bind("click",function(af){$target=a(af.target);if($target.is("a")){var p=$target.attr("href");if(p.substr(0,1)=="#"){Y(p)}}});a.jScrollPane.active.push(o[0])}else{o.css({height:ae+"px",width:F-this.originalSidePaddingTotal+"px",padding:this.originalPadding});o.parent().unbind("mousewheel")}})};a.fn.jScrollPaneRemove=function(){a(this).each(function(){$this=a(this);var b=$this.parent();if(b.is(".jScrollPaneContainer")){$this.css({top:"",height:"",width:"",padding:"",overflow:"",position:""});b.after($this).remove()}})};a.fn.jScrollPane.defaults={scrollbarWidth:10,scrollbarMargin:5,wheelSpeed:18,showArrows:false,arrowSize:0,animateTo:false,dragMinHeight:1,dragMaxHeight:99999,animateInterval:100,animateStep:3,maintainPosition:true,scrollbarOnLeft:false,reinitialiseOnImageLoad:false};a(window).bind("unload",function(){var c=a.jScrollPane.active;for(var b=0;b<c.length;b++){c[b].scrollTo=c[b].scrollBy=null}})})(jQuery);var aFrontLinks=[["free chat rooms","http://www.usachatnow.com/"],["Free Chat Sites","http://www.allchatsites.com/"],["Free Teen Chat","http://www.refugechat.com/"],["Teen Chat Rooms","http://www.teensay.co.uk/"],["Student Center","http://www.student.com/"],["Free Chat","http://www.chat-up.co.uk/"],["Free Chat Rooms","http://www.justachat.com/"],["Free Java Chat Rooms","http://www.javachatrooms.net/"],["Free Chat Directory","http://www.kewlchat.com/"],["Teen Chat","http://www.teen-chat.org/"],["Chat Place","http://www.chat-place.org/"],["Teen ChitChatting","http://www.chitchatting.com/"],["321 Teen Chat","http://www.321teenchat.com/"],["A+ Chat Room Directory","http://www.webarrow.net/chatindex/"]];function dbGetLinksFront(){len=aFrontLinks.length;for(x=0;x<len;x++){document.write('<a href="'+aFrontLinks[x][1]+'">'+aFrontLinks[x][0]+"</a>");if(x+1<len){document.write("&nbsp;|&nbsp;")}}}var winopts="menubar=0,toolbar=0,location=0,directories=0,status=0,scrollbars=1,resizable=1,copyhistory=1";function launch(c){if($.cookie("tc_username")==undefined||$.cookie("tc_username")==""){alert("You must enter a user name to log into the chat.");top.location="/tags/";return false}if($.cookie("tc_username").length<3){alert("Your nick must be 3 characters or longer.");top.location="/tags/";return false}var a=["tc_gender","tc_status","tc_age","tc_country","tc_looking4"];for(x in a){if($.cookie(a[x])==undefined||$.cookie(a[x])==""){alert("The peeps in the chat are going to want to know more about you.\r\n\r\nFill out your tags and login again.");top.location="/tags/";return false}}var b=c.action;b+="?oc_room="+escape(c.oc_room.value);b+="&tc_username="+escape(c.tc_username.value);NewWin=window.open("","optichat",winopts);if(NewWin){NewWin.location=b;NewWin.focus();if(c.exitpage){top.location=c.exitpage.value}}else{top.location=b}return false}aChatRooms=[["JungleSpot","http://www.junglespot.com/","The free chat network."],["Chat","http://www.chat-avenue.com/","Free chat rooms for adults, singles, kids, teens and more."],["Chat Cache","http://www.chatcache.com/","Chat rooms, message boards and dating."],["Kids Chat Net","http://www.kidschat.net/","Free kids and younger teen chat rooms."],["Kids Chat","http://www.kids-chat.com/","free chat rooms for kids."],["Adult Chat","http://www.adultchat.net/","free chat rooms for adults around the world."],["Free Chat Rooms","http://www.free-chat-rooms.net/","Free chat rooms for adults, kids, teens, and gays."],["Chat Family","http://www.chatfamily.com/","Free chat rooms with a variety of rooms to choose from."],["Singles Chat","http://www.singles-chat.com/","Meet and chat with local singles."],["Chat Room","http://chat-room.com/","Free chat rooms for teen, adults and singles."],["Teen Chat","http://www.teen-chat.org/","Free teen chat rooms for teenagers."],["YABA Chat","http://yaba.com/",""],["Teen Chatting","http://www.chitchatting.com/","Rooms for both adults and teens, with over one hundred different avatars to choose from."],["321 Teen Chat","http://www.321teenchat.com/","A popular teen chat site with hundreds of chatters occupying many user created rooms."],["321 Adult Chat","http://www.321adultchat.com/","Free clean adult chat for chatters 18 and older"]];aChatDirectories=[["Chatterhead","http://www.chatterhead.net/","The people's choice chat directory."],["Chatrooms.uk.com","http://www.chatrooms.uk.com/","The worlds #1 Chatroom Directory."],["Chat Rooms Directory","http://www.chatlinks.co.uk/","Free chat rooms for teens all over the world."],["Kewl Chat","http://kewlchat.com/","Huge free chat network."],["A+ Chat Room Directory","http://www.webarrow.com/chatindex/","Huge directory of chat sites, categorized and given descriptions. Categories include adult, teen, gay, religious, webcam and more."]];aStudentResources=[["Student Center","http://www.student.com/","Forums, Journals and tests for students."]];function dbGetLinks(a){len=a.length;for(x=0;x<len;x++){document.write('<li><a href="'+a[x][1]+'">'+a[x][0]+"</a> - "+a[x][2]+"</li>")}}ns4=false;ns6=false;ie4=false;ie5=false;if(document.layers){ns4=true}else{if(document.getElementById&&!(document.all)){ns6=true}else{if(document.all){if(navigator.userAgent.indexOf("MSIE 4")>0){ie4=true}else{ie5=true}}}}var open_win=0;function substitute(d,c,e){var a="";var b=0;var f=b;while(d.length>f){b=d.indexOf(c,f);if(b==-1){break}a+=d.substring(f,b)+e;f=b+c.length}a+=d.substring(f,d.length);return a}function getRealLeft(){if(ns4){if(this.x){return this.x}if(this.pageX){return this.pageX}return 0}else{xPos=this.offsetLeft;tempEl=this.offsetParent;while(tempEl!=null){xPos+=tempEl.offsetLeft;tempEl=tempEl.offsetParent}return xPos}}function getRealTop(){if(ns4){if(this.y){return this.y}if(this.pageY){return this.pageY}return 0}else{yPos=this.offsetTop;tempEl=this.offsetParent;while(tempEl!=null){yPos+=tempEl.offsetTop;tempEl=tempEl.offsetParent}return yPos}}function check_homepage(b,a){if(!document.all){return}sQueryHome=oHomePage.isHomePage(b);if(!sQueryHome){document.getElementById(a).style.display="block"}}function set_homepage(a,b){oHomePage.setHomePage(a);document.getElementById(b).style.display="none"}function remember(a,b){$(a).each(function(){var c=$(this).attr("name");if($.cookie(c)){if($(this).is(":checkbox")){$(this).attr("checked",$.cookie(c))}else{$(this).val($.cookie(c))}}if($(this).is(":text")){$(this).keyup(function(){$.cookie(c,$(this).val(),{path:"/",expires:b});$("img[name=ajaxload]").attr("src","/media/images/site/ajaxload.gif")});$(this).change(function(){$.cookie(c,$(this).val(),{path:"/",expires:b});$("img[name=ajaxload]").attr("src","/media/images/site/ajaxload.gif")})}if($(this).is(":not(:text)")){$(this).change(function(){if($(this).is(":checkbox")){$.cookie(c,$(this).attr("checked"),{path:"/",expires:b});$("img[name=ajaxload]").attr("src","/media/images/site/ajaxload.gif")}else{$.cookie(c,$(this).val(),{path:"/",expires:b});$("img[name=ajaxload]").attr("src","/media/images/site/ajaxload.gif")}})}})}var base_coords=null;var base_element=null;function findOffset(b){if(base_coords==null){base_coords=$(base_element).offset()}var a=$(b).offset();a.left-=base_coords.left;a.top-=base_coords.top;return a}function moveAd(c,b){if(!c){return}var a=findOffset(c);$(b).css("top",a.top);$(b).css("left",a.left)}function placeAds(){if($.browser.msie&&$.browser.version=="6.0"){base_element="body"}else{base_element="div#page";$(base_element).css("position","relative")}$("div[id^=as_]").each(function(){var b=$("#ap_"+this.id.substring(3)).get(0);if(!b){return}var a=findOffset(b);$(this).css("top",a.top);$(this).css("left",a.left)})}var cornerz=document.createElement("div");cornerz.innerHTML=('<div class="hd"><div class="c"></div></div><div class="bd"><div class="c"><div class="s"></div></div></div><div class="ft"><div class="c"></div></div>');function cornz(b,a){var d=cornerz.cloneNode(true);d.className=a;d.childNodes[1].childNodes[0].childNodes[0].innerHTML=b.innerHTML;b.innerHTML="";b.appendChild(d)}var tabzz=document.createElement("div");tabzz.innerHTML=('<div class="tboxcover"><div class="hd"><div class="c"></div></div><div class="bd"><div class="c"><div class="s"></div></div></div>');function tabz(a){var b=tabzz.cloneNode(true);b.childNodes[0].childNodes[1].childNodes[0].childNodes[0].innerHTML=a.innerHTML;a.innerHTML="";a.appendChild(b)}function accordion(){$("#chatmenu1").accordion({autoheight:true,header:".btn"}).bind("accordionchange",function(a,b){var c=b.newHeader.next().children("div").get(0);moveAd(c,"div#as_accordion");$("div#as_accordion").css("visibility","visible")}).bind("click",function(a){$("div#as_accordion").css("visibility","hidden")});$("#chatmenu2").accordion({autoheight:true,header:".btn"}).bind("accordionchange",function(a,b){var c=b.newHeader.next().children("div").get(0);moveAd(c,"div#as_accordion");$("div#as_accordion").css("visibility","visible")}).bind("click",function(a){$("div#as_accordion").css("visibility","hidden")});jQuery("#chatmenu3").accordion({autoheight:true,header:".btn"})}function jscroll(){$("div.comment,div.commentsmall").jScrollPane({showArrows:true,scrollbarWidth:10,scrollbarMargin:6});$("div#ffresult").jScrollPane({showArrows:true,scrollbarWidth:10,scrollbarMargin:6});$("div.browserhold").jScrollPane({showArrows:true,scrollbarWidth:10,scrollbarMargin:2})}function formCookies(){remember("input[name=tc_username]",31);remember("select[name=tc_country]",356);remember("select[name=tc_gender]",351);remember("select[name=tc_age]",89);remember("input[name=tc_url]",90);remember("select[name=tc_status]",29);remember("select[name=tc_looking4]",5);remember("input[name=tc_myyaba]",90);remember("input[name=tc_urlident]",90)}function render(){var a=document.getElementById("page");$("div.box",a).each(function(){cornz(this,"boxcover")});$("div.mbox",a).each(function(){cornz(this,"mboxcover")});$("div.abox",a).each(function(){cornz(this,"aboxcover")});$("div.chatmenu",a).each(function(){cornz(this,"cmboxcover")});$("ul.mainmenu a",a).each(function(){tabz(this)});accordion()}function befog(){$("div,p,h1,h2,h3,h4,span").textnodes().wrap('<span class="takemeout" style="visibility:hidden"></span>');$("a").css("visibility","hidden");$("input").css("visibility","hidden");$("select").css("visibility","hidden")}function defog(){$("a").css("visibility","visible");$("input").css("visibility","visible");$("select").css("visibility","visible");$("span.takemeout").each(function(){$(this).replaceWith($(this).text())})}function load_images(){$("span.tccomment").each(function(){var a=$(this).metadata();$(this).css("background-image","url("+a.bgurl+")")})}function mouse_overs(){var a=10;var b=20;$("a.tooltip").hover(function(c){this.t=this.title;this.title="";$("body").append("<p id='tooltip'>"+this.t+"</p>");$("#tooltip").css("top",(c.pageY-a)+"px").css("left",(c.pageX+b)+"px").fadeIn("fast")},function(c){this.title=this.t;$("#tooltip").remove()});$("a.tooltip").mousemove(function(c){$("#tooltip").css("top",(c.pageY-a)+"px").css("left",(c.pageX+b)+"px")})}$(document).ready(function(){var b=new Date();b=b.getTime();jscroll();formCookies();$("input.tc_commentupload").filestyle({image:"/media/images/site/browse.gif",imageheight:22,imagewidth:74,width:158});defog();placeAds();setTimeout("load_images();",10);var a=new Date();a=a.getTime();mouse_overs()});