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