(function(){var _jQuery=window.jQuery,_$=window.$,jQuery=window.jQuery=window.$=function($,_){return new jQuery.fn.init($,_)},quickExpr=/^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/,isSimple=/^.[^:#\[\.]*$/,undefined;jQuery.fn=jQuery.prototype={init:function(A,B){A=A||document;if(A.nodeType){this[0]=A;this.length=1;return this}if(typeof A=="string"){var $=quickExpr.exec(A);if($&&($[1]||!B)){if($[1])A=jQuery.clean([$[1]],B);else{var _=document.getElementById($[3]);if(_){if(_.id!=$[3])return jQuery().find(A);return jQuery(_)}A=[]}}else return jQuery(B).find(A)}else if(jQuery.isFunction(A))return jQuery(document)[jQuery.fn.ready?"ready":"load"](A);return this.setArray(jQuery.makeArray(A))},jquery:"1.2.5",size:function(){return this.length},length:0,get:function($){return $==undefined?jQuery.makeArray(this):this[$]},pushStack:function($){var _=jQuery($);_.prevObject=this;return _},setArray:function($){this.length=0;Array.prototype.push.apply(this,$);return this},each:function($,_){return jQuery.each(this,$,_)},index:function($){var _=-1;return jQuery.inArray($&&$.jquery?$[0]:$,this)},attr:function(A,$,_){var B=A;if(A.constructor==String)if($===undefined)return this[0]&&jQuery[_||"attr"](this[0],A);else{B={};B[A]=$}return this.each(function($){for(A in B)jQuery.attr(_?this.style:this,A,jQuery.prop(this,B[A],_,$,A))})},css:function($,_){if(($=="width"||$=="height")&&parseFloat(_)<0)_=undefined;return this.attr($,_,"curCSS")},text:function($){if(typeof $!="object"&&$!=null)return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode($));var _="";jQuery.each($||this,function(){jQuery.each(this.childNodes,function(){if(this.nodeType!=8)_+=this.nodeType!=1?this.nodeValue:jQuery.fn.text([this])})});return _},wrapAll:function($){if(this[0])jQuery($,this[0].ownerDocument).clone().insertBefore(this[0]).map(function(){var $=this;while($.firstChild)$=$.firstChild;return $}).append(this);return this},wrapInner:function($){return this.each(function(){jQuery(this).contents().wrapAll($)})},wrap:function($){return this.each(function(){jQuery(this).wrapAll($)})},append:function(){return this.domManip(arguments,true,false,function($){if(this.nodeType==1)this.appendChild($)})},prepend:function(){return this.domManip(arguments,true,true,function($){if(this.nodeType==1)this.insertBefore($,this.firstChild)})},before:function(){return this.domManip(arguments,false,false,function($){this.parentNode.insertBefore($,this)})},after:function(){return this.domManip(arguments,false,true,function($){this.parentNode.insertBefore($,this.nextSibling)})},end:function(){return this.prevObject||jQuery([])},find:function($){var _=jQuery.map(this,function(_){return jQuery.find($,_)});return this.pushStack(/[^+>] [^+>]/.test($)||$.indexOf("..")>-1?jQuery.unique(_):_)},clone:function($){var _=this.map(function(){if(jQuery.browser.msie&&!jQuery.isXMLDoc(this)){var _=this.cloneNode(true),$=document.createElement("div");$.appendChild(_);return jQuery.clean([$.innerHTML])[0]}else return this.cloneNode(true)}),A=_.find("*").andSelf().each(function(){if(this[expando]!=undefined)this[expando]=null});if($===true)this.find("*").andSelf().each(function(_){if(this.nodeType==3)return;var $=jQuery.data(this,"events");for(var C in $)for(var B in $[C])jQuery.event.add(A[_],C,$[C][B],$[C][B].data)});return _},filter:function($){return this.pushStack(jQuery.isFunction($)&&jQuery.grep(this,function(A,_){return $.call(A,_)})||jQuery.multiFilter($,this))},not:function($){if($.constructor==String)if(isSimple.test($))return this.pushStack(jQuery.multiFilter($,this,true));else $=jQuery.multiFilter($,this);var _=$.length&&$[$.length-1]!==undefined&&!$.nodeType;return this.filter(function(){return _?jQuery.inArray(this,$)<0:this!=$})},add:function($){return this.pushStack(jQuery.unique(jQuery.merge(this.get(),typeof $=="string"?jQuery($):jQuery.makeArray($))))},is:function($){return!!$&&jQuery.multiFilter($,this).length>0},hasClass:function($){return this.is("."+$)},val:function(C){if(C==undefined){if(this.length){var B=this[0];if(jQuery.nodeName(B,"select")){var $=B.selectedIndex,E=[],G=B.options,A=B.type=="select-one";if($<0)return null;for(var _=A?$:0,F=A?$+1:G.length;_<F;_++){var D=G[_];if(D.selected){C=jQuery.browser.msie&&!D.attributes.value.specified?D.text:D.value;if(A)return C;E.push(C)}}return E}else return(this[0].value||"").replace(/\r/g,"")}return undefined}return this.each(function(){if(this.nodeType!=1)return;if(C.constructor==Array&&/radio|checkbox/.test(this.type))this.checked=(jQuery.inArray(this.value,C)>=0||jQuery.inArray(this.name,C)>=0);else if(jQuery.nodeName(this,"select")){var $=jQuery.makeArray(C);jQuery("option",this).each(function(){this.selected=(jQuery.inArray(this.value,$)>=0||jQuery.inArray(this.text,$)>=0)});if(!$.length)this.selectedIndex=-1}else this.value=C})},html:function($){return $==undefined?(this.length?this[0].innerHTML:null):this.empty().append($)},replaceWith:function($){return this.after($).remove()},eq:function($){return this.slice($,$+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments))},map:function($){return this.pushStack(jQuery.map(this,function(A,_){return $.call(A,_,A)}))},andSelf:function(){return this.add(this.prevObject)},data:function(_,A){var $=_.split(".");$[1]=$[1]?"."+$[1]:"";if(A===undefined){var B=this.triggerHandler("getData"+$[1]+"!",[$[0]]);if(B===undefined&&this.length)B=jQuery.data(this[0],_);return B===undefined&&$[1]?this.data($[0]):B}else return this.trigger("setData"+$[1]+"!",[$[0],A]).each(function(){jQuery.data(this,_,A)})},removeData:function($){return this.each(function(){jQuery.removeData(this,$)})},domManip:function(C,_,$,A){var D=this.length>1,B;return this.each(function(){if(!B){B=jQuery.clean(C,this.ownerDocument);if($)B.reverse()}var E=this;if(_&&jQuery.nodeName(this,"table")&&jQuery.nodeName(B[0],"tr"))E=this.getElementsByTagName("tbody")[0]||this.appendChild(this.ownerDocument.createElement("tbody"));var F=jQuery([]);jQuery.each(B,function(){var $=D?jQuery(this).clone(true)[0]:this;if(jQuery.nodeName($,"script"))F=F.add($);else{if($.nodeType==1)F=F.add(jQuery("script",$).remove());A.call(E,$)}});F.each(evalScript)})}};jQuery.fn.init.prototype=jQuery.fn;function evalScript($,_){if(_.src)jQuery.ajax({url:_.src,async:false,dataType:"script"});else jQuery.globalEval(_.text||_.textContent||_.innerHTML||"");if(_.parentNode)_.parentNode.removeChild(_)}function now(){return+new Date}jQuery.extend=jQuery.fn.extend=function(){var A=arguments[0]||{},$=1,_=arguments.length,D=false,F;if(A.constructor==Boolean){D=A;A=arguments[1]||{};$=2}if(typeof A!="object"&&typeof A!="function")A={};if(_==$){A=this;--$}for(;$<_;$++)if((F=arguments[$])!=null)for(var E in F){var C=A[E],B=F[E];if(A===B)continue;if(D&&B&&typeof B=="object"&&!B.nodeType)A[E]=jQuery.extend(D,C||(B.length!=null?[]:{}),B);else if(B!==undefined)A[E]=B}return A};var expando="jQuery"+now(),uuid=0,windowData={},exclude=/z-?index|font-?weight|opacity|zoom|line-?height/i,defaultView=document.defaultView||{};jQuery.extend({noConflict:function($){window.$=_$;if($)window.jQuery=_jQuery;return jQuery},isFunction:function($){return!!$&&typeof $!="string"&&!$.nodeName&&$.constructor!=Array&&/^[\s[]?function/.test($+"")},isXMLDoc:function($){return $.documentElement&&!$.body||$.tagName&&$.ownerDocument&&!$.ownerDocument.body},globalEval:function(_){_=jQuery.trim(_);if(_){var A=document.getElementsByTagName("head")[0]||document.documentElement,$=document.createElement("script");$.type="text/javascript";if(jQuery.browser.msie)$.text=_;else $.appendChild(document.createTextNode(_));A.insertBefore($,A.firstChild);A.removeChild($)}},nodeName:function($,_){return $.nodeName&&$.nodeName.toUpperCase()==_.toUpperCase()},cache:{},data:function($,A,_){$=$==window?windowData:$;var B=$[expando];if(!B)B=$[expando]=++uuid;if(A&&!jQuery.cache[B])jQuery.cache[B]={};if(_!==undefined)jQuery.cache[B][A]=_;return A?jQuery.cache[B][A]:B},removeData:function($,_){$=$==window?windowData:$;var A=$[expando];if(_){if(jQuery.cache[A]){delete jQuery.cache[A][_];_="";for(_ in jQuery.cache[A])break;if(!_)jQuery.removeData($)}}else{try{delete $[expando]}catch(B){if($.removeAttribute)$.removeAttribute(expando)}delete jQuery.cache[A]}},each:function(_,B,D){var E,$=0,C=_.length;if(D){if(C==undefined){for(E in _)if(B.apply(_[E],D)===false)break}else for(;$<C;)if(B.apply(_[$++],D)===false)break}else if(C==undefined){for(E in _)if(B.call(_[E],E,_[E])===false)break}else for(var A=_[0];$<C&&B.call(A,$,A)!==false;A=_[++$]);return _},prop:function(A,_,B,$,C){if(jQuery.isFunction(_))_=_.call(A,$);return _&&_.constructor==Number&&B=="curCSS"&&!exclude.test(C)?_+"px":_},className:{add:function(_,$){jQuery.each(($||"").split(/\s+/),function($,A){if(_.nodeType==1&&!jQuery.className.has(_.className,A))_.className+=(_.className?" ":"")+A})},remove:function(_,$){if(_.nodeType==1)_.className=$!=undefined?jQuery.grep(_.className.split(/\s+/),function(_){return!jQuery.className.has($,_)}).join(" "):""},has:function($,_){return jQuery.inArray(_,($.className||$).toString().split(/\s+/))>-1}},swap:function(_,C,$){var A={};for(var B in C){A[B]=_.style[B];_.style[B]=C[B]}$.call(_);for(B in C)_.style[B]=A[B]},css:function(A,E,D){if(E=="width"||E=="height"){var $,B={position:"absolute",visibility:"hidden",display:"block"},C=E=="width"?["Left","Right"]:["Top","Bottom"];function _(){$=E=="width"?A.offsetWidth:A.offsetHeight;var _=0,B=0;jQuery.each(C,function(){_+=parseFloat(jQuery.curCSS(A,"padding"+this,true))||0;B+=parseFloat(jQuery.curCSS(A,"border"+this+"Width",true))||0});$-=Math.round(_+B)}if(jQuery(A).is(":visible"))_();else jQuery.swap(A,B,_);return Math.max(0,$)}return jQuery.curCSS(A,E,D)},curCSS:function(_,M,L){var K,J=_.style;function F($){if(!jQuery.browser.safari)return false;var _=defaultView.getComputedStyle($,null);return!_||_.getPropertyValue("color")==""}if(M=="opacity"&&jQuery.browser.msie){K=jQuery.attr(J,"opacity");return K==""?"1":K}if(jQuery.browser.opera&&M=="display"){var B=J.outline;J.outline="0 solid black";J.outline=B}if(M.match(/float/i))M=styleFloat;if(!L&&J&&J[M])K=J[M];else if(defaultView.getComputedStyle){if(M.match(/float/i))M="float";M=M.replace(/([A-Z])/g,"-$1").toLowerCase();var A=defaultView.getComputedStyle(_,null);if(A&&!F(_))K=A.getPropertyValue(M);else{var C=[],D=[],H=_,E=0;for(;H&&F(H);H=H.parentNode)D.unshift(H);for(;E<D.length;E++)if(F(D[E])){C[E]=D[E].style.display;D[E].style.display="block"}K=M=="display"&&C[D.length-1]!=null?"none":(A&&A.getPropertyValue(M))||"";for(E=0;E<C.length;E++)if(C[E]!=null)D[E].style.display=C[E]}if(M=="opacity"&&K=="")K="1"}else if(_.currentStyle){var $=M.replace(/\-(\w)/g,function(_,$){return $.toUpperCase()});K=_.currentStyle[M]||_.currentStyle[$];if(!/^\d+(px)?$/i.test(K)&&/^\d/.test(K)){var I=J.left,G=_.runtimeStyle.left;_.runtimeStyle.left=_.currentStyle.left;J.left=K||0;K=J.pixelLeft+"px";J.left=I;_.runtimeStyle.left=G}}return K},clean:function(_,$){var A=[];$=$||document;if(typeof $.createElement=="undefined")$=$.ownerDocument||$[0]&&$[0].ownerDocument||document;jQuery.each(_,function(_,B){if(!B)return;if(B.constructor==Number)B+="";if(typeof B=="string"){B=B.replace(/(<(\w+)[^>]*?)\/>/g,function(_,A,$){return $.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?_:A+"></"+$+">"});var D=jQuery.trim(B).toLowerCase(),C=$.createElement("div"),F=!D.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!D.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||D.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!D.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!D.indexOf("<td")||!D.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!D.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||jQuery.browser.msie&&[1,"div<div>","</div>"]||[0,"",""];C.innerHTML=F[1]+B+F[2];while(F[0]--)C=C.lastChild;if(jQuery.browser.msie){var G=!D.indexOf("<table")&&D.indexOf("<tbody")<0?C.firstChild&&C.firstChild.childNodes:F[1]=="<table>"&&D.indexOf("<tbody")<0?C.childNodes:[];for(var E=G.length-1;E>=0;--E)if(jQuery.nodeName(G[E],"tbody")&&!G[E].childNodes.length)G[E].parentNode.removeChild(G[E]);if(/^\s/.test(B))C.insertBefore($.createTextNode(B.match(/^\s*/)[0]),C.firstChild)}B=jQuery.makeArray(C.childNodes)}if(B.length===0&&(!jQuery.nodeName(B,"form")&&!jQuery.nodeName(B,"select")))return;if(B[0]==undefined||jQuery.nodeName(B,"form")||B.options)A.push(B);else A=jQuery.merge(A,B)});return A},attr:function(_,E,$){if(!_||_.nodeType==3||_.nodeType==8)return undefined;var C=!jQuery.isXMLDoc(_),B=$!==undefined,D=jQuery.browser.msie;E=C&&jQuery.props[E]||E;if(_.tagName){var A=/href|src|style/.test(E);if(E=="selected"&&jQuery.browser.safari)_.parentNode.selectedIndex;if(C&&!A&&E in _){if(B){if(E=="type"&&jQuery.nodeName(_,"input")&&_.parentNode)throw"type property can't be changed";_[E]=$}if(jQuery.nodeName(_,"form")&&_.getAttributeNode(E))return _.getAttributeNode(E).nodeValue;return _[E]}if(D&&C&&E=="style")return jQuery.attr(_.style,"cssText",$);if(B)_.setAttribute(E,""+$);if(D&&A&&C)return _.getAttribute(E,2);return _.getAttribute(E)}if(D&&E=="opacity"){if(B){_.zoom=1;_.filter=(_.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt($)+""=="NaN"?"":"alpha(opacity="+$*100+")")}return _.filter&&_.filter.indexOf("opacity=")>=0?(parseFloat(_.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}E=E.replace(/-([a-z])/ig,function(_,$){return $.toUpperCase()});if(B)_[E]=$;return _[E]},trim:function($){return($||"").replace(/^\s+|\s+$/g,"")},makeArray:function(A){var _=[];if(A!=null){var $=A.length;if($==null||A.split||A.setInterval||A.call)_[0]=A;else while($)_[--$]=A[$]}return _},inArray:function(_,B){for(var $=0,A=B.length;$<A;$++)if(B[$]===_)return $;return-1},merge:function(B,C){var $=0,_,A=B.length;if(jQuery.browser.msie){while(_=C[$++])if(_.nodeType!=8)B[A++]=_}else while(_=C[$++])B[A++]=_;return B},unique:function(E){var B=[],A={};try{for(var $=0,_=E.length;$<_;$++){var C=jQuery.data(E[$]);if(!A[C]){A[C]=true;B.push(E[$])}}}catch(D){B=E}return B},grep:function(C,_,A){var D=[];for(var $=0,B=C.length;$<B;$++)if(!A!=!_(C[$],$))D.push(C[$]);return D},map:function(C,A){var D=[];for(var $=0,B=C.length;$<B;$++){var _=A(C[$],$);if(_!=null)D[D.length]=_}return D.concat.apply([],D)}});var userAgent=navigator.userAgent.toLowerCase();jQuery.browser={version:(userAgent.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(userAgent),opera:/opera/.test(userAgent),msie:/msie/.test(userAgent)&&!/opera/.test(userAgent),mozilla:/mozilla/.test(userAgent)&&!/(compatible|webkit)/.test(userAgent)};var styleFloat=jQuery.browser.msie?"styleFloat":"cssFloat";jQuery.extend({boxModel:!jQuery.browser.msie||document.compatMode=="CSS1Compat",props:{"for":"htmlFor","class":"className","float":styleFloat,cssFloat:styleFloat,styleFloat:styleFloat,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing"}});jQuery.each({parent:function($){return $.parentNode},parents:function($){return jQuery.dir($,"parentNode")},next:function($){return jQuery.nth($,2,"nextSibling")},prev:function($){return jQuery.nth($,2,"previousSibling")},nextAll:function($){return jQuery.dir($,"nextSibling")},prevAll:function($){return jQuery.dir($,"previousSibling")},siblings:function($){return jQuery.sibling($.parentNode.firstChild,$)},children:function($){return jQuery.sibling($.firstChild)},contents:function($){return jQuery.nodeName($,"iframe")?$.contentDocument||$.contentWindow.document:jQuery.makeArray($.childNodes)}},function($,_){jQuery.fn[$]=function($){var A=jQuery.map(this,_);if($&&typeof $=="string")A=jQuery.multiFilter($,A);return this.pushStack(jQuery.unique(A))}});jQuery.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(_,$){jQuery.fn[_]=function(){var _=arguments;return this.each(function(){for(var A=0,B=_.length;A<B;A++)jQuery(_[A])[$](this)})}});jQuery.each({removeAttr:function($){jQuery.attr(this,$,"");if(this.nodeType==1)this.removeAttribute($)},addClass:function($){jQuery.className.add(this,$)},removeClass:function($){jQuery.className.remove(this,$)},toggleClass:function($){jQuery.className[jQuery.className.has(this,$)?"remove":"add"](this,$)},remove:function($){if(!$||jQuery.filter($,[this]).r.length){jQuery("*",this).add(this).each(function(){jQuery.event.remove(this);jQuery.removeData(this)});if(this.parentNode)this.parentNode.removeChild(this)}},empty:function(){jQuery(">*",this).remove();while(this.firstChild)this.removeChild(this.firstChild)}},function($,_){jQuery.fn[$]=function(){return this.each(_,arguments)}});jQuery.each(["Height","Width"],function($,A){var _=A.toLowerCase();jQuery.fn[_]=function($){return this[0]==window?jQuery.browser.opera&&document.body["client"+A]||jQuery.browser.safari&&window["inner"+A]||document.compatMode=="CSS1Compat"&&document.documentElement["client"+A]||document.body["client"+A]:this[0]==document?Math.max(Math.max(document.body["scroll"+A],document.documentElement["scroll"+A]),Math.max(document.body["offset"+A],document.documentElement["offset"+A])):$==undefined?(this.length?jQuery.css(this[0],_):null):this.css(_,$.constructor==String?$:$+"px")}});function num($,_){return $[0]&&parseInt(jQuery.curCSS($[0],_,true),10)||0}var chars=jQuery.browser.safari&&parseInt(jQuery.browser.version)<417?"(?:[\\w*_-]|\\\\.)":"(?:[\\w\u0128-\uffff*_-]|\\\\.)",quickChild=new RegExp("^>\\s*("+chars+"+)"),quickID=new RegExp("^("+chars+"+)(#)("+chars+"+)"),quickClass=new RegExp("^([#.]?)("+chars+"*)");jQuery.extend({expr:{"":function(A,$,_){return _[2]=="*"||jQuery.nodeName(A,_[2])},"#":function(A,$,_){return A.getAttribute("id")==_[2]},":":{lt:function(A,$,_){return $<_[3]-0},gt:function(A,$,_){return $>_[3]-0},nth:function(A,$,_){return _[3]-0==$},eq:function(A,$,_){return _[3]-0==$},first:function(_,$){return $==0},last:function(B,$,_,A){return $==A.length-1},even:function(_,$){return $%2==0},odd:function(_,$){return $%2},"first-child":function($){return $.parentNode.getElementsByTagName("*")[0]==$},"last-child":function($){return jQuery.nth($.parentNode.lastChild,1,"previousSibling")==$},"only-child":function($){return!jQuery.nth($.parentNode.lastChild,2,"previousSibling")},parent:function($){return $.firstChild},empty:function($){return!$.firstChild},contains:function(A,$,_){return(A.textContent||A.innerText||jQuery(A).text()||"").indexOf(_[3])>=0},visible:function($){return"hidden"!=$.type&&jQuery.css($,"display")!="none"&&jQuery.css($,"visibility")!="hidden"},hidden:function($){return"hidden"==$.type||jQuery.css($,"display")=="none"||jQuery.css($,"visibility")=="hidden"},enabled:function($){return!$.disabled},disabled:function($){return $.disabled},checked:function($){return $.checked},selected:function($){return $.selected||jQuery.attr($,"selected")},text:function($){return"text"==$.type},radio:function($){return"radio"==$.type},checkbox:function($){return"checkbox"==$.type},file:function($){return"file"==$.type},password:function($){return"password"==$.type},submit:function($){return"submit"==$.type},image:function($){return"image"==$.type},reset:function($){return"reset"==$.type},button:function($){return"button"==$.type||jQuery.nodeName($,"button")},input:function($){return/input|select|textarea|button/i.test($.nodeName)},has:function(A,$,_){return jQuery.find(_[3],A).length},header:function($){return/h\d/i.test($.nodeName)},animated:function($){return jQuery.grep(jQuery.timers,function(_){return $==_.elem}).length}}},parse:[/^(\[) *@?([\w-]+) *([!*$^~=]*) *('?"?)(.*?)\4 *\]/,/^(:)([\w-]+)\("?'?(.*?(\(.*?\))?[^(]*?)"?'?\)/,new RegExp("^([:.#]*)("+chars+"+)")],multiFilter:function(_,C,D){var $,B=[];while(_&&_!=$){$=_;var A=jQuery.filter(_,C,D);_=A.t.replace(/^\s*,\s*/,"");B=D?C=A.r:jQuery.merge(B,A.r)}return B},find:function(R,O){if(typeof R!="string")return[R];if(O&&O.nodeType!=1&&O.nodeType!=9)return[];O=O||document;var T=[O],D=[],I,M;while(R&&I!=R){var A=[];I=R;R=jQuery.trim(R);var J=false,P=quickChild,L=P.exec(R);if(L){M=L[1].toUpperCase();for(var H=0;T[H];H++)for(var B=T[H].firstChild;B;B=B.nextSibling)if(B.nodeType==1&&(M=="*"||B.nodeName.toUpperCase()==M))A.push(B);T=A;R=R.replace(P,"");if(R.indexOf(" ")==0)continue;J=true}else{P=/^([>+~])\s*(\w*)/i;if((L=P.exec(R))!=null){A=[];var F={};M=L[2].toUpperCase();L=L[1];for(var S=0,C=T.length;S<C;S++){var U=L=="~"||L=="+"?T[S].nextSibling:T[S].firstChild;for(;U;U=U.nextSibling)if(U.nodeType==1){var E=jQuery.data(U);if(L=="~"&&F[E])break;if(!M||U.nodeName.toUpperCase()==M){if(L=="~")F[E]=true;A.push(U)}if(L=="+")break}}T=A;R=jQuery.trim(R.replace(P,""));J=true}}if(R&&!J)if(!R.indexOf(",")){if(O==T[0])T.shift();D=jQuery.merge(D,T);A=T=[O];R=" "+R.substr(1,R.length)}else{var G=quickID,L=G.exec(R);if(L)L=[0,L[2],L[3],L[1]];else{G=quickClass;L=G.exec(R)}L[2]=L[2].replace(/\\/g,"");var _=T[T.length-1];if(L[1]=="#"&&_&&_.getElementById&&!jQuery.isXMLDoc(_)){var N=_.getElementById(L[2]);if((jQuery.browser.msie||jQuery.browser.opera)&&N&&typeof N.id=="string"&&N.id!=L[2])N=jQuery("[@id=\""+L[2]+"\"]",_)[0];T=A=N&&(!L[3]||jQuery.nodeName(N,L[3]))?[N]:[]}else{for(H=0;T[H];H++){var Q=L[1]=="#"&&L[3]?L[3]:L[1]!=""||L[0]==""?"*":L[2];if(Q=="*"&&T[H].nodeName.toLowerCase()=="object")Q="param";A=jQuery.merge(A,T[H].getElementsByTagName(Q))}if(L[1]==".")A=jQuery.classFilter(A,L[2]);if(L[1]=="#"){var K=[];for(H=0;A[H];H++)if(A[H].getAttribute("id")==L[2]){K=[A[H]];break}A=K}T=A}R=R.replace(G,"")}if(R){var $=jQuery.filter(R,A);T=A=$.r;R=jQuery.trim($.t)}}if(R)T=[];if(T&&O==T[0])T.shift();D=jQuery.merge(D,T);return D},classFilter:function(B,A,D){A=" "+A+" ";var _=[];for(var $=0;B[$];$++){var C=(" "+B[$].className+" ").indexOf(A)>=0;if(!D&&C||D&&!C)_.push(B[$])}return _},filter:function(t,r,not){var last;while(t&&t!=last){last=t;var p=jQuery.parse,m;for(var i=0;p[i];i++){m=p[i].exec(t);if(m){t=t.substring(m[0].length);m[2]=m[2].replace(/\\/g,"");break}}if(!m)break;if(m[1]==":"&&m[2]=="not")r=isSimple.test(m[3])?jQuery.filter(m[3],r,true).r:jQuery(r).not(m[3]);else if(m[1]==".")r=jQuery.classFilter(r,m[2],not);else if(m[1]=="["){var tmp=[],type=m[3];for(var i=0,rl=r.length;i<rl;i++){var a=r[i],z=a[jQuery.props[m[2]]||m[2]];if(z==null||/href|src|selected/.test(m[2]))z=jQuery.attr(a,m[2])||"";if((type==""&&!!z||type=="="&&z==m[5]||type=="!="&&z!=m[5]||type=="^="&&z&&!z.indexOf(m[5])||type=="$="&&z.substr(z.length-m[5].length)==m[5]||(type=="*="||type=="~=")&&z.indexOf(m[5])>=0)^not)tmp.push(a)}r=tmp}else if(m[1]==":"&&m[2]=="nth-child"){var merge={},tmp=[],test=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(m[3]=="even"&&"2n"||m[3]=="odd"&&"2n+1"||!/\D/.test(m[3])&&"0n+"+m[3]||m[3]),first=(test[1]+(test[2]||1))-0,last=test[3]-0;for(i=0,rl=r.length;i<rl;i++){var node=r[i],parentNode=node.parentNode,id=jQuery.data(parentNode);if(!merge[id]){var c=1;for(var n=parentNode.firstChild;n;n=n.nextSibling)if(n.nodeType==1)n.nodeIndex=c++;merge[id]=true}var add=false;if(first==0){if(node.nodeIndex==last)add=true}else if((node.nodeIndex-last)%first==0&&(node.nodeIndex-last)/first>=0)add=true;if(add^not)tmp.push(node)}r=tmp}else{var fn=jQuery.expr[m[1]];if(typeof fn=="object")fn=fn[m[2]];if(typeof fn=="string")fn=eval("false||function(a,i){return "+fn+";}");r=jQuery.grep(r,function(_,$){return fn(_,$,m,r)},not)}}return{r:r,t:t}},dir:function($,B){var _=[],A=$[B];while(A&&A!=document){if(A.nodeType==1)_.push(A);A=A[B]}return _},nth:function(B,A,C,_){A=A||1;var $=0;for(;B;B=B[C])if(B.nodeType==1&&++$==A)break;return B},sibling:function(A,$){var _=[];for(;A;A=A.nextSibling)if(A.nodeType==1&&A!=$)_.push(A);return _}});jQuery.event={add:function(B,C,A,D){if(B.nodeType==3||B.nodeType==8)return;if(jQuery.browser.msie&&B.setInterval)B=window;if(!A.guid)A.guid=this.guid++;if(D!=undefined){var E=A;A=this.proxy(E,function(){return E.apply(this,arguments)});A.data=D}var _=jQuery.data(B,"events")||jQuery.data(B,"events",{}),$=jQuery.data(B,"handle")||jQuery.data(B,"handle",function(){if(typeof jQuery!="undefined"&&!jQuery.event.triggered)return jQuery.event.handle.apply(arguments.callee.elem,arguments)});$.elem=B;jQuery.each(C.split(/\s+/),function(D,F){var C=F.split(".");F=C[0];A.type=C[1];var E=_[F];if(!E){E=_[F]={};if(!jQuery.event.special[F]||jQuery.event.special[F].setup.call(B)===false)if(B.addEventListener)B.addEventListener(F,$,false);else if(B.attachEvent)B.attachEvent("on"+F,$)}E[A.guid]=A;jQuery.event.global[F]=true});B=null},guid:1,global:{},remove:function(C,D,B){if(C.nodeType==3||C.nodeType==8)return;var A=jQuery.data(C,"events"),F,_;if(A){if(D==undefined||(typeof D=="string"&&D.charAt(0)==".")){for(var E in A)this.remove(C,E+(D||""))}else{if(D.type){B=D.handler;D=D.type}jQuery.each(D.split(/\s+/),function(_,D){var $=D.split(".");D=$[0];if(A[D]){if(B)delete A[D][B.guid];else for(B in A[D])if(!$[1]||A[D][B].type==$[1])delete A[D][B];for(F in A[D])break;if(!F){if(!jQuery.event.special[D]||jQuery.event.special[D].teardown.call(C)===false)if(C.removeEventListener)C.removeEventListener(D,jQuery.data(C,"handle"),false);else if(C.detachEvent)C.detachEvent("on"+D,jQuery.data(C,"handle"));F=null;delete A[D]}}})}for(F in A)break;if(!F){var $=jQuery.data(C,"handle");if($)$.elem=null;jQuery.removeData(C,"events");jQuery.removeData(C,"handle")}}},trigger:function(B,F,A,I,C){F=jQuery.makeArray(F);if(B.indexOf("!")>=0){B=B.slice(0,-1);var D=true}if(!A){if(this.global[B])jQuery("*").add([window,document]).trigger(B,F)}else{if(A.nodeType==3||A.nodeType==8)return undefined;var _,H,E=jQuery.isFunction(A[B]||null),G=!F[0]||!F[0].preventDefault;if(G){F.unshift({type:B,target:A,preventDefault:function(){},stopPropagation:function(){},timeStamp:now()});F[0][expando]=true}F[0].type=B;if(D)F[0].exclusive=true;var $=jQuery.data(A,"handle");if($)_=$.apply(A,F);if((!E||(jQuery.nodeName(A,"a")&&B=="click"))&&A["on"+B]&&A["on"+B].apply(A,F)===false)_=false;if(G)F.shift();if(C&&jQuery.isFunction(C)){H=C.apply(A,_==null?F:F.concat(_));if(H!==undefined)_=H}if(E&&I!==false&&_!==false&&!(jQuery.nodeName(A,"a")&&B=="click")){this.triggered=true;try{A[B]()}catch(J){}}this.triggered=false}return _},handle:function(E){var _,F,$,C,B;E=arguments[0]=jQuery.event.fix(E||window.event);$=E.type.split(".");E.type=$[0];$=$[1];C=!$&&!E.exclusive;B=(jQuery.data(this,"events")||{})[E.type];for(var D in B){var A=B[D];if(C||A.type==$){E.handler=A;E.data=A.data;F=A.apply(this,arguments);if(_!==false)_=F;if(F===false){E.preventDefault();E.stopPropagation()}}}return _},fix:function(C){if(C[expando]==true)return C;var B=C;C={originalEvent:B};var A="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 timeStamp toElement type view wheelDelta which".split(" ");for(var _=A.length;_;_--)C[A[_]]=B[A[_]];C[expando]=true;C.preventDefault=function(){if(B.preventDefault)B.preventDefault();B.returnValue=false};C.stopPropagation=function(){if(B.stopPropagation)B.stopPropagation();B.cancelBubble=true};C.timeStamp=C.timeStamp||now();if(!C.target)C.target=C.srcElement||document;if(C.target.nodeType==3)C.target=C.target.parentNode;if(!C.relatedTarget&&C.fromElement)C.relatedTarget=C.fromElement==C.target?C.toElement:C.fromElement;if(C.pageX==null&&C.clientX!=null){var $=document.documentElement,D=document.body;C.pageX=C.clientX+($&&$.scrollLeft||D&&D.scrollLeft||0)-($.clientLeft||0);C.pageY=C.clientY+($&&$.scrollTop||D&&D.scrollTop||0)-($.clientTop||0)}if(!C.which&&((C.charCode||C.charCode===0)?C.charCode:C.keyCode))C.which=C.charCode||C.keyCode;if(!C.metaKey&&C.ctrlKey)C.metaKey=C.ctrlKey;if(!C.which&&C.button)C.which=(C.button&1?1:(C.button&2?3:(C.button&4?2:0)));return C},proxy:function(_,$){$.guid=_.guid=_.guid||$.guid||this.guid++;return $},special:{ready:{setup:function(){bindReady();return},teardown:function(){return}},mouseenter:{setup:function(){if(jQuery.browser.msie)return false;jQuery(this).bind("mouseover",jQuery.event.special.mouseenter.handler);return true},teardown:function(){if(jQuery.browser.msie)return false;jQuery(this).unbind("mouseover",jQuery.event.special.mouseenter.handler);return true},handler:function($){if(withinElement($,this))return true;$.type="mouseenter";return jQuery.event.handle.apply(this,arguments)}},mouseleave:{setup:function(){if(jQuery.browser.msie)return false;jQuery(this).bind("mouseout",jQuery.event.special.mouseleave.handler);return true},teardown:function(){if(jQuery.browser.msie)return false;jQuery(this).unbind("mouseout",jQuery.event.special.mouseleave.handler);return true},handler:function($){if(withinElement($,this))return true;$.type="mouseleave";return jQuery.event.handle.apply(this,arguments)}}}};jQuery.fn.extend({bind:function($,_,A){return $=="unload"?this.one($,_,A):this.each(function(){jQuery.event.add(this,$,A||_,A&&_)})},one:function(_,A,B){var $=jQuery.event.proxy(B||A,function(_){jQuery(this).unbind(_,$);return(B||A).apply(this,arguments)});return this.each(function(){jQuery.event.add(this,_,$,B&&A)})},unbind:function($,_){return this.each(function(){jQuery.event.remove(this,$,_)})},trigger:function($,_,A){return this.each(function(){jQuery.event.trigger($,_,this,true,A)})},triggerHandler:function($,_,A){return this[0]&&jQuery.event.trigger($,_,this[0],false,A)},toggle:function(A){var _=arguments,$=1;while($<_.length)jQuery.event.proxy(A,_[$++]);return this.click(jQuery.event.proxy(A,function(A){this.lastToggle=(this.lastToggle||0)%$;A.preventDefault();return _[this.lastToggle++].apply(this,arguments)||false}))},hover:function($,_){return this.bind("mouseenter",$).bind("mouseleave",_)},ready:function($){bindReady();if(jQuery.isReady)$.call(document,jQuery);else jQuery.readyList.push(function(){return $.call(this,jQuery)});return this}});jQuery.extend({isReady:false,readyList:[],ready:function(){if(!jQuery.isReady){jQuery.isReady=true;if(jQuery.readyList){jQuery.each(jQuery.readyList,function(){this.call(document)});jQuery.readyList=null}jQuery(document).triggerHandler("ready")}}});var readyBound=false;function bindReady(){if(readyBound)return;readyBound=true;if(document.addEventListener&&!jQuery.browser.opera)document.addEventListener("DOMContentLoaded",jQuery.ready,false);if(jQuery.browser.msie&&window==top)(function(){if(jQuery.isReady)return;try{document.documentElement.doScroll("left")}catch($){setTimeout(arguments.callee,0);return}jQuery.ready()})();if(jQuery.browser.opera)document.addEventListener("DOMContentLoaded",function(){if(jQuery.isReady)return;for(var $=0;$<document.styleSheets.length;$++)if(document.styleSheets[$].disabled){setTimeout(arguments.callee,0);return}jQuery.ready()},false);if(jQuery.browser.safari){var $;(function(){if(jQuery.isReady)return;if(document.readyState!="loaded"&&document.readyState!="complete"){setTimeout(arguments.callee,0);return}if($===undefined)$=jQuery("style, link[rel=stylesheet]").length;if(document.styleSheets.length!=$){setTimeout(arguments.callee,0);return}jQuery.ready()})()}jQuery.event.add(window,"load",jQuery.ready)}jQuery.each(("blur,focus,load,resize,scroll,unload,click,dblclick,"+"mousedown,mouseup,mousemove,mouseover,mouseout,change,select,"+"submit,keydown,keypress,keyup,error").split(","),function($,_){jQuery.fn[_]=function($){return $?this.bind(_,$):this.trigger(_)}});var withinElement=function(_,$){var B=_.relatedTarget;while(B&&B!=$){try{B=B.parentNode}catch(A){B=$}}return B==$};jQuery(window).bind("unload",function(){jQuery("*").add(document).unbind()});jQuery.fn.extend({_load:jQuery.fn.load,load:function(D,C,$){if(typeof D!="string")return this._load(D);var E=D.indexOf(" ");if(E>=0){var _=D.slice(E,D.length);D=D.slice(0,E)}$=$||function(){};var B="GET";if(C)if(jQuery.isFunction(C)){$=C;C=null}else{C=jQuery.param(C);B="POST"}var A=this;jQuery.ajax({url:D,type:B,dataType:"html",data:C,complete:function(C,B){if(B=="success"||B=="notmodified")A.html(_?jQuery("<div/>").append(C.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(_):C.responseText);A.each($,[C.responseText,B,C])}});return this},serialize:function(){return jQuery.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return jQuery.nodeName(this,"form")?jQuery.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(_,A){var $=jQuery(this).val();return $==null?null:$.constructor==Array?jQuery.map($,function(_,$){return{name:A.name,value:_}}):{name:A.name,value:$}}).get()}});jQuery.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(_,$){jQuery.fn[$]=function(_){return this.bind($,_)}});var jsc=now();jQuery.extend({get:function(B,A,$,_){if(jQuery.isFunction(A)){$=A;A=null}return jQuery.ajax({type:"GET",url:B,data:A,success:$,dataType:_})},getScript:function(_,$){return jQuery.get(_,null,$,"script")},getJSON:function(A,_,$){return jQuery.get(A,_,$,"json")},post:function(B,A,$,_){if(jQuery.isFunction(A)){$=A;A={}}return jQuery.ajax({type:"POST",url:B,data:A,success:$,dataType:_})},ajaxSetup:function($){jQuery.extend(jQuery.ajaxSettings,$)},ajaxSettings:{url:location.href,global:true,type:"GET",timeout:0,contentType:"application/x-www-form-urlencoded",processData:true,async:true,data:null,username:null,password:null,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(P){P=jQuery.extend(true,P,jQuery.extend(true,{},jQuery.ajaxSettings,P));var H,E=/=\?(&|$)/g,F,K,A=P.type.toUpperCase();if(P.data&&P.processData&&typeof P.data!="string")P.data=jQuery.param(P.data);if(P.dataType=="jsonp"){if(A=="GET"){if(!P.url.match(E))P.url+=(P.url.match(/\?/)?"&":"?")+(P.jsonp||"callback")+"=?"}else if(!P.data||!P.data.match(E))P.data=(P.data?P.data+"&":"")+(P.jsonp||"callback")+"=?";P.dataType="json"}if(P.dataType=="json"&&(P.data&&P.data.match(E)||P.url.match(E))){H="jsonp"+jsc++;if(P.data)P.data=(P.data+"").replace(E,"="+H+"$1");P.url=P.url.replace(E,"="+H+"$1");P.dataType="script";window[H]=function($){K=$;O();G();window[H]=undefined;try{delete window[H]}catch(_){}if(L)L.removeChild(B)}}if(P.dataType=="script"&&P.cache==null)P.cache=false;if(P.cache===false&&A=="GET"){var J=now(),N=P.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+J+"$2");P.url=N+((N==P.url)?(P.url.match(/\?/)?"&":"?")+"_="+J:"")}if(P.data&&A=="GET"){P.url+=(P.url.match(/\?/)?"&":"?")+P.data;P.data=null}if(P.global&&!jQuery.active++)jQuery.event.trigger("ajaxStart");var I=/^(?:\w+:)?\/\/([^\/?#]+)/;if(P.dataType=="script"&&A=="GET"&&I.test(P.url)&&I.exec(P.url)[1]!=location.host){var L=document.getElementsByTagName("head")[0],B=document.createElement("script");B.src=P.url;if(P.scriptCharset)B.charset=P.scriptCharset;if(!H){var D=false;B.onload=B.onreadystatechange=function(){if(!D&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){D=true;O();G();L.removeChild(B)}}}L.appendChild(B);return undefined}var $=false,_=window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();if(P.username)_.open(A,P.url,P.async,P.username,P.password);else _.open(A,P.url,P.async);try{if(P.data)_.setRequestHeader("Content-Type",P.contentType);if(P.ifModified)_.setRequestHeader("If-Modified-Since",jQuery.lastModified[P.url]||"Thu, 01 Jan 1970 00:00:00 GMT");_.setRequestHeader("X-Requested-With","XMLHttpRequest");_.setRequestHeader("Accept",P.dataType&&P.accepts[P.dataType]?P.accepts[P.dataType]+", */*":P.accepts._default)}catch(Q){}if(P.beforeSend&&P.beforeSend(_,P)===false){P.global&&jQuery.active--;_.abort();return false}if(P.global)jQuery.event.trigger("ajaxSend",[_,P]);var C=function(B){if(!$&&_&&(_.readyState==4||B=="timeout")){$=true;if(M){clearInterval(M);M=null}F=B=="timeout"&&"timeout"||!jQuery.httpSuccess(_)&&"error"||P.ifModified&&jQuery.httpNotModified(_,P.url)&&"notmodified"||"success";if(F=="success"){try{K=jQuery.httpData(_,P.dataType,P.dataFilter)}catch(C){F="parsererror"}}if(F=="success"){var A;try{A=_.getResponseHeader("Last-Modified")}catch(C){}if(P.ifModified&&A)jQuery.lastModified[P.url]=A;if(!H)O()}else jQuery.handleError(P,_,F);G();if(P.async)_=null}};if(P.async){var M=setInterval(C,13);if(P.timeout>0)setTimeout(function(){if(_){_.abort();if(!$)C("timeout")}},P.timeout)}try{_.send(P.data)}catch(Q){jQuery.handleError(P,_,null,Q)}if(!P.async)C();function O(){if(P.success)P.success(K,F);if(P.global)jQuery.event.trigger("ajaxSuccess",[_,P])}function G(){if(P.complete)P.complete(_,F);if(P.global)jQuery.event.trigger("ajaxComplete",[_,P]);if(P.global&&!--jQuery.active)jQuery.event.trigger("ajaxStop")}return _},handleError:function(A,$,_,B){if(A.error)A.error($,_,B);if(A.global)jQuery.event.trigger("ajaxError",[$,A,B])},active:0,httpSuccess:function($){try{return!$.status&&location.protocol=="file:"||($.status>=200&&$.status<300)||$.status==304||$.status==1223||jQuery.browser.safari&&$.status==undefined}catch(_){}return false},httpNotModified:function(_,A){try{var $=_.getResponseHeader("Last-Modified");return _.status==304||$==jQuery.lastModified[A]||jQuery.browser.safari&&_.status==undefined}catch(B){}return false},httpData:function(xhr,type,filter){var ct=xhr.getResponseHeader("content-type"),xml=type=="xml"||!type&&ct&&ct.indexOf("xml")>=0,data=xml?xhr.responseXML:xhr.responseText;if(xml&&data.documentElement.tagName=="parsererror")throw"parsererror";if(filter)data=filter(data,type);if(type=="script")jQuery.globalEval(data);if(type=="json")data=eval("("+data+")");return data},param:function($){var A=[];if($.constructor==Array||$.jquery)jQuery.each($,function(){A.push(encodeURIComponent(this.name)+"="+encodeURIComponent(this.value))});else for(var _ in $)if($[_]&&$[_].constructor==Array)jQuery.each($[_],function(){A.push(encodeURIComponent(_)+"="+encodeURIComponent(this))});else A.push(encodeURIComponent(_)+"="+encodeURIComponent(jQuery.isFunction($[_])?$[_]():$[_]));return A.join("&").replace(/%20/g,"+")}});jQuery.fn.extend({show:function($,_){return $?this.animate({height:"show",width:"show",opacity:"show"},$,_):this.filter(":hidden").each(function(){this.style.display=this.oldblock||"";if(jQuery.css(this,"display")=="none"){var $=jQuery("<"+this.tagName+" />").appendTo("body");this.style.display=$.css("display");if(this.style.display=="none")this.style.display="block";$.remove()}}).end()},hide:function($,_){return $?this.animate({height:"hide",width:"hide",opacity:"hide"},$,_):this.filter(":visible").each(function(){this.oldblock=this.oldblock||jQuery.css(this,"display");this.style.display="none"}).end()},_toggle:jQuery.fn.toggle,toggle:function(_,$){return jQuery.isFunction(_)&&jQuery.isFunction($)?this._toggle.apply(this,arguments):_?this.animate({height:"toggle",width:"toggle",opacity:"toggle"},_,$):this.each(function(){jQuery(this)[jQuery(this).is(":hidden")?"show":"hide"]()})},slideDown:function($,_){return this.animate({height:"show"},$,_)},slideUp:function($,_){return this.animate({height:"hide"},$,_)},slideToggle:function($,_){return this.animate({height:"toggle"},$,_)},fadeIn:function($,_){return this.animate({opacity:"show"},$,_)},fadeOut:function($,_){return this.animate({opacity:"hide"},$,_)},fadeTo:function(_,$,A){return this.animate({opacity:$},_,A)},animate:function(A,$,B,_){var C=jQuery.speed($,B,_);return this[C.queue===false?"each":"queue"](function(){if(this.nodeType!=1)return false;var D=jQuery.extend({},C),B,_=jQuery(this).is(":hidden"),$=this;for(B in A){if(A[B]=="hide"&&_||A[B]=="show"&&!_)return D.complete.call(this);if(B=="height"||B=="width"){D.display=jQuery.css(this,"display");D.overflow=this.style.overflow}}if(D.overflow!=null)this.style.overflow="hidden";D.curAnim=jQuery.extend({},A);jQuery.each(A,function(H,C){var I=new jQuery.fx($,D,H);if(/toggle|show|hide/.test(C))I[C=="toggle"?_?"show":"hide":C](A);else{var B=C.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),E=I.cur(true)||0;if(B){var G=parseFloat(B[2]),F=B[3]||"px";if(F!="px"){$.style[H]=(G||1)+F;E=((G||1)/I.cur(true))*E;$.style[H]=E+F}if(B[1])G=((B[1]=="-="?-1:1)*G)+E;I.custom(E,G,F)}else I.custom(E,C,"")}});return true})},queue:function($,_){if(jQuery.isFunction($)||($&&$.constructor==Array)){_=$;$="fx"}if(!$||(typeof $=="string"&&!_))return queue(this[0],$);return this.each(function(){if(_.constructor==Array)queue(this,$,_);else{queue(this,$).push(_);if(queue(this,$).length==1)_.call(this)}})},stop:function($,_){var A=jQuery.timers;if($)this.queue([]);this.each(function(){for(var $=A.length-1;$>=0;$--)if(A[$].elem==this){if(_)A[$](true);A.splice($,1)}});if(!_)this.dequeue();return this}});var queue=function($,_,B){if($){_=_||"fx";var A=jQuery.data($,_+"queue");if(!A||B)A=jQuery.data($,_+"queue",jQuery.makeArray(B))}return A};jQuery.fn.dequeue=function($){$=$||"fx";return this.each(function(){var _=queue(this,$);_.shift();if(_.length)_[0].call(this)})};jQuery.extend({speed:function($,A,B){var _=$&&$.constructor==Object?$:{complete:B||!B&&A||jQuery.isFunction($)&&$,duration:$,easing:B&&A||A&&A.constructor!=Function&&A};_.duration=(_.duration&&_.duration.constructor==Number?_.duration:jQuery.fx.speeds[_.duration])||jQuery.fx.speeds.def;_.old=_.complete;_.complete=function(){if(_.queue!==false)jQuery(this).dequeue();if(jQuery.isFunction(_.old))_.old.call(this)};return _},easing:{linear:function(_,A,$,B){return $+B*_},swing:function(_,A,$,B){return((-Math.cos(_*Math.PI)/2)+0.5)*B+$}},timers:[],timerId:null,fx:function($,A,_){this.options=A;this.elem=$;this.prop=_;if(!A.orig)A.orig={}}});jQuery.fx.prototype={update:function(){if(this.options.step)this.options.step.call(this.elem,this.now,this);(jQuery.fx.step[this.prop]||jQuery.fx.step._default)(this);if(this.prop=="height"||this.prop=="width")this.elem.style.display="block"},cur:function(_){if(this.elem[this.prop]!=null&&this.elem.style[this.prop]==null)return this.elem[this.prop];var $=parseFloat(jQuery.css(this.elem,this.prop,_));return $&&$>-10000?$:parseFloat(jQuery.curCSS(this.elem,this.prop))||0},custom:function(C,$,A){this.startTime=now();this.start=C;this.end=$;this.unit=A||this.unit||"px";this.now=this.start;this.pos=this.state=0;this.update();var _=this;function B($){return _.step($)}B.elem=this.elem;jQuery.timers.push(B);if(jQuery.timerId==null)jQuery.timerId=setInterval(function(){var _=jQuery.timers;for(var $=0;$<_.length;$++)if(!_[$]())_.splice($--,1);if(!_.length){clearInterval(jQuery.timerId);jQuery.timerId=null}},13)},show:function(){this.options.orig[this.prop]=jQuery.attr(this.elem.style,this.prop);this.options.show=true;this.custom(0,this.cur());if(this.prop=="width"||this.prop=="height")this.elem.style[this.prop]="1px";jQuery(this.elem).show()},hide:function(){this.options.orig[this.prop]=jQuery.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(C){var A=now();if(C||A>this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var _=true;for(var $ in this.options.curAnim)if(this.options.curAnim[$]!==true)_=false;if(_){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(jQuery.css(this.elem,"display")=="none")this.elem.style.display="block"}if(this.options.hide)this.elem.style.display="none";if(this.options.hide||this.options.show)for(var B in this.options.curAnim)jQuery.attr(this.elem.style,B,this.options.orig[B])}if(_)this.options.complete.call(this.elem);return false}else{var D=A-this.startTime;this.state=D/this.options.duration;this.pos=jQuery.easing[this.options.easing||(jQuery.easing.swing?"swing":"linear")](this.state,D,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};jQuery.extend(jQuery.fx,{speeds:{slow:600,fast:200,def:400},step:{scrollLeft:function($){$.elem.scrollLeft=$.now},scrollTop:function($){$.elem.scrollTop=$.now},opacity:function($){jQuery.attr($.elem.style,"opacity",$.now)},_default:function($){$.elem.style[$.prop]=$.now+$.unit}}});jQuery.fn.offset=function(){var left=0,top=0,elem=this[0],results;if(elem)with(jQuery.browser){var parent=elem.parentNode,offsetChild=elem,offsetParent=elem.offsetParent,doc=elem.ownerDocument,safari2=safari&&parseInt(version)<522&&!/adobeair/i.test(userAgent),css=jQuery.curCSS,fixed=css(elem,"position")=="fixed";if(elem.getBoundingClientRect){var box=elem.getBoundingClientRect();add(box.left+Math.max(doc.documentElement.scrollLeft,doc.body.scrollLeft),box.top+Math.max(doc.documentElement.scrollTop,doc.body.scrollTop));add(-doc.documentElement.clientLeft,-doc.documentElement.clientTop)}else{add(elem.offsetLeft,elem.offsetTop);while(offsetParent){add(offsetParent.offsetLeft,offsetParent.offsetTop);if(mozilla&&!/^t(able|d|h)$/i.test(offsetParent.tagName)||safari&&!safari2)border(offsetParent);if(!fixed&&css(offsetParent,"position")=="fixed")fixed=true;offsetChild=/^body$/i.test(offsetParent.tagName)?offsetChild:offsetParent;offsetParent=offsetParent.offsetParent}while(parent&&parent.tagName&&!/^body|html$/i.test(parent.tagName)){if(!/^inline|table.*$/i.test(css(parent,"display")))add(-parent.scrollLeft,-parent.scrollTop);if(mozilla&&css(parent,"overflow")!="visible")border(parent);parent=parent.parentNode}if((safari2&&(fixed||css(offsetChild,"position")=="absolute"))||(mozilla&&css(offsetChild,"position")!="absolute"))add(-doc.body.offsetLeft,-doc.body.offsetTop);if(fixed)add(Math.max(doc.documentElement.scrollLeft,doc.body.scrollLeft),Math.max(doc.documentElement.scrollTop,doc.body.scrollTop))}results={top:top,left:left}}function border($){add(jQuery.curCSS($,"borderLeftWidth",true),jQuery.curCSS($,"borderTopWidth",true))}function add(_,$){left+=parseInt(_,10)||0;top+=parseInt($,10)||0}return results};jQuery.fn.extend({position:function(){var _=0,$=0,D;if(this[0]){var A=this.offsetParent(),C=this.offset(),B=/^body|html$/i.test(A[0].tagName)?{top:0,left:0}:A.offset();C.top-=num(this,"marginTop");C.left-=num(this,"marginLeft");B.top+=num(A,"borderTopWidth");B.left+=num(A,"borderLeftWidth");D={top:C.top-B.top,left:C.left-B.left}}return D},offsetParent:function(){var $=this[0].offsetParent;while($&&(!/^body|html$/i.test($.tagName)&&jQuery.css($,"position")=="static"))$=$.offsetParent;return jQuery($)}});jQuery.each(["Left","Top"],function($,_){var A="scroll"+_;jQuery.fn[A]=function(_){if(!this[0])return;return _!=undefined?this.each(function(){this==window||this==document?window.scrollTo(!$?_:jQuery(window).scrollLeft(),$?_:jQuery(window).scrollTop()):this[A]=_}):this[0]==window||this[0]==document?self[$?"pageYOffset":"pageXOffset"]||jQuery.boxModel&&document.documentElement[A]||document.body[A]:this[0][A]}});jQuery.each(["Height","Width"],function($,B){var _=$?"Left":"Top",A=$?"Right":"Bottom";jQuery.fn["inner"+B]=function(){return this[B.toLowerCase()]()+num(this,"padding"+_)+num(this,"padding"+A)};jQuery.fn["outer"+B]=function($){return this["inner"+B]()+num(this,"border"+_+"Width")+num(this,"border"+A+"Width")+($?num(this,"margin"+_)+num(this,"margin"+A):0)}})})()