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

