﻿(function(d,c){function t(b){return a.isWindow(b)?b:b.nodeType===9?b.defaultView||b.parentWindow:!1}function M(b){if(!x[b]){var d=a("<"+b+">").appendTo("body"),c=d.css("display");d.remove();if(c==="none"||c==="")c="block";x[b]=c}return x[b]}function g(c,d){var b={};a.each(K.concat.apply([],K.slice(0,d)),function(){b[this]=c});return b}function pb(i,g){i.dataFilter&&(g=i.dataFilter(g,i.dataType));var m=i.dataTypes,j=i.converters,k,o=m.length,l,b=m[0],h,n,d,e,f;for(k=1;k<o;k++){h=b,b=m[k];if(b==="*")b=h;else if(h!=="*"&&h!==b){n=h+" "+b,d=j[n]||j["* "+b];if(!d){f=c;for(e in j){l=e.split(" ");if(l[0]===h||l[0]==="*"){f=j[l[1]+" "+b];if(f){e=j[e],e===!0?(d=f):f===!0&&(d=e);break}}}}!d&&!f&&a.error("No conversion from "+n.replace(" "," to ")),d!==!0&&(g=d?d(g):f(e(g)))}}return g}function ob(f,j,e){var h=f.contents,b=f.dataTypes,k=f.responseFields,g,a,d,i;for(a in k)a in e&&(j[k[a]]=e[a]);while(b[0]==="*")b.shift(),g===c&&(g=j.getResponseHeader("content-type"));if(g)for(a in h)if(h[a]&&h[a].test(g)){b.unshift(a);break}if(b[0] in e)d=b[0];else{for(a in e){if(!b[0]||f.converters[a+" "+b[0]]){d=a;break}i||(i=a)}d=d||i}if(d){d!==b[0]&&b.unshift(d);return e[d]}}function v(c,b,e,d){a.isArray(b)&&b.length?a.each(b,function(f,b){e||ub.test(c)?d(c,b):v(c+"["+(typeof b==="object"||a.isArray(b)?f:"")+"]",b,e,d)}):e||b==null||typeof b!=="object"?d(c,b):a.isArray(b)||a.isEmptyObject(b)?d(c,""):a.each(b,function(a,b){v(c+"["+a+"]",b,e,d)})}function l(e,d,g,h,f,b){f=f||d.dataTypes[0],b=b||{},b[f]=!0;var i=e[f],j=0,m=i?i.length:0,k=e===u,a;for(;j<m&&(k||!a);j++)a=i[j](d,g,h),typeof a==="string"&&(b[a]?(a=c):(d.dataTypes.unshift(a),a=l(e,d,g,h,a,b)));(k||!a)&&!b["*"]&&(a=l(e,d,g,h,"*",b));return a}function F(b){return function(d,e){typeof d!=="string"&&(e=d,d="*");if(a.isFunction(e)){var h=d.toLowerCase().split(O),f=0,j=h.length,c,i,g;for(;f<j;f++)c=h[f],g=/^\+/.test(c),g&&(c=c.substr(1)||"*"),i=b[c]=b[c]||[],i[g?"unshift":"push"](e)}}}function H(b,e,d){var f=e==="width"?mb:nb,c=e==="width"?b.offsetWidth:b.offsetHeight;if(d==="border")return c;a.each(f,function(){d||(c-=parseFloat(a.css(b,"padding"+this))||0),d==="margin"?(c+=parseFloat(a.css(b,"margin"+this))||0):(c-=parseFloat(a.css(b,"border"+this+"Width"))||0)});return c}function bc(c,b){b.src?a.ajax({url:b.src,async:!1,dataType:"script"}):a.globalEval(b.text||b.textContent||b.innerHTML||""),b.parentNode&&b.parentNode.removeChild(b)}function P(c,b){if(b.nodeType===1){var d=b.nodeName.toLowerCase();b.clearAttributes(),b.mergeAttributes(c);if(d==="object")b.outerHTML=c.outerHTML;else if(d!=="input"||c.type!=="checkbox"&&c.type!=="radio"){if(d==="option")b.selected=c.defaultSelected;else if(d==="input"||d==="textarea")b.defaultValue=c.defaultValue}else c.checked&&(b.defaultChecked=b.checked=c.checked),b.value!==c.value&&(b.value=c.value);b.removeAttribute(a.expando)}}function eb(h,g){if(g.nodeType===1&&a.hasData(h)){var i=a.expando,b=a.data(h),d=a.data(g,b);if(b=b[i]){var c=b.events;d=d[i]=a.extend({},b);if(c){delete d.handle,d.events={};for(var e in c)for(var f=0,j=c[e].length;f<j;f++)a.event.add(g,e,c[e][f],c[e][f].data)}}}}function ac(b){return a.nodeName(b,"table")?b.getElementsByTagName("tbody")[0]||b.appendChild(b.ownerDocument.createElement("tbody")):b}function X(c,b,d){if(a.isFunction(b))return a.grep(c,function(a,c){var e=!!b.call(a,c,a);return e===d});if(b.nodeType)return a.grep(c,function(a){return a===b===d});if(typeof b==="string"){var e=a.grep(c,function(a){return a.nodeType===1});if(Lb.test(b))return a.filter(b,e,!d);b=a.filter(b,e)}return a.grep(c,function(c){return a.inArray(c,b)>=0===d})}function W(a){return !a||!a.parentNode||a.parentNode.nodeType===11}function q(a,b){return (a&&a!=="*"?a+".":"")+b.replace(Ub,"`").replace(Vb,"&")}function Gb(b){var s,m,j,c,d,n,e,g,k,u,l,o,p,q=[],t=[],h=a._data(this,f);typeof h==="function"&&(h=h.events);if(b.liveFired!==this&&h&&h.live&&!b.target.disabled&&(!b.button||b.type!=="click")){b.namespace&&(o=new RegExp("(^|\\.)"+b.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),b.liveFired=this;var i=h.live.slice(0);for(e=0;e<i.length;e++)d=i[e],d.origType.replace(r,"")===b.type?t.push(d.selector):i.splice(e--,1);c=a(b.target).closest(t,b.currentTarget);for(g=0,k=c.length;g<k;g++){l=c[g];for(e=0;e<i.length;e++){d=i[e];if(l.selector===d.selector&&(!o||o.test(d.namespace))){n=l.elem,j=null;if(d.preType==="mouseenter"||d.preType==="mouseleave")b.type=d.preType,j=a(b.relatedTarget).closest(d.selector)[0];(!j||j!==n)&&q.push({elem:n,handleObj:d,level:l.level})}}}for(g=0,k=q.length;g<k;g++){c=q[g];if(m&&c.level>m)break;b.currentTarget=c.elem,b.data=c.handleObj.data,b.handleObj=c.handleObj,p=c.handleObj.origHandler.apply(c.elem,arguments);if(p===!1||b.isPropagationStopped()){m=c.level,p===!1&&(s=!1);if(b.isImmediatePropagationStopped())break}}return s}}function R(c,d,b){b[0].type=c;return a.event.handle.apply(d,b)}function s(){return !0}function h(){return !1}function T(d,e,b){if(b===c&&d.nodeType===1){b=d.getAttribute("data-"+e);if(typeof b==="string"){try{b=b==="true"?!0:b==="false"?!1:b==="null"?null:a.isNaN(b)?Fb.test(b)?a.parseJSON(b):b:parseFloat(b)}catch(f){}a.data(d,e,b)}else b=c}return b}var b=d.document,a=function(){function p(){if(!a.isReady){try{b.documentElement.doScroll("left")}catch(c){setTimeout(p,1);return}a.ready()}}var a=function(b,c){return new a.fn.init(b,c,m)},v=d.jQuery,w=d.$,m,x=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,q=/\S/,r=/^\s+/,s=/\s+$/,y=/\d/,z=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,A=/^[\],:{}\s]*$/,B=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,C=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,D=/(?:^|:|,)(?:\s*\[)+/g,E=/(webkit)[ \/]([\w.]+)/,F=/(opera)(?:.*version)?[ \/]([\w.]+)/,G=/(msie) ([\w.]+)/,H=/(mozilla)(?:.*? rv:([\w.]+))?/,I=navigator.userAgent,g,t=!1,j,k="then done fail isResolved isRejected promise".split(" "),e,u=Object.prototype.toString,h=Object.prototype.hasOwnProperty,i=Array.prototype.push,f=Array.prototype.slice,l=String.prototype.trim,n=Array.prototype.indexOf,o={};a.fn=a.prototype={constructor:a,init:function(d,e,i){var g,h,f,j;if(!d)return this;if(d.nodeType){this.context=this[0]=d,this.length=1;return this}if(d==="body"&&!e&&b.body){this.context=b,this[0]=b.body,this.selector="body",this.length=1;return this}if(typeof d==="string"){g=x.exec(d);if(!g||!g[1]&&e)return !e||e.jquery?(e||i).find(d):this.constructor(e).find(d);if(g[1]){e=e instanceof a?e[0]:e,j=e?e.ownerDocument||e:b,f=z.exec(d),f?a.isPlainObject(e)?(d=[b.createElement(f[1])],a.fn.attr.call(d,e,!0)):(d=[j.createElement(f[1])]):(f=a.buildFragment([g[1]],[j]),d=(f.cacheable?a.clone(f.fragment):f.fragment).childNodes);return a.merge(this,d)}h=b.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return i.find(d);this.length=1,this[0]=h}this.context=b,this.selector=d;return this}if(a.isFunction(d))return i.ready(d);d.selector!==c&&(this.selector=d.selector,this.context=d.context);return a.makeArray(d,this)},selector:"",jquery:"1.5",length:0,size:function(){return this.length},toArray:function(){return f.call(this,0)},"get":function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(c,d,e){var b=this.constructor();a.isArray(c)?i.apply(b,c):a.merge(b,c),b.prevObject=this,b.context=this.context,d==="find"?(b.selector=this.selector+(this.selector?" ":"")+e):d&&(b.selector=this.selector+"."+d+"("+e+")");return b},each:function(b,c){return a.each(this,b,c)},ready:function(b){a.bindReady(),j.done(b);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(f.apply(this,arguments),"slice",f.call(arguments).join(","))},map:function(b){return this.pushStack(a.map(this,function(a,c){return b.call(a,c,a)}))},end:function(){return this.prevObject||this.constructor(null)},push:i,sort:[].sort,splice:[].splice},a.fn.init.prototype=a.fn,a.extend=a.fn.extend=function(){var h,g,e,d,i,j,b=arguments[0]||{},f=1,l=arguments.length,k=!1;typeof b==="boolean"&&(k=b,b=arguments[1]||{},f=2),typeof b!=="object"&&!a.isFunction(b)&&(b={}),l===f&&(b=this,--f);for(;f<l;f++)if((h=arguments[f])!=null)for(g in h){e=b[g],d=h[g];if(b===d)continue;k&&d&&(a.isPlainObject(d)||(i=a.isArray(d)))?(i?(i=!1,j=e&&a.isArray(e)?e:[]):(j=e&&a.isPlainObject(e)?e:{}),b[g]=a.extend(k,j,d)):d!==c&&(b[g]=d)}return b},a.extend({noConflict:function(b){d.$=w,b&&(d.jQuery=v);return a},isReady:!1,readyWait:1,ready:function(c){c===!0&&a.readyWait--;if(!a.readyWait||c!==!0&&!a.isReady){if(!b.body)return setTimeout(a.ready,1);a.isReady=!0;if(c!==!0&&--a.readyWait>0)return;j.resolveWith(b,[a]),a.fn.trigger&&a(b).trigger("ready").unbind("ready")}},bindReady:function(){if(!t){t=!0;if(b.readyState==="complete")return setTimeout(a.ready,1);if(b.addEventListener)b.addEventListener("DOMContentLoaded",e,!1),d.addEventListener("load",a.ready,!1);else if(b.attachEvent){b.attachEvent("onreadystatechange",e),d.attachEvent("onload",a.ready);var c=!1;try{c=d.frameElement==null}catch(f){}b.documentElement.doScroll&&c&&p()}}},isFunction:function(b){return a.type(b)==="function"},isArray:Array.isArray||function(b){return a.type(b)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval" in a},isNaN:function(a){return a==null||!y.test(a)||isNaN(a)},type:function(a){return a==null?String(a):o[u.call(a)]||"object"},isPlainObject:function(b){if(!b||a.type(b)!=="object"||b.nodeType||a.isWindow(b))return !1;if(b.constructor&&!h.call(b,"constructor")&&!h.call(b.constructor.prototype,"isPrototypeOf"))return !1;var d;for(d in b);return d===c||h.call(b,d)},isEmptyObject:function(a){for(var b in a)return !1;return !0},error:function(a){throw a},parseJSON:function(b){if(typeof b!=="string"||!b)return null;b=a.trim(b);if(A.test(b.replace(B,"@").replace(C,"]").replace(D,"")))return d.JSON&&d.JSON.parse?d.JSON.parse(b):new Function("return "+b)();a.error("Invalid JSON: "+b)},parseXML:function(e,b,c){d.DOMParser?(c=new DOMParser,b=c.parseFromString(e,"text/xml")):(b=new ActiveXObject("Microsoft.XMLDOM"),b.async="false",b.loadXML(e)),c=b.documentElement,(!c||!c.nodeName||c.nodeName==="parsererror")&&a.error("Invalid XML: "+e);return b},noop:function(){},globalEval:function(d){if(d&&q.test(d)){var e=b.getElementsByTagName("head")[0]||b.documentElement,c=b.createElement("script");c.type="text/javascript",a.support.scriptEval()?c.appendChild(b.createTextNode(d)):(c.text=d),e.insertBefore(c,e.firstChild),e.removeChild(c)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(b,f,g){var d,e=0,h=b.length,j=h===c||a.isFunction(b);if(g){if(j){for(d in b)if(f.apply(b[d],g)===!1)break}else for(;e<h;)if(f.apply(b[e++],g)===!1)break}else if(j){for(d in b)if(f.call(b[d],d,b[d])===!1)break}else for(var i=b[0];e<h&&f.call(i,e,i)!==!1;i=b[++e]);return b},trim:l?function(a){return a==null?"":l.call(a)}:function(a){return a==null?"":(a+"").replace(r,"").replace(s,"")},makeArray:function(b,e){var c=e||[];if(b!=null){var d=a.type(b);b.length==null||d==="string"||d==="function"||d==="regexp"||a.isWindow(b)?i.call(c,b):a.merge(c,b)}return c},inArray:function(c,a){if(a.indexOf)return a.indexOf(c);for(var b=0,d=a.length;b<d;b++)if(a[b]===c)return b;return -1},merge:function(a,b){var e=a.length,d=0;if(typeof b.length==="number")for(var f=b.length;d<f;d++)a[e++]=b[d];else while(b[d]!==c)a[e++]=b[d++];a.length=e;return a},grep:function(b,f,c){var d=[],e;c=!!c;for(var a=0,g=b.length;a<g;a++)e=!!f(b[a],a),c!==e&&d.push(b[a]);return d},map:function(d,e,f){var a=[],c;for(var b=0,g=d.length;b<g;b++)c=e(d[b],b,f),c!=null&&(a[a.length]=c);return a.concat.apply([],a)},guid:1,proxy:function(d,b,e){arguments.length===2&&(typeof b==="string"?(e=d,d=e[b],b=c):b&&!a.isFunction(b)&&(e=b,b=c)),!b&&d&&(b=function(){return d.apply(e||this,arguments)}),d&&(b.guid=d.guid=d.guid||b.guid||a.guid++);return b},access:function(b,d,f,g,h,i){var j=b.length;if(typeof d==="object"){for(var k in d)a.access(b,k,d[k],g,h,f);return b}if(f!==c){g=!i&&g&&a.isFunction(f);for(var e=0;e<j;e++)h(b[e],d,g?f.call(b[e],e,h(b[e],d)):f,i);return b}return j?h(b[0],d):c},now:function(){return (new Date).getTime()},_Deferred:function(){var d=[],b,e,f,c={done:function(){if(!f){var j=arguments,e,k,g,i,h;b&&(h=b,b=0);for(e=0,k=j.length;e<k;e++)g=j[e],i=a.type(g),i==="array"?c.done.apply(c,g):i==="function"&&d.push(g);h&&c.resolveWith(h[0],h[1])}return this},resolveWith:function(a,c){if(!f&&!b&&!e){e=1;try{while(d[0])d.shift().apply(a,c)}finally{b=[a,c],e=0}}return this},resolve:function(){c.resolveWith(a.isFunction(this.promise)?this.promise():this,arguments);return this},isResolved:function(){return e||b},cancel:function(){f=1,d=[];return this}};return c},Deferred:function(e){var b=a._Deferred(),c=a._Deferred(),d;a.extend(b,{then:function(a,c){b.done(a).fail(c);return this},fail:c.done,rejectWith:c.resolveWith,reject:c.resolve,isRejected:c.isResolved,promise:function(a,c){if(a==null){if(d)return d;d=a={}}c=k.length;while(c--)a[k[c]]=b[k[c]];return a}}),b.then(c.cancel,b.cancel),delete b.cancel,e&&e.call(b,b);return b},when:function(b){var g=arguments,d=g.length,c=d<=1&&b&&a.isFunction(b.promise)?b:a.Deferred(),h=c.promise(),e;d>1?(e=Array(d),a.each(g,function(b,g){a.when(g).then(function(a){e[b]=arguments.length>1?f.call(arguments,0):a,--d||c.resolveWith(h,e)},c.reject)})):c!==b&&c.resolve(b);return h},uaMatch:function(a){a=a.toLowerCase();var b=E.exec(a)||F.exec(a)||G.exec(a)||a.indexOf("compatible")<0&&H.exec(a)||[];return {browser:b[1]||"",version:b[2]||"0"}},sub:function(){function c(a,b){return new c.fn.init(a,b)}a.extend(!0,c,this),c.superclass=this,c.fn=c.prototype=this(),c.fn.constructor=c,c.subclass=this.subclass,c.fn.init=function e(e,b){b&&b instanceof a&&!(b instanceof c)&&(b=c(b));return a.fn.init.call(this,e,b,d)},c.fn.init.prototype=c.fn;var d=c(b);return c},browser:{}}),j=a._Deferred(),a.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(b,a){o["[object "+a+"]"]=a.toLowerCase()}),g=a.uaMatch(I),g.browser&&(a.browser[g.browser]=!0,a.browser.version=g.version),a.browser.webkit&&(a.browser.safari=!0),n&&(a.inArray=function(a,b){return n.call(b,a)}),q.test(" ")&&(r=/^[\s\xA0]+/,s=/[\s\xA0]+$/),m=a(b),b.addEventListener?(e=function(){b.removeEventListener("DOMContentLoaded",e,!1),a.ready()}):b.attachEvent&&(e=function(){b.readyState==="complete"&&(b.detachEvent("onreadystatechange",e),a.ready())});return d.jQuery=d.$=a}();(function(){a.support={};var c=b.createElement("div");c.style.display="none",c.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var f=c.getElementsByTagName("*"),e=c.getElementsByTagName("a")[0],g=b.createElement("select"),h=g.appendChild(b.createElement("option"));if(f&&f.length&&e){a.support={leadingWhitespace:c.firstChild.nodeType===3,tbody:!c.getElementsByTagName("tbody").length,htmlSerialize:!!c.getElementsByTagName("link").length,style:/red/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55$/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:c.getElementsByTagName("input")[0].value==="on",optSelected:h.selected,deleteExpando:!0,optDisabled:!1,checkClone:!1,_scriptEval:null,noCloneEvent:!0,boxModel:null,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableHiddenOffsets:!0},g.disabled=!0,a.support.optDisabled=!h.disabled,a.support.scriptEval=function(){if(a.support._scriptEval===null){var e=b.documentElement,c=b.createElement("script"),f="script"+a.now();c.type="text/javascript";try{c.appendChild(b.createTextNode("window."+f+"=1;"))}catch(g){}e.insertBefore(c,e.firstChild),d[f]?(a.support._scriptEval=!0,delete d[f]):(a.support._scriptEval=!1),e.removeChild(c),e=c=f=null}return a.support._scriptEval};try{delete c.test}catch(l){a.support.deleteExpando=!1}c.attachEvent&&c.fireEvent&&(c.attachEvent("onclick",function k(){a.support.noCloneEvent=!1,c.detachEvent("onclick",k)}),c.cloneNode(!0).fireEvent("onclick")),c=b.createElement("div"),c.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";var i=b.createDocumentFragment();i.appendChild(c.firstChild),a.support.checkClone=i.cloneNode(!0).cloneNode(!0).lastChild.checked,a(function(){var c=b.createElement("div"),e=b.getElementsByTagName("body")[0];if(e){c.style.width=c.style.paddingLeft="1px",e.appendChild(c),a.boxModel=a.support.boxModel=c.offsetWidth===2,"zoom" in c.style&&(c.style.display="inline",c.style.zoom=1,a.support.inlineBlockNeedsLayout=c.offsetWidth===2,c.style.display="",c.innerHTML="<div style='width:4px;'></div>",a.support.shrinkWrapBlocks=c.offsetWidth!==2),c.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";var d=c.getElementsByTagName("td");a.support.reliableHiddenOffsets=d[0].offsetHeight===0,d[0].style.display="",d[1].style.display="none",a.support.reliableHiddenOffsets=a.support.reliableHiddenOffsets&&d[0].offsetHeight===0,c.innerHTML="",e.removeChild(c).style.display="none",c=d=null}});var j=function(a){var c=b.createElement("div");a="on"+a;if(!c.attachEvent)return !0;var d=a in c;d||(c.setAttribute(a,"return;"),d=typeof c[a]==="function"),c=null;return d};a.support.submitBubbles=j("submit"),a.support.changeBubbles=j("change"),c=f=e=null}})();var Fb=/^(?:\{.*\}|\[.*\])$/;a.extend({cache:{},uuid:0,expando:"jQuery"+(a.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(b){b=b.nodeType?a.cache[b[a.expando]]:b[a.expando];return !!b&&!a.isEmptyObject(b)},data:function(h,e,i,j){if(a.acceptData(h)){var f=a.expando,l=typeof e==="string",d,k=h.nodeType,g=k?a.cache:h,b=k?h[a.expando]:h[a.expando]&&a.expando;if((!b||j&&b&&!g[b][f])&&l&&i===c)return;b||(k?(h[a.expando]=b=++a.uuid):(b=a.expando)),g[b]||(g[b]={}),typeof e==="object"&&(j?(g[b][f]=a.extend(g[b][f],e)):(g[b]=a.extend(g[b],e))),d=g[b],j&&(d[f]||(d[f]={}),d=d[f]),i!==c&&(d[e]=i);if(e==="events"&&!d[e])return d[f]&&d[f].events;return l?d[e]:d}},removeData:function(e,i,j){if(a.acceptData(e)){var f=a.expando,g=e.nodeType,b=g?a.cache:e,c=g?e[a.expando]:a.expando;if(!b[c])return;if(i){var h=j?b[c][f]:b[c];if(h){delete h[i];if(!a.isEmptyObject(h))return}}if(j){delete b[c][f];if(!a.isEmptyObject(b[c]))return}var k=b[c][f];a.support.deleteExpando||b!=d?delete b[c]:(b[c]=null),k?(b[c]={},b[c][f]=k):g&&(a.support.deleteExpando?delete e[a.expando]:e.removeAttribute?e.removeAttribute(a.expando):(e[a.expando]=null))}},_data:function(b,c,d){return a.data(b,c,d,!0)},acceptData:function(b){if(b.nodeName){var c=a.noData[b.nodeName.toLowerCase()];if(c)return c!==!0&&b.getAttribute("classid")===c}return !0}}),a.fn.extend({data:function(e,g){var b=null;if(typeof e==="undefined"){if(this.length){b=a.data(this[0]);if(this[0].nodeType===1){var i=this[0].attributes,f;for(var h=0,j=i.length;h<j;h++)f=i[h].name,f.indexOf("data-")===0&&(f=f.substr(5),T(this[0],f,b[f]))}}return b}if(typeof e==="object")return this.each(function(){a.data(this,e)});var d=e.split(".");d[1]=d[1]?"."+d[1]:"";if(g===c){b=this.triggerHandler("getData"+d[1]+"!",[d[0]]),b===c&&this.length&&(b=a.data(this[0],e),b=T(this[0],e,b));return b===c&&d[1]?this.data(d[0]):b}return this.each(function(){var b=a(this),c=[d[0],g];b.triggerHandler("setData"+d[1]+"!",c),a.data(this,e,g),b.triggerHandler("changeData"+d[1]+"!",c)})},removeData:function(b){return this.each(function(){a.removeData(this,b)})}}),a.extend({queue:function(e,c,d){if(e){c=(c||"fx")+"queue";var b=a._data(e,c);if(!d)return b||[];!b||a.isArray(d)?(b=a._data(e,c,a.makeArray(d))):b.push(d);return b}},dequeue:function(c,b){b=b||"fx";var d=a.queue(c,b),e=d.shift();e==="inprogress"&&(e=d.shift()),e&&(b==="fx"&&d.unshift("inprogress"),e.call(c,function(){a.dequeue(c,b)})),d.length||a.removeData(c,b+"queue",!0)}}),a.fn.extend({queue:function(b,d){typeof b!=="string"&&(d=b,b="fx");if(d===c)return a.queue(this[0],b);return this.each(function(){var c=a.queue(this,b,d);b==="fx"&&c[0]!=="inprogress"&&a.dequeue(this,b)})},dequeue:function(b){return this.each(function(){a.dequeue(this,b)})},delay:function(b,c){b=a.fx?a.fx.speeds[b]||b:b,c=c||"fx";return this.queue(c,function(){var d=this;setTimeout(function(){a.dequeue(d,c)},b)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var U=/[\n\t\r]/g,y=/\s+/,Jb=/\r/g,Mb=/^(?:href|src|style)$/,Ob=/^(?:button|input)$/i,Qb=/^(?:button|input|object|select|textarea)$/i,Sb=/^a(?:rea)?$/i,V=/^(?:radio|checkbox)$/i;a.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"},a.fn.extend({attr:function(b,c){return a.access(this,b,c,!0,a.attr)},removeAttr:function(b){return this.each(function(){a.attr(this,b,""),this.nodeType===1&&this.removeAttribute(b)})},addClass:function(b){if(a.isFunction(b))return this.each(function(d){var c=a(this);c.addClass(b.call(this,d,c.attr("class")))});if(b&&typeof b==="string"){var e=(b||"").split(y);for(var f=0,h=this.length;f<h;f++){var c=this[f];if(c.nodeType===1)if(c.className){var i=" "+c.className+" ",g=c.className;for(var d=0,j=e.length;d<j;d++)i.indexOf(" "+e[d]+" ")<0&&(g+=" "+e[d]);c.className=a.trim(g)}else c.className=b}}return this},removeClass:function(b){if(a.isFunction(b))return this.each(function(d){var c=a(this);c.removeClass(b.call(this,d,c.attr("class")))});if(b&&typeof b==="string"||b===c){var h=(b||"").split(y);for(var e=0,i=this.length;e<i;e++){var d=this[e];if(d.nodeType===1&&d.className)if(b){var f=(" "+d.className+" ").replace(U," ");for(var g=0,j=h.length;g<j;g++)f=f.replace(" "+h[g]+" "," ");d.className=a.trim(f)}else d.className=""}}return this},toggleClass:function(b,c){var d=typeof b,e=typeof c==="boolean";if(a.isFunction(b))return this.each(function(e){var d=a(this);d.toggleClass(b.call(this,e,d.attr("class"),c),c)});return this.each(function(){if(d==="string"){var f,i=0,h=a(this),g=c,j=b.split(y);while(f=j[i++])g=e?g:!h.hasClass(f),h[g?"addClass":"removeClass"](f)}else if(d==="undefined"||d==="boolean")this.className&&a._data(this,"__className__",this.className),this.className=this.className||b===!1?"":a._data(this,"__className__")||""})},hasClass:function(b){var c=" "+b+" ";for(var a=0,d=this.length;a<d;a++)if((" "+this[a].className+" ").replace(U," ").indexOf(c)>-1)return !0;return !1},val:function(d){if(!arguments.length){var b=this[0];if(b){if(a.nodeName(b,"option")){var i=b.attributes.value;return !i||i.specified?b.value:b.text}if(a.nodeName(b,"select")){var f=b.selectedIndex,j=[],k=b.options,g=b.type==="select-one";if(f<0)return null;for(var h=g?f:0,l=g?f+1:k.length;h<l;h++){var e=k[h];if(e.selected&&(a.support.optDisabled?!e.disabled:e.getAttribute("disabled")===null)&&(!e.parentNode.disabled||!a.nodeName(e.parentNode,"optgroup"))){d=a(e).val();if(g)return d;j.push(d)}}return j}if(V.test(b.type)&&!a.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return (b.value||"").replace(Jb,"")}return c}var m=a.isFunction(d);return this.each(function(f){var c=a(this),b=d;if(this.nodeType===1){m&&(b=d.call(this,f,c.val())),b==null?(b=""):typeof b==="number"?(b+=""):a.isArray(b)&&(b=a.map(b,function(a){return a==null?"":a+""}));if(a.isArray(b)&&V.test(this.type))this.checked=a.inArray(c.val(),b)>=0;else if(a.nodeName(this,"select")){var e=a.makeArray(b);a("option",this).each(function(){this.selected=a.inArray(a(this).val(),e)>=0}),e.length||(this.selectedIndex=-1)}else this.value=b}})}}),a.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(b,d,e,l){if(!b||b.nodeType===3||b.nodeType===8||b.nodeType===2)return c;if(l&&d in a.attrFn)return a(b)[d](e);var f=b.nodeType!==1||!a.isXMLDoc(b),g=e!==c;d=f&&a.props[d]||d;if(b.nodeType===1){var j=Mb.test(d);if(d==="selected"&&!a.support.optSelected){var h=b.parentNode;h&&(h.selectedIndex,h.parentNode&&h.parentNode.selectedIndex)}if((d in b||b[d]!==c)&&f&&!j){g&&(d==="type"&&Ob.test(b.nodeName)&&b.parentNode&&a.error("type property can't be changed"),e===null?b.nodeType===1&&b.removeAttribute(d):(b[d]=e));if(a.nodeName(b,"form")&&b.getAttributeNode(d))return b.getAttributeNode(d).nodeValue;if(d==="tabIndex"){var i=b.getAttributeNode("tabIndex");return i&&i.specified?i.value:Qb.test(b.nodeName)||Sb.test(b.nodeName)&&b.href?0:c}return b[d]}if(!a.support.style&&f&&d==="style"){g&&(b.style.cssText=""+e);return b.style.cssText}g&&b.setAttribute(d,""+e);if(!b.attributes[d]&&(b.hasAttribute&&!b.hasAttribute(d)))return c;var k=!a.support.hrefNormalized&&f&&j?b.getAttribute(d,2):b.getAttribute(d);return k===null?c:k}g&&(b[d]=e);return b[d]}});var r=/\.(.*)$/,z=/^(?:textarea|input|select)$/i,Ub=/\./g,Vb=/ /g,Wb=/[^\w\s.|`]/g,Xb=function(a){return a.replace(Wb,"\\$&")},f="events";a.event={add:function(b,p,e,r){if(b.nodeType!==3&&b.nodeType!==8){a.isWindow(b)&&(b!==d&&!b.frameElement)&&(b=d);if(e===!1)e=h;else if(!e)return;var n,i;e.handler&&(n=e,e=n.handler),e.guid||(e.guid=a.guid++);var l=a._data(b);if(!l)return;var j=l[f],k=l.handle;typeof j==="function"?(k=j.handle,j=j.events):j||(b.nodeType||(l[f]=l=function(){}),l.events=j={}),k||(l.handle=k=function(){return typeof a!=="undefined"&&!a.event.triggered?a.event.handle.apply(k.elem,arguments):c}),k.elem=b,p=p.split(" ");var g,s=0,m;while(g=p[s++]){i=n?a.extend({},n):{handler:e,data:r},g.indexOf(".")>-1?(m=g.split("."),g=m.shift(),i.namespace=m.slice(0).sort().join(".")):(m=[],i.namespace=""),i.type=g,i.guid||(i.guid=e.guid);var q=j[g],o=a.event.special[g]||{};if(!q){q=j[g]=[];if(!o.setup||o.setup.call(b,r,m,k)===!1)b.addEventListener?b.addEventListener(g,k,!1):b.attachEvent&&b.attachEvent("on"+g,k)}o.add&&(o.add.call(b,i),i.handler.guid||(i.handler.guid=e.guid)),q.push(i),a.event.global[g]=!0}b=null}},global:{},remove:function(d,b,m,p){if(d.nodeType!==3&&d.nodeType!==8){m===!1&&(m=h);var u,e,w,g,v=0,q,n,r,o,i,l,s,j=a.hasData(d)&&a._data(d),k=j&&j[f];if(!j||!k)return;typeof k==="function"&&(j=k,k=k.events),b&&b.type&&(m=b.handler,b=b.type);if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(e in k)a.event.remove(d,e+b);return}b=b.split(" ");while(e=b[v++]){s=e,l=null,q=e.indexOf(".")<0,n=[],q||(n=e.split("."),e=n.shift(),r=new RegExp("(^|\\.)"+a.map(n.slice(0).sort(),Xb).join("\\.(?:.*\\.)?")+"(\\.|$)")),i=k[e];if(!i)continue;if(!m){for(g=0;g<i.length;g++){l=i[g];if(q||r.test(l.namespace))a.event.remove(d,s,l.handler,g),i.splice(g--,1)}continue}o=a.event.special[e]||{};for(g=p||0;g<i.length;g++){l=i[g];if(m.guid===l.guid){if(q||r.test(l.namespace))p==null&&i.splice(g--,1),o.remove&&o.remove.call(d,l);if(p!=null)break}}if(i.length===0||p!=null&&i.length===1)(!o.teardown||o.teardown.call(d,n)===!1)&&a.removeEvent(d,e,j.handle),u=null,delete k[e]}if(a.isEmptyObject(k)){var t=j.handle;t&&(t.elem=null),delete j.events,delete j.handle,typeof j==="function"?a.removeData(d,f,!0):a.isEmptyObject(j)&&a.removeData(d,c,!0)}}},trigger:function(b,h,d){var e=b.type||b,n=arguments[3];if(!n){b=typeof b==="object"?b[a.expando]?b:a.extend(a.Event(e),b):a.Event(e),e.indexOf("!")>=0&&(b.type=e=e.slice(0,-1),b.exclusive=!0),d||(b.stopPropagation(),a.event.global[e]&&a.each(a.cache,function(){var d=a.expando,c=this[d];c&&c.events&&c.events[e]&&a.event.trigger(b,h,c.handle.elem)}));if(!d||d.nodeType===3||d.nodeType===8)return c;b.result=c,b.target=d,h=a.makeArray(h),h.unshift(b)}b.currentTarget=d;var k=d.nodeType?a._data(d,"handle"):(a._data(d,f)||{}).handle;k&&k.apply(d,h);var l=d.parentNode||d.ownerDocument;try{d&&d.nodeName&&a.noData[d.nodeName.toLowerCase()]||d["on"+e]&&d["on"+e].apply(d,h)===!1&&(b.result=!1,b.preventDefault())}catch(p){}if(!b.isPropagationStopped()&&l)a.event.trigger(b,h,l,!0);else if(!b.isDefaultPrevented()){var j,g=b.target,i=e.replace(r,""),o=a.nodeName(g,"a")&&i==="click",m=a.event.special[i]||{};if((!m._default||m._default.call(d,b)===!1)&&!o&&!(g&&g.nodeName&&a.noData[g.nodeName.toLowerCase()])){try{g[i]&&(j=g["on"+i],j&&(g["on"+i]=null),a.event.triggered=!0,g[i]())}catch(p){}j&&(g["on"+i]=j),a.event.triggered=!1}}},handle:function(b){var i,e,j,n,g,k=[],o=a.makeArray(arguments);b=o[0]=a.event.fix(b||d.event),b.currentTarget=this,i=b.type.indexOf(".")<0&&!b.exclusive,i||(j=b.type.split("."),b.type=j.shift(),k=j.slice(0).sort(),n=new RegExp("(^|\\.)"+k.join("\\.(?:.*\\.)?")+"(\\.|$)")),b.namespace=b.namespace||k.join("."),g=a._data(this,f),typeof g==="function"&&(g=g.events),e=(g||{})[b.type];if(g&&e){e=e.slice(0);for(var l=0,p=e.length;l<p;l++){var h=e[l];if(i||n.test(h.namespace)){b.handler=h.handler,b.data=h.data,b.handleObj=h;var m=h.handler.apply(this,o);m!==c&&(b.result=m,m===!1&&(b.preventDefault(),b.stopPropagation()));if(b.isImmediatePropagationStopped())break}}}return b.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(d){if(d[a.expando])return d;var h=d;d=a.Event(h);for(var i=this.props.length,g;i;)g=this.props[--i],d[g]=h[g];d.target||(d.target=d.srcElement||b),d.target.nodeType===3&&(d.target=d.target.parentNode),!d.relatedTarget&&d.fromElement&&(d.relatedTarget=d.fromElement===d.target?d.toElement:d.fromElement);if(d.pageX==null&&d.clientX!=null){var e=b.documentElement,f=b.body;d.pageX=d.clientX+(e&&e.scrollLeft||f&&f.scrollLeft||0)-(e&&e.clientLeft||f&&f.clientLeft||0),d.pageY=d.clientY+(e&&e.scrollTop||f&&f.scrollTop||0)-(e&&e.clientTop||f&&f.clientTop||0)}d.which==null&&(d.charCode!=null||d.keyCode!=null)&&(d.which=d.charCode!=null?d.charCode:d.keyCode),!d.metaKey&&d.ctrlKey&&(d.metaKey=d.ctrlKey),!d.which&&d.button!==c&&(d.which=d.button&1?1:d.button&2?3:d.button&4?2:0);return d},guid:1e8,proxy:a.proxy,special:{ready:{setup:a.bindReady,teardown:a.noop},live:{add:function(b){a.event.add(this,q(b.origType,b.selector),a.extend({},b,{handler:Gb,guid:b.handler.guid}))},remove:function(b){a.event.remove(this,q(b.origType,b.selector),b)}},beforeunload:{setup:function(c,d,b){a.isWindow(this)&&(this.onbeforeunload=b)},teardown:function(b,a){this.onbeforeunload===a&&(this.onbeforeunload=null)}}}},a.removeEvent=b.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},a.Event=function(b){if(!this.preventDefault)return new a.Event(b);b&&b.type?(this.originalEvent=b,this.type=b.type,this.isDefaultPrevented=b.defaultPrevented||b.returnValue===!1||b.getPreventDefault&&b.getPreventDefault()?s:h):(this.type=b),this.timeStamp=a.now(),this[a.expando]=!0},a.Event.prototype={preventDefault:function(){this.isDefaultPrevented=s;var a=this.originalEvent;a&&(a.preventDefault?a.preventDefault():(a.returnValue=!1))},stopPropagation:function(){this.isPropagationStopped=s;var a=this.originalEvent;a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=s,this.stopPropagation()},isDefaultPrevented:h,isPropagationStopped:h,isImmediatePropagationStopped:h};var cb=function(c){var b=c.relatedTarget;try{while(b&&b!==this)b=b.parentNode;b!==this&&(c.type=c.data,a.event.handle.apply(this,arguments))}catch(d){}},db=function(b){b.type=b.data,a.event.handle.apply(this,arguments)};a.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(b,c){a.event.special[b]={setup:function(d){a.event.add(this,c,d&&d.selector?db:cb,b)},teardown:function(b){a.event.remove(this,c,b&&b.selector?db:cb)}}}),a.support.submitBubbles||(a.event.special.submit={setup:function(){if(this.nodeName&&this.nodeName.toLowerCase()!=="form")a.event.add(this,"click.specialSubmit",function(b){var d=b.target,e=d.type;if((e==="submit"||e==="image")&&a(d).closest("form").length){b.liveFired=c;return R("submit",this,arguments)}}),a.event.add(this,"keypress.specialSubmit",function(b){var d=b.target,e=d.type;if((e==="text"||e==="password")&&a(d).closest("form").length&&b.keyCode===13){b.liveFired=c;return R("submit",this,arguments)}});else return !1},teardown:function(){a.event.remove(this,".specialSubmit")}});if(!a.support.changeBubbles){var k,Q=function(b){var d=b.type,c=b.value;d==="radio"||d==="checkbox"?(c=b.checked):d==="select-multiple"?(c=b.selectedIndex>-1?a.map(b.options,function(a){return a.selected}).join("-"):""):b.nodeName.toLowerCase()==="select"&&(c=b.selectedIndex);return c},p=function p(d){var b=d.target,e,f;if(z.test(b.nodeName)&&!b.readOnly){e=a._data(b,"_change_data"),f=Q(b),(d.type!=="focusout"||b.type!=="radio")&&a._data(b,"_change_data",f);if(e===c||f===e)return;if(e!=null||f){d.type="change",d.liveFired=c;return a.event.trigger(d,arguments[1],b)}}};a.event.special.change={filters:{focusout:p,beforedeactivate:p,click:function(a){var b=a.target,c=b.type;if(c==="radio"||c==="checkbox"||b.nodeName.toLowerCase()==="select")return p.call(this,a)},keydown:function(a){var c=a.target,b=c.type;if(a.keyCode===13&&c.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(b==="checkbox"||b==="radio")||b==="select-multiple")return p.call(this,a)},beforeactivate:function(c){var b=c.target;a._data(b,"_change_data",Q(b))}},setup:function(){if(this.type==="file")return !1;for(var b in k)a.event.add(this,b+".specialChange",k[b]);return z.test(this.nodeName)},teardown:function(){a.event.remove(this,".specialChange");return z.test(this.nodeName)}},k=a.event.special.change.filters,k.focus=k.beforeactivate}b.addEventListener&&a.each({focus:"focusin",blur:"focusout"},function(b,c){function d(b){b=a.event.fix(b),b.type=c;return a.event.handle.call(this,b)}a.event.special[c]={setup:function(){this.addEventListener(b,d,!0)},teardown:function(){this.removeEventListener(b,d,!0)}}}),a.each(["bind","one"],function(d,b){a.fn[b]=function(e,d,f){if(typeof e==="object"){for(var h in e)this[b](h,d,e[h],f);return this}if(a.isFunction(d)||d===!1)f=d,d=c;var i=b==="one"?a.proxy(f,function(b){a(this).unbind(b,i);return f.apply(this,arguments)}):f;if(e==="unload"&&b!=="one")this.one(e,d,f);else for(var g=0,j=this.length;g<j;g++)a.event.add(this[g],e,i,d);return this}}),a.fn.extend({unbind:function(b,e){if(typeof b!=="object"||b.preventDefault)for(var c=0,f=this.length;c<f;c++)a.event.remove(this[c],b,e);else for(var d in b)this.unbind(d,b[d]);return this},delegate:function(a,b,c,d){return this.live(b,c,d,a)},undelegate:function(a,b,c){return arguments.length===0?this.unbind("live"):this.die(b,null,c,a)},trigger:function(b,c){return this.each(function(){a.event.trigger(b,c,this)})},triggerHandler:function(c,d){if(this[0]){var b=a.Event(c);b.preventDefault(),b.stopPropagation(),a.event.trigger(b,d,this[0]);return b.result}},toggle:function(b){var c=arguments,d=1;while(d<c.length)a.proxy(b,c[d++]);return this.click(a.proxy(b,function(f){var e=(a._data(this,"lastToggle"+b.guid)||0)%d;a._data(this,"lastToggle"+b.guid,e+1),f.preventDefault();return c[e].apply(this,arguments)||!1}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var S={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};a.each(["live","die"],function(d,b){a.fn[b]=function(e,g,h,m){var d,p=0,k,f,n,i=m||this.selector,j=m?this:a(this.context);if(typeof e==="object"&&!e.preventDefault){for(var o in e)j[b](o,g,e[o],i);return this}a.isFunction(g)&&(h=g,g=c),e=(e||"").split(" ");while((d=e[p++])!=null){k=r.exec(d),f="",k&&(f=k[0],d=d.replace(r,""));if(d==="hover"){e.push("mouseenter"+f,"mouseleave"+f);continue}n=d,d==="focus"||d==="blur"?(e.push(S[d]+f),d=d+f):(d=(S[d]||d)+f);if(b==="live")for(var l=0,s=j.length;l<s;l++)a.event.add(j[l],"live."+q(d,i),{data:g,selector:i,handler:h,origType:d,origHandler:h,preType:n});else j.unbind("live."+q(d,i),h)}return this}}),a.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(c,b){a.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.bind(b,a,c):this.trigger(b)},a.attrFn&&(a.attrFn[b]=!0)}),function(){function p(g,f,h,c,k,i){for(var b=0,j=c.length;b<j;b++){var a=c[b];if(a){var e=!1;a=a[g];while(a){if(a.sizcache===h){e=c[a.sizset];break}if(a.nodeType===1){i||(a.sizcache=h,a.sizset=b);if(typeof f!=="string"){if(a===f){e=!0;break}}else if(d.filter(f,[a]).length>0){e=a;break}}a=a[g]}c[b]=e}}}function o(e,g,f,c,j,h){for(var b=0,i=c.length;b<i;b++){var a=c[b];if(a){var d=!1;a=a[e];while(a){if(a.sizcache===f){d=c[a.sizset];break}a.nodeType===1&&!h&&(a.sizcache=f,a.sizset=b);if(a.nodeName.toLowerCase()===g){d=a;break}a=a[e]}c[b]=d}}}var k=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,l=0,m=Object.prototype.toString,h=!1,n=!0;[0,0].sort(function(){n=!1;return 0});var d=function(l,c,i,t){i=i||[],c=c||b;var y=c;if(c.nodeType!==1&&c.nodeType!==9)return [];if(!l||typeof l!=="string")return i;var o,n,g,v,j,p,s,h,w=!0,u=d.isXML(c),a=[],x=l;do{k.exec(""),o=k.exec(x);if(o){x=o[3],a.push(o[1]);if(o[2]){v=o[3];break}}}while(o);if(a.length>1&&r.exec(l))if(a.length===2&&e.relative[a[0]])n=q(a[0]+a[1],c);else{n=e.relative[a[0]]?[c]:d(a.shift(),c);while(a.length)l=a.shift(),e.relative[l]&&(l+=a.shift()),n=q(l,n)}else{!t&&a.length>1&&c.nodeType===9&&!u&&e.match.ID.test(a[0])&&!e.match.ID.test(a[a.length-1])&&(j=d.find(a.shift(),c,u),c=j.expr?d.filter(j.expr,j.set)[0]:j.set[0]);if(c){j=t?{expr:a.pop(),"set":f(t)}:d.find(a.pop(),a.length===1&&(a[0]==="~"||a[0]==="+")&&c.parentNode?c.parentNode:c,u),n=j.expr?d.filter(j.expr,j.set):j.set,a.length>0?(g=f(n)):(w=!1);while(a.length)p=a.pop(),s=p,e.relative[p]?(s=a.pop()):(p=""),s==null&&(s=c),e.relative[p](g,s,u)}else g=a=[]}g||(g=n),g||d.error(p||l);if(m.call(g)==="[object Array]")if(w)if(c&&c.nodeType===1)for(h=0;g[h]!=null;h++)g[h]&&(g[h]===!0||g[h].nodeType===1&&d.contains(c,g[h]))&&i.push(n[h]);else for(h=0;g[h]!=null;h++)g[h]&&g[h].nodeType===1&&i.push(n[h]);else i.push.apply(i,g);else f(g,i);v&&(d(v,y,i,t),d.uniqueSort(i));return i};d.uniqueSort=function(a){if(j){h=n,a.sort(j);if(h)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},d.matches=function(a,b){return d(a,null,null,b)},d.matchesSelector=function(a,b){return d(b,null,null,[a]).length>0},d.find=function(b,d,i){var c;if(!b)return [];for(var f=0,j=e.order.length;f<j;f++){var a,g=e.order[f];if(a=e.leftMatch[g].exec(b)){var h=a[1];a.splice(1,1);if(h.substr(h.length-1)!=="\\"){a[1]=(a[1]||"").replace(/\\/g,""),c=e.find[g](a,d,i);if(c!=null){b=b.replace(e.match[g],"");break}}}}c||(c=typeof d.getElementsByTagName!=="undefined"?d.getElementsByTagName("*"):[]);return {"set":c,expr:b}},d.filter=function(b,h,n,o){var a,g,p=b,i=[],f=h,s=h&&h[0]&&d.isXML(h[0]);while(b&&h.length){for(var j in e.filter)if((a=e.leftMatch[j].exec(b))!=null&&a[2]){var k,l,t=e.filter[j],q=a[1];g=!1,a.splice(1,1);if(q.substr(q.length-1)==="\\")continue;f===i&&(i=[]);if(e.preFilter[j]){a=e.preFilter[j](a,f,n,i,o,s);if(a){if(a===!0)continue}else g=k=!0}if(a)for(var m=0;(l=f[m])!=null;m++)if(l){k=t(l,a,m,f);var r=o^!!k;n&&k!=null?r?(g=!0):(f[m]=!1):r&&(i.push(l),g=!0)}if(k!==c){n||(f=i),b=b.replace(e.match[j],"");if(!g)return [];break}}if(b===p)if(g==null)d.error(b);else break;p=b}return f},d.error=function(a){throw"Syntax error, unrecognized expression: "+a};var e=d.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")}},relative:{"+":function(c,b){var f=typeof b==="string",g=f&&!/\W/.test(b),h=f&&!g;g&&(b=b.toLowerCase());for(var e=0,i=c.length,a;e<i;e++)if(a=c[e]){while((a=a.previousSibling)&&a.nodeType!==1);c[e]=h||a&&a.nodeName.toLowerCase()===b?a||!1:a===b}h&&d.filter(b,c,!0)},">":function(e,b){var c,f=typeof b==="string",a=0,g=e.length;if(f&&!/\W/.test(b)){b=b.toLowerCase();for(;a<g;a++){c=e[a];if(c){var h=c.parentNode;e[a]=h.nodeName.toLowerCase()===b?h:!1}}}else{for(;a<g;a++)c=e[a],c&&(e[a]=f?c.parentNode:c.parentNode===b);f&&d.filter(b,e,!0)}},"":function(d,a,e){var b,f=l++,c=p;typeof a==="string"&&!/\W/.test(a)&&(a=a.toLowerCase(),b=a,c=o),c("parentNode",a,f,d,b,e)},"~":function(d,a,e){var b,f=l++,c=p;typeof a==="string"&&!/\W/.test(a)&&(a=a.toLowerCase(),b=a,c=o),c("previousSibling",a,f,d,b,e)}},find:{ID:function(c,b,d){if(typeof b.getElementById!=="undefined"&&!d){var a=b.getElementById(c[1]);return a&&a.parentNode?[a]:[]}},NAME:function(d,e){if(typeof e.getElementsByName!=="undefined"){var b=[],c=e.getElementsByName(d[1]);for(var a=0,f=c.length;a<f;a++)c[a].getAttribute("name")===d[1]&&b.push(c[a]);return b.length===0?null:b}},TAG:function(b,a){if(typeof a.getElementsByTagName!=="undefined")return a.getElementsByTagName(b[1])}},preFilter:{CLASS:function(b,d,e,f,g,h){b=" "+b[1].replace(/\\/g,"")+" ";if(h)return b;for(var c=0,a;(a=d[c])!=null;c++)a&&(g^(a.className&&(" "+a.className+" ").replace(/[\t\n\r]/g," ").indexOf(b)>=0)?e||f.push(a):e&&(d[c]=!1));return !1},ID:function(a){return a[1].replace(/\\/g,"")},TAG:function(a){return a[1].toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||d.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&d.error(a[0]);a[0]=l++;return a},ATTR:function(a,d,f,g,h,c){var b=a[1]=a[1].replace(/\\/g,"");!c&&e.attrMap[b]&&(a[1]=e.attrMap[b]),a[4]=(a[4]||a[5]||"").replace(/\\/g,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(a,b,c,f,g){if(a[1]==="not")if((k.exec(a[3])||"").length>1||/^\w/.test(a[3]))a[3]=d(a[3],null,null,b);else{var h=d.filter(a[3],b,c,!0^g);c||f.push.apply(f,h);return !1}else if(e.match.POS.test(a[0])||e.match.CHILD.test(a[0]))return !0;return a},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return !!a.firstChild},empty:function(a){return !a.firstChild},has:function(a,c,b){return !!d(b[3],a).length},header:function(a){return /h\d/i.test(a.nodeName)},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||a.nodeName.toLowerCase()==="button"},input:function(a){return /input|select|textarea|button/i.test(a.nodeName)}},setFilters:{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===1},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}},filter:{PSEUDO:function(a,b,i,j){var c=b[1],g=e.filters[c];if(g)return g(a,i,b,j);if(c==="contains")return (a.textContent||a.innerText||d.getText([a])||"").indexOf(b[3])>=0;if(c==="not"){var h=b[3];for(var f=0,k=h.length;f<k;f++)if(h[f]===a)return !1;return !0}d.error(c)},CHILD:function(b,c){var g=c[1],a=b;switch(g){case "only":case "first":while(a=a.previousSibling)if(a.nodeType===1)return !1;if(g==="first")return !0;a=b;case "last":while(a=a.nextSibling)if(a.nodeType===1)return !1;return !0;case "nth":var d=c[2],h=c[3];if(d===1&&h===0)return !0;var i=c[0],e=b.parentNode;if(e&&(e.sizcache!==i||!b.nodeIndex)){var j=0;for(a=e.firstChild;a;a=a.nextSibling)a.nodeType===1&&(a.nodeIndex=++j);e.sizcache=i}var f=b.nodeIndex-h;return d===0?f===0:f%d===0&&f/d>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return (" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(f,g){var d=g[1],h=e.attrHandle[d]?e.attrHandle[d](f):f[d]!=null?f[d]:f.getAttribute(d),b=h+"",c=g[2],a=g[4];return h==null?c==="!=":c==="="?b===a:c==="*="?b.indexOf(a)>=0:c==="~="?(" "+b+" ").indexOf(a)>=0:a?c==="!="?b!==a:c==="^="?b.indexOf(a)===0:c==="$="?b.substr(b.length-a.length)===a:c==="|="?b===a||b.substr(0,a.length+1)===a+"-":!1:b&&h!==!1},POS:function(c,a,d,f){var g=a[2],b=e.setFilters[g];if(b)return b(c,d,a,f)}}},r=e.match.POS,s=function(b,a){return "\\"+(a-0+1)};for(var i in e.match)e.match[i]=new RegExp(e.match[i].source+/(?![^\[]*\])(?![^\(]*\))/.source),e.leftMatch[i]=new RegExp(/(^(?:.|\r|\n)*?)/.source+e.match[i].source.replace(/\\(\d+)/g,s));var f=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(b.documentElement.childNodes,0)[0].nodeType}catch(t){f=function(a,d){var b=0,c=d||[];if(m.call(a)==="[object Array]")Array.prototype.push.apply(c,a);else if(typeof a.length==="number")for(var e=a.length;b<e;b++)c.push(a[b]);else for(;a[b];b++)c.push(a[b]);return c}}var j,g;b.documentElement.compareDocumentPosition?(j=function(a,b){if(a===b){h=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}):(j=function(e,f){var i,l,c=[],d=[],j=e.parentNode,k=f.parentNode,b=j;if(e===f){h=!0;return 0}if(j===k)return g(e,f);if(!j)return -1;if(!k)return 1;while(b)c.unshift(b),b=b.parentNode;b=k;while(b)d.unshift(b),b=b.parentNode;i=c.length,l=d.length;for(var a=0;a<i&&a<l;a++)if(c[a]!==d[a])return g(c[a],d[a]);return a===i?g(e,d[a],-1):g(c[a],f,1)},g=function(b,c,d){if(b===c)return d;var a=b.nextSibling;while(a){if(a===c)return -1;a=a.nextSibling}return 1}),d.getText=function(e){var b="",a;for(var c=0;e[c];c++)a=e[c],a.nodeType===3||a.nodeType===4?(b+=a.nodeValue):a.nodeType!==8&&(b+=d.getText(a.childNodes));return b},function(){var a=b.createElement("div"),f="script"+(new Date).getTime(),d=b.documentElement;a.innerHTML="<a name='"+f+"'/>",d.insertBefore(a,d.firstChild),b.getElementById(f)&&(e.find.ID=function(b,d,e){if(typeof d.getElementById!=="undefined"&&!e){var a=d.getElementById(b[1]);return a?a.id===b[1]||typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id").nodeValue===b[1]?[a]:c:[]}},e.filter.ID=function(a,c){var b=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&b&&b.nodeValue===c}),d.removeChild(a),d=a=null}(),function(){var a=b.createElement("div");a.appendChild(b.createComment("")),a.getElementsByTagName("*").length>0&&(e.find.TAG=function(c,e){var a=e.getElementsByTagName(c[1]);if(c[1]==="*"){var d=[];for(var b=0;a[b];b++)a[b].nodeType===1&&d.push(a[b]);a=d}return a}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(e.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),b.querySelectorAll&&function(){var c=d,a=b.createElement("div"),h="__sizzle__";a.innerHTML="<p class='TEST'></p>";if(!a.querySelectorAll||a.querySelectorAll(".TEST").length!==0){d=function(j,a,g,n){a=a||b;if(!n&&!d.isXML(a)){var i=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(j);if(i&&(a.nodeType===1||a.nodeType===9)){if(i[1])return f(a.getElementsByTagName(j),g);if(i[2]&&e.find.CLASS&&a.getElementsByClassName)return f(a.getElementsByClassName(i[2]),g)}if(a.nodeType===9){if(j==="body"&&a.body)return f([a.body],g);if(i&&i[3]){var k=a.getElementById(i[3]);if(!k||!k.parentNode)return f([],g);if(k.id===i[3])return f([k],g)}try{return f(a.querySelectorAll(j),g)}catch(q){}}else if(a.nodeType===1&&a.nodeName.toLowerCase()!=="object"){var m=a.getAttribute("id"),l=m||h,o=a.parentNode,p=/^\s*[+~]/.test(j);m?(l=l.replace(/'/g,"\\$&")):a.setAttribute("id",l),p&&o&&(a=a.parentNode);try{if(!p||o)return f(a.querySelectorAll("[id='"+l+"'] "+j),g)}catch(q){}finally{m||a.removeAttribute("id")}}}return c(j,a,g,n)};for(var g in c)d[g]=c[g];a=null}}(),function(){var a=b.documentElement,c=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector,f=!1;try{c.call(b.documentElement,"[test!='']:sizzle")}catch(g){f=!0}c&&(d.matchesSelector=function(b,a){a=a.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!d.isXML(b))try{if(f||!e.match.PSEUDO.test(a)&&!/!=/.test(a))return c.call(b,a)}catch(g){}return d(a,null,null,[b]).length>0})}(),function(){var a=b.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;e.order.splice(1,0,"CLASS"),e.find.CLASS=function(b,a,c){if(typeof a.getElementsByClassName!=="undefined"&&!c)return a.getElementsByClassName(b[1])},a=null}}(),b.documentElement.contains?(d.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}):b.documentElement.compareDocumentPosition?(d.contains=function(a,b){return !!(a.compareDocumentPosition(b)&16)}):(d.contains=function(){return !1}),d.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var q=function(a,b){var f,g=[],h="",i=b.nodeType?[b]:b;while(f=e.match.PSEUDO.exec(a))h+=f[0],a=a.replace(e.match.PSEUDO,"");a=e.relative[a]?a+"*":a;for(var c=0,j=i.length;c<j;c++)d(a,i[c],g);return d.filter(h,g)};a.find=d,a.expr=d.selectors,a.expr[":"]=a.expr.filters,a.unique=d.uniqueSort,a.text=d.getText,a.isXMLDoc=d.isXML,a.contains=d.contains}();var Hb=/Until$/,Ib=/^(?:parents|prevUntil|prevAll)/,Kb=/,/,Lb=/^.[^:#\[\.,]*$/,Nb=Array.prototype.slice,Pb=a.expr.match.POS,Rb={children:!0,contents:!0,next:!0,prev:!0};a.fn.extend({find:function(g){var b=this.pushStack("","find",g),e=0;for(var c=0,h=this.length;c<h;c++){e=b.length,a.find(g,this[c],b);if(c>0)for(var d=e;d<b.length;d++)for(var f=0;f<e;f++)if(b[f]===b[d]){b.splice(d--,1);break}}return b},has:function(c){var b=a(c);return this.filter(function(){for(var c=0,d=b.length;c<d;c++)if(a.contains(this,b[c]))return !0})},not:function(a){return this.pushStack(X(this,a,!1),"not",a)},filter:function(a){return this.pushStack(X(this,a,!0),"filter",a)},is:function(b){return !!b&&a.filter(b,this).length>0},closest:function(d,g){var e=[],f,h,b=this[0];if(a.isArray(d)){var i,c,j={},k=1;if(b&&d.length){for(f=0,h=d.length;f<h;f++)c=d[f],j[c]||(j[c]=a.expr.match.POS.test(c)?a(c,g||this.context):c);while(b&&b.ownerDocument&&b!==g){for(c in j)i=j[c],(i.jquery?i.index(b)>-1:a(b).is(i))&&e.push({selector:c,elem:b,level:k});b=b.parentNode,k++}}return e}var l=Pb.test(d)?a(d,g||this.context):null;for(f=0,h=this.length;f<h;f++){b=this[f];while(b){if(l?l.index(b)>-1:a.find.matchesSelector(b,d)){e.push(b);break}b=b.parentNode;if(!b||!b.ownerDocument||b===g)break}}e=e.length>1?a.unique(e):e;return this.pushStack(e,"closest",d)},index:function(b){if(!b||typeof b==="string")return a.inArray(this[0],b?a(b):this.parent().children());return a.inArray(b.jquery?b[0]:b,this)},add:function(b,e){var d=typeof b==="string"?a(b,e):a.makeArray(b),c=a.merge(this.get(),d);return this.pushStack(W(d[0])||W(c[0])?c:a.unique(c))},andSelf:function(){return this.add(this.prevObject)}}),a.each({parent:function(b){var a=b.parentNode;return a&&a.nodeType!==11?a:null},parents:function(b){return a.dir(b,"parentNode")},parentsUntil:function(b,d,c){return a.dir(b,"parentNode",c)},next:function(b){return a.nth(b,2,"nextSibling")},prev:function(b){return a.nth(b,2,"previousSibling")},nextAll:function(b){return a.dir(b,"nextSibling")},prevAll:function(b){return a.dir(b,"previousSibling")},nextUntil:function(b,d,c){return a.dir(b,"nextSibling",c)},prevUntil:function(b,d,c){return a.dir(b,"previousSibling",c)},siblings:function(b){return a.sibling(b.parentNode.firstChild,b)},children:function(b){return a.sibling(b.firstChild)},contents:function(b){return a.nodeName(b,"iframe")?b.contentDocument||b.contentWindow.document:a.makeArray(b.childNodes)}},function(b,c){a.fn[b]=function(f,e){var d=a.map(this,c,f),g=Nb.call(arguments);Hb.test(b)||(e=f),e&&typeof e==="string"&&(d=a.filter(e,d)),d=this.length>1&&!Rb[b]?a.unique(d):d,(this.length>1||Kb.test(e))&&Ib.test(b)&&(d=d.reverse());return this.pushStack(d,b,g.join(","))}}),a.extend({filter:function(b,c,d){d&&(b=":not("+b+")");return c.length===1?a.find.matchesSelector(c[0],b)?[c[0]]:[]:a.find.matches(b,c)},dir:function(g,d,e){var f=[],b=g[d];while(b&&b.nodeType!==9&&(e===c||b.nodeType!==1||!a(b).is(e)))b.nodeType===1&&f.push(b),b=b[d];return f},nth:function(a,b,c){b=b||1;var d=0;for(;a;a=a[c])if(a.nodeType===1&&++d===b)break;return a},sibling:function(a,c){var b=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==c&&b.push(a);return b}});var Tb=/ jQuery\d+="(?:\d+|null)"/g,A=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,Yb=/<tbody/i,Zb=/<|&#?\w+;/,ab=/<(?:script|object|embed|option|style)/i,bb=/checked\s*(?:[^=]|=\s*.checked.)/i,e={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};e.optgroup=e.option,e.tbody=e.tfoot=e.colgroup=e.caption=e.thead,e.th=e.td,a.support.htmlSerialize||(e._default=[1,"div<div>","</div>"]),a.fn.extend({text:function(d){if(a.isFunction(d))return this.each(function(c){var b=a(this);b.text(d.call(this,c,b.text()))});if(typeof d!=="object"&&d!==c)return this.empty().append((this[0]&&this[0].ownerDocument||b).createTextNode(d));return a.text(this)},wrapAll:function(b){if(a.isFunction(b))return this.each(function(c){a(this).wrapAll(b.call(this,c))});if(this[0]){var c=a(b,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&c.insertBefore(this[0]),c.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(b){if(a.isFunction(b))return this.each(function(c){a(this).wrapInner(b.call(this,c))});return this.each(function(){var c=a(this),d=c.contents();d.length?d.wrapAll(b):c.append(b)})},wrap:function(b){return this.each(function(){a(this).wrapAll(b)})},unwrap:function(){return this.parent().each(function(){a.nodeName(this,"body")||a(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var b=a(arguments[0]);b.push.apply(b,this.toArray());return this.pushStack(b,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var b=this.pushStack(this,"after",arguments);b.push.apply(b,a(arguments[0]).toArray());return b}},remove:function(c,e){for(var d=0,b;(b=this[d])!=null;d++)if(!c||a.filter(c,[b]).length)!e&&b.nodeType===1&&(a.cleanData(b.getElementsByTagName("*")),a.cleanData([b])),b.parentNode&&b.parentNode.removeChild(b);return this},empty:function(){for(var c=0,b;(b=this[c])!=null;c++){b.nodeType===1&&a.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(b,c){b=b==null?!0:b,c=c==null?b:c;return this.map(function(){return a.clone(this,b,c)})},html:function(b){if(b===c)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Tb,""):null;if(typeof b!=="string"||ab.test(b)||!a.support.leadingWhitespace&&A.test(b)||e[(Z.exec(b)||["",""])[1].toLowerCase()])a.isFunction(b)?this.each(function(d){var c=a(this);c.html(b.call(this,d,c.html()))}):this.empty().append(b);else{b=b.replace(Y,"<$1></$2>");try{for(var d=0,f=this.length;d<f;d++)this[d].nodeType===1&&(a.cleanData(this[d].getElementsByTagName("*")),this[d].innerHTML=b)}catch(g){this.empty().append(b)}}return this},replaceWith:function(b){if(this[0]&&this[0].parentNode){if(a.isFunction(b))return this.each(function(d){var c=a(this),e=c.html();c.replaceWith(b.call(this,d,e))});typeof b!=="string"&&(b=a(b).detach());return this.each(function(){var c=this.nextSibling,d=this.parentNode;a(this).remove(),c?a(c).before(b):a(d).append(b)})}return this.pushStack(a(a.isFunction(b)?b():b),"replaceWith",b)},detach:function(a){return this.remove(a,!0)},domManip:function(f,d,k){var j,g,b,h,e=f[0],l=[];if(!a.support.checkClone&&arguments.length===3&&typeof e==="string"&&bb.test(e))return this.each(function(){a(this).domManip(f,d,k,!0)});if(a.isFunction(e))return this.each(function(g){var b=a(this);f[0]=e.call(this,g,d?b.html():c),b.domManip(f,d,k)});if(this[0]){h=e&&e.parentNode,a.support.parentNode&&h&&h.nodeType===11&&h.childNodes.length===this.length?(j={fragment:h}):(j=a.buildFragment(f,this,l)),b=j.fragment,b.childNodes.length===1?(g=b=b.firstChild):(g=b.firstChild);if(g){d=d&&a.nodeName(g,"tr");for(var i=0,m=this.length,n=m-1;i<m;i++)k.call(d?ac(this[i],g):this[i],j.cacheable||m>1&&i<n?a.clone(b,!0,!0):b)}l.length&&a.each(l,bc)}return this}}),a.buildFragment=function(c,f,i){var d,g,e,h=f&&f[0]?f[0].ownerDocument||f[0]:b;c.length===1&&typeof c[0]==="string"&&c[0].length<512&&h===b&&c[0].charAt(0)==="<"&&!ab.test(c[0])&&(a.support.checkClone||!bb.test(c[0]))&&(g=!0,e=a.fragments[c[0]],e&&(e!==1&&(d=e))),d||(d=h.createDocumentFragment(),a.clean(c,h,d,i)),g&&(a.fragments[c[0]]=e?d:1);return {fragment:d,cacheable:g}},a.fragments={},a.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(b,c){a.fn[b]=function(i){var f=[],d=a(i),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&d.length===1){d[c](this[0]);return this}for(var e=0,j=d.length;e<j;e++){var h=(e>0?this.clone(!0):this).get();a(d[e])[c](h),f=f.concat(h)}return this.pushStack(f,b,d.selector)}}),a.extend({clone:function(c,g,h){var e=c.cloneNode(!0),d,f,b;if(!a.support.noCloneEvent&&(c.nodeType===1||c.nodeType===11)&&!a.isXMLDoc(c)){d=c.getElementsByTagName("*"),f=e.getElementsByTagName("*");for(b=0;d[b];++b)P(d[b],f[b]);P(c,e)}if(g){eb(c,e);if(h&&"getElementsByTagName" in c){d=c.getElementsByTagName("*"),f=e.getElementsByTagName("*");if(d.length)for(b=0;d[b];++b)eb(d[b],f[b])}}return e},clean:function(p,g,l,m){g=g||b,typeof g.createElement==="undefined"&&(g=g.ownerDocument||g[0]&&g[0].ownerDocument||b);var d=[];for(var f=0,c;(c=p[f])!=null;f++){typeof c==="number"&&(c+="");if(!c)continue;if(typeof c!=="string"||Zb.test(c)){if(typeof c==="string"){c=c.replace(Y,"<$1></$2>");var n=(Z.exec(c)||["",""])[1].toLowerCase(),k=e[n]||e._default,q=k[0],h=g.createElement("div");h.innerHTML=k[1]+c+k[2];while(q--)h=h.lastChild;if(!a.support.tbody){var o=Yb.test(c),j=n==="table"&&!o?h.firstChild&&h.firstChild.childNodes:k[1]==="<table>"&&!o?h.childNodes:[];for(var i=j.length-1;i>=0;--i)a.nodeName(j[i],"tbody")&&!j[i].childNodes.length&&j[i].parentNode.removeChild(j[i])}!a.support.leadingWhitespace&&A.test(c)&&h.insertBefore(g.createTextNode(A.exec(c)[0]),h.firstChild),c=h.childNodes}}else c=g.createTextNode(c);c.nodeType?d.push(c):(d=a.merge(d,c))}if(l)for(f=0;d[f];f++)!m||!a.nodeName(d[f],"script")||d[f].type&&d[f].type.toLowerCase()!=="text/javascript"?(d[f].nodeType===1&&d.splice.apply(d,[f+1,0].concat(a.makeArray(d[f].getElementsByTagName("script")))),l.appendChild(d[f])):m.push(d[f].parentNode?d[f].parentNode.removeChild(d[f]):d[f]);return d},cleanData:function(h){var c,d,e=a.cache,i=a.expando,j=a.event.special,k=a.support.deleteExpando;for(var g=0,b;(b=h[g])!=null;g++){if(b.nodeName&&a.noData[b.nodeName.toLowerCase()])continue;d=b[a.expando];if(d){c=e[d]&&e[d][i];if(c&&c.events){for(var f in c.events)j[f]?a.event.remove(b,f):a.removeEvent(b,f,c.handle);c.handle&&(c.handle.elem=null)}k?delete b[a.expando]:b.removeAttribute&&b.removeAttribute(a.expando),delete e[d]}}}});var B=/alpha\([^)]*\)/i,gb=/opacity=([^)]*)/,ib=/-([a-z])/ig,jb=/([A-Z])/g,D=/^-?\d+(?:px)?$/i,kb=/^-?\d/,lb={position:"absolute",visibility:"hidden",display:"block"},mb=["Left","Right"],nb=["Top","Bottom"],i,G,n,rb=function(b,a){return a.toUpperCase()};a.fn.css=function(d,b){if(arguments.length===2&&b===c)return this;return a.access(this,d,b,!0,function(b,d,e){return e!==c?a.style(b,d,e):a.css(b,d)})},a.extend({cssHooks:{opacity:{"get":function(a,c){if(c){var b=i(a,"opacity","opacity");return b===""?"1":b}return a.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":a.support.cssFloat?"cssFloat":"styleFloat"},style:function(d,f,b,j){if(d&&d.nodeType!==3&&d.nodeType!==8&&d.style){var h,g=a.camelCase(f),i=d.style,e=a.cssHooks[g];f=a.cssProps[g]||g;if(b===c){if(e&&"get" in e&&(h=e.get(d,!1,j))!==c)return h;return i[f]}if(typeof b==="number"&&isNaN(b)||b==null)return;typeof b==="number"&&!a.cssNumber[g]&&(b+="px");if(!e||!("set" in e)||(b=e.set(d,b))!==c)try{i[f]=b}catch(k){}}},css:function(f,d,h){var g,b=a.camelCase(d),e=a.cssHooks[b];d=a.cssProps[b]||b;if(e&&"get" in e&&(g=e.get(f,!0,h))!==c)return g;if(i)return i(f,d,b)},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(a in c)b.style[a]=d[a]},camelCase:function(a){return a.replace(ib,rb)}}),a.curCSS=a.css,a.each(["height","width"],function(c,b){a.cssHooks[b]={"get":function(d,f,e){var c;if(f){d.offsetWidth!==0?(c=H(d,b,e)):a.swap(d,lb,function(){c=H(d,b,e)});if(c<=0){c=i(d,b,b),c==="0px"&&n&&(c=n(d,b,b));if(c!=null)return c===""||c==="auto"?"0px":c}if(c<0||c==null){c=d.style[b];return c===""||c==="auto"?"0px":c}return typeof c==="string"?c:c+"px"}},"set":function(b,a){if(!D.test(a))return a;a=parseFloat(a);if(a>=0)return a+"px"}}}),a.support.opacity||(a.cssHooks.opacity={"get":function(a,b){return gb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},"set":function(f,c){var b=f.style;b.zoom=1;var d=a.isNaN(c)?"":"alpha(opacity="+c*100+")",e=b.filter||"";b.filter=B.test(e)?e.replace(B,d):b.filter+" "+d}}),b.defaultView&&b.defaultView.getComputedStyle&&(G=function(b,h,d){var e,f,g;d=d.replace(jb,"-$1").toLowerCase();if(!(f=b.ownerDocument.defaultView))return c;if(g=f.getComputedStyle(b,null))e=g.getPropertyValue(d),e===""&&!a.contains(b.ownerDocument.documentElement,b)&&(e=a.style(b,d));return e}),b.documentElement.currentStyle&&(n=function(a,d){var f,b=a.currentStyle&&a.currentStyle[d],e=a.runtimeStyle&&a.runtimeStyle[d],c=a.style;!D.test(b)&&kb.test(b)&&(f=c.left,e&&(a.runtimeStyle.left=a.currentStyle.left),c.left=d==="fontSize"?"1em":b||0,b=c.pixelLeft+"px",c.left=f,e&&(a.runtimeStyle.left=e));return b===""?"auto":b}),i=G||n,a.expr&&a.expr.filters&&(a.expr.filters.hidden=function(b){var c=b.offsetWidth,d=b.offsetHeight;return c===0&&d===0||!a.support.reliableHiddenOffsets&&(b.style.display||a.css(b,"display"))==="none"},a.expr.filters.visible=function(b){return !a.expr.filters.hidden(b)});var tb=/%20/g,ub=/\[\]$/,J=/\r?\n/g,vb=/#.*$/,xb=/^(.*?):\s*(.*?)\r?$/mg,yb=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Ab=/^(?:GET|HEAD)$/,Bb=/^\/\//,L=/\?/,Cb=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,Db=/^(?:select|textarea)/i,O=/\s+/,fb=/([?&])_=[^&]*/,hb=/^(\w+:)\/\/([^\/?#:]+)(?::(\d+))?/,C=a.fn.load,u={},E={};a.fn.extend({load:function(c,b,d){if(typeof c!=="string"&&C)return C.apply(this,arguments);if(!this.length)return this;var e=c.indexOf(" ");if(e>=0){var f=c.slice(e,c.length);c=c.slice(0,e)}var g="GET";b&&(a.isFunction(b)?(d=b,b=null):typeof b==="object"&&(b=a.param(b,a.ajaxSettings.traditional),g="POST"));var h=this;a.ajax({url:c,type:g,dataType:"html",data:b,complete:function(c,e,b){b=c.responseText,c.isResolved()&&(c.done(function(a){b=a}),h.html(f?a("<div>").append(b.replace(Cb,"")).find(f):b)),d&&h.each(d,[b,e,c])}});return this},serialize:function(){return a.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?a.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||Db.test(this.nodeName)||yb.test(this.type))}).map(function(d,c){var b=a(this).val();return b==null?null:a.isArray(b)?a.map(b,function(a){return {name:c.name,value:a.replace(J,"\r\n")}}):{name:c.name,value:b.replace(J,"\r\n")}}).get()}}),a.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(c,b){a.fn[b]=function(a){return this.bind(b,a)}}),a.each(["get","post"],function(c,b){a[b]=function(f,c,d,e){a.isFunction(c)&&(e=e||d,d=c,c=null);return a.ajax({type:b,url:f,data:c,success:d,dataType:e})}}),a.extend({getScript:function(b,c){return a.get(b,null,c,"script")},getJSON:function(b,c,d){return a.get(b,c,d,"json")},ajaxSetup:function(b){a.extend(!0,a.ajaxSettings,b),b.context&&(a.ajaxSettings.context=b.context)},ajaxSettings:{url:location.href,global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":d.String,"text html":!0,"text json":a.parseJSON,"text xml":a.parseXML}},ajaxPrefilter:F(u),ajaxTransport:F(E),ajax:function(q,f){function n(b,f,m,q){if(g!==2){g=2,v&&clearTimeout(v),j=c,t=q||"",e.readyState=b?4:0;var h,l,k,u=m?ob(d,e,m):c,n,p;if(b>=200&&b<300||b===304){if(d.ifModified){if(n=e.getResponseHeader("Last-Modified"))a.lastModified[d.url]=n;if(p=e.getResponseHeader("Etag"))a.etag[d.url]=p}if(b===304)f="notmodified",h=!0;else try{l=pb(d,u),f="success",h=!0}catch(w){f="parsererror",k=w}}else k=f,b&&(f="error",b<0&&(b=0));e.status=b,e.statusText=f,h?s.resolveWith(i,[l,f,e]):s.rejectWith(i,[e,f,k]),e.statusCode(o),o=c,d.global&&r.trigger("ajax"+(h?"Success":"Error"),[e,d,h?l:k]),y.resolveWith(i,[e,f]),d.global&&(r.trigger("ajaxComplete",[e,d]),--a.active||a.event.trigger("ajaxStop"))}}typeof f!=="object"&&(f=q,q=c),f=f||{};var d=a.extend(!0,{},a.ajaxSettings,f),i=(d.context=("context" in f?f:a.ajaxSettings).context)||d,r=i===d?a.event:a(i),s=a.Deferred(),y=a._Deferred(),o=d.statusCode||{},h={},t,p,j,v,w=b.location,x=w.protocol||"http:",k,g=0,m,e={readyState:0,setRequestHeader:function(a,b){g===0&&(h[a.toLowerCase()]=b);return this},getAllResponseHeaders:function(){return g===2?t:null},getResponseHeader:function(b){var a;if(g===2){if(!p){p={};while(a=xb.exec(t))p[a[1].toLowerCase()]=a[2]}a=p[b.toLowerCase()]}return a||null},abort:function(a){a=a||"abort",j&&j.abort(a),n(0,a);return this}};s.promise(e),e.success=e.done,e.error=e.fail,e.complete=y.done,e.statusCode=function(b){if(b){var a;if(g<2)for(a in b)o[a]=[o[a],b[a]];else a=b[e.status],e.then(a,a)}return this},d.url=(""+(q||d.url)).replace(vb,"").replace(Bb,x+"//"),d.dataTypes=a.trim(d.dataType||"*").toLowerCase().split(O),d.crossDomain||(k=hb.exec(d.url.toLowerCase()),d.crossDomain=k&&(k[1]!=x||k[2]!=w.hostname||(k[3]||(k[1]==="http:"?80:443))!=(w.port||(x==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!=="string"&&(d.data=a.param(d.data,d.traditional)),l(u,d,f,e),d.type=d.type.toUpperCase(),d.hasContent=!Ab.test(d.type),d.global&&a.active++===0&&a.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(L.test(d.url)?"&":"?")+d.data);if(d.cache===!1){var z=a.now(),A=d.url.replace(fb,"$1_="+z);d.url=A+(A===d.url?(L.test(d.url)?"&":"?")+"_="+z:"")}}if(d.data&&d.hasContent&&d.contentType!==!1||f.contentType)h["content-type"]=d.contentType;d.ifModified&&(a.lastModified[d.url]&&(h["if-modified-since"]=a.lastModified[d.url]),a.etag[d.url]&&(h["if-none-match"]=a.etag[d.url])),h.accept=d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", */*; q=0.01":""):d.accepts["*"];for(m in d.headers)h[m.toLowerCase()]=d.headers[m];if(!d.beforeSend||d.beforeSend.call(i,e,d)!==!1&&g!==2){for(m in {success:1,error:1,complete:1})e[m](d[m]);j=l(E,d,f,e);if(j){g=e.readyState=1,d.global&&r.trigger("ajaxSend",[e,d]),d.async&&d.timeout>0&&(v=setTimeout(function(){e.abort("timeout")},d.timeout));try{j.send(h,n)}catch(B){status<2?n(-1,B):a.error(B)}}else n(-1,"No Transport")}else n(0,"abort"),e=!1;return e},param:function(b,d){var e=[],f=function(c,b){b=a.isFunction(b)?b():b,e[e.length]=encodeURIComponent(c)+"="+encodeURIComponent(b)};d===c&&(d=a.ajaxSettings.traditional);if(a.isArray(b)||b.jquery)a.each(b,function(){f(this.name,this.value)});else for(var g in b)v(g,b[g],d,f);return e.join("&").replace(tb,"+")}}),a.extend({active:0,lastModified:{},etag:{}});var qb=a.now(),m=/(\=)\?(&|$)|()\?\?()/i;a.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return a.expando+"_"+qb++}}),a.ajaxPrefilter("json jsonp",function(b,j,h){h=typeof b.data==="string";if(b.dataTypes[0]==="jsonp"||j.jsonpCallback||j.jsonp!=null||b.jsonp!==!1&&(m.test(b.url)||h&&m.test(b.data))){var f,c=b.jsonpCallback=a.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=d[c],e=b.url,g=b.data,k="$1"+c+"$2";b.jsonp!==!1&&(e=e.replace(m,k),b.url===e&&(h&&(g=g.replace(m,k)),b.data===g&&(e+=(/\?/.test(e)?"&":"?")+b.jsonp+"="+c))),b.url=e,b.data=g,d[c]=function(a){f=[a]},b.complete=[function(){d[c]=i;if(i)f&&a.isFunction(i)&&d[c](f[0]);else try{delete d[c]}catch(b){}},b.complete],b.converters["script json"]=function(){f||a.error(c+" was not called");return f[0]},b.dataTypes[0]="json";return "script"}}),a.ajaxSetup({accepts:{script:"text/javascript, application/javascript"},contents:{script:/javascript/},converters:{"text script":function(b){a.globalEval(b);return b}}}),a.ajaxPrefilter("script",function(a){a.cache===c&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),a.ajaxTransport("script",function(d){if(d.crossDomain){var a,e=b.getElementsByTagName("head")[0]||b.documentElement;return {send:function(g,f){a=b.createElement("script"),a.async="async",d.scriptCharset&&(a.charset=d.scriptCharset),a.src=d.url,a.onload=a.onreadystatechange=function(d,b){if(!a.readyState||/loaded|complete/.test(a.readyState))a.onload=a.onreadystatechange=null,e&&a.parentNode&&e.removeChild(a),a=c,b||f(200,"success")},e.insertBefore(a,e.firstChild)},abort:function(){a&&a.onload(0,1)}}}});var sb=a.now(),w={},I,j;a.ajaxSettings.xhr=d.ActiveXObject?function(){if(d.location.protocol!=="file:")try{return new d.XMLHttpRequest}catch(a){}try{return new d.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}}:function(){return new d.XMLHttpRequest};try{j=a.ajaxSettings.xhr()}catch(cc){}a.support.ajax=!!j,a.support.cors=j&&"withCredentials" in j,j=c,a.support.ajax&&a.ajaxTransport(function(b){if(!b.crossDomain||a.support.cors){var c;return {send:function(g,h){I||(I=1,a(d).bind("unload",function(){a.each(w,function(b,a){a.onreadystatechange&&a.onreadystatechange(1)})}));var e=b.xhr(),f;b.username?e.open(b.type,b.url,b.async,b.username,b.password):e.open(b.type,b.url,b.async),(!b.crossDomain||b.hasContent)&&!g["x-requested-with"]&&(g["x-requested-with"]="XMLHttpRequest");try{a.each(g,function(a,b){e.setRequestHeader(a,b)})}catch(i){}e.send(b.hasContent&&b.data||null),c=function(m,k){if(c&&(k||e.readyState===4)){c=0,f&&(e.onreadystatechange=a.noop,delete w[f]);if(k)e.readyState!==4&&e.abort();else{var d=e.status,g,l=e.getAllResponseHeaders(),i={},j=e.responseXML;j&&j.documentElement&&(i.xml=j),i.text=e.responseText;try{g=e.statusText}catch(n){g=""}d=d===0?!b.crossDomain||g?l?304:0:302:d==1223?204:d,h(d,g,i,l)}}},b.async&&e.readyState!==4?(f=sb++,w[f]=e,e.onreadystatechange=c):c()},abort:function(){c&&c(0,1)}}}});var x={},wb=/^(?:toggle|show|hide)$/,zb=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,o,K=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];a.fn.extend({show:function(e,h,i){var b,c;if(e||e===0)return this.animate(g("show",3),e,h,i);for(var d=0,f=this.length;d<f;d++)b=this[d],c=b.style.display,!a._data(b,"olddisplay")&&c==="none"&&(c=b.style.display=""),c===""&&a.css(b,"display")==="none"&&a._data(b,"olddisplay",M(b.nodeName));for(d=0;d<f;d++){b=this[d],c=b.style.display;if(c===""||c==="none")b.style.display=a._data(b,"olddisplay")||""}return this},hide:function(c,f,h){if(c||c===0)return this.animate(g("hide",3),c,f,h);for(var b=0,d=this.length;b<d;b++){var e=a.css(this[b],"display");e!=="none"&&!a._data(this[b],"olddisplay")&&a._data(this[b],"olddisplay",e)}for(b=0;b<d;b++)this[b].style.display="none";return this},_toggle:a.fn.toggle,toggle:function(b,c,e){var d=typeof b==="boolean";a.isFunction(b)&&a.isFunction(c)?this._toggle.apply(this,arguments):b==null||d?this.each(function(){var c=d?b:a(this).is(":hidden");a(this)[c?"show":"hide"]()}):this.animate(g("toggle",3),b,c,e);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(b,d,e,f){var c=a.speed(d,e,f);if(a.isEmptyObject(b))return this.each(c.complete);return this[c.queue===!1?"each":"queue"](function(){var e=a.extend({},c),d,i=this.nodeType===1,f=i&&a(this).is(":hidden"),g=this;for(d in b){var h=a.camelCase(d);d!==h&&(b[h]=b[d],delete b[d],d=h);if(b[d]==="hide"&&f||b[d]==="show"&&!f)return e.complete.call(this);if(i&&(d==="height"||d==="width")){e.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(a.css(this,"display")==="inline"&&a.css(this,"float")==="none")if(a.support.inlineBlockNeedsLayout){var j=M(this.nodeName);j==="inline"?(this.style.display="inline-block"):(this.style.display="inline",this.style.zoom=1)}else this.style.display="inline-block"}a.isArray(b[d])&&((e.specialEasing=e.specialEasing||{})[d]=b[d][1],b[d]=b[d][0])}e.overflow!=null&&(this.style.overflow="hidden"),e.curAnim=a.extend({},b),a.each(b,function(l,d){var h=new a.fx(g,e,l);if(wb.test(d))h[d==="toggle"?f?"show":"hide":d](b);else{var i=zb.exec(d),c=h.cur()||0;if(i){var j=parseFloat(i[2]),k=i[3]||"px";k!=="px"&&(a.style(g,l,(j||1)+k),c=(j||1)/h.cur()*c,a.style(g,l,c+k)),i[1]&&(j=(i[1]==="-="?-1:1)*j+c),h.custom(c,j,k)}else h.custom(c,d,"")}});return !0})},stop:function(d,c){var b=a.timers;d&&this.queue([]),this.each(function(){for(var a=b.length-1;a>=0;a--)b[a].elem===this&&(c&&b[a](!0),b.splice(a,1))}),c||this.dequeue();return this}}),a.each({slideDown:g("show",1),slideUp:g("hide",1),slideToggle:g("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(b,c){a.fn[b]=function(a,b,d){return this.animate(c,a,b,d)}}),a.extend({speed:function(c,d,e){var b=c&&typeof c==="object"?a.extend({},c):{complete:e||!e&&d||a.isFunction(c)&&c,duration:c,easing:e&&d||d&&!a.isFunction(d)&&d};b.duration=a.fx.off?0:typeof b.duration==="number"?b.duration:b.duration in a.fx.speeds?a.fx.speeds[b.duration]:a.fx.speeds._default,b.old=b.complete,b.complete=function(){b.queue!==!1&&a(this).dequeue(),a.isFunction(b.old)&&b.old.call(this)};return b},easing:{linear:function(a,d,b,c){return b+c*a},swing:function(a,d,b,c){return (-Math.cos(a*Math.PI)/2+.5)*c+b}},timers:[],fx:function(b,a,c){this.options=a,this.elem=b,this.prop=c,a.orig||(a.orig={})}}),a.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(a.fx.step[this.prop]||a.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var b=parseFloat(a.css(this.elem,this.prop));return b||0},custom:function(d,e,f){function b(a){return g.step(a)}var g=this,c=a.fx;this.startTime=a.now(),this.start=d,this.end=e,this.unit=f||this.unit||"px",this.now=this.start,this.pos=this.state=0,b.elem=this.elem,b()&&a.timers.push(b)&&!o&&(o=setInterval(c.tick,c.interval))},show:function(){this.options.orig[this.prop]=a.style(this.elem,this.prop),this.options.show=!0,this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),a(this.elem).show()},hide:function(){this.options.orig[this.prop]=a.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(f){var b=a.now(),c=!0;if(f||b>=this.options.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),this.options.curAnim[this.prop]=!0;for(var g in this.options.curAnim)this.options.curAnim[g]!==!0&&(c=!1);if(c){if(this.options.overflow!=null&&!a.support.shrinkWrapBlocks){var h=this.elem,i=this.options;a.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]})}this.options.hide&&a(this.elem).hide();if(this.options.hide||this.options.show)for(var d in this.options.curAnim)a.style(this.elem,d,this.options.orig[d]);this.options.complete.call(this.elem)}return !1}var e=b-this.startTime;this.state=e/this.options.duration;var j=this.options.specialEasing&&this.options.specialEasing[this.prop],k=this.options.easing||(a.easing.swing?"swing":"linear");this.pos=a.easing[j||k](this.state,e,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update();return !0}},a.extend(a.fx,{tick:function(){var b=a.timers;for(var c=0;c<b.length;c++)b[c]()||b.splice(c--,1);b.length||a.fx.stop()},interval:13,stop:function(){clearInterval(o),o=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(b){a.style(b.elem,"opacity",b.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?(a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit):(a.elem[a.prop]=a.now)}}}),a.expr&&a.expr.filters&&(a.expr.filters.animated=function(b){return a.grep(a.timers,function(a){return b===a.elem}).length});var Eb=/^t(?:able|d|h)$/i,N=/^(?:body|html)$/i;"getBoundingClientRect" in b.documentElement?(a.fn.offset=function(g){var b=this[0],c;if(g)return this.each(function(b){a.offset.setOffset(this,g,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return a.offset.bodyOffset(b);try{c=b.getBoundingClientRect()}catch(o){}var f=b.ownerDocument,d=f.documentElement;if(!c||!a.contains(d,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var e=f.body,h=t(f),i=d.clientTop||e.clientTop||0,j=d.clientLeft||e.clientLeft||0,k=h.pageYOffset||a.support.boxModel&&d.scrollTop||e.scrollTop,l=h.pageXOffset||a.support.boxModel&&d.scrollLeft||e.scrollLeft,m=c.top+k-i,n=c.left+l-j;return {top:m,left:n}}):(a.fn.offset=function(l){var b=this[0];if(l)return this.each(function(b){a.offset.setOffset(this,l,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return a.offset.bodyOffset(b);a.offset.initialize();var c,i=b.offsetParent,m=b,j=b.ownerDocument,k=j.documentElement,f=j.body,h=j.defaultView,g=h?h.getComputedStyle(b,null):b.currentStyle,d=b.offsetTop,e=b.offsetLeft;while((b=b.parentNode)&&b!==f&&b!==k){if(a.offset.supportsFixedPosition&&g.position==="fixed")break;c=h?h.getComputedStyle(b,null):b.currentStyle,d-=b.scrollTop,e-=b.scrollLeft,b===i&&(d+=b.offsetTop,e+=b.offsetLeft,a.offset.doesNotAddBorder&&(!a.offset.doesAddBorderForTableAndCells||!Eb.test(b.nodeName))&&(d+=parseFloat(c.borderTopWidth)||0,e+=parseFloat(c.borderLeftWidth)||0),m=i,i=b.offsetParent),a.offset.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(d+=parseFloat(c.borderTopWidth)||0,e+=parseFloat(c.borderLeftWidth)||0),g=c}if(g.position==="relative"||g.position==="static")d+=f.offsetTop,e+=f.offsetLeft;a.offset.supportsFixedPosition&&g.position==="fixed"&&(d+=Math.max(k.scrollTop,f.scrollTop),e+=Math.max(k.scrollLeft,f.scrollLeft));return {top:d,left:e}}),a.offset={initialize:function(){var d=b.body,e=b.createElement("div"),f,c,h,g,i=parseFloat(a.css(d,"marginTop"))||0,j="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";a.extend(e.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),e.innerHTML=j,d.insertBefore(e,d.firstChild),f=e.firstChild,c=f.firstChild,g=f.nextSibling.firstChild.firstChild,this.doesNotAddBorder=c.offsetTop!==5,this.doesAddBorderForTableAndCells=g.offsetTop===5,c.style.position="fixed",c.style.top="20px",this.supportsFixedPosition=c.offsetTop===20||c.offsetTop===15,c.style.position=c.style.top="",f.style.overflow="hidden",f.style.position="relative",this.subtractsBorderForOverflowNotVisible=c.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=d.offsetTop!==i,d.removeChild(e),d=e=f=c=h=g=null,a.offset.initialize=a.noop},bodyOffset:function(b){var c=b.offsetTop,d=b.offsetLeft;a.offset.initialize(),a.offset.doesNotIncludeMarginInBodyOffset&&(c+=parseFloat(a.css(b,"marginTop"))||0,d+=parseFloat(a.css(b,"marginLeft"))||0);return {top:c,left:d}},setOffset:function(c,b,n){var i=a.css(c,"position");i==="static"&&(c.style.position="relative");var e=a(c),f=e.offset(),j=a.css(c,"top"),k=a.css(c,"left"),g=i==="absolute"&&a.inArray("auto",[j,k])>-1,d={},h={},l,m;g&&(h=e.position()),l=g?h.top:parseInt(j,10)||0,m=g?h.left:parseInt(k,10)||0,a.isFunction(b)&&(b=b.call(c,n,f)),b.top!=null&&(d.top=b.top-f.top+l),b.left!=null&&(d.left=b.left-f.left+m),"using" in b?b.using.call(c,d):e.css(d)}},a.fn.extend({position:function(){if(!this[0])return null;var e=this[0],b=this.offsetParent(),c=this.offset(),d=N.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(a.css(e,"marginTop"))||0,c.left-=parseFloat(a.css(e,"marginLeft"))||0,d.top+=parseFloat(a.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(a.css(b[0],"borderLeftWidth"))||0;return {top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var c=this.offsetParent||b.body;while(c&&(!N.test(c.nodeName)&&a.css(c,"position")==="static"))c=c.offsetParent;return c})}}),a.each(["Left","Top"],function(d,e){var b="scroll"+e;a.fn[b]=function(f){var g=this[0],e;if(!g)return null;if(f!==c)return this.each(function(){e=t(this),e?e.scrollTo(d?a(e).scrollLeft():f,d?f:a(e).scrollTop()):(this[b]=f)});e=t(g);return e?"pageXOffset" in e?e[d?"pageYOffset":"pageXOffset"]:a.support.boxModel&&e.document.documentElement[b]||e.document.body[b]:g[b]}}),a.each(["Height","Width"],function(e,b){var d=b.toLowerCase();a.fn["inner"+b]=function(){return this[0]?parseFloat(a.css(this[0],d,"padding")):null},a.fn["outer"+b]=function(b){return this[0]?parseFloat(a.css(this[0],d,b?"margin":"border")):null},a.fn[d]=function(f){var e=this[0];if(!e)return f==null?null:this;if(a.isFunction(f))return this.each(function(c){var b=a(this);b[d](f.call(this,c,b[d]()))});if(a.isWindow(e)){var g=e.document.documentElement["client"+b];return e.document.compatMode==="CSS1Compat"&&g||e.document.body["client"+b]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+b],e.body["scroll"+b],e.documentElement["scroll"+b],e.body["offset"+b],e.documentElement["offset"+b]);if(f===c){var h=a.css(e,d),i=parseFloat(h);return a.isNaN(i)?h:i}return this.css(d,typeof f==="string"?f:f+"px")}})})(window)
