(function(){function D(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 o(a,b){return a[0]&&parseInt(c.curCSS(a[0],b,!0),10)||0}function x(){if(!y){y=!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===k)a=c("style, link[rel=stylesheet]").length;document.styleSheets.length!=a?setTimeout(arguments.callee,
0):c.ready()}})()}c.event.add(window,"load",c.ready)}}var E=window.jQuery,F=window.$,c=window.jQuery=window.$=function(a,b){return new c.fn.init(a,b)},G=/^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/,z=/^.[^:#\[\.]*$/,k;c.fn=c.prototype={init:function(a,b){a=a||document;if(a.nodeType)return this[0]=a,this.length=1,this;if(typeof a=="string"){var d=G.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){if(e.id!=d[3])return c().find(a);return c(e)}a=[]}else return c(b).find(a)}else if(c.isFunction(a))return c(document)[c.fn.ready?
"ready":"load"](a);return this.setArray(c.makeArray(a))},jquery:"1.2.6",size:function(){return this.length},length:0,get:function(a){return a==k?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){return c.inArray(a&&a.jquery?a[0]:a,this)},attr:function(a,b,d){var e=a;if(a.constructor==String)if(b===k)return this[0]&&c[d||
"attr"](this[0],a);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=k;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[p]!=k&&(this[p]=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(z.test(a))return this.pushStack(c.multiFilter(a,this,!0));else a=c.multiFilter(a,this);var b=a.length&&a[a.length-1]!==k&&!a.nodeType;return this.filter(function(){return b?c.inArray(this,a)<0:this!=a})},add:function(a){return this.pushStack(c.unique(c.merge(this.get(),typeof a=="string"?c(a):c.makeArray(a))))},is:function(a){return!!a&&c.multiFilter(a,this).length>0},hasClass:function(a){return this.is("."+
a)},val:function(a){if(a==k){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,"")}return k}a.constructor==Number&&(a+="");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=c.makeArray(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==k?this[0]?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===k){var e=this.triggerHandler("getData"+d[1]+"!",[d[0]]);e===k&&this.length&&(e=c.data(this[0],a));return e===k&&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(D)})}};c.fn.init.prototype=c.fn;
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==b&&(a=this,--b);for(;b<d;b++)if((g=arguments[b])!=null)for(var f in g){var h=a[f],j=g[f];a!==j&&(e&&j&&typeof j=="object"&&!j.nodeType?a[f]=c.extend(e,h||(j.length!=null?[]:{}),j):j!==k&&(a[f]=j))}return a};var p="jQuery"+ +new Date,H=0,A={},I=/z-?index|font-?weight|opacity|zoom|line-?height/i,w=document.defaultView||
{};c.extend({noConflict:function(a){window.$=F;if(a)window.jQuery=E;return c},isFunction:function(a){return!!a&&typeof a!="string"&&!a.nodeName&&a.constructor!=Array&&/^[\s[]?function/.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.insertBefore(d,b.firstChild);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?A:a,e=a[p];e||(e=a[p]=++H);b&&!c.cache[e]&&(c.cache[e]={});d!==k&&(c.cache[e][b]=d);return b?c.cache[e][b]:e},removeData:function(a,b){var a=a==window?A:a,d=a[p];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[p]}catch(e){a.removeAttribute&&a.removeAttribute(p)}delete c.cache[d]}},
each:function(a,b,c){var e,g=0,f=a.length;if(c)if(f==k)for(e in a){if(b.apply(a[e],c)===!1)break}else for(;g<f;){if(b.apply(a[g++],c)===!1)break}else if(f==k)for(e in a){if(b.call(a[e],e,a[e])===!1)break}else for(c=a[0];g<f&&b.call(c,g,c)!==!1;c=a[++g]);return a},prop:function(a,b,d,e,g){c.isFunction(b)&&(b=b.call(a,e));return b&&b.constructor==Number&&d=="curCSS"&&!I.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!=k?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=w.getComputedStyle(a,null);return!a||a.getPropertyValue("color")==""}var g,f=a.style;if(b=="opacity"&&
c.browser.msie)return g=c.attr(f,"opacity"),g==""?"1":g;if(c.browser.opera&&b=="display"){var h=f.outline;f.outline="0 solid black";f.outline=h}b.match(/float/i)&&(b=v);if(!d&&f&&f[b])g=f[b];else if(w.getComputedStyle){b.match(/float/i)&&(b="float");b=b.replace(/([A-Z])/g,"-$1").toLowerCase();if((g=w.getComputedStyle(a,null))&&!e(a))g=g.getPropertyValue(b);else{f=[];d=[];h=a;for(a=0;h&&e(h);h=h.parentNode)d.unshift(h);for(;a<d.length;a++)if(e(d[a]))f[a]=d[a].style.display,d[a].style.display="block";
g=b=="display"&&f[d.length-1]!=null?"none":g&&g.getPropertyValue(b)||"";for(a=0;a<f.length;a++)if(f[a]!=null)d[a].style.display=f[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=f.left,d=a.runtimeStyle.left,a.runtimeStyle.left=a.currentStyle.left,f.left=g||0,g=f.pixelLeft+"px",f.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+="");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]==k||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)return k;var e=!c.isXMLDoc(a),
g=d!==k,f=c.browser.msie,b=e&&c.props[b]||b;if(a.tagName){var h=/href|src|style/.test(b);if(b in a&&e&&!h){if(g){if(b=="type"&&c.nodeName(a,"input")&&a.parentNode)throw"type property can't be changed";a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;return a[b]}if(f&&e&&b=="style")return c.attr(a.style,"cssText",d);g&&a.setAttribute(b,""+d);a=f&&e&&h?a.getAttribute(b,2):a.getAttribute(b);return a===null?k:a}if(f&&b=="opacity"){if(g)a.zoom=1,a.filter=(a.filter||
"").replace(/alpha\([^)]*\)/,"")+(parseInt(d)+""=="NaN"?"":"alpha(opacity="+d*100+")");return a.filter&&a.filter.indexOf("opacity=")>=0?parseFloat(a.filter.match(/opacity=([^)]*)/)[1])/100+"":""}b=b.replace(/-([a-z])/ig,function(a,b){return b.toUpperCase()});g&&(a[b]=d);return a[b]},trim:function(a){return(a||"").replace(/^\s+|\s+$/g,"")},makeArray:function(a){var b=[];if(a!=null){var c=a.length;if(c==null||a.split||a.setInterval||a.call)b[0]=a;else for(;c;)b[--c]=a[c]}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){var d=0,e,g=a.length;if(c.browser.msie)for(;e=b[d++];)e.nodeType!=8&&(a[g++]=e);else for(;e=b[d++];)a[g++]=e;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)&&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&&(c[c.length]=f)}return c.concat.apply([],c)}});var r=navigator.userAgent.toLowerCase();c.browser={version:(r.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(r),opera:/opera/.test(r),msie:/msie/.test(r)&&!/opera/.test(r),mozilla:/mozilla/.test(r)&&!/(compatible|webkit)/.test(r)};var v=c.browser.msie?"styleFloat":"cssFloat";c.extend({boxModel:!c.browser.msie||document.compatMode=="CSS1Compat",props:{"for":"htmlFor","class":"className","float":v,cssFloat:v,styleFloat:v,
readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing"}});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==k?this.length?c.css(this[0],d):null:this.css(d,a.constructor==String?a:a+"px")}});var t=c.browser.safari&&parseInt(c.browser.version)<417?"(?:[\\w*_-]|\\\\.)":"(?:[\\w\u0128-\uffff*_-]|\\\\.)",J=RegExp("^>\\s*("+t+"+)"),K=RegExp("^("+t+"+)(#)("+t+"+)"),L=RegExp("^([#.]?)("+t+"*)");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("^([:.#]*)("+t+"+)")],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=J,i=j.exec(a);if(i){f=i[1].toUpperCase();for(var n=0;d[n];n++)for(i=d[n].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=[];n={};f=i[2].toUpperCase();for(var i=i[1],l=0,k=d.length;l<k;l++)for(var q=i=="~"||i=="+"?d[l].nextSibling:d[l].firstChild;q;q=q.nextSibling)if(q.nodeType==1){var m=c.data(q);if(i=="~"&&
n[m])break;if(!f||q.nodeName.toUpperCase()==f)i=="~"&&(n[m]=!0),h.push(q);if(i=="+")break}d=h;a=c.trim(a.replace(j,""));f=!0}if(a&&!f)if(a.indexOf(",")){j=K;(i=j.exec(a))?i=[0,i[2],i[3],i[1]]:(j=L,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(n=0;d[n];n++)f=i[1]==
"#"&&i[3]?i[3]:i[1]!=""||i[0]==""?"*":i[2],f=="*"&&d[n].nodeName.toLowerCase()=="object"&&(f="param"),h=c.merge(h,d[n].getElementsByTagName(f));i[1]=="."&&(h=c.classFilter(h,i[2]));if(i[1]=="#"){d=[];for(n=0;h[n];n++)if(h[n].getAttribute("id")==i[2]){d=[h[n]];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=z.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 n=b[h],l=n[c.props[f[2]]||f[2]];
if(l==null||/href|src|selected/.test(f[2]))l=c.attr(n,f[2])||"";(j==""&&!!l||j=="="&&l==f[5]||j=="!="&&l!=f[5]||j=="^="&&l&&!l.indexOf(f[5])||j=="$="&&l.substr(l.length-f[5].length)==f[5]||(j=="*="||j=="~=")&&l.indexOf(f[5])>=0)^d&&g.push(n)}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]);n=e[1]+(e[2]||1)-0;e=e[3]-0;h=0;for(i=b.length;h<i;h++){var l=b[h],k=l.parentNode,q=c.data(k);if(!j[q]){for(var m=
1,k=k.firstChild;k;k=k.nextSibling)if(k.nodeType==1)k.nodeIndex=m++;j[q]=!0}q=!1;n==0?l.nodeIndex==e&&(q=!0):(l.nodeIndex-e)%n==0&&(l.nodeIndex-e)/n>=0&&(q=!0);q^d&&g.push(l)}b=g}else{var s=c.expr[f[1]];typeof s=="object"&&(s=s[f[2]]);typeof s=="string"&&(s=eval("false||function(a,i){return "+s+";}"));b=c.grep(b,function(a,c){return s(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&&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&&(a=window);if(!d.guid)d.guid=this.guid++;if(e!=k){var g=d,d=this.proxy(g,function(){return g.apply(this,arguments)});d.data=e}var f=c.data(a,"events")||c.data(a,"events",{}),h=c.data(a,"handle")||c.data(a,"handle",function(){if(typeof c!="undefined"&&!c.event.triggered)return 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==k||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 k;var h,j=c.isFunction(d[a]||null),i=!b[0]||!b[0].preventDefault;i&&(b.unshift({type:a,target:d,preventDefault:function(){},stopPropagation:function(){},timeStamp:+new Date}),b[0][p]=!0);b[0].type=a;if(f)b[0].exclusive=!0;(f=c.data(d,"handle"))&&(h=f.apply(d,b));if((!j||c.nodeName(d,"a")&&a=="click")&&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!==k&&(h=b));if(j&&e!==!1&&h!==!1&&!(c.nodeName(d,"a")&&a=="click")){this.triggered=!0;try{d[a]()}catch(n){}}this.triggered=!1}else this.global[a]&&c("*").add([window,document]).trigger(a,b);return h},handle:function(a){var b,d,e,g,f,a=arguments[0]=c.event.fix(a||window.event);e=a.type.split(".");a.type=e[0];e=e[1];g=!e&&!a.exclusive;f=(c.data(this,"events")||{})[a.type];for(var h in f)if(d=f[h],g||d.type==e)a.handler=
d,a.data=d.data,d=d.apply(this,arguments),b!==!1&&(b=d),d===!1&&(a.preventDefault(),a.stopPropagation());return b},fix:function(a){if(a[p]==!0)return a;for(var b=a,a={originalEvent:b},c="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(" "),
e=c.length;e;e--)a[c[e]]=b[c[e]];a[p]=!0;a.preventDefault=function(){b.preventDefault&&b.preventDefault();b.returnValue=!1};a.stopPropagation=function(){b.stopPropagation&&b.stopPropagation();b.cancelBubble=!0};a.timeStamp=a.timeStamp||+new Date;if(!a.target)a.target=a.srcElement||document;if(a.target.nodeType==3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement==a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null)c=document.documentElement,
e=document.body,a.pageX=a.clientX+(c&&c.scrollLeft||e&&e.scrollLeft||0)-(c.clientLeft||0),a.pageY=a.clientY+(c&&c.scrollTop||e&&e.scrollTop||0)-(c.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},proxy:function(a,b){b.guid=a.guid=a.guid||b.guid||this.guid++;return b},special:{ready:{setup:function(){x()},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(C(a,this))return!0;a.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(C(a,this))return!0;a.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){var e=c.event.proxy(d||b,function(a){c(this).unbind(a,e);return(d||b).apply(this,arguments)});return this.each(function(){c.event.add(this,a,e,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){return this[0]&&c.event.trigger(a,b,this[0],!1,d)},toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.event.proxy(a,b[d++]);return this.click(c.event.proxy(a,function(a){this.lastToggle=(this.lastToggle||0)%d;a.preventDefault();return b[this.lastToggle++].apply(this,arguments)||!1}))},hover:function(a,b){return this.bind("mouseenter",a).bind("mouseleave",b)},ready:function(a){x();
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.call(document)}),c.readyList=null;c(document).triggerHandler("ready")}}});var y=!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 C=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:c.fn.load,load:function(a,b,d){if(typeof a!="string")return this._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 M=+new Date;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:{url:location.href,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",[m,a])}function d(){a.complete&&a.complete(m,f);a.global&&c.event.trigger("ajaxComplete",[m,a]);a.global&&!--c.active&&c.event.trigger("ajaxStop")}var a=c.extend(!0,a,c.extend(!0,{},c.ajaxSettings,a)),e,g=/=\?(&|$)/g,f,h,j=a.type.toUpperCase();if(a.data&&a.processData&&typeof a.data!="string")a.data=c.param(a.data);if(a.dataType=="jsonp"){if(j=="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"+M++;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]=k;try{delete window[e]}catch(c){}n&&n.removeChild(l)}}if(a.dataType=="script"&&a.cache==null)a.cache=
!1;if(a.cache===!1&&j=="GET"){var g=+new Date,i=a.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+g+"$2");a.url=i+(i==a.url?(a.url.match(/\?/)?"&":"?")+"_="+g:"")}if(a.data&&j=="GET")a.url+=(a.url.match(/\?/)?"&":"?")+a.data,a.data=null;a.global&&!c.active++&&c.event.trigger("ajaxStart");g=/^(?:\w+:)?\/\/([^\/?#]+)/;if(a.dataType=="script"&&j=="GET"&&g.test(a.url)&&g.exec(a.url)[1]!=location.host){var n=document.getElementsByTagName("head")[0],l=document.createElement("script");l.src=a.url;if(a.scriptCharset)l.charset=
a.scriptCharset;if(!e){var B=!1;l.onload=l.onreadystatechange=function(){if(!B&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete"))B=!0,b(),d(),n.removeChild(l)}}n.appendChild(l);return k}var q=!1,m=window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest;a.username?m.open(j,a.url,a.async,a.username,a.password):m.open(j,a.url,a.async);try{a.data&&m.setRequestHeader("Content-Type",a.contentType),a.ifModified&&m.setRequestHeader("If-Modified-Since",c.lastModified[a.url]||
"Thu, 01 Jan 1970 00:00:00 GMT"),m.setRequestHeader("X-Requested-With","XMLHttpRequest"),m.setRequestHeader("Accept",a.dataType&&a.accepts[a.dataType]?a.accepts[a.dataType]+", */*":a.accepts._default)}catch(s){}if(a.beforeSend&&a.beforeSend(m,a)===!1)return a.global&&c.active--,m.abort(),!1;a.global&&c.event.trigger("ajaxSend",[m,a]);var o=function(g){if(!q&&m&&(m.readyState==4||g=="timeout")){q=!0;p&&(clearInterval(p),p=null);f=g=="timeout"&&"timeout"||!c.httpSuccess(m)&&"error"||a.ifModified&&c.httpNotModified(m,
a.url)&&"notmodified"||"success";if(f=="success")try{h=c.httpData(m,a.dataType,a.dataFilter)}catch(i){f="parsererror"}if(f=="success"){var j;try{j=m.getResponseHeader("Last-Modified")}catch(k){}a.ifModified&&j&&(c.lastModified[a.url]=j);e||b()}else c.handleError(a,m,f);d();a.async&&(m=null)}};if(a.async){var p=setInterval(o,13);a.timeout>0&&setTimeout(function(){m&&(m.abort(),q||o("timeout"))},a.timeout)}try{m.send(a.data)}catch(r){c.handleError(a,m,null,r)}a.async||o();return m},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==k}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==k}catch(e){}return!1},httpData:function(a,b,d){var e=a.getResponseHeader("content-type"),
a=(e=b=="xml"||!b&&e&&e.indexOf("xml")>=0)?a.responseXML:a.responseText;if(e&&a.documentElement.tagName=="parsererror")throw"parsererror";d&&(a=d(a,b));b=="script"&&c.globalEval(a);b=="json"&&(a=eval("("+a+")"));return a},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(c.isFunction(a[d])?a[d]():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.apply(this,arguments):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,e=c(this).is(":hidden"),
i=this;for(d in a){if(a[d]=="hide"&&e||a[d]=="show"&&!e)return b.complete.call(this);if(d=="height"||d=="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(d,g){var h=new c.fx(i,b,d);if(/toggle|show|hide/.test(g))h[g=="toggle"?e?"show":"hide":g](a);else{var k=g.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),m=h.cur(!0)||0;if(k){var o=parseFloat(k[2]),p=k[3]||"px";p!="px"&&(i.style[d]=(o||1)+
p,m*=(o||1)/h.cur(!0),i.style[d]=m+p);k[1]&&(o=(k[1]=="-="?-1:1)*o+m);h.custom(m,o,p)}else h.custom(m,g,"")}});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 u(this[0],a);return this.each(function(){b.constructor==Array?u(this,a,b):(u(this,a).push(b),u(this,a).length==1&&b.call(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 u=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",c.makeArray(d))}return e};c.fn.dequeue=function(a){a=a||"fx";return this.each(function(){var b=u(this,a);b.shift();b.length&&b[0].call(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:c.fx.speeds[e.duration])||c.fx.speeds.def;e.old=e.complete;e.complete=function(){e.queue!==!1&&c(this).dequeue();c.isFunction(e.old)&&e.old.call(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.call(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;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;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&&this.options.complete.call(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.extend(c.fx,{speeds:{slow:600,fast:200,def:400},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,10)||0;e+=parseInt(b,10)||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 k=safari&&parseInt(version)<522&&!/adobeair/i.test(r),l=c.curCSS,
o=l(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&&!k)&&a(i),!o&&l(i,"position")=="fixed"&&(o=!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(l(h,"display"))||b(-h.scrollLeft,-h.scrollTop),mozilla&&l(h,"overflow")!="visible"&&a(h),h=h.parentNode;(k&&(o||l(j,"position")=="absolute")||mozilla&&l(j,"position")!="absolute")&&b(-f.body.offsetLeft,-f.body.offsetTop);o&&b(Math.max(f.documentElement.scrollLeft,f.body.scrollLeft),Math.max(f.documentElement.scrollTop,f.body.scrollTop))}f={top:e,left:d}}return f};c.fn.extend({position:function(){var a;if(this[0]){a=this.offsetParent();var b=
this.offset(),c=/^body|html$/i.test(a[0].tagName)?{top:0,left:0}:a.offset();b.top-=o(this,"marginTop");b.left-=o(this,"marginLeft");c.top+=o(a,"borderTopWidth");c.left+=o(a,"borderLeftWidth");a={top:b.top-c.top,left:b.left-c.left}}return a},offsetParent:function(){for(var a=this[0].offsetParent;a&&!/^body|html$/i.test(a.tagName)&&c.css(a,"position")=="static";)a=a.offsetParent;return c(a)}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(b){if(this[0])return b!=k?this.each(function(){this==
window||this==document?window.scrollTo(!a?b:c(window).scrollLeft(),a?b:c(window).scrollTop()):this[d]=b}):this[0]==window||this[0]==document?self[a?"pageYOffset":"pageXOffset"]||c.boxModel&&document.documentElement[d]||document.body[d]:this[0][d]}});c.each(["Height","Width"],function(a,b){var d=a?"Left":"Top",e=a?"Right":"Bottom";c.fn["inner"+b]=function(){return this[b.toLowerCase()]()+o(this,"padding"+d)+o(this,"padding"+e)};c.fn["outer"+b]=function(a){return this["inner"+b]()+o(this,"border"+d+
"Width")+o(this,"border"+e+"Width")+(a?o(this,"margin"+d)+o(this,"margin"+e):0)}})})();
