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