(function(){var t=window.jQuery,w=window.$,jQuery=window.jQuery=window.$=function(a,b){return new jQuery.fn.init(a,b)},q=/^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/,m=/^.[^:#\[\.]*$/,a;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=q.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)return d.id!=b[3]?jQuery().find(a):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(b){return b==a?jQuery.makeArray(this):this[b]},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(b,e,d){var c=b;if(b.constructor==String)if(e===a)return this[0]&&jQuery[d||"attr"](this[0],b);else{c={};c[b]=e}return this.each(function(a){for(b in c)jQuery.attr(d?this.style:this,b,jQuery.prop(this,c[b],d,a,b))})},css:function(c,b){if((c=="width"||c=="height")&&parseFloat(b)<0)b=a;return this.attr(c,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){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){this.nodeType==1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,true,function(a){this.nodeType==1&&this.insertBefore(a,this.firstChild)})},before:function(){return this.domManip(arguments,false,false,function(a){this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,false,true,function(a){this.parentNode.insertBefore(a,this.nextSibling)})},end:function(){return this.prevObject||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(d){var c=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)}),e=c.find("*").andSelf().each(function(){if(this[b]!=a)this[b]=null});d===true&&this.find("*").andSelf().each(function(d){if(this.nodeType==3)return;var a=jQuery.data(this,"events");for(var b in a)for(var c in a[b])jQuery.event.add(e[d],b,a[b][c],a[b][c].data)});return c},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(b){if(b.constructor==String)if(m.test(b))return this.pushStack(jQuery.multiFilter(b,this,true));else b=jQuery.multiFilter(b,this);var c=b.length&&b[b.length-1]!==a&&!b.nodeType;return this.filter(function(){return c?jQuery.inArray(this,b)<0:this!=b})},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(b){if(b==a){if(this.length){var d=this[0];if(jQuery.nodeName(d,"select")){var e=d.selectedIndex,i=[],h=d.options,f=d.type=="select-one";if(e<0)return null;for(var g=f?e:0,j=f?e+1:h.length;g<j;g++){var c=h[g];if(c.selected){b=jQuery.browser.msie&&!c.attributes.value.specified?c.text:c.value;if(f)return b;i.push(b)}}return i}else return(this[0].value||"").replace(/\r/g,"")}return a}if(b.constructor==Number)b+="";return this.each(function(){if(this.nodeType!=1)return;if(b.constructor==Array&&/radio|checkbox/.test(this.type))this.checked=jQuery.inArray(this.value,b)>=0||jQuery.inArray(this.name,b)>=0;else if(jQuery.nodeName(this,"select")){var a=jQuery.makeArray(b);jQuery("option",this).each(function(){this.selected=jQuery.inArray(this.value,a)>=0||jQuery.inArray(this.text,a)>=0});if(!a.length)this.selectedIndex=-1}else this.value=b})},html:function(b){return b==a?this[0]?this[0].innerHTML:null:this.empty().append(b)},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(e,d){var b=e.split(".");b[1]=b[1]?"."+b[1]:"";if(d===a){var c=this.triggerHandler("getData"+b[1]+"!",[b[0]]);if(c===a&&this.length)c=jQuery.data(this[0],e);return c===a&&b[1]?this.data(b[0]):c}else return this.trigger("setData"+b[1]+"!",[b[0],d]).each(function(){jQuery.data(this,e,d)})},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);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(n)})}};jQuery.fn.init.prototype=jQuery.fn;function n(b,a){if(a.src)jQuery.ajax({url:a.src,async:false,dataType:"script"});else jQuery.globalEval(a.text||a.textContent||a.innerHTML||"");a.parentNode&&a.parentNode.removeChild(a)}function d(){return+new Date}jQuery.extend=jQuery.fn.extend=function(){var b=arguments[0]||{},d=1,h=arguments.length,g=false,f;if(b.constructor==Boolean){g=b;b=arguments[1]||{};d=2}if(typeof b!="object"&&typeof b!="function")b={};if(h==d){b=this;--d}for(;d<h;d++)if((f=arguments[d])!=null)for(var e in f){var i=b[e],c=f[e];if(b===c)continue;if(g&&c&&typeof c=="object"&&!c.nodeType)b[e]=jQuery.extend(g,i||(c.length!=null?[]:{}),c);else if(c!==a)b[e]=c}return b};var b="jQuery"+d(),u=0,k={},r=/z-?index|font-?weight|opacity|zoom|line-?height/i,h=document.defaultView||{};jQuery.extend({noConflict:function(a){window.$=w;if(a)window.jQuery=t;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(d,e,f){d=d==window?k:d;var c=d[b];if(!c)c=d[b]=++u;if(e&&!jQuery.cache[c])jQuery.cache[c]={};if(f!==a)jQuery.cache[c][e]=f;return e?jQuery.cache[c][e]:c},removeData:function(a,c){a=a==window?k:a;var d=a[b];if(c){if(jQuery.cache[d]){delete jQuery.cache[d][c];c="";for(c in jQuery.cache[d])break;!c&&jQuery.removeData(a)}}else{try{delete a[b]}catch(e){a.removeAttribute&&a.removeAttribute(b)}delete jQuery.cache[d]}},each:function(b,e,h){var c,d=0,f=b.length;if(h){if(f==a){for(c in b)if(e.apply(b[c],h)===false)break}else for(;d<f;)if(e.apply(b[d++],h)===false)break}else if(f==a){for(c in b)if(e.call(b[c],c,b[c])===false)break}else for(var g=b[0];d<f&&e.call(g,d,g)!==false;g=b[++d]);return b},prop:function(b,a,d,e,c){if(jQuery.isFunction(a))a=a.call(b,e);return a&&a.constructor==Number&&d=="curCSS"&&!r.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(b,c){if(b.nodeType==1)b.className=c!=a?jQuery.grep(b.className.split(/\s+/),function(a){return!jQuery.className.has(c,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,o){var b,d=e.style;function l(b){if(!jQuery.browser.safari)return false;var a=h.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 q=d.outline;d.outline="0 solid black";d.outline=q}if(a.match(/float/i))a=g;if(!o&&d&&d[a])b=d[a];else if(h.getComputedStyle){if(a.match(/float/i))a="float";a=a.replace(/([A-Z])/g,"-$1").toLowerCase();var k=h.getComputedStyle(e,null);if(k&&!l(e))b=k.getPropertyValue(a);else{for(var i=[],f=[],j=e,c=0;j&&l(j);j=j.parentNode)f.unshift(j);for(;c<f.length;c++)if(l(f[c])){i[c]=f[c].style.display;f[c].style.display="block"}b=a=="display"&&i[f.length-1]!=null?"none":k&&k.getPropertyValue(a)||"";for(c=0;c<i.length;c++)if(i[c]!=null)f[c].style.display=i[c]}if(a=="opacity"&&b=="")b="1"}else if(e.currentStyle){var m=a.replace(/\-(\w)/g,function(b,a){return a.toUpperCase()});b=e.currentStyle[a]||e.currentStyle[m];if(!/^\d+(px)?$/i.test(b)&&/^\d/.test(b)){var p=d.left,n=e.runtimeStyle.left;e.runtimeStyle.left=e.currentStyle.left;d.left=b||0;b=d.pixelLeft+"px";d.left=p;e.runtimeStyle.left=n}}return b},clean:function(d,b){var c=[];b=b||document;if(typeof b.createElement=="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||document;jQuery.each(d,function(j,d){if(!d)return;if(d.constructor==Number)d+="";if(typeof d=="string"){d=d.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 e=jQuery.trim(d).toLowerCase(),f=b.createElement("div"),i=!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=i[1]+d+i[2];while(i[0]--)f=f.lastChild;if(jQuery.browser.msie){for(var h=!e.indexOf("<table")&&e.indexOf("<tbody")<0?f.firstChild&&f.firstChild.childNodes:i[1]=="<table>"&&e.indexOf("<tbody")<0?f.childNodes:[],g=h.length-1;g>=0;--g)jQuery.nodeName(h[g],"tbody")&&!h[g].childNodes.length&&h[g].parentNode.removeChild(h[g]);/^\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]==a||jQuery.nodeName(d,"form")||d.options)c.push(d);else c=jQuery.merge(c,d)});return c},attr:function(b,c,d){if(!b||b.nodeType==3||b.nodeType==8)return a;var e=!jQuery.isXMLDoc(b),f=d!==a,g=jQuery.browser.msie;c=e&&jQuery.props[c]||c;if(b.tagName){var h=/href|src|style/.test(c);if(c=="selected"&&jQuery.browser.safari)b.parentNode.selectedIndex;if(c in b&&e&&!h){if(f){if(c=="type"&&jQuery.nodeName(b,"input")&&b.parentNode)throw"type property can't be changed";b[c]=d}return jQuery.nodeName(b,"form")&&b.getAttributeNode(c)?b.getAttributeNode(c).nodeValue:b[c]}if(g&&e&&c=="style")return jQuery.attr(b.style,"cssText",d);f&&b.setAttribute(c,""+d);var i=g&&e&&h?b.getAttribute(c,2):b.getAttribute(c);return i===null?a:i}if(g&&c=="opacity"){if(f){b.zoom=1;b.filter=(b.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(d)+""=="NaN"?"":"alpha(opacity="+d*100+")")}return b.filter&&b.filter.indexOf("opacity=")>=0?parseFloat(b.filter.match(/opacity=([^)]*)/)[1])/100+"":""}c=c.replace(/-([a-z])/ig,function(b,a){return a.toUpperCase()});if(f)b[c]=d;return b[c]},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){for(var c=[],a=0,e=b.length;a<e;a++)!f!=!d(b[a],a)&&c.push(b[a]);return c},map:function(c,e){for(var a=[],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 g=jQuery.browser.msie?"styleFloat":"cssFloat";jQuery.extend({boxModel:!jQuery.browser.msie||document.compatMode=="CSS1Compat",props:{"for":"htmlFor","class":"className","float":g,cssFloat:g,styleFloat:g,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,"");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)});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(d,b){var c=b.toLowerCase();jQuery.fn[c]=function(d){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])):d==a?this.length?jQuery.css(this[0],c):null:this.css(c,d.constructor==String?d:d+"px")}});function c(a,b){return a[0]&&parseInt(jQuery.curCSS(a[0],b,true),10)||0}var e=jQuery.browser.safari&&parseInt(jQuery.browser.version)<417?"(?:[\\w*_-]|\\\\.)":"(?:[\\wĨ-￿*_-]|\\\\.)",o=new RegExp("^>\\s*("+e+"+)"),s=new RegExp("^("+e+"+)(#)("+e+"+)"),p=new RegExp("^([#.]?)("+e+"*)");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("^([:.#]*)("+e+"+)")],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=[],v,i;while(b&&v!=b){var d=[];v=b;b=jQuery.trim(b);var r=false,m=o,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)j.nodeType==1&&(i=="*"||j.nodeName.toUpperCase()==i)&&d.push(j);c=d;b=b.replace(m,"");if(b.indexOf(" ")==0)continue;r=true}else{m=/^([>+~])\s*(\w*)/i;if((a=m.exec(b))!=null){d=[];var u={};i=a[2].toUpperCase();a=a[1];for(var q=0,z=c.length;q<z;q++)for(var h=a=="~"||a=="+"?c[q].nextSibling:c[q].firstChild;h;h=h.nextSibling)if(h.nodeType==1){var y=jQuery.data(h);if(a=="~"&&u[y])break;if(!i||h.nodeName.toUpperCase()==i){if(a=="~")u[y]=true;d.push(h)}if(a=="+")break}c=d;b=jQuery.trim(b.replace(m,""));r=true}}if(b&&!r)if(!b.indexOf(",")){f==c[0]&&c.shift();k=jQuery.merge(k,c);d=c=[f];b=" "+b.substr(1,b.length)}else{var n=s,a=n.exec(b);if(a)a=[0,a[2],a[3],a[1]];else{n=p;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 t=a[1]=="#"&&a[3]?a[3]:a[1]!=""||a[0]==""?"*":a[2];if(t=="*"&&c[e].nodeName.toLowerCase()=="object")t="param";d=jQuery.merge(d,c[e].getElementsByTagName(t))}if(a[1]==".")d=jQuery.classFilter(d,a[2]);if(a[1]=="#"){for(var w=[],e=0;d[e];e++)if(d[e].getAttribute("id")==a[2]){w=[d[e]];break}d=w}c=d}b=b.replace(n,"")}if(b){var x=jQuery.filter(b,d);c=d=x.r;b=jQuery.trim(x.t)}}if(b)c=[];c&&f==c[0]&&c.shift();k=jQuery.merge(k,c);return k},classFilter:function(c,b,e){b=" "+b+" ";for(var f=[],a=0;c[a];a++){var d=(" "+c[a].className+" ").indexOf(b)>=0;(!e&&d||e&&!d)&&f.push(c[a])}return f},filter:function(g,b,k){var h;while(g&&g!=h){h=g;for(var v=jQuery.parse,a,d=0;v[d];d++){a=v[d].exec(g);if(a){g=g.substring(a[0].length);a[2]=a[2].replace(/\\/g,"");break}}if(!a)break;if(a[1]==":"&&a[2]=="not")b=m.test(a[3])?jQuery.filter(a[3],b,true).r:jQuery(b).not(a[3]);else if(a[1]==".")b=jQuery.classFilter(b,a[2],k);else if(a[1]=="["){for(var l=[],e=a[3],d=0,u=b.length;d<u;d++){var q=b[d],c=q[jQuery.props[a[2]]||a[2]];if(c==null||/href|src|selected/.test(a[2]))c=jQuery.attr(q,a[2])||"";(e==""&&!!c||e=="="&&c==a[5]||e=="!="&&c!=a[5]||e=="^="&&c&&!c.indexOf(a[5])||e=="$="&&c.substr(c.length-a[5].length)==a[5]||(e=="*="||e=="~=")&&c.indexOf(a[5])>=0)^k&&l.push(q)}b=l}else if(a[1]==":"&&a[2]=="nth-child"){for(var s={},l=[],o=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(a[3]=="even"&&"2n"||a[3]=="odd"&&"2n+1"||!/\D/.test(a[3])&&"0n+"+a[3]||a[3]),n=o[1]+(o[2]||1)-0,h=o[3]-0,d=0,u=b.length;d<u;d++){var i=b[d],r=i.parentNode,t=jQuery.data(r);if(!s[t]){for(var w=1,j=r.firstChild;j;j=j.nextSibling)if(j.nodeType==1)j.nodeIndex=w++;s[t]=true}var p=false;if(n==0){if(i.nodeIndex==h)p=true}else if((i.nodeIndex-h)%n==0&&(i.nodeIndex-h)/n>=0)p=true;p^k&&l.push(i)}b=l}else{var f=jQuery.expr[a[1]];if(typeof f=="object")f=f[a[2]];if(typeof f=="string")f=eval("false||function(a,i){return "+f+";}");b=jQuery.grep(b,function(c,d){return f(c,d,a,b)},k)}}return{r:b,t:g}},dir:function(d,c){var b=[],a=d[c];while(a&&a!=document){a.nodeType==1&&b.push(a);a=a[c]}return b},nth:function(a,b,c){b=b||1;for(var d=0;a;a=a[c])if(a.nodeType==1&&++d==b)break;return a},sibling:function(a,c){for(var b=[];a;a=a.nextSibling)a.nodeType==1&&a!=c&&b.push(a);return b}});jQuery.event={add:function(b,h,c,f){if(b.nodeType==3||b.nodeType==8)return;if(jQuery.browser.msie&&b.setInterval)b=window;if(!c.guid)c.guid=this.guid++;if(f!=a){var g=c;c=this.proxy(g,function(){return g.apply(this,arguments)});c.data=f}var e=jQuery.data(b,"events")||jQuery.data(b,"events",{}),d=jQuery.data(b,"handle")||jQuery.data(b,"handle",function(){if(typeof jQuery!="undefined"&&!jQuery.event.triggered)return jQuery.event.handle.apply(arguments.callee.elem,arguments)});d.elem=b;jQuery.each(h.split(/\s+/),function(h,a){var g=a.split(".");a=g[0];c.type=g[1];var f=e[a];if(!f){f=e[a]={};if(!jQuery.event.special[a]||jQuery.event.special[a].setup.call(b)===false)if(b.addEventListener)b.addEventListener(a,d,false);else b.attachEvent&&b.attachEvent("on"+a,d)}f[c.guid]=c;jQuery.event.global[a]=true});b=null},guid:1,global:{},remove:function(b,d,e){if(b.nodeType==3||b.nodeType==8)return;var c=jQuery.data(b,"events"),f,i;if(c){if(d==a||typeof d=="string"&&d.charAt(0)==".")for(var h in c)this.remove(b,h+(d||""));else{if(d.type){e=d.handler;d=d.type}jQuery.each(d.split(/\s+/),function(g,a){var d=a.split(".");a=d[0];if(c[a]){if(e)delete c[a][e.guid];else for(e in c[a])if(!d[1]||c[a][e].type==d[1])delete c[a][e];for(f in c[a])break;if(!f){if(!jQuery.event.special[a]||jQuery.event.special[a].teardown.call(b)===false)if(b.removeEventListener)b.removeEventListener(a,jQuery.data(b,"handle"),false);else b.detachEvent&&b.detachEvent("on"+a,jQuery.data(b,"handle"));f=null;delete c[a]}}})}for(f in c)break;if(!f){var g=jQuery.data(b,"handle");if(g)g.elem=null;jQuery.removeData(b,"events");jQuery.removeData(b,"handle")}}},trigger:function(f,c,e,n,h){c=jQuery.makeArray(c);if(f.indexOf("!")>=0){f=f.slice(0,-1);var m=true}if(!e)this.global[f]&&jQuery("*").add([window,document]).trigger(f,c);else{if(e.nodeType==3||e.nodeType==8)return a;var g,i,l=jQuery.isFunction(e[f]||null),k=!c[0]||!c[0].preventDefault;if(k){c.unshift({type:f,target:e,preventDefault:function(){},stopPropagation:function(){},timeStamp:d()});c[0][b]=true}c[0].type=f;if(m)c[0].exclusive=true;var j=jQuery.data(e,"handle");if(j)g=j.apply(e,c);if((!l||jQuery.nodeName(e,"a")&&f=="click")&&e["on"+f]&&e["on"+f].apply(e,c)===false)g=false;k&&c.shift();if(h&&jQuery.isFunction(h)){i=h.apply(e,g==null?c:c.concat(g));if(i!==a)g=i}if(l&&n!==false&&g!==false&&!(jQuery.nodeName(e,"a")&&f=="click")){this.triggered=true;try{e[f]()}catch(o){}}this.triggered=false}return g},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[b]==true)return a;var c=a;a={originalEvent:c};for(var h="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(" "),g=h.length;g;g--)a[h[g]]=c[h[g]];a[b]=true;a.preventDefault=function(){c.preventDefault&&c.preventDefault();c.returnValue=false};a.stopPropagation=function(){c.stopPropagation&&c.stopPropagation();c.cancelBubble=true};a.timeStamp=a.timeStamp||d();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 e=document.documentElement,f=document.body;a.pageX=a.clientX+(e&&e.scrollLeft||f&&f.scrollLeft||0)-(e.clientLeft||0);a.pageY=a.clientY+(e&&e.scrollTop||f&&f.scrollTop||0)-(e.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(){l();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(i(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(i(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){l();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 j=false;function l(){if(j)return;j=true;document.addEventListener&&!jQuery.browser.opera&&document.addEventListener("DOMContentLoaded",jQuery.ready,false);jQuery.browser.msie&&window==top&&(function(){if(jQuery.isReady)return;try{document.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}jQuery.ready()})();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 b;(function(){if(jQuery.isReady)return;if(document.readyState!="loaded"&&document.readyState!="complete"){setTimeout(arguments.callee,0);return}if(b===a)b=jQuery("style, link[rel=stylesheet]").length;if(document.styleSheets.length!=b){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 i=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){(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 v=d();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(b){b=jQuery.extend(true,b,jQuery.extend(true,{},jQuery.ajaxSettings,b));var e,h=/=\?(&|$)/g,g,o,i=b.type.toUpperCase();if(b.data&&b.processData&&typeof b.data!="string")b.data=jQuery.param(b.data);if(b.dataType=="jsonp"){if(i=="GET"){if(!b.url.match(h))b.url+=(b.url.match(/\?/)?"&":"?")+(b.jsonp||"callback")+"=?"}else if(!b.data||!b.data.match(h))b.data=(b.data?b.data+"&":"")+(b.jsonp||"callback")+"=?";b.dataType="json"}if(b.dataType=="json"&&(b.data&&b.data.match(h)||b.url.match(h))){e="jsonp"+v++;if(b.data)b.data=(b.data+"").replace(h,"="+e+"$1");b.url=b.url.replace(h,"="+e+"$1");b.dataType="script";window[e]=function(b){o=b;n();m();window[e]=a;try{delete window[e]}catch(c){}j&&j.removeChild(f)}}if(b.dataType=="script"&&b.cache==null)b.cache=false;if(b.cache===false&&i=="GET"){var t=d(),s=b.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+t+"$2");b.url=s+(s==b.url?(b.url.match(/\?/)?"&":"?")+"_="+t:"")}if(b.data&&i=="GET"){b.url+=(b.url.match(/\?/)?"&":"?")+b.data;b.data=null}b.global&&!jQuery.active++&&jQuery.event.trigger("ajaxStart");var q=/^(?:\w+:)?\/\/([^\/?#]+)/;if(b.dataType=="script"&&i=="GET"&&q.test(b.url)&&q.exec(b.url)[1]!=location.host){var j=document.getElementsByTagName("head")[0],f=document.createElement("script");f.src=b.url;if(b.scriptCharset)f.charset=b.scriptCharset;if(!e){var r=false;f.onload=f.onreadystatechange=function(){if(!r&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){r=true;n();m();j.removeChild(f)}}}j.appendChild(f);return a}var l=false,c=window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest;if(b.username)c.open(i,b.url,b.async,b.username,b.password);else c.open(i,b.url,b.async);try{b.data&&c.setRequestHeader("Content-Type",b.contentType);b.ifModified&&c.setRequestHeader("If-Modified-Since",jQuery.lastModified[b.url]||"Thu, 01 Jan 1970 00:00:00 GMT");c.setRequestHeader("X-Requested-With","XMLHttpRequest");c.setRequestHeader("Accept",b.dataType&&b.accepts[b.dataType]?b.accepts[b.dataType]+", */*":b.accepts._default)}catch(u){}if(b.beforeSend&&b.beforeSend(c,b)===false){b.global&&jQuery.active--;c.abort();return false}b.global&&jQuery.event.trigger("ajaxSend",[c,b]);var k=function(d){if(!l&&c&&(c.readyState==4||d=="timeout")){l=true;if(p){clearInterval(p);p=null}g=d=="timeout"&&"timeout"||!jQuery.httpSuccess(c)&&"error"||b.ifModified&&jQuery.httpNotModified(c,b.url)&&"notmodified"||"success";if(g=="success")try{o=jQuery.httpData(c,b.dataType,b.dataFilter)}catch(f){g="parsererror"}if(g=="success"){var a;try{a=c.getResponseHeader("Last-Modified")}catch(f){}if(b.ifModified&&a)jQuery.lastModified[b.url]=a;!e&&n()}else jQuery.handleError(b,c,g);m();if(b.async)c=null}};if(b.async){var p=setInterval(k,13);b.timeout>0&&setTimeout(function(){if(c){c.abort();!l&&k("timeout")}},b.timeout)}try{c.send(b.data)}catch(u){jQuery.handleError(b,c,null,u)}!b.async&&k();function n(){b.success&&b.success(o,g);b.global&&jQuery.event.trigger("ajaxSuccess",[c,b])}function m(){b.complete&&b.complete(c,g);b.global&&jQuery.event.trigger("ajaxComplete",[c,b]);b.global&&!--jQuery.active&&jQuery.event.trigger("ajaxStop")}return c},handleError:function(a,b,d,c){a.error&&a.error(b,d,c);a.global&&jQuery.event.trigger("ajaxError",[b,a,c])},active:0,httpSuccess:function(b){try{return!b.status&&location.protocol=="file:"||b.status>=200&&b.status<300||b.status==304||b.status==1223||jQuery.browser.safari&&b.status==a}catch(c){}return false},httpNotModified:function(b,d){try{var c=b.getResponseHeader("Last-Modified");return b.status==304||c==jQuery.lastModified[d]||jQuery.browser.safari&&b.status==a}catch(e){}return false},httpData:function(c,b,d){var f=c.getResponseHeader("content-type"),e=b=="xml"||!b&&f&&f.indexOf("xml")>=0,a=e?c.responseXML:c.responseText;if(e&&a.documentElement.tagName=="parsererror")throw"parsererror";if(d)a=d(a,b);b=="script"&&jQuery.globalEval(a);if(b=="json")a=eval("("+a+")");return a},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"}return!a||typeof a=="string"&&!b?f(this[0],a):this.each(function(){if(b.constructor==Array)f(this,a,b);else{f(this,a).push(b);f(this,a).length==1&&b.call(this)}})},stop:function(c,b){var a=jQuery.timers;c&&this.queue([]);this.each(function(){for(var c=a.length-1;c>=0;c--)if(a[c].elem==this){b&&a[c](true);a.splice(c,1)}});!b&&this.dequeue();return this}});var f=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=f(this,a);b.shift();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(){a.queue!==false&&jQuery(this).dequeue();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(){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,f,e){this.startTime=d();this.start=b;this.end=f;this.unit=e||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(){for(var a=jQuery.timers,b=0;b<a.length;b++)!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(f){var e=d();if(f||e>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 g in this.options.curAnim)if(this.options.curAnim[g]!==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])}a&&this.options.complete.call(this.elem);return false}else{var b=e-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);(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)){!/^inline|table.*$/i.test(css(parent,"display"))&&add(-parent.scrollLeft,-parent.scrollTop);mozilla&&css(parent,"overflow")!="visible"&&border(parent);parent=parent.parentNode}(safari2&&(fixed||css(offsetChild,"position")=="absolute")||mozilla&&css(offsetChild,"position")!="absolute")&&add(-doc.body.offsetLeft,-doc.body.offsetTop);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 f=0,g=0,e;if(this[0]){var a=this.offsetParent(),d=this.offset(),b=/^body|html$/i.test(a[0].tagName)?{top:0,left:0}:a.offset();d.top-=c(this,"marginTop");d.left-=c(this,"marginLeft");b.top+=c(a,"borderTopWidth");b.left+=c(a,"borderLeftWidth");e={top:d.top-b.top,left:d.left-b.left}}return e},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(c,d){var b="scroll"+d;jQuery.fn[b]=function(d){return!this[0]?void 0:d!=a?this.each(function(){this==window||this==document?window.scrollTo(!c?d:jQuery(window).scrollLeft(),c?d:jQuery(window).scrollTop()):this[b]=d}):this[0]==window||this[0]==document?self[c?"pageYOffset":"pageXOffset"]||jQuery.boxModel&&document.documentElement[b]||document.body[b]:this[0][b]}});jQuery.each(["Height","Width"],function(e,a){var d=e?"Left":"Top",b=e?"Right":"Bottom";jQuery.fn["inner"+a]=function(){return this[a.toLowerCase()]()+c(this,"padding"+d)+c(this,"padding"+b)};jQuery.fn["outer"+a]=function(e){return this["inner"+a]()+c(this,"border"+d+"Width")+c(this,"border"+b+"Width")+(e?c(this,"margin"+d)+c(this,"margin"+b):0)}})})()
