/*! * jQuery JavaScript Library v1.4.3pre * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. * * Date: Tue Sep 14 09:57:26 2010 -0400 */ (function(A,y){function M(){return false}function R(){return true}function da(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function Ba(a){var b,d,f=[],i=[],j,o,m,q,u,t,x,z;o=c.data(this,"events");if(!(a.liveFired===this||!o||!o.live||a.button&&a.type==="click")){if(a.namespace)z=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)");a.liveFired=this;var v=o.live.slice(0);for(q=0;qd)break;a.currentTarget=j.elem;a.data=j.handleObj.data;a.handleObj=j.handleObj;ret=j.handleObj.origHandler.apply(j.elem, arguments);if(ret===false||a.isPropagationStopped()){d=j.level;if(ret===false)b=false}}return b}}function N(a,b){return(a&&a!=="*"?a+".":"")+b.replace(/\./g,"`").replace(/ /g,"&")}function ea(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function fa(a,b,d){if(c.isFunction(b))return c.grep(a,function(i,j){return!!b.call(i,j,i)===d});else if(b.nodeType)return c.grep(a,function(i){return i===b===d});else if(typeof b==="string"){var f=c.grep(a,function(i){return i.nodeType===1});if(Ca.test(b))return c.filter(b, f,!d);else b=c.filter(b,f)}return c.grep(a,function(i){return c.inArray(i,b)>=0===d})}function Da(a){return c.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function ga(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var f=c.data(a[d++]),i=c.data(this,f);if(f=f&&f.events){delete i.handle;i.events={};for(var j in f)for(var o in f[j])c.event.add(this,j,f[j][o],f[j][o].data)}}})}function Ea(a,b){b.src?c.ajax({url:b.src, async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function ha(a,b,d){var f=b==="width"?a.offsetWidth:a.offsetHeight;if(d==="border")return f;c.each(b==="width"?Fa:Ga,function(){d||(f-=parseFloat(c.curCSS(a,"padding"+this,true))||0);if(d==="margin")f+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else f-=parseFloat(c.curCSS(a,"border"+this+"Width",true))||0});return f}function T(a,b,d,f){if(c.isArray(b))c.each(b,function(i, j){d||/\[\]$/.test(a)?f(a,j):T(a+"["+(typeof j==="object"||c.isArray(j)?i:"")+"]",j,d,f)});else!d&&b!=null&&typeof b==="object"?c.each(b,function(i,j){T(a+"["+i+"]",j,d,f)}):f(a,b)}function J(a,b){var d={};c.each(ia.concat.apply([],ia.slice(0,b)),function(){d[this]=a});return d}function U(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var c=function(){function a(){if(!b.isReady){try{document.documentElement.doScroll("left")}catch(g){setTimeout(a,1);return}b.ready()}} var b=function(g,l){return new b.fn.init(g,l)},d=A.jQuery,f=A.$,i,j=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w\-]+)$/,o=/\S/,m=/^\s+/,q=/\s+$/,u=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,t=navigator.userAgent,x=false,z=[],v,D=Object.prototype.toString,E=Object.prototype.hasOwnProperty,H=Array.prototype.push,h=Array.prototype.slice,k=String.prototype.trim,n=Array.prototype.indexOf;b.fn=b.prototype={init:function(g,l){var p,r;if(!g)return this;if(g.nodeType){this.context=this[0]=g;this.length=1;return this}if(g==="body"&& !l){this.context=document;this[0]=document.body;this.selector="body";this.length=1;return this}if(typeof g==="string")if((p=j.exec(g))&&(p[1]||!l))if(p[1]){r=l?l.ownerDocument||l:document;if(g=u.exec(g))if(b.isPlainObject(l)){g=[document.createElement(g[1])];b.fn.attr.call(g,l,true)}else g=[r.createElement(g[1])];else{g=b.buildFragment([p[1]],[r]);g=(g.cacheable?g.fragment.cloneNode(true):g.fragment).childNodes}return b.merge(this,g)}else{if((l=document.getElementById(p[2]))&&l.parentNode){if(l.id!== p[2])return i.find(g);this.length=1;this[0]=l}this.context=document;this.selector=g;return this}else if(!l&&/^\w+$/.test(g)){this.selector=g;this.context=document;g=document.getElementsByTagName(g);return b.merge(this,g)}else return!l||l.jquery?(l||i).find(g):b(l).find(g);else if(b.isFunction(g))return i.ready(g);if(g.selector!==y){this.selector=g.selector;this.context=g.context}return b.makeArray(g,this)},selector:"",jquery:"1.4.3pre",length:0,size:function(){return this.length},toArray:function(){return h.call(this, 0)},get:function(g){return g==null?this.toArray():g<0?this.slice(g)[0]:this[g]},pushStack:function(g,l,p){var r=b();b.isArray(g)?H.apply(r,g):b.merge(r,g);r.prevObject=this;r.context=this.context;if(l==="find")r.selector=this.selector+(this.selector?" ":"")+p;else if(l)r.selector=this.selector+"."+l+"("+p+")";return r},each:function(g,l){return b.each(this,g,l)},ready:function(g){b.bindReady();if(b.isReady)g.call(document,b);else z&&z.push(g);return this},eq:function(g){return g===-1?this.slice(g): this.slice(g,+g+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(h.apply(this,arguments),"slice",h.call(arguments).join(","))},map:function(g){return this.pushStack(b.map(this,function(l,p){return g.call(l,p,l)}))},end:function(){return this.prevObject||b(null)},push:H,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var g=arguments[0]||{},l=1,p=arguments.length,r=false,s,w,C,B;if(typeof g==="boolean"){r= g;g=arguments[1]||{};l=2}if(typeof g!=="object"&&!b.isFunction(g))g={};if(p===l){g=this;--l}for(;l
a";var i=d.getElementsByTagName("*"),j=d.getElementsByTagName("a")[0]; if(!(!i||!i.length||!j)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(j.getAttribute("style")),hrefNormalized:j.getAttribute("href")==="/a",opacity:/^0.55$/.test(j.style.opacity),cssFloat:!!j.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:document.createElement("select").appendChild(document.createElement("option")).selected,checkClone:false, scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(document.createTextNode("window."+f+"=1;"))}catch(o){}a.insertBefore(b,a.firstChild);if(A[f]){c.support.scriptEval=true;delete A[f]}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function m(){c.support.noCloneEvent=false;d.detachEvent("onclick",m)});d.cloneNode(true).fireEvent("onclick")}d=document.createElement("div");d.innerHTML=""; a=document.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var m=document.createElement("div");m.style.width=m.style.paddingLeft="1px";document.body.appendChild(m);c.boxModel=c.support.boxModel=m.offsetWidth===2;document.body.removeChild(m).style.display="none"});a=function(m){var q=document.createElement("div");m="on"+m;var u=m in q;if(!u){q.setAttribute(m,"return;");u=typeof q[m]==="function"}return u};c.support.submitBubbles= a("submit");c.support.changeBubbles=a("change");a=b=d=i=j=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var ja={};c.extend({cache:{},uuid:0,expando:"jQuery"+c.now(),noData:{embed:true,object:true,applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==A?ja:a;var f=a[c.expando],i=c.cache, j=a.nodeType,o;if(!(!f&&typeof b==="string"&&d===y)){if(j)f||(a[c.expando]=f=++c.uuid);else{i=a;f=c.expando}if(typeof b==="object")if(j)i[f]=c.extend(true,{},b);else{o=c.extend(true,{},b);i[f]=function(){return o}}else if(!i[f])if(j)i[f]={};else{o={};i[f]=function(){return o}}a=j?i[f]:i[f]();if(d!==y)a[b]=d;return typeof b==="string"?a[b]:a}}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==A?ja:a;var d=a.nodeType,f=a[c.expando],i=c.cache;if(f&&!d)f=f();var j=i[f]; if(b){if(j){delete j[b];c.isEmptyObject(j)&&c.removeData(a)}}else{if(c.support.deleteExpando||!d)delete a[c.expando];else a.removeAttribute&&a.removeAttribute(c.expando);d&&delete i[f]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===y){var f=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(f===y&&this.length)f=c.data(this[0],a); return f===y&&d[1]?this.data(d[0]):f}else return this.each(function(){var i=c(this),j=[d[0],b];i.triggerHandler("setData"+d[1]+"!",j);c.data(this,a,b);i.triggerHandler("changeData"+d[1]+"!",j)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var f=c.data(a,b);if(!d)return f||[];if(!f||c.isArray(d))f=c.data(a,b,c.makeArray(d));else f.push(d);return f}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),f=d.shift(); if(f==="inprogress")f=d.shift();if(f){b==="fx"&&d.unshift("inprogress");f.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===y)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d, b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var ka=/[\n\t]/g,V=/\s+/,Ha=/\r/g,Ia=/href|src|style/,Ja=/(button|input)/i,Ka=/(button|input|object|select|textarea)/i,La=/^(a|area)$/i,la=/radio|checkbox/;c.fn.extend({attr:function(a,b){return c.access(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(u){var t=c(this);t.addClass(a.call(this, u,t.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(V),d=0,f=this.length;d-1)return true;return false},val:function(a){if(a===y){var b=this[0];if(b){if(c.nodeName(b,"option")){var d=b.attributes.value;return!d||d.specified? b.value:b.text}if(c.nodeName(b,"select")){var f=b.selectedIndex;d=[];var i=b.options;b=b.type==="select-one";if(f<0)return null;var j=b?f:0;for(f=b?f+1:i.length;j=0;else if(c.nodeName(this,"select")){var x=c.makeArray(t);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),x)>=0});if(!x.length)this.selectedIndex=-1}else this.value=t}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8)return y;if(f&&b in c.attrFn)return c(a)[b](d);f=a.nodeType!== 1||!c.isXMLDoc(a);var i=d!==y;b=f&&c.props[b]||b;if(a.nodeType===1){var j=Ia.test(b);if((b in a||a[b]!==y)&&f&&!j){if(i){b==="type"&&Ja.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:Ka.test(a.nodeName)||La.test(a.nodeName)&&a.href?0:y;return a[b]}if(!c.support.style&&f&&b==="style"){if(i)a.style.cssText= ""+d;return a.style.cssText}i&&a.setAttribute(b,""+d);if(!a.attributes[b]&&!a.hasAttribute(b))return y;a=!c.support.hrefNormalized&&f&&j?a.getAttribute(b,2):a.getAttribute(b);return a===null?y:a}return c.style(a,b,d)}});var S=/\.(.*)$/,Ma=function(a){return a.replace(/[^\w\s\.\|`]/g,function(b){return"\\"+b})};c.event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==A&&!a.frameElement)a=A;if(d===false)d=M;var i,j;if(d.handler){i=d;d=i.handler}if(!d.guid)d.guid=c.guid++; if(j=c.data(a)){var o=j.events=j.events||{},m=j.handle;if(!m)j.handle=m=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(m.elem,arguments):y};m.elem=a;b=b.split(" ");for(var q,u=0,t;q=b[u++];){j=i?c.extend({},i):{handler:d,data:f};if(q.indexOf(".")>-1){t=q.split(".");q=t.shift();j.namespace=t.slice(0).sort().join(".")}else{t=[];j.namespace=""}j.type=q;if(!j.guid)j.guid=d.guid;var x=o[q],z=c.event.special[q]||{};if(!x){x=o[q]=[];if(!z.setup||z.setup.call(a,f,t,m)=== false)if(a.addEventListener)a.addEventListener(q,m,false);else a.attachEvent&&a.attachEvent("on"+q,m)}if(z.add){z.add.call(a,j);if(!j.handler.guid)j.handler.guid=d.guid}x.push(j);c.event.global[q]=true}a=null}}},global:{},remove:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if(d===false)d=M;var i,j,o=0,m,q,u,t,x,z,v=c.data(a),D=v&&v.events;if(v&&D){if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(i in D)c.event.remove(a,i+b)}else{for(b=b.split(" ");i= b[o++];){t=i;m=i.indexOf(".")<0;q=[];if(!m){q=i.split(".");i=q.shift();u=new RegExp("(^|\\.)"+c.map(q.slice(0).sort(),Ma).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(x=D[i])if(d){t=c.event.special[i]||{};for(j=f||0;j=0){a.type=i=i.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[i]&&c.each(c.cache,function(){this.events&&this.events[i]&&c.event.trigger(a, b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return y;a.result=y;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(f=c.data(d,"handle"))&&f.apply(d,b);f=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+i]&&d["on"+i].apply(d,b)===false)a.result=false}catch(j){}if(!a.isPropagationStopped()&&f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){f=a.target;var o,m=i.replace(/\..*$/,""),q=c.nodeName(f,"a")&&m==="click", u=c.event.special[m]||{};if((!u._default||u._default.call(d,a)===false)&&!q&&!(f&&f.nodeName&&c.noData[f.nodeName.toLowerCase()])){try{if(f[m]){if(o=f["on"+m])f["on"+m]=null;c.event.triggered=true;f[m]()}}catch(t){}if(o)f["on"+m]=o;c.event.triggered=false}}},handle:function(a){var b,d,f;d=[];var i,j=c.makeArray(arguments);a=j[0]=c.event.fix(a||A.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b){f=a.type.split(".");a.type=f.shift();d=f.slice(0).sort();f=new RegExp("(^|\\.)"+ d.join("\\.(?:.*\\.)?")+"(\\.|$)")}a.namespace=a.namespace||d.join(".");i=c.data(this,"events");d=(i||{})[a.type];if(i&&d){d=d.slice(0);i=0;for(var o=d.length;i-1?c.map(a.options,function(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},Y=function(a,b){var d=a.target,f,i;if(!(!W.test(d.nodeName)||d.readOnly)){f=c.data(d,"_change_data");i=oa(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",i);if(!(f===y||i===f))if(f!=null||i){a.type="change";return c.event.trigger(a, b,d)}}};c.event.special.change={filters:{focusout:Y,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return Y.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return Y.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",oa(a))}},setup:function(){if(this.type==="file")return false; for(var a in X)c.event.add(this,a+".specialChange",X[a]);return W.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return W.test(this.nodeName)}};X=c.event.special.change.filters}document.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(f){f=c.event.fix(f);f.type=b;return c.event.handle.call(this,f)}c.event.special[b]={setup:function(){this.addEventListener(a,d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});c.each(["bind", "one"],function(a,b){c.fn[b]=function(d,f,i){if(typeof d==="object"){for(var j in d)this[b](j,f,d[j],i);return this}if(c.isFunction(f)||f===false){i=f;f=y}var o=b==="one"?c.proxy(i,function(q){c(this).unbind(q,o);return i.apply(this,arguments)}):i;if(d==="unload"&&b!=="one")this.one(d,f,i);else{j=0;for(var m=this.length;j0?this.bind(b,d,f):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});A.attachEvent&&!A.addEventListener&&A.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(h,k,n,g,l,p){l=0;for(var r=g.length;l0){w=s;break}}s=s[h]}g[l]=w}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, f=0,i=Object.prototype.toString,j=false,o=true;[0,0].sort(function(){o=false;return 0});var m=function(h,k,n,g){n=n||[];var l=k=k||document;if(k.nodeType!==1&&k.nodeType!==9)return[];if(!h||typeof h!=="string")return n;var p=[],r,s,w,C,B=true,K=m.isXML(k),I=h,F;do{d.exec("");if(r=d.exec(I)){I=r[3];p.push(r[1]);if(r[2]){C=r[3];break}}}while(r);if(p.length>1&&u.exec(h))if(p.length===2&&q.relative[p[0]])s=H(p[0]+p[1],k);else for(s=q.relative[p[0]]?[k]:m(p.shift(),k);p.length;){h=p.shift();if(q.relative[h])h+= p.shift();s=H(h,s)}else{if(!g&&p.length>1&&k.nodeType===9&&!K&&q.match.ID.test(p[0])&&!q.match.ID.test(p[p.length-1])){r=m.find(p.shift(),k,K);k=r.expr?m.filter(r.expr,r.set)[0]:r.set[0]}if(k){r=g?{expr:p.pop(),set:z(g)}:m.find(p.pop(),p.length===1&&(p[0]==="~"||p[0]==="+")&&k.parentNode?k.parentNode:k,K);s=r.expr?m.filter(r.expr,r.set):r.set;if(p.length>0)w=z(s);else B=false;for(;p.length;){r=F=p.pop();if(q.relative[F])r=p.pop();else F="";if(r==null)r=k;q.relative[F](w,r,K)}}else w=[]}w||(w=s);w|| m.error(F||h);if(i.call(w)==="[object Array]")if(B)if(k&&k.nodeType===1)for(h=0;w[h]!=null;h++){if(w[h]&&(w[h]===true||w[h].nodeType===1&&m.contains(k,w[h])))n.push(s[h])}else for(h=0;w[h]!=null;h++)w[h]&&w[h].nodeType===1&&n.push(s[h]);else n.push.apply(n,w);else z(w,n);if(C){m(C,l,n,g);m.uniqueSort(n)}return n};m.uniqueSort=function(h){if(D){j=o;h.sort(D);if(j)for(var k=1;k":function(h,k){var n=typeof k==="string",g,l=0,p=h.length;if(n&&!/\W/.test(k))for(k=k.toLowerCase();l=0))n||g.push(r); else if(n)k[p]=false;return false},ID:function(h){return h[1].replace(/\\/g,"")},TAG:function(h){return h[1].toLowerCase()},CHILD:function(h){if(h[1]==="nth"){var k=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(h[2]==="even"&&"2n"||h[2]==="odd"&&"2n+1"||!/\D/.test(h[2])&&"0n+"+h[2]||h[2]);h[2]=k[1]+(k[2]||1)-0;h[3]=k[3]-0}h[0]=f++;return h},ATTR:function(h,k,n,g,l,p){k=h[1].replace(/\\/g,"");if(!p&&q.attrMap[k])h[1]=q.attrMap[k];if(h[2]==="~=")h[4]=" "+h[4]+" ";return h},PSEUDO:function(h,k,n,g,l){if(h[1]==="not")if((d.exec(h[3])|| "").length>1||/^\w/.test(h[3]))h[3]=m(h[3],null,null,k);else{h=m.filter(h[3],k,n,true^l);n||g.push.apply(g,h);return false}else if(q.match.POS.test(h[0])||q.match.CHILD.test(h[0]))return true;return h},POS:function(h){h.unshift(true);return h}},filters:{enabled:function(h){return h.disabled===false&&h.type!=="hidden"},disabled:function(h){return h.disabled===true},checked:function(h){return h.checked===true},selected:function(h){return h.selected===true},parent:function(h){return!!h.firstChild},empty:function(h){return!h.firstChild}, has:function(h,k,n){return!!m(n[3],h).length},header:function(h){return/h\d/i.test(h.nodeName)},text:function(h){return"text"===h.type},radio:function(h){return"radio"===h.type},checkbox:function(h){return"checkbox"===h.type},file:function(h){return"file"===h.type},password:function(h){return"password"===h.type},submit:function(h){return"submit"===h.type},image:function(h){return"image"===h.type},reset:function(h){return"reset"===h.type},button:function(h){return"button"===h.type||h.nodeName.toLowerCase()=== "button"},input:function(h){return/input|select|textarea|button/i.test(h.nodeName)}},setFilters:{first:function(h,k){return k===0},last:function(h,k,n,g){return k===g.length-1},even:function(h,k){return k%2===0},odd:function(h,k){return k%2===1},lt:function(h,k,n){return kn[3]-0},nth:function(h,k,n){return n[3]-0===k},eq:function(h,k,n){return n[3]-0===k}},filter:{PSEUDO:function(h,k,n,g){var l=k[1],p=q.filters[l];if(p)return p(h,n,k,g);else if(l==="contains")return(h.textContent|| h.innerText||m.getText([h])||"").indexOf(k[3])>=0;else if(l==="not"){k=k[3];n=0;for(g=k.length;n=0}},ID:function(h,k){return h.nodeType===1&&h.getAttribute("id")===k},TAG:function(h,k){return k==="*"&&h.nodeType===1||h.nodeName.toLowerCase()===k},CLASS:function(h,k){return(" "+(h.className||h.getAttribute("class"))+" ").indexOf(k)>-1},ATTR:function(h,k){var n=k[1];h=q.attrHandle[n]?q.attrHandle[n](h):h[n]!= null?h[n]:h.getAttribute(n);n=h+"";var g=k[2];k=k[4];return h==null?g==="!=":g==="="?n===k:g==="*="?n.indexOf(k)>=0:g==="~="?(" "+n+" ").indexOf(k)>=0:!k?n&&h!==false:g==="!="?n!==k:g==="^="?n.indexOf(k)===0:g==="$="?n.substr(n.length-k.length)===k:g==="|="?n===k||n.substr(0,k.length+1)===k+"-":false},POS:function(h,k,n,g){var l=q.setFilters[k[2]];if(l)return l(h,n,k,g)}}},u=q.match.POS,t=function(h,k){return"\\"+(k-0+1)};for(var x in q.match){q.match[x]=new RegExp(q.match[x].source+/(?![^\[]*\])(?![^\(]*\))/.source); q.leftMatch[x]=new RegExp(/(^(?:.|\r|\n)*?)/.source+q.match[x].source.replace(/\\(\d+)/g,t))}var z=function(h,k){h=Array.prototype.slice.call(h,0);if(k){k.push.apply(k,h);return k}return h};try{Array.prototype.slice.call(document.documentElement.childNodes,0)}catch(v){z=function(h,k){k=k||[];var n=0;if(i.call(h)==="[object Array]")Array.prototype.push.apply(k,h);else if(typeof h.length==="number")for(var g=h.length;n";var n=document.documentElement;n.insertBefore(h,n.firstChild);if(document.getElementById(k)){q.find.ID= function(g,l,p){if(typeof l.getElementById!=="undefined"&&!p)return(l=l.getElementById(g[1]))?l.id===g[1]||typeof l.getAttributeNode!=="undefined"&&l.getAttributeNode("id").nodeValue===g[1]?[l]:y:[]};q.filter.ID=function(g,l){var p=typeof g.getAttributeNode!=="undefined"&&g.getAttributeNode("id");return g.nodeType===1&&p&&p.nodeValue===l}}n.removeChild(h);n=h=null})();(function(){var h=document.createElement("div");h.appendChild(document.createComment(""));if(h.getElementsByTagName("*").length>0)q.find.TAG= function(k,n){n=n.getElementsByTagName(k[1]);if(k[1]==="*"){k=[];for(var g=0;n[g];g++)n[g].nodeType===1&&k.push(n[g]);n=k}return n};h.innerHTML="";if(h.firstChild&&typeof h.firstChild.getAttribute!=="undefined"&&h.firstChild.getAttribute("href")!=="#")q.attrHandle.href=function(k){return k.getAttribute("href",2)};h=null})();document.querySelectorAll&&function(){var h=m,k=document.createElement("div");k.innerHTML="

";if(!(k.querySelectorAll&&k.querySelectorAll(".TEST").length=== 0)){m=function(g,l,p,r){l=l||document;if(!r&&l.nodeType===9&&!m.isXML(l))try{return z(l.querySelectorAll(g),p)}catch(s){}return h(g,l,p,r)};for(var n in h)m[n]=h[n];k=null}}();(function(){var h=document.createElement("div");h.innerHTML="
";if(!(!h.getElementsByClassName||h.getElementsByClassName("e").length===0)){h.lastChild.className="e";if(h.getElementsByClassName("e").length!==1){q.order.splice(1,0,"CLASS");q.find.CLASS=function(k,n,g){if(typeof n.getElementsByClassName!== "undefined"&&!g)return n.getElementsByClassName(k[1])};h=null}}})();m.contains=document.compareDocumentPosition?function(h,k){return!!(h.compareDocumentPosition(k)&16)}:function(h,k){return h!==k&&(h.contains?h.contains(k):true)};m.isXML=function(h){return(h=(h?h.ownerDocument||h:0).documentElement)?h.nodeName!=="HTML":false};var H=function(h,k){var n=[],g="",l;for(k=k.nodeType?[k]:k;l=q.match.PSEUDO.exec(h);){g+=l[0];h=h.replace(q.match.PSEUDO,"")}h=q.relative[h]?h+"*":h;l=0;for(var p=k.length;l< p;l++)m(h,k[l],n);return m.filter(g,n)};c.find=m;c.expr=m.selectors;c.expr[":"]=c.expr.filters;c.unique=m.uniqueSort;c.text=m.getText;c.isXMLDoc=m.isXML;c.contains=m.contains})();var Na=/Until$/,Oa=/^(?:parents|prevUntil|prevAll)/,Pa=/,/,Ca=/^.[^:#\[\.,]*$/,Qa=Array.prototype.slice;c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,i=this.length;f0)for(var j=d;j0},closest:function(a,b){if(c.isArray(a)){var d=[],f=this[0],i,j={},o,m=1;if(f&&a.length){i=0;for(var q=a.length;i-1:c(f).is(i))d.push({selector:o,elem:f,level:m})}f=f.parentNode;m++}}return d}var u=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(t,x){for(;x&&x.ownerDocument&&x!==b;){if(u?u.index(x)>-1:c(x).is(a))return x;x=x.parentNode}return null})},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a=== "string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(ea(a[0])||ea(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a, "nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var i=c.map(this,b,d);Na.test(a)|| (f=d);if(f&&typeof f==="string")i=c.filter(f,i);i=this.length>1?c.unique(i):i;if((this.length>1||Pa.test(f))&&Oa.test(a))i=i.reverse();return this.pushStack(i,a,Qa.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return c.find.matches(a,b)},dir:function(a,b,d){var f=[];for(a=a[b];a&&a.nodeType!==9&&(d===y||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a}, sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var ra=/ jQuery\d+="(?:\d+|null)"/g,P=/^\s+/,sa=/(<([\w:]+)[^>]*?)\/>/g,Ra=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,ta=/<([\w:]+)/,Sa=/"},G={option:[1,""],legend:[1,"
","
"], thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]};G.optgroup=G.option;G.tbody=G.tfoot=G.colgroup=G.caption=G.thead;G.th=G.td;if(!c.support.htmlSerialize)G._default=[1,"div
","
"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))}); if(typeof a!=="object"&&a!==y)return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this, b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a, this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments); a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,f;(f=this[d])!=null;d++)if(!a||c.filter(a,[f]).length){if(!b&&f.nodeType===1){c.cleanData(f.getElementsByTagName("*"));c.cleanData([f])}f.parentNode&&f.parentNode.removeChild(f)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&& !c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(ra,"").replace(/\=([^="'>\s]+\/)>/g,'="$1">').replace(P,"")],f)[0]}else return this.cloneNode(true)});if(a===true){ga(this,b);ga(this.find("*"),b.find("*"))}return b},html:function(a){if(a===y)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ra,""):null;else if(typeof a==="string"&&!ua.test(a)&&(c.support.leadingWhitespace|| !P.test(a))&&!G[(ta.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(sa,wa);try{for(var b=0,d=this.length;b0||f.cacheable||this.length>1?m.cloneNode(true):m)}o.length&&c.each(o, Ea)}return this}});c.buildFragment=function(a,b,d){var f,i,j;b=b&&b[0]?b[0].ownerDocument||b[0]:document;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===document&&!ua.test(a[0])&&(c.support.checkClone||!va.test(a[0]))){i=true;if(j=c.fragments[a[0]])if(j!==1)f=j}if(!f){f=b.createDocumentFragment();c.clean(a,b,f,d)}if(i)c.fragments[a[0]]=j?f:1;return{fragment:f,cacheable:i}};c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"}, function(a,b){c.fn[a]=function(d){var f=[];d=c(d);var i=this.length===1&&this[0].parentNode;if(i&&i.nodeType===11&&i.childNodes.length===1&&d.length===1){d[b](this[0]);return this}else{i=0;for(var j=d.length;i0?this.clone(true):this).get();c(d[i])[b](o);f=f.concat(o)}return this.pushStack(f,a,d.selector)}}});c.extend({clean:function(a,b,d,f){b=b||document;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||document;for(var i=[],j=0,o;(o=a[j])!=null;j++){if(typeof o=== "number")o+="";if(o){if(typeof o==="string"&&!Ta.test(o))o=b.createTextNode(o);else if(typeof o==="string"){o=o.replace(sa,wa);var m=(ta.exec(o)||["",""])[1].toLowerCase(),q=G[m]||G._default,u=q[0],t=b.createElement("div");for(t.innerHTML=q[1]+o+q[2];u--;)t=t.lastChild;if(!c.support.tbody){u=Sa.test(o);m=m==="table"&&!u?t.firstChild&&t.firstChild.childNodes:q[1]===""&&!u?t.childNodes:[];for(q=m.length-1;q>=0;--q)c.nodeName(m[q],"tbody")&&!m[q].childNodes.length&&m[q].parentNode.removeChild(m[q])}!c.support.leadingWhitespace&& P.test(o)&&t.insertBefore(b.createTextNode(P.exec(o)[0]),t.firstChild);o=t.childNodes}if(o.nodeType)i.push(o);else i=c.merge(i,o)}}if(d)for(j=0;i[j];j++)if(f&&c.nodeName(i[j],"script")&&(!i[j].type||i[j].type.toLowerCase()==="text/javascript"))f.push(i[j].parentNode?i[j].parentNode.removeChild(i[j]):i[j]);else{i[j].nodeType===1&&i.splice.apply(i,[j+1,0].concat(c.makeArray(i[j].getElementsByTagName("script"))));d.appendChild(i[j])}return i},cleanData:function(a){for(var b,d,f=c.cache,i=c.event.special, j=c.support.deleteExpando,o=0,m;(m=a[o])!=null;o++)if(!(m.nodeName&&c.noData[m.nodeName.toLowerCase()]))if(d=m[c.expando]){if((b=f[d])&&b.events)for(var q in b.events)i[q]?c.event.remove(m,q):c.removeEvent(m,q,b.handle);if(j)delete m[c.expando];else m.removeAttribute&&m.removeAttribute(c.expando);delete f[d]}}});var Ua=/z-?index|font-?weight|opacity|zoom|line-?height/i,xa=/alpha\([^)]*\)/,ya=/opacity=([^)]*)/,Z=/float/i,$=/-([a-z])/ig,Va=/([A-Z])/g,Wa=/^-?\d+(?:px)?$/i,Xa=/^-?\d/,Ya={position:"absolute", visibility:"hidden",display:"block"},Fa=["Left","Right"],Ga=["Top","Bottom"],Za=document.defaultView&&document.defaultView.getComputedStyle,za=c.support.cssFloat?"cssFloat":"styleFloat",aa=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return c.access(this,a,b,true,function(d,f,i){if(i===y)return c.curCSS(d,f);if(typeof i==="number"&&!Ua.test(f))i+="px";c.style(d,f,i)})};c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return y;if((b==="width"||b==="height")&&parseFloat(d)< 0)d=y;var f=a.style||a,i=d!==y;if(!c.support.opacity&&b==="opacity"&&f.filter){if(i){f.zoom=1;b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+")";a=f.filter||c.curCSS(a,"filter")||"";f.filter=xa.test(a)?a.replace(xa,b):b}return f.filter&&f.filter.indexOf("opacity=")>=0?parseFloat(ya.exec(f.filter)[1])/100+"":""}if(Z.test(b))b=za;b=b.replace($,aa);if(i)f[b]=d;return f[b]},css:function(a,b,d,f){if(b==="width"||b==="height"){if(a.offsetWidth!==0)val=ha(a,b,f);else c.swap(a,Ya,function(){val=ha(a, b,f)});return Math.max(0,Math.round(val))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var f,i=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentStyle){f=ya.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return f===""?"1":f}if(Z.test(b))b=za;if(!d&&i&&i[b])f=i[b];else if(Za){if(Z.test(b))b="float";b=b.replace(Va,"-$1").toLowerCase();i=a.ownerDocument.defaultView;if(!i)return null;if(a=i.getComputedStyle(a,null))f=a.getPropertyValue(b);if(b==="opacity"&&f==="")f="1"}else if(a.currentStyle){d= b.replace($,aa);f=a.currentStyle[b]||a.currentStyle[d];if(!Wa.test(f)&&Xa.test(f)){b=i.left;var j=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;i.left=d==="fontSize"?"1em":f||0;f=i.pixelLeft+"px";i.left=b;a.runtimeStyle.left=j}}return f},swap:function(a,b,d){var f={};for(var i in b){f[i]=a.style[i];a.style[i]=b[i]}d.call(a);for(i in b)a.style[i]=f[i]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetWidth,d=a.offsetHeight,f=a.nodeName.toLowerCase()==="tr"; return b===0&&d===0&&!f?true:b>0&&d>0&&!f?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var $a=c.now(),ab=//gi,bb=/select|textarea/i,cb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,L=/\=\?(&|$)/,ba=/\?/,db=/(\?|&)_=.*?(&|$)/,eb=/^(\w+:)?\/\/([^\/?#]+)/,fb=/%20/g,Aa=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!=="string"&&Aa)return Aa.apply(this,arguments); else if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var i=a.slice(f,a.length);a=a.slice(0,f)}f="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);f="POST"}var j=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(o,m){if(m==="success"||m==="notmodified")j.html(i?c("
").append(o.responseText.replace(ab,"")).find(i):o.responseText);d&&j.each(d,[o.responseText,m,o])}});return this},serialize:function(){return c.param(this.serializeArray())}, serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bb.test(this.nodeName)||cb.test(this.type))}).map(function(a,b){a=c(this).val();return a==null?null:c.isArray(a)?c.map(a,function(d){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.bind(b, d)}});c.extend({get:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:f})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded", processData:true,async:true,xhr:A.XMLHttpRequest&&(A.location.protocol!=="file:"||!A.ActiveXObject)?function(){return new A.XMLHttpRequest}:function(){try{return new A.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},ajax:function(a){var b=c.extend(true,{},c.ajaxSettings,a),d,f,i,j=b.type.toUpperCase();b.context=a&&a.context|| b;if(b.data&&b.processData&&typeof b.data!=="string")b.data=c.param(b.data,b.traditional);if(b.dataType==="jsonp"){if(j==="GET")L.test(b.url)||(b.url+=(ba.test(b.url)?"&":"?")+(b.jsonp||"callback")+"=?");else if(!b.data||!L.test(b.data))b.data=(b.data?b.data+"&":"")+(b.jsonp||"callback")+"=?";b.dataType="json"}if(b.dataType==="json"&&(b.data&&L.test(b.data)||L.test(b.url))){d=b.jsonpCallback||"jsonp"+$a++;if(b.data)b.data=(b.data+"").replace(L,"="+d+"$1");b.url=b.url.replace(L,"="+d+"$1");b.dataType= "script";var o=A[d];A[d]=function(n){i=n;c.ajax.handleSuccess(b,v,f,i);c.ajax.handleComplete(b,v,f,i);if(c.isFunction(o))o(n);else{A[d]=y;try{delete A[d]}catch(g){}}u&&u.removeChild(t)}}if(b.dataType==="script"&&b.cache===null)b.cache=false;if(b.cache===false&&j==="GET"){var m=c.now(),q=b.url.replace(db,"$1_="+m+"$2");b.url=q+(q===b.url?(ba.test(b.url)?"&":"?")+"_="+m:"")}if(b.data&&j==="GET")b.url+=(ba.test(b.url)?"&":"?")+b.data;b.global&&c.ajax.active++===0&&c.event.trigger("ajaxStart");m=(m=eb.exec(b.url))&& (m[1]&&m[1]!==location.protocol||m[2]!==location.host);if(b.dataType==="script"&&j==="GET"&&m){var u=document.getElementsByTagName("head")[0]||document.documentElement,t=document.createElement("script");t.src=b.url;if(b.scriptCharset)t.charset=b.scriptCharset;if(!d){var x=false;t.onload=t.onreadystatechange=function(){if(!x&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){x=true;c.ajax.handleSuccess(b,v,f,i);c.ajax.handleComplete(b,v,f,i);t.onload=t.onreadystatechange= null;u&&t.parentNode&&u.removeChild(t)}}}u.insertBefore(t,u.firstChild);return y}var z=false,v=b.xhr();if(v){b.username?v.open(j,b.url,b.async,b.username,b.password):v.open(j,b.url,b.async);try{if(b.data||a&&a.contentType)v.setRequestHeader("Content-Type",b.contentType);if(b.ifModified){c.lastModified[b.url]&&v.setRequestHeader("If-Modified-Since",c.lastModified[b.url]);c.ajax.etag[b.url]&&v.setRequestHeader("If-None-Match",c.ajax.etag[b.url])}m||v.setRequestHeader("X-Requested-With","XMLHttpRequest"); v.setRequestHeader("Accept",b.dataType&&b.accepts[b.dataType]?b.accepts[b.dataType]+", */*":b.accepts._default)}catch(D){}if(b.beforeSend&&b.beforeSend.call(b.context,v,b)===false){b.global&&c.ajax.active--===1&&c.event.trigger("ajaxStop");v.abort();return false}b.global&&c.ajax.triggerGlobal(b,"ajaxSend",[v,b]);var E=v.onreadystatechange=function(n){if(!v||v.readyState===0||n==="abort"){z||c.ajax.handleComplete(b,v,f,i);z=true;if(v)v.onreadystatechange=c.noop}else if(!z&&v&&(v.readyState===4||n=== "timeout")){z=true;v.onreadystatechange=c.noop;f=n==="timeout"?"timeout":!c.ajax.httpSuccess(v)?"error":b.ifModified&&c.ajax.httpNotModified(v,b.url)?"notmodified":"success";var g;if(f==="success")try{i=c.ajax.httpData(v,b.dataType,b)}catch(l){f="parsererror";g=l}if(f==="success"||f==="notmodified")d||c.ajax.handleSuccess(b,v,f,i);else c.ajax.handleError(b,v,f,g);d||c.ajax.handleComplete(b,v,f,i);n==="timeout"&&v.abort();if(b.async)v=null}};try{var H=v.abort;v.abort=function(){v&&H.call(v);E("abort")}}catch(h){}b.async&& b.timeout>0&&setTimeout(function(){v&&!z&&E("timeout")},b.timeout);try{v.send(j!=="GET"&&b.data||null)}catch(k){c.ajax.handleError(b,v,null,e);c.ajax.handleComplete(b,v,f,i)}b.async||E();return v}},param:function(a,b){var d=[],f=function(j,o){o=c.isFunction(o)?o():o;d[d.length]=encodeURIComponent(j)+"="+encodeURIComponent(o)};if(b===y)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,function(){f(this.name,this.value)});else for(var i in a)T(i,a[i],b,f);return d.join("&").replace(fb, "+")}});c.extend(c.ajax,{active:0,lastModified:{},etag:{},handleError:function(a,b,d,f){a.error&&a.error.call(a.context,b,d,f);a.global&&c.ajax.triggerGlobal(a,"ajaxError",[b,a,f])},handleSuccess:function(a,b,d,f){a.success&&a.success.call(a.context,f,d,b);a.global&&c.ajax.triggerGlobal(a,"ajaxSuccess",[b,a])},handleComplete:function(a,b,d){a.complete&&a.complete.call(a.context,b,d);a.global&&c.ajax.triggerGlobal(a,"ajaxComplete",[b,a]);a.global&&c.ajax.active--===1&&c.event.trigger("ajaxStop")}, triggerGlobal:function(a,b,d){(a.context&&a.context.url==null?c(a.context):c.event).trigger(b,d)},httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.ajax.lastModified[b]=d;if(f)c.ajax.etag[b]=f;return a.status===304||a.status===0},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")|| "",i=b==="xml"||!b&&f.indexOf("xml")>=0;a=i?a.responseXML:a.responseText;i&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b==="json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a}});c.support.ajax=!!c.ajaxSettings.xhr();c.extend(c.ajax);var ca={},gb=/toggle|show|hide/,hb=/^([+\-]=)?([\d+.\-]+)(.*)$/,Q,ia=[["height","marginTop","marginBottom", "paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a||a===0)return this.animate(J("show",3),a,b);else{a=0;for(b=this.length;a").appendTo("body");f=i.css("display");if(f==="none")f="block";i.remove();ca[d]=f}c.data(this[a],"olddisplay", f)}}a=0;for(b=this.length;a=0;f--)if(d[f].elem===this){b&&d[f](true);d.splice(f,1)}});b||this.dequeue();return this}});c.each({slideDown:J("show",1),slideUp:J("hide",1),slideToggle:J("toggle",1),fadeIn:{opacity:"show"}, fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,f){return this.animate(b,d,f)}});c.extend({speed:function(a,b,d){var f=a&&typeof a==="object"?a:{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};f.duration=c.fx.off?0:typeof f.duration==="number"?f.duration:c.fx.speeds[f.duration]||c.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==false&&c(this).dequeue();c.isFunction(f.old)&&f.old.call(this)};return f},easing:{linear:function(a,b, d,f){return d+f*a},swing:function(a,b,d,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]== null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,b,d){function f(j){return i.step(j)}this.startTime=c.now();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;var i=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!Q)Q=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop=== "width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=c.now(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var f in this.options.curAnim)if(this.options.curAnim[f]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow= this.options.overflow;a=c.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(c.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var i in this.options.curAnim)c.style(this.elem,i,this.options.orig[i]);this.options.complete.call(this.elem)}return false}else{i=b-this.startTime;this.state=i/this.options.duration;a=this.options.easing||(c.easing.swing?"swing":"linear");this.pos= c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,i,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b
";a.insertBefore(b,a.firstChild); d=b.firstChild;f=d.firstChild;i=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==5;this.doesAddBorderForTableAndCells=i.offsetTop===5;f.style.position="fixed";f.style.top="20px";this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15;f.style.position=f.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==j;a.removeChild(b);c.offset.initialize=c.noop}, bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){var f=c.curCSS(a,"position");if(f==="static")a.style.position="relative";var i=c(a),j=i.offset(),o=c.curCSS(a,"top",true),m=c.curCSS(a,"left",true),q=f==="absolute"&&c.inArray("auto",[o,m])>-1;f={};var u={};if(q)u=i.position();o=q?u.top: parseInt(o,10)||0;m=q?u.left:parseInt(m,10)||0;if(c.isFunction(b))b=b.call(a,d,j);if(b.top!=null)f.top=b.top-j.top+o;if(b.left!=null)f.left=b.left-j.left+m;"using"in b?b.using.call(a,f):i.css(f)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),f=/^body|html$/i.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.curCSS(a,"marginTop",true))||0;d.left-=parseFloat(c.curCSS(a,"marginLeft",true))||0;f.top+=parseFloat(c.curCSS(b[0], "borderTopWidth",true))||0;f.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",true))||0;return{top:d.top-f.top,left:d.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||document.body;a&&!/^body|html$/i.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(f){var i=this[0],j;if(!i)return null;if(f!==y)return this.each(function(){if(j=U(this))j.scrollTo(!a?f:c(j).scrollLeft(), a?f:c(j).scrollTop());else this[d]=f});else return(j=U(i))?"pageXOffset"in j?j[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&j.document.documentElement[d]||j.document.body[d]:i[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],d,false,"padding"):null};c.fn["outer"+b]=function(f){return this[0]?c.css(this[0],d,false,f?"margin":"border"):null};c.fn[d]=function(f){var i=this[0];if(!i)return f==null?null:this;if(c.isFunction(f))return this.each(function(j){var o= c(this);o[d](f.call(this,j,o[d]()))});return"scrollTo"in i&&i.document?i.document.compatMode==="CSS1Compat"&&i.document.documentElement["client"+b]||i.document.body["client"+b]:i.nodeType===9?Math.max(i.documentElement["client"+b],i.body["scroll"+b],i.documentElement["scroll"+b],i.body["offset"+b],i.documentElement["offset"+b]):f===y?c.css(i,d):this.css(d,typeof f==="string"?f:f+"px")}})})(window);