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