(function(){function I(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function u(){return+new Date}function r(a,b){return a[0]&&parseInt(c.curCSS(a[0],b,true),10)||0}function D(){if(!E){E=true;document.addEventListener&&!c.browser.opera&&document.addEventListener("DOMContentLoaded",c.ready,false);c.browser.msie&&window==top&&function(){if(!c.isReady){try{document.documentElement.doScroll("left")}catch(b){setTimeout(arguments.callee,
0);return}c.ready()}}();c.browser.opera&&document.addEventListener("DOMContentLoaded",function(){if(!c.isReady){for(var b=0;b<document.styleSheets.length;b++)if(document.styleSheets[b].disabled){setTimeout(arguments.callee,0);return}c.ready()}},false);if(c.browser.safari){var a;(function(){if(!c.isReady)if(document.readyState!="loaded"&&document.readyState!="complete")setTimeout(arguments.callee,0);else{if(a===n)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 J=window.jQuery,K=window.$,c=window.jQuery=window.$=function(a,b){return new c.fn.init(a,b)},L=/^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/,F=/^.[^:#\[\.]*$/,n;c.fn=c.prototype={init:function(a,b){a=a||document;if(a.nodeType){this[0]=a;this.length=1;return this}if(typeof a=="string"){var d=L.exec(a);if(d&&(d[1]||!b))if(d[1])a=c.clean([d[1]],b);else{if(b=document.getElementById(d[3])){if(b.id!=d[3])return c().find(a);return c(b)}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==n?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===n)return this[0]&&c[d||
"attr"](this[0],a);else{e={};e[a]=b}return this.each(function(g){for(a in e)c.attr(d?this.style:this,a,c.prop(this,e[a],d,g,a))})},css:function(a,b){if((a=="width"||a=="height")&&parseFloat(b)<0)b=n;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(){if(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 b=this;b.firstChild;)b=b.firstChild;return b}).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,true,false,function(a){this.nodeType==1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,
true,true,function(a){this.nodeType==1&&this.insertBefore(a,this.firstChild)})},before:function(){return this.domManip(arguments,false,false,function(a){this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,false,true,function(a){this.parentNode.insertBefore(a,this.nextSibling)})},end:function(){return this.prevObject||c([])},find:function(a){var b=c.map(this,function(d){return c.find(a,d)});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 e=this.cloneNode(true),g=document.createElement("div");g.appendChild(e);return c.clean([g.innerHTML])[0]}else return this.cloneNode(true)}),d=b.find("*").andSelf().each(function(){if(this[s]!=n)this[s]=null});a===true&&this.find("*").andSelf().each(function(e){if(this.nodeType!=3){var g=c.data(this,"events");for(var f in g)for(var h in g[f])c.event.add(d[e],f,g[f][h],g[f][h].data)}});return b},filter:function(a){return this.pushStack(c.isFunction(a)&&
c.grep(this,function(b,d){return a.call(b,d)})||c.multiFilter(a,this))},not:function(a){if(a.constructor==String)if(F.test(a))return this.pushStack(c.multiFilter(a,this,true));else a=c.multiFilter(a,this);var b=a.length&&a[a.length-1]!==n&&!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==n){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;var f=b?d:0;for(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 n}if(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 i=c.makeArray(a);c("option",this).each(function(){this.selected=c.inArray(this.value,i)>=0||c.inArray(this.text,i)>=0});if(!i.length)this.selectedIndex=-1}else this.value=a})},html:function(a){return a==n?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,d){return a.call(b,d,b)}))},andSelf:function(){return this.add(this.prevObject)},data:function(a,b){var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===n){var e=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(e===n&&this.length)e=c.data(this[0],a);return e===n&&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(){if(!f){f=c.clean(a,this.ownerDocument);d&&f.reverse()}var h=this;if(b&&c.nodeName(this,"table")&&c.nodeName(f[0],"tr"))h=this.getElementsByTagName("tbody")[0]||this.appendChild(this.ownerDocument.createElement("tbody"));var i=c([]);c.each(f,function(){var j=g?c(this).clone(true)[0]:this;if(c.nodeName(j,"script"))i=i.add(j);else{if(j.nodeType==1)i=i.add(c("script",j).remove());e.call(h,j)}});i.each(I)})}};c.fn.init.prototype=
c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,e=false,g;if(a.constructor==Boolean){e=a;a=arguments[1]||{};b=2}if(typeof a!="object"&&typeof a!="function")a={};if(d==b){a=this;--b}for(;b<d;b++)if((g=arguments[b])!=null)for(var f in g){var h=a[f],i=g[f];if(a!==i)if(e&&i&&typeof i=="object"&&!i.nodeType)a[f]=c.extend(e,h||(i.length!=null?[]:{}),i);else if(i!==n)a[f]=i}return a};var s="jQuery"+u(),M=0,G={},N=/z-?index|font-?weight|opacity|zoom|line-?height/i,B=document.defaultView||
{};c.extend({noConflict:function(a){window.$=K;if(a)window.jQuery=J;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";if(c.browser.msie)d.text=
a;else 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){a=a==window?G:a;var e=a[s];e||(e=a[s]=++M);if(b&&!c.cache[e])c.cache[e]={};if(d!==n)c.cache[e][b]=d;return b?c.cache[e][b]:e},removeData:function(a,b){a=a==window?G:a;var d=a[s];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[s]}catch(e){a.removeAttribute&&
a.removeAttribute(s)}delete c.cache[d]}},each:function(a,b,d){var e,g=0,f=a.length;if(d)if(f==n)for(e in a){if(b.apply(a[e],d)===false)break}else for(;g<f;){if(b.apply(a[g++],d)===false)break}else if(f==n)for(e in a){if(b.call(a[e],e,a[e])===false)break}else for(d=a[0];g<f&&b.call(d,g,d)!==false;d=a[++g]);return a},prop:function(a,b,d,e,g){if(c.isFunction(b))b=b.call(a,e);return b&&b.constructor==Number&&d=="curCSS"&&!N.test(g)?b+"px":b},className:{add:function(a,b){c.each((b||"").split(/\s+/),function(d,
e){if(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!=n?c.grep(a.className.split(/\s+/),function(d){return!c.className.has(b,d)}).join(" "):""},has:function(a,b){return c.inArray(b,(a.className||a).toString().split(/\s+/))>-1}},swap:function(a,b,d){var e={};for(var g in b){e[g]=a.style[g];a.style[g]=b[g]}d.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"};var g=b=="width"?["Left","Right"]:["Top","Bottom"];function f(){e=b=="width"?a.offsetWidth:a.offsetHeight;var h=0,i=0;c.each(g,function(){h+=parseFloat(c.curCSS(a,"padding"+this,true))||0;i+=parseFloat(c.curCSS(a,"border"+this+"Width",true))||0});e-=Math.round(h+i)}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(i){if(!c.browser.safari)return false;i=B.getComputedStyle(i,null);return!i||i.getPropertyValue("color")==
""}var g,f=a.style;if(b=="opacity"&&c.browser.msie){g=c.attr(f,"opacity");return g==""?"1":g}if(c.browser.opera&&b=="display"){var h=f.outline;f.outline="0 solid black";f.outline=h}if(b.match(/float/i))b=z;if(!d&&f&&f[b])g=f[b];else if(B.getComputedStyle){if(b.match(/float/i))b="float";b=b.replace(/([A-Z])/g,"-$1").toLowerCase();if((g=B.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]}if(b=="opacity"&&g=="")g="1"}else if(a.currentStyle){g=b.replace(/\-(\w)/g,function(i,j){return j.toUpperCase()});g=a.currentStyle[b]||a.currentStyle[g];if(!/^\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;if(typeof b.createElement=="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||document;c.each(a,function(e,g){if(g){if(g.constructor==Number)g+="";if(typeof g=="string"){g=g.replace(/(<(\w+)[^>]*?)\/>/g,function(i,j,l){return l.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?i:j+"></"+l+">"});var f=c.trim(g).toLowerCase();e=b.createElement("div");var h=!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(e.innerHTML=h[1]+g+h[2];h[0]--;)e=e.lastChild;if(c.browser.msie){f=!f.indexOf("<table")&&f.indexOf("<tbody")<0?e.firstChild&&e.firstChild.childNodes:
h[1]=="<table>"&&f.indexOf("<tbody")<0?e.childNodes:[];for(h=f.length-1;h>=0;--h)c.nodeName(f[h],"tbody")&&!f[h].childNodes.length&&f[h].parentNode.removeChild(f[h]);/^\s/.test(g)&&e.insertBefore(b.createTextNode(g.match(/^\s*/)[0]),e.firstChild)}g=c.makeArray(e.childNodes)}if(!(g.length===0&&!c.nodeName(g,"form")&&!c.nodeName(g,"select")))if(g[0]==n||c.nodeName(g,"form")||g.options)d.push(g);else d=c.merge(d,g)}});return d},attr:function(a,b,d){if(!a||a.nodeType==3||a.nodeType==8)return n;var e=
!c.isXMLDoc(a),g=d!==n,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?n: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(i,j){return j.toUpperCase()});if(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 d=a.length;if(d==null||a.split||a.setInterval||a.call)b[0]=a;else for(;d;)b[--d]=a[d]}return b},
inArray:function(a,b){for(var d=0,e=b.length;d<e;d++)if(b[d]===a)return d;return-1},merge:function(a,b){var d=0,e,g=a.length;if(c.browser.msie)for(;e=b[d++];){if(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]);if(!d[f]){d[f]=true;b.push(a[e])}}}catch(h){b=a}return b},grep:function(a,b,d){for(var e=[],g=0,f=a.length;g<f;g++)!d!=!b(a[g],g)&&e.push(a[g]);return e},map:function(a,b){for(var d=[],e=0,
g=a.length;e<g;e++){var f=b(a[e],e);if(f!=null)d[d.length]=f}return d.concat.apply([],d)}});var t=navigator.userAgent.toLowerCase();c.browser={version:(t.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(t),opera:/opera/.test(t),msie:/msie/.test(t)&&!/opera/.test(t),mozilla:/mozilla/.test(t)&&!/(compatible|webkit)/.test(t)};var z=c.browser.msie?"styleFloat":"cssFloat";c.extend({boxModel:!c.browser.msie||document.compatMode=="CSS1Compat",props:{"for":"htmlFor","class":"className",
"float":z,cssFloat:z,styleFloat:z,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(d){var e=c.map(this,b);if(d&&typeof d=="string")e=c.multiFilter(d,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 d=arguments;return this.each(function(){for(var e=0,g=d.length;e<g;e++)c(d[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(e){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])):e==n?this.length?c.css(this[0],d):null:this.css(d,e.constructor==String?e:e+"px")}});var v=c.browser.safari&&parseInt(c.browser.version)<417?"(?:[\\w*_-]|\\\\.)":"(?:[\\w\u0128-\uffff*_-]|\\\\.)",O=new RegExp("^>\\s*("+v+"+)"),P=new RegExp("^("+v+"+)(#)("+v+"+)"),Q=new RegExp("^([#.]?)("+v+"*)");c.extend({expr:{"":function(a,b,d){return d[2]=="*"||c.nodeName(a,d[2])},"#":function(a,b,d){return a.getAttribute("id")==d[2]},":":{lt:function(a,b,d){return b<d[3]-0},gt:function(a,b,d){return b>d[3]-
0},nth:function(a,b,d){return d[3]-0==b},eq:function(a,b,d){return d[3]-0==b},first:function(a,b){return b==0},last:function(a,b,d,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-]+)\("?'?(.*?(\(.*?\))?[^(]*?)"?'?\)/,new RegExp("^([:.#]*)("+v+"+)")],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[];b=b||document;for(var d=[b],e=[],g,f;a&&g!=a;){var h=[];g=a;a=c.trim(a);f=false;var i=O,j=i.exec(a);if(j){f=j[1].toUpperCase();for(var l=0;d[l];l++)for(j=d[l].firstChild;j;j=j.nextSibling)if(j.nodeType==1&&(f=="*"||j.nodeName.toUpperCase()==f))h.push(j);d=h;a=a.replace(i,"");if(a.indexOf(" ")==0)continue;f=true}else{i=/^([>+~])\s*(\w*)/i;if((j=i.exec(a))!=null){h=[];l={};f=j[2].toUpperCase();j=j[1];for(var k=0,p=d.length;k<p;k++)for(var o=j=="~"||j=="+"?
d[k].nextSibling:d[k].firstChild;o;o=o.nextSibling)if(o.nodeType==1){var m=c.data(o);if(j=="~"&&l[m])break;if(!f||o.nodeName.toUpperCase()==f){if(j=="~")l[m]=true;h.push(o)}if(j=="+")break}d=h;a=c.trim(a.replace(i,""));f=true}}if(a&&!f)if(a.indexOf(",")){i=P;if(j=i.exec(a))j=[0,j[2],j[3],j[1]];else{i=Q;j=i.exec(a)}j[2]=j[2].replace(/\\/g,"");f=d[d.length-1];if(j[1]=="#"&&f&&f.getElementById&&!c.isXMLDoc(f)){d=f.getElementById(j[2]);if((c.browser.msie||c.browser.opera)&&d&&typeof d.id=="string"&&d.id!=
j[2])d=c('[@id="'+j[2]+'"]',f)[0];d=h=d&&(!j[3]||c.nodeName(d,j[3]))?[d]:[]}else{for(l=0;d[l];l++){f=j[1]=="#"&&j[3]?j[3]:j[1]!=""||j[0]==""?"*":j[2];if(f=="*"&&d[l].nodeName.toLowerCase()=="object")f="param";h=c.merge(h,d[l].getElementsByTagName(f))}if(j[1]==".")h=c.classFilter(h,j[2]);if(j[1]=="#"){d=[];for(l=0;h[l];l++)if(h[l].getAttribute("id")==j[2]){d=[h[l]];break}h=d}d=h}a=a.replace(i,"")}else{b==d[0]&&d.shift();e=c.merge(e,d);h=d=[b];a=" "+a.substr(1,a.length)}if(a){a=c.filter(a,h);d=a.r;
a=c.trim(a.t)}}if(a)d=[];d&&b==d[0]&&d.shift();return e=c.merge(e,d)},classFilter:function(a,b,d){b=" "+b+" ";for(var e=[],g=0;a[g];g++){var f=(" "+a[g].className+" ").indexOf(b)>=0;if(!d&&f||d&&!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=F.test(f[3])?c.filter(f[3],b,true).r:c(b).not(f[3]);else if(f[1]==".")b=c.classFilter(b,
f[2],d);else if(f[1]=="["){g=[];var i=f[3];h=0;for(var j=b.length;h<j;h++){var l=b[h],k=l[c.props[f[2]]||f[2]];if(k==null||/href|src|selected/.test(f[2]))k=c.attr(l,f[2])||"";if((i==""&&!!k||i=="="&&k==f[5]||i=="!="&&k!=f[5]||i=="^="&&k&&!k.indexOf(f[5])||i=="$="&&k.substr(k.length-f[5].length)==f[5]||(i=="*="||i=="~=")&&k.indexOf(f[5])>=0)^d)g.push(l)}b=g}else if(f[1]==":"&&f[2]=="nth-child"){i={};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(j=b.length;h<j;h++){k=b[h];var p=k.parentNode,o=c.data(p);if(!i[o]){var m=1;for(p=p.firstChild;p;p=p.nextSibling)if(p.nodeType==1)p.nodeIndex=m++;i[o]=true}o=false;if(l==0){if(k.nodeIndex==e)o=true}else if((k.nodeIndex-e)%l==0&&(k.nodeIndex-e)/l>=0)o=true;o^d&&g.push(k)}b=g}else{var q=c.expr[f[1]];if(typeof q=="object")q=q[f[2]];if(typeof q=="string")q=eval("false||function(a,i){return "+q+";}");b=c.grep(b,function(w,x){return q(w,x,f,b)},d)}}return{r:b,
t:a}},dir:function(a,b){var d=[];for(a=a[b];a&&a!=document;){a.nodeType==1&&d.push(a);a=a[b]}return d},nth:function(a,b,d){b=b||1;for(var e=0;a;a=a[d])if(a.nodeType==1&&++e==b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType==1&&a!=b&&d.push(a);return d}});c.event={add:function(a,b,d,e){if(!(a.nodeType==3||a.nodeType==8)){if(c.browser.msie&&a.setInterval)a=window;if(!d.guid)d.guid=this.guid++;if(e!=n){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(i,j){i=j.split(".");j=i[0];d.type=i[1];i=f[j];if(!i){i=f[j]={};if(!c.event.special[j]||c.event.special[j].setup.call(a)===false)if(a.addEventListener)a.addEventListener(j,h,false);else a.attachEvent&&a.attachEvent("on"+j,h)}i[d.guid]=d;c.event.global[j]=
true});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==n||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(h,i){h=i.split(".");i=h[0];if(e[i]){if(d)delete e[i][d.guid];else for(d in e[i])if(!h[1]||e[i][d].type==h[1])delete e[i][d];for(g in e[i])break;if(!g){if(!c.event.special[i]||c.event.special[i].teardown.call(a)===false)if(a.removeEventListener)a.removeEventListener(i,
c.data(a,"handle"),false);else a.detachEvent&&a.detachEvent("on"+i,c.data(a,"handle"));g=null;delete e[i]}}})}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){a=a.slice(0,-1);var f=true}if(d){if(d.nodeType==3||d.nodeType==8)return n;var h,i=c.isFunction(d[a]||null),j=!b[0]||!b[0].preventDefault;if(j){b.unshift({type:a,target:d,preventDefault:function(){},stopPropagation:function(){},
timeStamp:u()});b[0][s]=true}b[0].type=a;if(f)b[0].exclusive=true;if(f=c.data(d,"handle"))h=f.apply(d,b);if((!i||c.nodeName(d,"a")&&a=="click")&&d["on"+a]&&d["on"+a].apply(d,b)===false)h=false;j&&b.shift();if(g&&c.isFunction(g)){b=g.apply(d,h==null?b:b.concat(h));if(b!==n)h=b}if(i&&e!==false&&h!==false&&!(c.nodeName(d,"a")&&a=="click")){this.triggered=true;try{d[a]()}catch(l){}}this.triggered=false}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){d=f[h];if(g||d.type==e){a.handler=d;a.data=d.data;d=d.apply(this,arguments);if(b!==false)b=d;if(d===false){a.preventDefault();a.stopPropagation()}}}return b},fix:function(a){if(a[s]==true)return a;var b=a;a={originalEvent:b};for(var d="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=d.length;e;e--)a[d[e]]=b[d[e]];a[s]=true;a.preventDefault=function(){b.preventDefault&&b.preventDefault();b.returnValue=false};a.stopPropagation=function(){b.stopPropagation&&b.stopPropagation();b.cancelBubble=true};a.timeStamp=a.timeStamp||u();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){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},proxy:function(a,b){b.guid=a.guid=a.guid||b.guid||this.guid++;return b},special:{ready:{setup:function(){D()},teardown:function(){}},
mouseenter:{setup:function(){if(c.browser.msie)return false;c(this).bind("mouseover",c.event.special.mouseenter.handler);return true},teardown:function(){if(c.browser.msie)return false;c(this).unbind("mouseover",c.event.special.mouseenter.handler);return true},handler:function(a){if(H(a,this))return true;a.type="mouseenter";return c.event.handle.apply(this,arguments)}},mouseleave:{setup:function(){if(c.browser.msie)return false;c(this).bind("mouseout",c.event.special.mouseleave.handler);return true},
teardown:function(){if(c.browser.msie)return false;c(this).unbind("mouseout",c.event.special.mouseleave.handler);return true},handler:function(a){if(H(a,this))return true;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(g){c(this).unbind(g,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,true,d)})},triggerHandler:function(a,b,d){return this[0]&&c.event.trigger(a,b,this[0],false,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(e){this.lastToggle=(this.lastToggle||0)%d;e.preventDefault();return b[this.lastToggle++].apply(this,arguments)||false}))},
hover:function(a,b){return this.bind("mouseenter",a).bind("mouseleave",b)},ready:function(a){D();c.isReady?a.call(document,c):c.readyList.push(function(){return a.call(this,c)});return this}});c.extend({isReady:false,readyList:[],ready:function(){if(!c.isReady){c.isReady=true;if(c.readyList){c.each(c.readyList,function(){this.call(document)});c.readyList=null}c(document).triggerHandler("ready")}}});var E=false;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(d){return d?this.bind(b,d):this.trigger(b)}});var H=function(a,b){for(a=a.relatedTarget;a&&a!=b;)try{a=a.parentNode}catch(d){a=b}return a==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";if(b)if(c.isFunction(b)){d=b;b=null}else{b=c.param(b);e="POST"}var f=this;
c.ajax({url:a,type:e,dataType:"html",data:b,complete:function(h,i){if(i=="success"||i=="notmodified")f.html(g?c("<div/>").append(h.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(g):h.responseText);f.each(d,[h.responseText,i,h])}});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){a=c(this).val();return a==null?null:a.constructor==Array?c.map(a,function(d){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});c.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});var R=u();c.extend({get:function(a,b,d,e){if(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){if(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: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(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")}a=c.extend(true,a,c.extend(true,{},c.ajaxSettings,a));var e,g=/=\?(&|$)/g,f,h,i=a.type.toUpperCase();
if(a.data&&a.processData&&typeof a.data!="string")a.data=c.param(a.data);if(a.dataType=="jsonp"){if(i=="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"+R++;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]=n;try{delete window[e]}catch(S){}l&&l.removeChild(k)}}if(a.dataType=="script"&&a.cache==null)a.cache=false;if(a.cache===false&&i=="GET"){g=u();var j=a.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+g+"$2");a.url=j+(j==a.url?(a.url.match(/\?/)?"&":"?")+"_="+g:"")}if(a.data&&i=="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"&&i=="GET"&&g.test(a.url)&&g.exec(a.url)[1]!=location.host){var l=
document.getElementsByTagName("head")[0],k=document.createElement("script");k.src=a.url;if(a.scriptCharset)k.charset=a.scriptCharset;if(!e){var p=false;k.onload=k.onreadystatechange=function(){if(!p&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){p=true;b();d();l.removeChild(k)}}}l.appendChild(k);return n}var o=false,m=window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest;a.username?m.open(i,a.url,a.async,a.username,a.password):m.open(i,a.url,
a.async);try{a.data&&m.setRequestHeader("Content-Type",a.contentType);if(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(q){}if(a.beforeSend&&a.beforeSend(m,a)===false){a.global&&c.active--;m.abort();return false}a.global&&c.event.trigger("ajaxSend",[m,a]);var w=function(A){if(!o&&
m&&(m.readyState==4||A=="timeout")){o=true;if(x){clearInterval(x);x=null}f=A=="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(S){f="parsererror"}if(f=="success"){var C;try{C=m.getResponseHeader("Last-Modified")}catch(U){}if(a.ifModified&&C)c.lastModified[a.url]=C;e||b()}else c.handleError(a,m,f);d();if(a.async)m=null}};if(a.async){var x=setInterval(w,13);a.timeout>
0&&setTimeout(function(){if(m){m.abort();o||w("timeout")}},a.timeout)}try{m.send(a.data)}catch(T){c.handleError(a,m,null,T)}a.async||w();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==n}catch(b){}return false},httpNotModified:function(a,b){try{var d=a.getResponseHeader("Last-Modified");
return a.status==304||d==c.lastModified[b]||c.browser.safari&&a.status==n}catch(e){}return false},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";if(d)a=d(a,b);b=="script"&&c.globalEval(a);if(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 d=c("<"+this.tagName+" />").appendTo("body");this.style.display=d.css("display");if(this.style.display=="none")this.style.display="block";d.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,d){return this.animate({opacity:b},
a,d)},animate:function(a,b,d,e){var g=c.speed(b,d,e);return this[g.queue===false?"each":"queue"](function(){if(this.nodeType!=1)return false;var f=c.extend({},g),h,i=c(this).is(":hidden"),j=this;for(h in a){if(a[h]=="hide"&&i||a[h]=="show"&&!i)return f.complete.call(this);if(h=="height"||h=="width"){f.display=c.css(this,"display");f.overflow=this.style.overflow}}if(f.overflow!=null)this.style.overflow="hidden";f.curAnim=c.extend({},a);c.each(a,function(l,k){var p=new c.fx(j,f,l);if(/toggle|show|hide/.test(k))p[k==
"toggle"?i?"show":"hide":k](a);else{var o=k.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),m=p.cur(true)||0;if(o){k=parseFloat(o[2]);var q=o[3]||"px";if(q!="px"){j.style[l]=(k||1)+q;m=(k||1)/p.cur(true)*m;j.style[l]=m+q}if(o[1])k=(o[1]=="-="?-1:1)*k+m;p.custom(m,k,q)}else p.custom(m,k,"")}});return true})},queue:function(a,b){if(c.isFunction(a)||a&&a.constructor==Array){b=a;a="fx"}if(!a||typeof a=="string"&&!b)return y(this[0],a);return this.each(function(){if(b.constructor==Array)y(this,a,b);else{y(this,
a).push(b);y(this,a).length==1&&b.call(this)}})},stop:function(a,b){var d=c.timers;a&&this.queue([]);this.each(function(){for(var e=d.length-1;e>=0;e--)if(d[e].elem==this){b&&d[e](true);d.splice(e,1)}});b||this.dequeue();return this}});var y=function(a,b,d){if(a){b=b||"fx";var 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=y(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!==false&&c(this).dequeue();c.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,d,e){return d+e*a},swing:function(a,b,d,e){return(-Math.cos(a*Math.PI)/2+0.5)*e+d}},timers:[],timerId:null,fx:function(a,
b,d){this.options=b;this.elem=a;this.prop=d;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>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||
0},custom:function(a,b,d){function e(f){return g.step(f)}this.startTime=u();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 f=c.timers,h=0;h<f.length;h++)f[h]()||f.splice(h--,1);if(!f.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=
true;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=true;this.custom(this.cur(),0)},step:function(a){var b=u();if(a||b>this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();a=this.options.curAnim[this.prop]=true;for(var d in this.options.curAnim)if(this.options.curAnim[d]!==true)a=false;if(a){if(this.options.display!=
null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(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 false}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 true}};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(o){b(c.curCSS(o,"borderLeftWidth",true),c.curCSS(o,"borderTopWidth",
true))}function b(o,m){d+=parseInt(o,10)||0;e+=parseInt(m,10)||0}var d=0,e=0,g=this[0],f;if(g)with(c.browser){var h=g.parentNode,i=g,j=g.offsetParent;f=g.ownerDocument;var l=safari&&parseInt(version)<522&&!/adobeair/i.test(t),k=c.curCSS,p=k(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);j;){b(j.offsetLeft,j.offsetTop);if(mozilla&&!/^t(able|d|h)$/i.test(j.tagName)||safari&&!l)a(j);if(!p&&k(j,"position")=="fixed")p=true;i=/^body$/i.test(j.tagName)?i:j;j=j.offsetParent}for(;h&&h.tagName&&!/^body|html$/i.test(h.tagName);){/^inline|table.*$/i.test(k(h,"display"))||b(-h.scrollLeft,-h.scrollTop);mozilla&&k(h,"overflow")!="visible"&&a(h);h=h.parentNode}if(l&&(p||k(i,"position")=="absolute")||mozilla&&k(i,"position")!="absolute")b(-f.body.offsetLeft,-f.body.offsetTop);p&&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(),d=/^body|html$/i.test(a[0].tagName)?{top:0,left:0}:a.offset();b.top-=r(this,"marginTop");b.left-=r(this,"marginLeft");d.top+=r(a,"borderTopWidth");d.left+=r(a,"borderLeftWidth");a={top:b.top-d.top,left:b.left-d.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(e){if(this[0])return e!=n?this.each(function(){this==window||this==document?window.scrollTo(!a?e:c(window).scrollLeft(),a?e:c(window).scrollTop()):(this[d]=e)}):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()]()+r(this,"padding"+d)+r(this,"padding"+e)};c.fn["outer"+b]=function(g){return this["inner"+b]()+r(this,"border"+d+"Width")+r(this,"border"+e+"Width")+(g?r(this,"margin"+d)+r(this,"margin"+e):0)}})})();

