/* * 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 g=this,j,z=g.jQuery,p=g.$,b=g.jQuery=g.$=function(E,F){return new b.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,k=/^.[^:#\[\.,]*$/;b.fn=b.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&(G[1]||!H)){if(G[1]){E=b.clean([G[1]],H)}else{var I=document.getElementById(G[3]);if(I&&I.id!=G[3]){return b().find(E)}var F=b(I||[]);F.context=document;F.selector=E;return F}}else{return b(H).find(E)}}else{if(b.isFunction(E)){return b(document).ready(E)}}if(E.selector&&E.context){this.selector=E.selector;this.context=E.context}return this.setArray(b.isArray(E)?E:b.makeArray(E))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(E){return E===j?Array.prototype.slice.call(this):this[E]},pushStack:function(F,H,E){var G=b(F);G.prevObject=this;G.context=this.context;if(H==="find"){G.selector=this.selector+(this.selector?" ":"")+E}else{if(H){G.selector=this.selector+"."+H+"("+E+")"}}return G},setArray:function(E){this.length=0;Array.prototype.push.apply(this,E);return this},each:function(F,E){return b.each(this,F,E)},index:function(E){return b.inArray(E&&E.jquery?E[0]:E,this)},attr:function(E,H,G){var F=E;if(typeof E==="string"){if(H===j){return this[0]&&b[G||"attr"](this[0],E)}else{F={};F[E]=H}}return this.each(function(I){for(E in F){b.attr(G?this.style:this,E,b.prop(this,F[E],G,I,E))}})},css:function(E,F){if((E=="width"||E=="height")&&parseFloat(F)<0){F=j}return this.attr(E,F,"curCSS")},text:function(F){if(typeof F!=="object"&&F!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(F))}var E="";b.each(F||this,function(){b.each(this.childNodes,function(){if(this.nodeType!=8){E+=this.nodeType!=1?this.nodeValue:b.fn.text([this])}})});return E},wrapAll:function(E){if(this[0]){var F=b(E,this[0].ownerDocument).clone();if(this[0].parentNode){F.insertBefore(this[0])}F.map(function(){var G=this;while(G.firstChild){G=G.firstChild}return G}).append(this)}return this},wrapInner:function(E){return this.each(function(){b(this).contents().wrapAll(E)})},wrap:function(E){return this.each(function(){b(this).wrapAll(E)})},append:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.appendChild(E)}})},prepend:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.insertBefore(E,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this)})},after:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this.nextSibling)})},end:function(){return this.prevObject||b([])},push:[].push,sort:[].sort,splice:[].splice,find:function(E){if(this.length===1){var F=this.pushStack([],"find",E);F.length=0;b.find(E,this[0],F);return F}else{return this.pushStack(b.unique(b.map(this,function(G){return b.find(E,G)})),"find",E)}},clone:function(F){var E=this.map(function(){if(!b.support.noCloneEvent&&!b.isXMLDoc(this)){var I=this.outerHTML;if(!I){var J=this.ownerDocument.createElement("div");J.appendChild(this.cloneNode(true));I=J.innerHTML}return b.clean([I.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(F===true){var H=this.find("*").andSelf(),G=0;E.find("*").andSelf().each(function(){if(this.nodeName!==H[G].nodeName){return}var I=b.data(H[G],"events");for(var K in I){for(var J in I[K]){b.event.add(this,K,I[K][J],I[K][J].data)}}G++})}return E},filter:function(E){return this.pushStack(b.isFunction(E)&&b.grep(this,function(G,F){return E.call(G,F)})||b.multiFilter(E,b.grep(this,function(F){return F.nodeType===1})),"filter",E)},closest:function(E){var G=b.expr.match.POS.test(E)?b(E):null,F=0;return this.map(function(){var H=this;while(H&&H.ownerDocument){if(G?G.index(H)>-1:b(H).is(E)){b.data(H,"closest",F);return H}H=H.parentNode;F++}})},not:function(E){if(typeof E==="string"){if(k.test(E)){return this.pushStack(b.multiFilter(E,this,true),"not",E)}else{E=b.multiFilter(E,this)}}var F=E.length&&E[E.length-1]!==j&&!E.nodeType;return this.filter(function(){return F?b.inArray(this,E)<0:this!=E})},add:function(E){return this.pushStack(b.unique(b.merge(this.get(),typeof E==="string"?b(E):b.makeArray(E))))},is:function(E){return !!E&&b.multiFilter(E,this).length>0},hasClass:function(E){return !!E&&this.is("."+E)},val:function(L){if(L===j){var F=this[0];if(F){if(b.nodeName(F,"option")){return(F.attributes.value||{}).specified?F.value:F.text}if(b.nodeName(F,"select")){var I=F.selectedIndex,M=[],K=F.options,H=F.type=="select-one";if(I<0){return null}for(var G=H?I:0,J=H?I+1:K.length;G=0||b.inArray(this.name,L)>=0)}else{if(b.nodeName(this,"select")){var N=b.makeArray(L);b("option",this).each(function(){this.selected=(b.inArray(this.value,N)>=0||b.inArray(this.text,N)>=0)});if(!N.length){this.selectedIndex=-1}}else{this.value=L}}})},html:function(E){return E===j?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(E)},replaceWith:function(E){return this.after(E).remove()},eq:function(E){return this.slice(E,+E+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(E){return this.pushStack(b.map(this,function(G,F){return E.call(G,F,G)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(J,M,L){if(this[0]){var E=(this[0].ownerDocument||this[0]).createDocumentFragment(),G=b.clean(J,(this[0].ownerDocument||this[0]),E),I=E.firstChild;if(I){for(var H=0,F=this.length;H1||H>0?E.cloneNode(true):E)}}if(G){b.each(G,r)}}return this;function K(N,O){return M&&b.nodeName(N,"table")&&b.nodeName(O,"tr")?(N.getElementsByTagName("tbody")[0]||N.appendChild(N.ownerDocument.createElement("tbody"))):N}}};b.fn.init.prototype=b.fn;function r(E,F){if(F.src){b.ajax({url:F.src,async:false,dataType:"script"})}else{b.globalEval(F.text||F.textContent||F.innerHTML||"")}if(F.parentNode){F.parentNode.removeChild(F)}}function d(){return +new Date}b.extend=b.fn.extend=function(){var L=arguments[0]||{},I=1,F=arguments.length,E=false,H;if(typeof L==="boolean"){E=L;L=arguments[1]||{};I=2}if(typeof L!=="object"&&!b.isFunction(L)){L={}}if(F==I){L=this;--I}for(;I-1}},swap:function(H,G,I){var E={};for(var F in G){E[F]=H.style[F];H.style[F]=G[F]}I.call(H);for(var F in G){H.style[F]=E[F]}},css:function(H,F,J,E){if(F=="width"||F=="height"){var L,G={position:"absolute",visibility:"hidden",display:"block"},K=F=="width"?["Left","Right"]:["Top","Bottom"];function I(){L=F=="width"?H.offsetWidth:H.offsetHeight;if(E==="border"){return}b.each(K,function(){if(!E){L-=parseFloat(b.curCSS(H,"padding"+this,true))||0}if(E==="margin"){L+=parseFloat(b.curCSS(H,"margin"+this,true))||0}else{L-=parseFloat(b.curCSS(H,"border"+this+"Width",true))||0}})}if(H.offsetWidth!==0){I()}else{b.swap(H,G,I)}return Math.max(0,Math.round(L))}return b.curCSS(H,F,J)},curCSS:function(I,E,G){var L,F=I.style;if(E=="opacity"&&!b.support.opacity){L=b.attr(F,"opacity");return L==""?"1":L}if(E.match(/float/i)){E=w}if(!G&&F&&F[E]){L=F[E]}else{if(A.getComputedStyle){if(E.match(/float/i)){E="float"}E=E.replace(/([A-Z])/g,"-$1").toLowerCase();var M=A.getComputedStyle(I,null);if(M){L=M.getPropertyValue(E)}if(E=="opacity"&&L==""){L="1"}}else{if(I.currentStyle){var K=E.replace(/\-(\w)/g,function(O,N){return N.toUpperCase()});L=I.currentStyle[E]||I.currentStyle[K];if(!/^\d+(px)?$/i.test(L)&&/^\d/.test(L)){var J=F.left,H=I.runtimeStyle.left;I.runtimeStyle.left=I.currentStyle.left;F.left=L||0;L=F.pixelLeft+"px";F.left=J;I.runtimeStyle.left=H}}}}return L},clean:function(F,K,J){K=K||document;if(typeof K.createElement==="undefined"){K=K.ownerDocument||K[0]&&K[0].ownerDocument||document}if(!J&&F.length===1&&typeof F[0]==="string"){var H=/^<(\w+)\s*\/?>$/.exec(F[0]);if(H){return[K.createElement(H[1])]}}var G=[],E=[],L=K.createElement("div");b.each(F,function(P,S){if(typeof S==="number"){S+=""}if(!S){return}if(typeof S==="string"){S=S.replace(/(<(\w+)[^>]*?)\/>/g,function(U,V,T){return T.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?U:V+">"});var O=S.replace(/^\s+/,"").substring(0,10).toLowerCase();var Q=!O.indexOf("",""]||!O.indexOf("",""]||O.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"","
"]||!O.indexOf("",""]||(!O.indexOf("",""]||!O.indexOf("",""]||!b.support.htmlSerialize&&[1,"div
","
"]||[0,"",""];L.innerHTML=Q[1]+S+Q[2];while(Q[0]--){L=L.lastChild}if(!b.support.tbody){var R=/"&&!R?L.childNodes:[];for(var M=N.length-1;M>=0;--M){if(b.nodeName(N[M],"tbody")&&!N[M].childNodes.length){N[M].parentNode.removeChild(N[M])}}}if(!b.support.leadingWhitespace&&/^\s/.test(S)){L.insertBefore(K.createTextNode(S.match(/^\s*/)[0]),L.firstChild)}S=b.makeArray(L.childNodes)}if(S.nodeType){G.push(S)}else{G=b.merge(G,S)}});if(J){for(var I=0;G[I];I++){if(b.nodeName(G[I],"script")&&(!G[I].type||G[I].type.toLowerCase()==="text/javascript")){E.push(G[I].parentNode?G[I].parentNode.removeChild(G[I]):G[I])}else{if(G[I].nodeType===1){G.splice.apply(G,[I+1,0].concat(b.makeArray(G[I].getElementsByTagName("script"))))}J.appendChild(G[I])}}return E}return G},attr:function(J,H,K){if(!J||J.nodeType==3||J.nodeType==8){return j}var G=!b.isXMLDoc(J),L=K!==j;H=G&&b.props[H]||H;if(J.tagName){var I=/href|src|style/.test(H);if(H=="selected"&&J.parentNode){J.parentNode.selectedIndex}if(H in J&&G&&!I){if(L){if(H=="type"&&b.nodeName(J,"input")&&J.parentNode){throw"type property can't be changed"}J[H]=K}if(b.nodeName(J,"form")&&J.getAttributeNode(H)){return J.getAttributeNode(H).nodeValue}if(H=="tabIndex"){var F=J.getAttributeNode("tabIndex");return F&&F.specified?F.value:J.nodeName.match(/(button|input|object|select|textarea)/i)?0:J.nodeName.match(/^(a|area)$/i)&&J.href?0:j}return J[H]}if(!b.support.style&&G&&H=="style"){return b.attr(J.style,"cssText",K)}if(L){J.setAttribute(H,""+K)}var E=!b.support.hrefNormalized&&G&&I?J.getAttribute(H,2):J.getAttribute(H);return E===null?j:E}if(!b.support.opacity&&H=="opacity"){if(L){J.zoom=1;J.filter=(J.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(K)+""=="NaN"?"":"alpha(opacity="+K*100+")")}return J.filter&&J.filter.indexOf("opacity=")>=0?(parseFloat(J.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}H=H.replace(/-([a-z])/ig,function(N,M){return M.toUpperCase()});if(L){J[H]=K}return J[H]},trim:function(E){return(E||"").replace(/^\s+|\s+$/g,"")},makeArray:function(G){var E=[];if(G!=null){var F=G.length;if(F==null||typeof G==="string"||b.isFunction(G)||G.setInterval){E[0]=G}else{while(F){E[--F]=G[F]}}}return E},inArray:function(G,H){for(var F=0,E=H.length;F0?this.clone(true):this).get();b.fn[F].apply(b(G[L]),J);K=K.concat(J)}return this.pushStack(K,E,H)}});b.each({removeAttr:function(E){b.attr(this,E,"");if(this.nodeType==1){this.removeAttribute(E)}},addClass:function(E){b.className.add(this,E)},removeClass:function(E){b.className.remove(this,E)},toggleClass:function(F,E){if(typeof E!=="boolean"){E=!b.className.has(this,F)}b.className[E?"add":"remove"](this,F)},remove:function(E){if(!E||b.filter(E,[this]).length){b("*",this).add([this]).each(function(){b.event.remove(this);b.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){b(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(E,F){b.fn[E]=function(){return this.each(F,arguments)}});function l(E,F){return E[0]&&parseInt(b.curCSS(E[0],F,true),10)||0}var i="jQuery"+d(),v=0,B={};b.extend({cache:{},data:function(F,E,G){F=F==g?B:F;var H=F[i];if(!H){H=F[i]=++v}if(E&&!b.cache[H]){b.cache[H]={}}if(G!==j){b.cache[H][E]=G}return E?b.cache[H][E]:H},removeData:function(F,E){F=F==g?B:F;var H=F[i];if(E){if(b.cache[H]){delete b.cache[H][E];E="";for(E in b.cache[H]){break}if(!E){b.removeData(F)}}}else{try{delete F[i]}catch(G){if(F.removeAttribute){F.removeAttribute(i)}}delete b.cache[H]}},queue:function(F,E,H){if(F){E=(E||"fx")+"queue";var G=b.data(F,E);if(!G||b.isArray(H)){G=b.data(F,E,b.makeArray(H))}else{if(H){G.push(H)}}}return G},dequeue:function(H,G){var E=b.queue(H,G),F=E.shift();if(!G||G==="fx"){F=E[0]}if(F!==j){F.call(H)}}});b.fn.extend({data:function(E,G){var H=E.split(".");H[1]=H[1]?"."+H[1]:"";if(G===j){var F=this.triggerHandler("getData"+H[1]+"!",[H[0]]);if(F===j&&this.length){F=b.data(this[0],E)}return F===j&&H[1]?this.data(H[0]):F}else{return this.trigger("setData"+H[1]+"!",[H[0],G]).each(function(){b.data(this,E,G)})}},removeData:function(E){return this.each(function(){b.removeData(this,E)})},queue:function(E,F){if(typeof E!=="string"){F=E;E="fx"}if(F===j){return b.queue(this[0],E)}return this.each(function(){var G=b.queue(this,E,F);if(E=="fx"&&G.length==1){G[0].call(this)}})},dequeue:function(E){return this.each(function(){b.dequeue(this,E)})}}); /* * Sizzle CSS Selector Engine - v0.9.3 * Copyright 2009, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. * More information: http://sizzlejs.com/ */ (function(){var R=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,I=0,L=Object.prototype.toString;var N=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&&G.exec(Y)){if(Z.length===2&&F.relative[Z[0]]){af=H(Z[0]+Z[1],U)}else{af=F.relative[Z[0]]?[U]:N(Z.shift(),U);while(Z.length){Y=Z.shift();if(F.relative[Y]){Y+=Z.shift()}af=H(Y,af)}}}else{var ae=ac?{expr:Z.pop(),set:E(ac)}:N.find(Z.pop(),Z.length===1&&U.parentNode?U.parentNode:U,Q(U));af=N.filter(ae.expr,ae.set);if(Z.length>0){ai=E(af)}else{X=false}while(Z.length){var ah=Z.pop(),ag=ah;if(!F.relative[ah]){ah=""}else{ag=Z.pop()}if(ag==null){ag=U}F.relative[ah](ai,ag,Q(U))}}if(!ai){ai=af}if(!ai){throw"Syntax error, unrecognized expression: "+(ah||Y)}if(L.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&&J(U,ai[aa]))){ab.push(af[aa])}}}else{for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&ai[aa].nodeType===1){ab.push(af[aa])}}}}}else{E(ai,ab)}if(V){N(V,U,ab,ac);if(K){hasDuplicate=false;ab.sort(K);if(hasDuplicate){for(var aa=1;aa":function(Z,W,aa){var V=typeof W==="string";if(V&&!/\W/.test(W)){W=aa?W:W.toUpperCase();for(var X=0,T=Z.length;X=0)){if(!U){Z.push(X)}}else{if(U){T[W]=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]=I++;return T},ATTR:function(W,T,U,Y,X,Z){var V=W[1].replace(/\\/g,"");if(!Z&&F.attrMap[V]){W[1]=F.attrMap[V]}if(W[2]==="~="){W[4]=" "+W[4]+" "}return W},PSEUDO:function(W,T,U,Y,X){if(W[1]==="not"){if(W[3].match(R).length>1||/^\w/.test(W[3])){W[3]=N(W[3],null,null,T)}else{var V=N.filter(W[3],T,U,true^X);if(!U){Y.push.apply(Y,V)}return false}}else{if(F.match.POS.test(W[0])||F.match.CHILD.test(W[0])){return true}}return W},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 !!N(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 UT[3]-0},nth:function(V,U,T){return T[3]-0==U},eq:function(V,U,T){return T[3]-0==U}},filter:{PSEUDO:function(Z,W,X,aa){var V=W[1],U=F.filters[V];if(U){return U(Z,X,W,aa)}else{if(V==="contains"){return(Z.textContent||Z.innerText||"").indexOf(W[3])>=0}else{if(V==="not"){var Y=W[3];for(var X=0,T=Y.length;X=0)}}},ID:function(U,T){return U.nodeType===1&&U.getAttribute("id")===T},TAG:function(U,T){return(T==="*"&&U.nodeType===1)||U.nodeName===T},CLASS:function(U,T){return(" "+(U.className||U.getAttribute("class"))+" ").indexOf(T)>-1},ATTR:function(X,V){var U=V[1],Z=F.attrHandle[U]?F.attrHandle[U](X):X[U]!=null?X[U]:X.getAttribute(U),Y=Z+"",W=V[2],T=V[4];return Z==null?W==="!=":W==="="?Y===T:W==="*="?Y.indexOf(T)>=0:W==="~="?(" "+Y+" ").indexOf(T)>=0:!T?Y&&Z!==false:W==="!="?Y!=T:W==="^="?Y.indexOf(T)===0:W==="$="?Y.substr(Y.length-T.length)===T:W==="|="?Y===T||Y.substr(0,T.length+1)===T+"-":false},POS:function(X,V,W,Y){var U=V[2],T=F.setFilters[U];if(T){return T(X,W,V,Y)}}}};var G=F.match.POS;for(var O in F.match){F.match[O]=RegExp(F.match[O].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var E=function(U,T){U=Array.prototype.slice.call(U);if(T){T.push.apply(T,U);return T}return U};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(M){E=function(X,W){var U=W||[];if(L.call(X)==="[object Array]"){Array.prototype.push.apply(U,X)}else{if(typeof X.length==="number"){for(var V=0,T=X.length;V";var T=document.documentElement;T.insertBefore(U,T.firstChild);if(!!document.getElementById(V)){F.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]:j:[]}};F.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){F.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="";if(T.firstChild&&typeof T.firstChild.getAttribute!=="undefined"&&T.firstChild.getAttribute("href")!=="#"){F.attrHandle.href=function(U){return U.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var T=N,U=document.createElement("div");U.innerHTML="

";if(U.querySelectorAll&&U.querySelectorAll(".TEST").length===0){return}N=function(Y,X,V,W){X=X||document;if(!W&&X.nodeType===9&&!Q(X)){try{return E(X.querySelectorAll(Y),V)}catch(Z){}}return T(Y,X,V,W)};N.find=T.find;N.filter=T.filter;N.selectors=T.selectors;N.matches=T.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var T=document.createElement("div");T.innerHTML="
";if(T.getElementsByClassName("e").length===0){return}T.lastChild.className="e";if(T.getElementsByClassName("e").length===1){return}F.order.splice(1,0,"CLASS");F.find.CLASS=function(U,V,W){if(typeof V.getElementsByClassName!=="undefined"&&!W){return V.getElementsByClassName(U[1])}}})()}function P(U,ab,Y,ac,aa,ad){var Z=U=="previousSibling"&&!ad;for(var W=0,V=ac.length;W0){X=T;break}}}T=T[U]}ac[W]=X}}}var J=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 H=function(T,Z){var aa=[],W="",X,V=Z.nodeType?[Z]:Z;while((X=F.match.PSEUDO.exec(T))){W+=X[0];T=T.replace(F.match.PSEUDO,"")}T=F.relative[T]?T+"*":T;for(var Y=0,U=V.length;Y0||T.offsetHeight>0};N.selectors.filters.animated=function(T){return b.grep(b.timers,function(U){return T===U.elem}).length};b.multiFilter=function(V,T,U){if(U){V=":not("+V+")"}return N.matches(V,T)};b.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};b.nth=function(X,W,U,V){W=W||1;var T=0;for(;X;X=X[U]){if(X.nodeType==1&&++T==W){break}}return X};b.sibling=function(V,U){var T=[];for(;V;V=V.nextSibling){if(V.nodeType==1&&V!=U){T.push(V)}}return T};return;g.Sizzle=N})();b.event={add:function(J,G,I,K){if(J.nodeType==3||J.nodeType==8){return}if(J.setInterval&&J!=g){J=g}if(!I.guid){I.guid=this.guid++}if(K!==j){var H=I;I=this.proxy(H);I.data=K}var F=b.data(J,"events")||b.data(J,"events",{}),E=b.data(J,"handle")||b.data(J,"handle",function(){return typeof b!=="undefined"&&!b.event.triggered?b.event.handle.apply(arguments.callee.elem,arguments):j});E.elem=J;b.each(G.split(/\s+/),function(M,N){var O=N.split(".");N=O.shift();I.type=O.slice().sort().join(".");var L=F[N];if(b.event.specialAll[N]){b.event.specialAll[N].setup.call(J,K,O)}if(!L){L=F[N]={};if(!b.event.special[N]||b.event.special[N].setup.call(J,K,O)===false){if(J.addEventListener){J.addEventListener(N,E,false)}else{if(J.attachEvent){J.attachEvent("on"+N,E)}}}}L[I.guid]=I;b.event.global[N]=true});J=null},guid:1,global:{},remove:function(L,I,K){if(L.nodeType==3||L.nodeType==8){return}var H=b.data(L,"events"),G,F;if(H){if(I===j||(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}b.each(I.split(/\s+/),function(N,P){var Q=P.split(".");P=Q.shift();var O=RegExp("(^|\\.)"+Q.slice().sort().join(".*\\.")+"(\\.|$)");if(H[P]){if(K){delete H[P][K.guid]}else{for(var M in H[P]){if(O.test(H[P][M].type)){delete H[P][M]}}}if(b.event.specialAll[P]){b.event.specialAll[P].teardown.call(L,Q)}for(G in H[P]){break}if(!G){if(!b.event.special[P]||b.event.special[P].teardown.call(L,Q)===false){if(L.removeEventListener){L.removeEventListener(P,b.data(L,"handle"),false)}else{if(L.detachEvent){L.detachEvent("on"+P,b.data(L,"handle"))}}}G=null;delete H[P]}}})}for(G in H){break}if(!G){var E=b.data(L,"handle");if(E){E.elem=null}b.removeData(L,"events");b.removeData(L,"handle")}}},trigger:function(J,K,I,G){var H=J.type||J;if(!G){J=typeof J==="object"?J[i]?J:b.extend(b.Event(H),J):b.Event(H);if(H.indexOf("!")>=0){J.type=H=H.slice(0,-1);J.exclusive=true}if(!I){J.stopPropagation();if(this.global[H]){b.each(b.cache,function(){if(this.events&&this.events[H]){b.event.trigger(J,K,this.handle.elem)}})}}if(!I||I.nodeType==3||I.nodeType==8){return j}J.result=j;J.target=I;K=b.makeArray(K);K.unshift(J)}J.currentTarget=I;var E=b.data(I,"handle");if(E){E.apply(I,K)}if((!I[H]||(b.nodeName(I,"a")&&H=="click"))&&I["on"+H]&&I["on"+H].apply(I,K)===false){J.result=false}if(!G&&I[H]&&!J.isDefaultPrevented()&&!(b.nodeName(I,"a")&&H=="click")){this.triggered=true;try{I[H]()}catch(L){}}this.triggered=false;if(!J.isPropagationStopped()){var F=I.parentNode||I.ownerDocument;if(F){b.event.trigger(J,K,F,true)}}},handle:function(K){var J,E;K=arguments[0]=b.event.fix(K||g.event);K.currentTarget=this;var L=K.type.split(".");K.type=L.shift();J=!L.length&&!K.exclusive;var I=RegExp("(^|\\.)"+L.slice().sort().join(".*\\.")+"(\\.|$)");E=(b.data(this,"events")||{})[K.type];for(var G in E){var H=E[G];if(J||I.test(H.type)){K.handler=H;K.data=H.data;var F=H.apply(this,arguments);if(F!==j){K.result=F;if(F===false){K.preventDefault();K.stopPropagation()}}if(K.isImmediatePropagationStopped()){break}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(H){if(H[i]){return H}var F=H;H=b.Event(F);for(var G=this.props.length,J;G;){J=this.props[--G];H[J]=F[J]}if(!H.target){H.target=H.srcElement||document}if(H.target.nodeType==3){H.target=H.target.parentNode}if(!H.relatedTarget&&H.fromElement){H.relatedTarget=H.fromElement==H.target?H.toElement:H.fromElement}if(H.pageX==null&&H.clientX!=null){var I=document.documentElement,E=document.body;H.pageX=H.clientX+(I&&I.scrollLeft||E&&E.scrollLeft||0)-(I.clientLeft||0);H.pageY=H.clientY+(I&&I.scrollTop||E&&E.scrollTop||0)-(I.clientTop||0)}if(!H.which&&((H.charCode||H.charCode===0)?H.charCode:H.keyCode)){H.which=H.charCode||H.keyCode}if(!H.metaKey&&H.ctrlKey){H.metaKey=H.ctrlKey}if(!H.which&&H.button){H.which=(H.button&1?1:(H.button&2?3:(H.button&4?2:0)))}return H},proxy:function(F,E){E=E||function(){return F.apply(this,arguments)};E.guid=F.guid=F.guid||E.guid||this.guid++;return E},special:{ready:{setup:q,teardown:function(){}}},specialAll:{live:{setup:function(E,F){b.event.add(this,F[0],n)},teardown:function(G){if(G.length){var F=0,E=RegExp("(^|\\.)"+G[0]+"(\\.|$)");b.each((b.data(this,"events").live||{}),function(){if(E.test(this.type)){F++}});if(F<1){b.event.remove(this,G[0],n)}}}}}};b.Event=function(E){if(!this.preventDefault){return new b.Event(E)}if(E&&E.type){this.originalEvent=E;this.type=E.type}else{this.type=E}this.timeStamp=d();this[i]=true};function f(){return false}function u(){return true}b.Event.prototype={preventDefault:function(){this.isDefaultPrevented=u;var E=this.originalEvent;if(!E){return}if(E.preventDefault){E.preventDefault()}E.returnValue=false},stopPropagation:function(){this.isPropagationStopped=u;var E=this.originalEvent;if(!E){return}if(E.stopPropagation){E.stopPropagation()}E.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=u;this.stopPropagation()},isDefaultPrevented:f,isPropagationStopped:f,isImmediatePropagationStopped:f};var a=function(F){var E=F.relatedTarget;while(E&&E!=this){try{E=E.parentNode}catch(G){E=this}}if(E!=this){F.type=F.data;b.event.handle.apply(this,arguments)}};b.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(F,E){b.event.special[E]={setup:function(){b.event.add(this,F,a,E)},teardown:function(){b.event.remove(this,F,a)}}});b.fn.extend({bind:function(F,G,E){return F=="unload"?this.one(F,G,E):this.each(function(){b.event.add(this,F,E||G,E&&G)})},one:function(G,H,F){var E=b.event.proxy(F||H,function(I){b(this).unbind(I,E);return(F||H).apply(this,arguments)});return this.each(function(){b.event.add(this,G,E,F&&H)})},unbind:function(F,E){return this.each(function(){b.event.remove(this,F,E)})},trigger:function(E,F){return this.each(function(){b.event.trigger(E,F,this)})},triggerHandler:function(E,G){if(this[0]){var F=b.Event(E);F.preventDefault();F.stopPropagation();b.event.trigger(F,G,this[0]);return F.result}},toggle:function(G){var E=arguments,F=1;while(F=0){var E=G.slice(J,G.length);G=G.slice(0,J)}var H="GET";if(K){if(b.isFunction(K)){I=K;K=null}else{if(typeof K==="object"){K=b.param(K);H="POST"}}}var F=this;b.ajax({url:G,type:H,dataType:"html",data:K,complete:function(L,M){if(M=="success"||M=="notmodified"){F.html(E?b("
").append(L.responseText.replace(//g,"")).find(E):L.responseText)}if(I){F.each(I,[L.responseText,M,L])}}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(E,F){var G=b(this).val();return G==null?null:b.isArray(G)?b.map(G,function(I,H){return{name:F.name,value:I}}):{name:F.name,value:G}}).get()}});b.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(E,F){b.fn[F]=function(G){return this.bind(F,G)}});var s=d();b.extend({get:function(E,G,H,F){if(b.isFunction(G)){H=G;G=null}return b.ajax({type:"GET",url:E,data:G,success:H,dataType:F})},getScript:function(E,F){return b.get(E,null,F,"script")},getJSON:function(E,F,G){return b.get(E,F,G,"json")},post:function(E,G,H,F){if(b.isFunction(G)){H=G;G={}}return b.ajax({type:"POST",url:E,data:G,success:H,dataType:F})},ajaxSetup:function(E){b.extend(b.ajaxSettings,E)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return g.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(L){L=b.extend(true,L,b.extend(true,{},b.ajaxSettings,L));var V,F=/=\?(&|$)/g,Q,S,G=L.type.toUpperCase();if(L.data&&L.processData&&typeof L.data!=="string"){L.data=b.param(L.data)}if(L.dataType=="jsonp"){if(G=="GET"){if(!L.url.match(F)){L.url+=(L.url.match(/\?/)?"&":"?")+(L.jsonp||"callback")+"=?"}}else{if(!L.data||!L.data.match(F)){L.data=(L.data?L.data+"&":"")+(L.jsonp||"callback")+"=?"}}L.dataType="json"}if(L.dataType=="json"&&(L.data&&L.data.match(F)||L.url.match(F))){V="jsonp"+s++;if(L.data){L.data=(L.data+"").replace(F,"="+V+"$1")}L.url=L.url.replace(F,"="+V+"$1");L.dataType="script";g[V]=function(X){S=X;H();U();g[V]=j;try{delete g[V]}catch(Y){}if(I){I.removeChild(N)}}}if(L.dataType=="script"&&L.cache==null){L.cache=false}if(L.cache===false&&G=="GET"){var E=d();var T=L.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+E+"$2");L.url=T+((T==L.url)?(L.url.match(/\?/)?"&":"?")+"_="+E:"")}if(L.data&&G=="GET"){L.url+=(L.url.match(/\?/)?"&":"?")+L.data;L.data=null}if(L.global&&!b.active++){b.event.trigger("ajaxStart")}var P=/^(\w+:)?\/\/([^\/?#]+)/.exec(L.url);if(L.dataType=="script"&&G=="GET"&&P&&(P[1]&&P[1]!=location.protocol||P[2]!=location.host)){var I=document.getElementsByTagName("head")[0];var N=document.createElement("script");N.src=L.url;if(L.scriptCharset){N.charset=L.scriptCharset}if(!V){var M=false;N.onload=N.onreadystatechange=function(){if(!M&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){M=true;H();U();N.onload=N.onreadystatechange=null;I.removeChild(N)}}}I.appendChild(N);return j}var K=false;var J=L.xhr();if(L.username){J.open(G,L.url,L.async,L.username,L.password)}else{J.open(G,L.url,L.async)}try{if(L.data){J.setRequestHeader("Content-Type",L.contentType)}if(L.ifModified){J.setRequestHeader("If-Modified-Since",b.lastModified[L.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}J.setRequestHeader("X-Requested-With","XMLHttpRequest");J.setRequestHeader("Accept",L.dataType&&L.accepts[L.dataType]?L.accepts[L.dataType]+", */*":L.accepts._default)}catch(R){}if(L.beforeSend&&L.beforeSend(J,L)===false){if(L.global&&!--b.active){b.event.trigger("ajaxStop")}J.abort();return false}if(L.global){b.event.trigger("ajaxSend",[J,L])}var W=function(Y){if(J.readyState==0){if(O){clearInterval(O);O=null;if(L.global&&!--b.active){b.event.trigger("ajaxStop")}}}else{if(!K&&J&&(J.readyState==4||Y=="timeout")){K=true;if(O){clearInterval(O);O=null}Q=Y=="timeout"?"timeout":!b.httpSuccess(J)?"error":L.ifModified&&b.httpNotModified(J,L.url)?"notmodified":"success";if(Q=="success"){try{S=b.httpData(J,L.dataType,L)}catch(Z){Q="parsererror"}}if(Q=="success"){var X;try{X=J.getResponseHeader("Last-Modified")}catch(Z){}if(L.ifModified&&X){b.lastModified[L.url]=X}if(!V){H()}}else{b.handleError(L,J,Q)}U();if(Y){J.abort()}if(L.async){J=null}}}};if(L.async){var O=setInterval(W,13);if(L.timeout>0){setTimeout(function(){if(J&&!K){W("timeout")}},L.timeout)}}try{J.send(L.data)}catch(R){b.handleError(L,J,null,R)}if(!L.async){W()}function H(){if(L.success){L.success(S,Q)}if(L.global){b.event.trigger("ajaxSuccess",[J,L])}}function U(){if(L.complete){L.complete(J,Q)}if(L.global){b.event.trigger("ajaxComplete",[J,L])}if(L.global&&!--b.active){b.event.trigger("ajaxStop")}}return J},handleError:function(E,H,F,G){if(E.error){E.error(H,F,G)}if(E.global){b.event.trigger("ajaxError",[H,E,G])}},active:0,httpSuccess:function(F){try{return !F.status&&location.protocol=="file:"||(F.status>=200&&F.status<300)||F.status==304||F.status==1223}catch(E){}return false},httpNotModified:function(H,E){try{var G=H.getResponseHeader("Last-Modified");return H.status==304||G==b.lastModified[E]}catch(F){}return false},httpData:function(J,H,G){var F=J.getResponseHeader("content-type"),E=H=="xml"||!H&&F&&F.indexOf("xml")>=0,I=E?J.responseXML:J.responseText;if(E&&I.documentElement.tagName=="parsererror"){throw"parsererror"}if(G&&G.dataFilter){I=G.dataFilter(I,H)}if(typeof I==="string"){if(H=="script"){b.globalEval(I)}if(H=="json"){I=g["eval"]("("+I+")")}}return I},param:function(E){var G=[];function H(I,J){G[G.length]=encodeURIComponent(I)+"="+encodeURIComponent(J)}if(b.isArray(E)||E.jquery){b.each(E,function(){H(this.name,this.value)})}else{for(var F in E){if(b.isArray(E[F])){b.each(E[F],function(){H(F,this)})}else{H(F,b.isFunction(E[F])?E[F]():E[F])}}}return G.join("&").replace(/%20/g,"+")}});var e={},c,m=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function t(F,E){var G={};b.each(m.concat.apply([],m.slice(0,E)),function(){G[this]=F});return G}b.fn.extend({show:function(J,L){if(J){return this.animate(t("show",3),J,L)}else{for(var H=0,F=this.length;H").appendTo("body");K=I.css("display");if(K==="none"){K="block"}I.remove();e[G]=K}b.data(this[H],"olddisplay",K)}}for(var H=0,F=this.length;H=0;H--){if(E[H].elem==this){if(G){E[H](true)}E.splice(H,1)}}});if(!G){this.dequeue()}return this}});b.each({slideDown:t("show",1),slideUp:t("hide",1),slideToggle:t("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(E,F){b.fn[E]=function(G,H){return this.animate(F,G,H)}});b.extend({speed:function(G,H,F){var E=typeof G==="object"?G:{complete:F||!F&&H||b.isFunction(G)&&G,duration:G,easing:F&&H||H&&!b.isFunction(H)&&H};E.duration=b.fx.off?0:typeof E.duration==="number"?E.duration:b.fx.speeds[E.duration]||b.fx.speeds._default;E.old=E.complete;E.complete=function(){if(E.queue!==false){b(this).dequeue()}if(b.isFunction(E.old)){E.old.call(this)}};return E},easing:{linear:function(G,H,E,F){return E+F*G},swing:function(G,H,E,F){return((-Math.cos(G*Math.PI)/2)+0.5)*F+E}},timers:[],fx:function(F,E,G){this.options=E;this.elem=F;this.prop=G;if(!E.orig){E.orig={}}}});b.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(b.fx.step[this.prop]||b.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(F){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var E=parseFloat(b.css(this.elem,this.prop,F));return E&&E>-10000?E:parseFloat(b.curCSS(this.elem,this.prop))||0},custom:function(I,H,G){this.startTime=d();this.start=I;this.end=H;this.unit=G||this.unit||"px";this.now=this.start;this.pos=this.state=0;var E=this;function F(J){return E.step(J)}F.elem=this.elem;F.baduserfunc=1;if(F()&&b.timers.push(F)&&!c){c=setInterval(function(){var J=b.timers;for(var K=0;K=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var E=true;for(var F in this.options.curAnim){if(this.options.curAnim[F]!==true){E=false}}if(E){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(b.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){b(this.elem).hide()}if(this.options.hide||this.options.show){for(var I in this.options.curAnim){b.attr(this.elem.style,I,this.options.orig[I])}}if(arguments.callee&&arguments.callee.caller&&arguments.callee.caller.baduserfunc==1){arguments.callee.caller.baduserfunc=2}this.options.complete.call(this.elem);if(arguments.callee&&arguments.callee.caller&&arguments.callee.caller.baduserfunc==2){arguments.callee.caller.baduserfunc=1}}return false}else{var J=G-this.startTime;this.state=J/this.options.duration;this.pos=b.easing[this.options.easing||(b.easing.swing?"swing":"linear")](this.state,J,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};b.extend(b.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(E){b.attr(E.elem.style,"opacity",E.now)},_default:function(E){if(E.elem.style&&E.elem.style[E.prop]!=null){E.elem.style[E.prop]=E.now+E.unit}else{E.elem[E.prop]=E.now}}}});if(document.documentElement.getBoundingClientRect){b.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return b.offset.bodyOffset(this[0])}var G=this[0].getBoundingClientRect(),K=this[0].ownerDocument,F=K.body,E=K.documentElement,J=E.clientTop||F.clientTop||0,L=E.clientLeft||F.clientLeft||0,I=G.top+(self.pageYOffset||b.boxModel&&E.scrollTop||F.scrollTop)-J,H=G.left+(self.pageXOffset||b.boxModel&&E.scrollLeft||F.scrollLeft)-L;return{top:I,left:H}}}else{b.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return b.offset.bodyOffset(this[0])}b.offset.initialized||b.offset.initialize();var I=this[0],E=I.offsetParent,M=I,O=I.ownerDocument,L,G=O.documentElement,J=O.body,F=O.defaultView,K=F.getComputedStyle(I,null),N=I.offsetTop,H=I.offsetLeft;while((I=I.parentNode)&&I!==J&&I!==G){L=F.getComputedStyle(I,null);N-=I.scrollTop,H-=I.scrollLeft;if(I===E){N+=I.offsetTop,H+=I.offsetLeft;if(b.offset.doesNotAddBorder&&!(b.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(I.tagName))){N+=parseInt(L.borderTopWidth,10)||0,H+=parseInt(L.borderLeftWidth,10)||0}M=E,E=I.offsetParent}if(b.offset.subtractsBorderForOverflowNotVisible&&L.overflow!=="visible"){N+=parseInt(L.borderTopWidth,10)||0,H+=parseInt(L.borderLeftWidth,10)||0}K=L}if(K.position==="relative"||K.position==="static"){N+=J.offsetTop,H+=J.offsetLeft}if(K.position==="fixed"){N+=Math.max(G.scrollTop,J.scrollTop),H+=Math.max(G.scrollLeft,J.scrollLeft)}return{top:N,left:H}}}b.offset={initialize:function(){if(this.initialized){return}var K=document.body,L=document.createElement("div"),G,F,N,H,M,E,I=K.style.marginTop,J='
';M={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(E in M){L.style[E]=M[E]}L.innerHTML=J;K.insertBefore(L,K.firstChild);G=L.firstChild,F=G.firstChild,H=G.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(F.offsetTop!==5);this.doesAddBorderForTableAndCells=(H.offsetTop===5);G.style.overflow="hidden",G.style.position="relative";this.subtractsBorderForOverflowNotVisible=(F.offsetTop===-5);K.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(K.offsetTop===0);K.style.marginTop=I;K.removeChild(L);this.initialized=true},bodyOffset:function(E){b.offset.initialized||b.offset.initialize();var G=E.offsetTop,F=E.offsetLeft;if(b.offset.doesNotIncludeMarginInBodyOffset){G+=parseInt(b.curCSS(E,"marginTop",true),10)||0,F+=parseInt(b.curCSS(E,"marginLeft",true),10)||0}return{top:G,left:F}}};b.fn.extend({position:function(){var I=0,H=0,F;if(this[0]){var G=this.offsetParent(),J=this.offset(),E=/^body|html$/i.test(G[0].tagName)?{top:0,left:0}:G.offset();J.top-=l(this,"marginTop");J.left-=l(this,"marginLeft");E.top+=l(G,"borderTopWidth");E.left+=l(G,"borderLeftWidth");F={top:J.top-E.top,left:J.left-E.left}}return F},offsetParent:function(){var E=this[0].offsetParent||document.body;while(E&&(!/^body|html$/i.test(E.tagName)&&b.css(E,"position")=="static")){E=E.offsetParent}return b(E)}});b.each(["Left","Top"],function(F,E){var G="scroll"+E;b.fn[G]=function(H){if(!this[0]){return null}return H!==j?this.each(function(){this==g||this==document?g.scrollTo(!F?H:b(g).scrollLeft(),F?H:b(g).scrollTop()):this[G]=H}):this[0]==g||this[0]==document?self[F?"pageYOffset":"pageXOffset"]||b.boxModel&&document.documentElement[G]||document.body[G]:this[0][G]}});b.each(["Height","Width"],function(I,G){var E=I?"Left":"Top",H=I?"Right":"Bottom",F=G.toLowerCase();b.fn["inner"+G]=function(){return this[0]?b.css(this[0],F,false,"padding"):null};b.fn["outer"+G]=function(K){return this[0]?b.css(this[0],F,false,K?"margin":"border"):null};var J=G.toLowerCase();b.fn[J]=function(K){return this[0]==g?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===j?(this.length?b.css(this[0],J):null):this.css(J,typeof K==="string"?K:K+"px")}})})();(function(b){b.fn.ajaxSubmit=function(m){if(!this.length){a("ajaxSubmit: skipping submit process - no element selected");return this}if(typeof m=="function"){m={success:m}}var d=b.trim(this.attr("action"));if(d){d=(d.match(/^([^#]+)/)||[])[1]}d=d||window.location.href||"";m=b.extend({url:d,type:this.attr("method")||"GET"},m||{});var t={};this.trigger("form-pre-serialize",[this,m,t]);if(t.veto){a("ajaxSubmit: submit vetoed via form-pre-serialize trigger");return this}if(m.beforeSerialize&&m.beforeSerialize(this,m)===false){a("ajaxSubmit: submit aborted via beforeSerialize callback");return this}var o=this.formToArray(m.semantic);if(m.data){m.extraData=m.data;for(var g in m.data){if(m.data[g] instanceof Array){for(var i in m.data[g]){o.push({name:g,value:m.data[g][i]})}}else{o.push({name:g,value:m.data[g]})}}}if(m.beforeSubmit&&m.beforeSubmit(o,this,m)===false){a("ajaxSubmit: submit aborted via beforeSubmit callback");return this}this.trigger("form-submit-validate",[o,this,m,t]);if(t.veto){a("ajaxSubmit: submit vetoed via form-submit-validate trigger");return this}var e=b.param(o);if(m.type.toUpperCase()=="GET"){m.url+=(m.url.indexOf("?")>=0?"&":"?")+e;m.data=null}else{m.data=e}var u=this,f=[];if(m.resetForm){f.push(function(){u.resetForm()})}if(m.clearForm){f.push(function(){u.clearForm()})}if(!m.dataType&&m.target){var r=m.success||function(){};f.push(function(j){b(m.target).html(j).each(r,arguments)})}else{if(m.success){f.push(m.success)}}m.success=function(q,n){for(var k=0,j=f.length;k');var D=B[0];B.css({position:"absolute",top:"-1000px",left:"-1000px"});var F={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(){this.aborted=1;B.attr("src","about:blank")}};var C=k.global;if(C&&!b.active++){b.event.trigger("ajaxStart")}if(C){b.event.trigger("ajaxSend",[F,k])}if(G.beforeSend&&G.beforeSend(F,G)===false){G.global&&b.active--;return}if(F.aborted){return}var E=0;var A=0;var j=q.clk;if(j){var w=j.name;if(w&&!j.disabled){m.extraData=m.extraData||{};m.extraData[w]=j.value;if(j.type=="image"){m.extraData[name+".x"]=q.clk_x;m.extraData[name+".y"]=q.clk_y}}}setTimeout(function(){var J=u.attr("target"),H=u.attr("action");q.setAttribute("target",v);if(q.getAttribute("method")!="POST"){q.setAttribute("method","POST")}if(q.getAttribute("action")!=k.url){q.setAttribute("action",k.url)}if(!m.skipEncodingOverride){u.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"})}if(b.browser.opera&&parseFloat(b.browser.version)>9.799&&!k.timeout){k.timeout=3*60000}if(k.timeout){setTimeout(function(){A=true;x()},k.timeout)}var I=[];try{if(m.extraData){for(var K in m.extraData){I.push(b('').appendTo(q)[0])}}B.appendTo("body");D.attachEvent?D.attachEvent("onload",x):D.addEventListener("load",x,false);q.submit()}finally{q.setAttribute("action",H);J?q.setAttribute("target",J):u.removeAttr("target");b(I).remove()}},10);var y=0;function x(){if(E++){return}D.detachEvent?D.detachEvent("onload",x):D.removeEventListener("load",x,false);var H=true;try{if(A){throw"timeout"}var I,K;K=D.contentWindow?D.contentWindow.document:D.contentDocument?D.contentDocument:D.document;if((!K||!K.body||K.body.innerHTML=="")&&!y){if(!(b.browser.opera&&parseFloat(b.browser.version)>9.799&&K&&K.baseURI=="about:blank")){y=1}E--;setTimeout(x,100);return}F.responseText=K.body?K.body.innerHTML:null;F.responseXML=K.XMLDocument?K.XMLDocument:K;F.getResponseHeader=function(L){var M={"content-type":k.dataType};return M[L]};if(k.dataType=="json"||k.dataType=="script"){var n=K.getElementsByTagName("textarea")[0];F.responseText=n?n.value:F.responseText}else{if(k.dataType=="xml"&&!F.responseXML&&F.responseText!=null){F.responseXML=z(F.responseText)}}I=b.httpData(F,k.dataType)}catch(J){H=false;b.handleError(k,F,"error",J)}if(H){k.success(I,"success");if(C){b.event.trigger("ajaxSuccess",[F,k])}}if(C){b.event.trigger("ajaxComplete",[F,k])}if(C&&!--b.active){b.event.trigger("ajaxStop")}if(k.complete){k.complete(F,H?"success":"error")}setTimeout(function(){B.remove();F.responseXML=null},100)}function z(n,H){if(window.ActiveXObject){H=new ActiveXObject("Microsoft.XMLDOM");H.async="false";H.loadXML(n)}else{H=(new DOMParser()).parseFromString(n,"text/xml")}return(H&&H.documentElement&&H.documentElement.tagName!="parsererror")?H:null}}};b.fn.ajaxForm=function(c){return this.ajaxFormUnbind().bind("submit.form-plugin",function(){b(this).ajaxSubmit(c);return false}).each(function(){b(":submit,input:image",this).bind("click.form-plugin",function(f){var d=this.form;d.clk=this;if(this.type=="image"){if(f.offsetX!=undefined){d.clk_x=f.offsetX;d.clk_y=f.offsetY}else{if(typeof b.fn.offset=="function"){var g=b(this).offset();d.clk_x=f.pageX-g.left;d.clk_y=f.pageY-g.top}else{d.clk_x=f.pageX-this.offsetLeft;d.clk_y=f.pageY-this.offsetTop}}}setTimeout(function(){d.clk=d.clk_x=d.clk_y=null},10)})})};b.fn.ajaxFormUnbind=function(){this.unbind("submit.form-plugin");return this.each(function(){b(":submit,input:image",this).unbind("click.form-plugin")})};b.fn.formToArray=function(q){var p=[];if(this.length==0){return p}var d=this[0];var h=q?d.getElementsByTagName("*"):d.elements;if(!h){return p}for(var k=0,m=h.length;k=1.3?0:1};b.window=function(d){return c(window)._scrollable()};c.fn._scrollable=function(){return this.map(function(){var e=this,d=!e.nodeName||c.inArray(e.nodeName.toLowerCase(),["iframe","#document","html","body"])!=-1;if(!d){return e}var f=(e.contentWindow||e).document||e.ownerDocument||e;return c.browser.safari||f.compatMode=="BackCompat"?f.body:f.documentElement})};c.fn.scrollTo=function(f,e,d){if(typeof e=="object"){d=e;e=0}if(typeof d=="function"){d={onAfter:d}}if(f=="max"){f=9000000000}d=c.extend({},b.defaults,d);e=e||d.speed||d.duration;d.queue=d.queue&&d.axis.length>1;if(d.queue){e/=2}d.offset=a(d.offset);d.over=a(d.over);return this._scrollable().each(function(){var l=this,i=c(l),j=f,h,g={},m=i.is("html,body");switch(typeof j){case"number":case"string":if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(j)){j=a(j);break}j=c(j,this);case"object":if(j.is||j.style){h=(j=c(j)).offset()}}c.each(d.axis.split(""),function(q,r){var s=r=="x"?"Left":"Top",u=s.toLowerCase(),p="scroll"+s,o=l[p],n=b.max(l,r);if(h){g[p]=h[u]+(m?0:o-i.offset()[u]);if(d.margin){g[p]-=parseInt(j.css("margin"+s))||0;g[p]-=parseInt(j.css("border"+s+"Width"))||0}g[p]+=d.offset[u]||0;if(d.over[u]){g[p]+=j[r=="x"?"width":"height"]()*d.over[u]}}else{var t=j[u];g[p]=t.slice&&t.slice(-1)=="%"?parseFloat(t)/100*n:t}if(/^\d+$/.test(g[p])){g[p]=g[p]<=0?0:Math.min(g[p],n)}if(!q&&d.queue){if(o!=g[p]){k(d.onAfterFirst)}delete g[p]}});k(d.onAfter);function k(n){i.animate(g,e,d.easing,n&&function(){n.call(this,f,d)})}}).end()};b.max=function(i,h){var g=h=="x"?"Width":"Height",j="scroll"+g;if(!c(i).is("html,body")){return i[j]-c(i)[g.toLowerCase()]()}var f="client"+g,e=i.ownerDocument.documentElement,d=i.ownerDocument.body;return Math.max(e[j],d[j])-Math.min(e[f],d[f])};function a(d){return typeof d=="object"?d:{top:d,left:d}}})(jQuery);(function(b){var a=b.preload=function(f,h){if(f.split){f=b(f)}h=b.extend({},a.defaults,h);var e=b.map(f,function(k){if(!k){return}if(k.split){return h.base+k+h.ext}var l=k.src||k.href;if(typeof h.placeholder=="string"&&k.src){k.src=h.placeholder}if(l&&h.find){l=l.replace(h.find,h.replace)}return l||null});var i={loaded:0,failed:0,next:0,done:0,total:e.length};if(!i.total){return c()}var j=b(Array(h.threshold+1).join("")).load(g).error(g).bind("abort",g).each(d);function g(k){i.element=this;i.found=k.type=="load";i.image=this.src;i.index=this.index;var l=i.original=f[this.index];i[i.found?"loaded":"failed"]++;i.done++;if(h.enforceCache){a.cache.push(b("").attr("src",i.image)[0])}if(h.placeholder&&l.src){l.src=i.found?i.image:h.notFound||l.src}if(h.onComplete){h.onComplete(i)}if(i.done0&&have_active[gr].indexOf(","+id+",")==-1){o.show_menu(par,tp,mid,dy,dx)}}}};_uMenu.schedule_hidechild=function(id){var o=_uMenu.get(id);if(o){var gr=o.group;with(_uMenu.prototype){if(timerid2[gr]){clearTimeout(timerid2[gr])}timerid2[gr]=setTimeout("_uMenu.hide('"+id+"',1);_uMenu.prototype.timerid2['"+gr+"']=0;",800)}}};_uMenu.prototype={donothide:[],all_menus:[],have_active:[],timerid:[],timerid2:[],global_set:false,init:function(c,a,b){this.id=c;this.obj=$("#"+c)[0];if(!this.obj){return}this.obj._umenu=this;if(!a){a=c}this.parentid=a;if(!b){b="def"}this.group=b;this.obj.style.display="none";$(this.obj).bind("click",this,function(d){d.data.donothide[d.data.group]=true});if(this.all_menus[b]==undefined){this.all_menus[b]=[]}if(this.have_active[b]==undefined){this.have_active[b]=""}this.all_menus[b][c]=this;if(!this.global_set){$(document).bind("click",_uMenu.hideAll);$(window).bind("resize",_uMenu.hideAll);_uMenu.prototype.global_set=true}},show_menu:function(par,tp,mid,dy,dx){var ddX=0;var ddY=0;if(this.timerid2[this.group]){clearTimeout(this.timerid2[this.group])}if(this.have_active[this.group].indexOf(","+this.id+",")>=0){this.hide_menu();return}if(!dy){dy=0}if(!dx){dx=0}if(mid){ddX=$("#"+mid)[0].offsetLeft;ddY=$("#"+mid)[0].offsetTop}this.allmenus_hidenp();if(!par){par=this.obj.parentNode}else{par=$("#"+par)[0]}var pos=_uGetOffset(par);pos.left+=dx-ddX;pos.top+=dy-ddY;if(tp=="r"){pos.left+=par.offsetWidth-4}else{pos.top+=par.offsetHeight+1}var ww=$(window).width();with(this.obj.style){left=pos.left+"px";top=pos.top+"px";display="";visibility="visible"}try{if(pos.left+this.obj.offsetWidth>ww){pos.left=ww-this.obj.offsetWidth-5;this.obj.style.left=pos.left+"px"}}catch(e){}if(!this.have_active[this.group]){this.have_active[this.group]=""}this.have_active[this.group]+=","+this.id+",";if(this.timerid[this.group]){clearTimeout(this.timerid[this.group])}this.donothide[this.group]=true;this.timerid[this.group]=setTimeout("with(_uMenu.prototype){donothide['"+this.group+"']=false;timerid['"+this.group+"']=null;};",100)},allmenus_hidenp:function(){var b={};var c=this.id;while(this.all_menus[this.group][c]&&this.all_menus[this.group][c].parentid!=c&&c){b[this.all_menus[this.group][c].parentid]=1;c=this.all_menus[this.group][c].parentid}for(var a in this.all_menus[this.group]){if(b[a]==1){continue}this.all_menus[this.group][a].hide_menu()}},hide_menu:function(){with(this){hide_child();var x=have_active[group].indexOf(","+id+",");if(x>=0){have_active[group]=have_active[group].substring(0,x)}obj.style.display="none";obj.style.visibility="hidden"}},hide_child:function(){with(this){for(var i in all_menus[group]){if(all_menus[group][i].parentid==id&&i!=id){all_menus[group][i].hide_menu()}}}}};function _uMENU(d,h,g,c,b){this.constructor=_uMENU;this.name=d;this.pos=$.extend({pos:null,alignObj:null,align:"d",parent:null,parentfocus:null,dx:0,dy:0,childdy:0,childdx:0},h||{});this.props=$.extend({parentnode:null,design:_uMENU.defdesign||"std",hidden:g.statical&&c&&c.length>0?0:1,shadow:1,addclass:"",withmarks:null,highlight:1,statical:g.horiz?1:0,hidetimer:0,horiz:0,noabs:0,width:0,onshow:null,onhide:null,ondestroy:null,onitem:null,onldown:null,onrdown:null,thispar:null,onreadycreate:null,wnd:null,rtl:0},g||{});this.state={visible:false,init:false,destroyed:false};this.design=this.props.design&&_uMENU.designs[this.props.design]?_uMENU.designs[this.props.design]:_uMENU.designs.std;this.idx=_uMENU.nextidx++;_uMENU.all[this.idx]=this;if(!this.pos.parent){this.zpos=_uMENU.defz}else{this.zpos=this.pos.parent.zpos+5}this.xpos=this.ypos=0;this.width=10;this.height=10;this.elems=[];this.add_elems=c&&c.length>0?[c]:[];this.del_elems=[];this.pend_show=null;this.appendtimer=null;this.decor={w:0,h:0};this.frame=null;this.childtimer=null;this.sh=null;this.hidetimer=null;this.hlitem=-1;this.have_active=null;this._focus=new _uFocus({type:1,thispar:this,owner:this,parent:this.pos.parentfocus?this.pos.parentfocus:(this.pos.parent?this.pos.parent._focus:(this.props.wnd?this.props.wnd._focus:null)),onkeydown:this.onkeydown,ondeactivate:this.onfocusdeactivate});var f=document.createElement("div");f.id="_umenu"+this.idx;if(!this.props.parentnode){$($("body")[0]).prepend(f)}else{this.props.parentnode.appendChild(f)}this.top=f;$(f).addClass("x-unselectable").css({visibility:"hidden",display:"block"});var a=document.createElement("div");f.appendChild(a);this.menu=a;if(!this.props.noabs){$(f).css({position:"absolute",zIndex:this.zpos});if($.browser.msie&&parseFloat($.browser.version)<7){var e='