/*! * jquery javascript library v1.5 * http://jquery.com/ * * copyright 2011, john resig * dual licensed under the mit or gpl version 2 licenses. * http://jquery.org/license * * includes sizzle.js * http://sizzlejs.com/ * copyright 2011, the dojo foundation * released under the mit, bsd, and gpl licenses. * * date: mon jan 31 08:31:29 2011 -0500 */ (function(a,b){function b$(a){return d.iswindow(a)?a:a.nodetype===9?a.defaultview||a.parentwindow:!1}function bx(a){if(!br[a]){var b=d("<"+a+">").appendto("body"),c=b.css("display");b.remove();if(c==="none"||c==="")c="block";br[a]=c}return br[a]}function bw(a,b){var c={};d.each(bv.concat.apply([],bv.slice(0,b)),function(){c[this]=a});return c}function bj(a,c){a.datafilter&&(c=a.datafilter(c,a.datatype));var e=a.datatypes,f=a.converters,g,h=e.length,i,j=e[0],k,l,m,n,o;for(g=1;g=0===c})}function n(a){return!a||!a.parentnode||a.parentnode.nodetype===11}function f(a,b){return(a&&a!=="*"?a+".":"")+b.replace(q,"`").replace(r,"&")}function e(a){var b,c,e,f,g,h,i,j,k,l,m,n,p,q=[],r=[],s=d._data(this,u);typeof s==="function"&&(s=s.events);if(a.livefired!==this&&s&&s.live&&!a.target.disabled&&(!a.button||a.type!=="click")){a.namespace&&(n=new regexp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),a.livefired=this;var t=s.live.slice(0);for(i=0;ic)break;a.currenttarget=f.elem,a.data=f.handleobj.data,a.handleobj=f.handleobj,p=f.handleobj.orighandler.apply(f.elem,arguments);if(p===!1||a.ispropagationstopped()){c=f.level,p===!1&&(b=!1);if(a.isimmediatepropagationstopped())break}}return b}}function c(a,b,c){c[0].type=a;return d.event.handle.apply(b,c)}function w(){return!0}function v(){return!1}function f(a,c,f){if(f===b&&a.nodetype===1){f=a.getattribute("data-"+c);if(typeof f==="string"){try{f=f==="true"?!0:f==="false"?!1:f==="null"?null:d.isnan(f)?e.test(f)?d.parsejson(f):f:parsefloat(f)}catch(g){}d.data(a,c,f)}else f=b}return f}var c=a.document,d=function(){function i(){if(!d.isready){try{c.documentelement.doscroll("left")}catch(a){settimeout(i,1);return}d.ready()}}var d=function(a,b){return new d.fn.init(a,b,g)},e=a.jquery,f=a.$,g,h=/^(?:[^<]*(<[\w\w]+>)[^>]*$|#([\w\-]+)$)/,i=/\s/,j=/^\s+/,k=/\s+$/,l=/\d/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fa-f]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[ee][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=navigator.useragent,w,x=!1,y,z="then done fail isresolved isrejected promise".split(" "),a,b=object.prototype.tostring,c=object.prototype.hasownproperty,d=array.prototype.push,e=array.prototype.slice,f=string.prototype.trim,g=array.prototype.indexof,h={};d.fn=d.prototype={constructor:d,init:function(a,e,f){var g,i,j,k;if(!a)return this;if(a.nodetype){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!e&&c.body){this.context=c,this[0]=c.body,this.selector="body",this.length=1;return this}if(typeof a==="string"){g=h.exec(a);if(!g||!g[1]&&e)return!e||e.jquery?(e||f).find(a):this.constructor(e).find(a);if(g[1]){e=e instanceof d?e[0]:e,k=e?e.ownerdocument||e:c,j=m.exec(a),j?d.isplainobject(e)?(a=[c.createelement(j[1])],d.fn.attr.call(a,e,!0)):a=[k.createelement(j[1])]:(j=d.buildfragment([g[1]],[k]),a=(j.cacheable?d.clone(j.fragment):j.fragment).childnodes);return d.merge(this,a)}i=c.getelementbyid(g[2]);if(i&&i.parentnode){if(i.id!==g[2])return f.find(a);this.length=1,this[0]=i}this.context=c,this.selector=a;return this}if(d.isfunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return d.makearray(a,this)},selector:"",jquery:"1.5",length:0,size:function(){return this.length},toarray:function(){return e.call(this,0)},get:function(a){return a==null?this.toarray():a<0?this[this.length+a]:this[a]},pushstack:function(a,b,c){var e=this.constructor();d.isarray(a)?d.apply(e,a):d.merge(e,a),e.prevobject=this,e.context=this.context,b==="find"?e.selector=this.selector+(this.selector?" ":"")+c:b&&(e.selector=this.selector+"."+b+"("+c+")");return e},each:function(a,b){return d.each(this,a,b)},ready:function(a){d.bindready(),y.done(a);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(e.apply(this,arguments),"slice",e.call(arguments).join(","))},map:function(a){return this.pushstack(d.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevobject||this.constructor(null)},push:d,sort:[].sort,splice:[].splice},d.fn.init.prototype=d.fn,d.extend=d.fn.extend=function(){var a,c,e,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i==="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!=="object"&&!d.isfunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;y.resolvewith(c,[d]),d.fn.trigger&&d(c).trigger("ready").unbind("ready")}},bindready:function(){if(!x){x=!0;if(c.readystate==="complete")return settimeout(d.ready,1);if(c.addeventlistener)c.addeventlistener("domcontentloaded",a,!1),a.addeventlistener("load",d.ready,!1);else if(c.attachevent){c.attachevent("onreadystatechange",a),a.attachevent("onload",d.ready);var b=!1;try{b=a.frameelement==null}catch(e){}c.documentelement.doscroll&&b&&i()}}},isfunction:function(a){return d.type(a)==="function"},isarray:array.isarray||function(a){return d.type(a)==="array"},iswindow:function(a){return a&&typeof a==="object"&&"setinterval"in a},isnan:function(a){return a==null||!l.test(a)||isnan(a)},type:function(a){return a==null?string(a):h[b.call(a)]||"object"},isplainobject:function(a){if(!a||d.type(a)!=="object"||a.nodetype||d.iswindow(a))return!1;if(a.constructor&&!c.call(a,"constructor")&&!c.call(a.constructor.prototype,"isprototypeof"))return!1;var c;for(c in a){}return c===b||c.call(a,c)},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=d.trim(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return a.json&&a.json.parse?a.json.parse(b):(new function("return "+b))();d.error("invalid json: "+b)},parsexml:function(b,c,e){a.domparser?(e=new domparser,c=e.parsefromstring(b,"text/xml")):(c=new activexobject("microsoft.xmldom"),c.async="false",c.loadxml(b)),e=c.documentelement,(!e||!e.nodename||e.nodename==="parsererror")&&d.error("invalid xml: "+b);return c},noop:function(){},globaleval:function(a){if(a&&i.test(a)){var b=c.getelementsbytagname("head")[0]||c.documentelement,e=c.createelement("script");e.type="text/javascript",d.support.scripteval()?e.appendchild(c.createtextnode(a)):e.text=a,b.insertbefore(e,b.firstchild),b.removechild(e)}},nodename:function(a,b){return a.nodename&&a.nodename.touppercase()===b.touppercase()},each:function(a,c,e){var f,g=0,h=a.length,i=h===b||d.isfunction(a);if(e){if(i){for(f in a)if(c.apply(a[f],e)===!1)break}else for(;g1?(g=array(c),d.each(b,function(a,b){d.when(b).then(function(b){g[a]=arguments.length>1?e.call(arguments,0):b,--c||e.resolvewith(f,g)},e.reject)})):e!==a&&e.resolve(a);return f},uamatch:function(a){a=a.tolowercase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexof("compatible")<0&&u.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}d.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.subclass=this.subclass,a.fn.init=function b(b,c){c&&c instanceof d&&!(c instanceof a)&&(c=a(c));return d.fn.init.call(this,b,c,e)},a.fn.init.prototype=a.fn;var e=a(c);return a},browser:{}}),y=d._deferred(),d.each("boolean number string function array date regexp object".split(" "),function(a,b){h["[object "+b+"]"]=b.tolowercase()}),w=d.uamatch(v),w.browser&&(d.browser[w.browser]=!0,d.browser.version=w.version),d.browser.webkit&&(d.browser.safari=!0),g&&(d.inarray=function(a,b){return g.call(b,a)}),i.test("聽")&&(j=/^[\s\xa0]+/,k=/[\s\xa0]+$/),g=d(c),c.addeventlistener?a=function(){c.removeeventlistener("domcontentloaded",a,!1),d.ready()}:c.attachevent&&(a=function(){c.readystate==="complete"&&(c.detachevent("onreadystatechange",a),d.ready())});return a.jquery=a.$=d}();(function(){d.support={};var b=c.createelement("div");b.style.display="none",b.innerhtml="
a";var e=b.getelementsbytagname("*"),f=b.getelementsbytagname("a")[0],g=c.createelement("select"),h=g.appendchild(c.createelement("option"));if(e&&e.length&&f){d.support={leadingwhitespace:b.firstchild.nodetype===3,tbody:!b.getelementsbytagname("tbody").length,htmlserialize:!!b.getelementsbytagname("link").length,style:/red/.test(f.getattribute("style")),hrefnormalized:f.getattribute("href")==="/a",opacity:/^0.55$/.test(f.style.opacity),cssfloat:!!f.style.cssfloat,checkon:b.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,d.support.optdisabled=!h.disabled,d.support.scripteval=function(){if(d.support._scripteval===null){var b=c.documentelement,e=c.createelement("script"),f="script"+d.now();e.type="text/javascript";try{e.appendchild(c.createtextnode("window."+f+"=1;"))}catch(g){}b.insertbefore(e,b.firstchild),a[f]?(d.support._scripteval=!0,delete a[f]):d.support._scripteval=!1,b.removechild(e),b=e=f=null}return d.support._scripteval};try{delete b.test}catch(i){d.support.deleteexpando=!1}b.attachevent&&b.fireevent&&(b.attachevent("onclick",function j(){d.support.nocloneevent=!1,b.detachevent("onclick",j)}),b.clonenode(!0).fireevent("onclick")),b=c.createelement("div"),b.innerhtml="";var k=c.createdocumentfragment();k.appendchild(b.firstchild),d.support.checkclone=k.clonenode(!0).clonenode(!0).lastchild.checked,d(function(){var a=c.createelement("div"),b=c.getelementsbytagname("body")[0];if(b){a.style.width=a.style.paddingleft="1px",b.appendchild(a),d.boxmodel=d.support.boxmodel=a.offsetwidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,d.support.inlineblockneedslayout=a.offsetwidth===2,a.style.display="",a.innerhtml="
",d.support.shrinkwrapblocks=a.offsetwidth!==2),a.innerhtml="
t
";var e=a.getelementsbytagname("td");d.support.reliablehiddenoffsets=e[0].offsetheight===0,e[0].style.display="",e[1].style.display="none",d.support.reliablehiddenoffsets=d.support.reliablehiddenoffsets&&e[0].offsetheight===0,a.innerhtml="",b.removechild(a).style.display="none",a=e=null}});var l=function(a){var b=c.createelement("div");a="on"+a;if(!b.attachevent)return!0;var d=a in b;d||(b.setattribute(a,"return;"),d=typeof b[a]==="function"),b=null;return d};d.support.submitbubbles=l("submit"),d.support.changebubbles=l("change"),b=e=f=null}})();var e=/^(?:\{.*\}|\[.*\])$/;d.extend({cache:{},uuid:0,expando:"jquery"+(d.fn.jquery+math.random()).replace(/\d/g,""),nodata:{embed:!0,object:"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000",applet:!0},hasdata:function(a){a=a.nodetype?d.cache[a[d.expando]]:a[d.expando];return!!a&&!d.isemptyobject(a)},data:function(a,c,e,f){if(d.acceptdata(a)){var g=d.expando,h=typeof c==="string",i,j=a.nodetype,k=j?d.cache:a,l=j?a[d.expando]:a[d.expando]&&d.expando;if((!l||f&&l&&!k[l][g])&&h&&e===b)return;l||(j?a[d.expando]=l=++d.uuid:l=d.expando),k[l]||(k[l]={}),typeof c==="object"&&(f?k[l][g]=d.extend(k[l][g],c):k[l]=d.extend(k[l],c)),i=k[l],f&&(i[g]||(i[g]={}),i=i[g]),e!==b&&(i[c]=e);if(c==="events"&&!i[c])return i[g]&&i[g].events;return h?i[c]:i}},removedata:function(b,c,e){if(d.acceptdata(b)){var f=d.expando,g=b.nodetype,h=g?d.cache:b,i=g?b[d.expando]:d.expando;if(!h[i])return;if(c){var j=e?h[i][f]:h[i];if(j){delete j[c];if(!d.isemptyobject(j))return}}if(e){delete h[i][f];if(!d.isemptyobject(h[i]))return}var k=h[i][f];d.support.deleteexpando||h!=a?delete h[i]:h[i]=null,k?(h[i]={},h[i][f]=k):g&&(d.support.deleteexpando?delete b[d.expando]:b.removeattribute?b.removeattribute(d.expando):b[d.expando]=null)}},_data:function(a,b,c){return d.data(a,b,c,!0)},acceptdata:function(a){if(a.nodename){var b=d.nodata[a.nodename.tolowercase()];if(b)return b!==!0&&a.getattribute("classid")===b}return!0}}),d.fn.extend({data:function(a,c){var e=null;if(typeof a==="undefined"){if(this.length){e=d.data(this[0]);if(this[0].nodetype===1){var g=this[0].attributes,h;for(var i=0,j=g.length;i-1)return!0;return!1},val:function(a){if(!arguments.length){var c=this[0];if(c){if(d.nodename(c,"option")){var e=c.attributes.value;return!e||e.specified?c.value:c.text}if(d.nodename(c,"select")){var f=c.selectedindex,g=[],h=c.options,j=c.type==="select-one";if(f<0)return null;for(var k=j?f:0,l=j?f+1:h.length;k=0;else if(d.nodename(this,"select")){var f=d.makearray(e);d("option",this).each(function(){this.selected=d.inarray(d(this).val(),f)>=0}),f.length||(this.selectedindex=-1)}else this.value=e}})}}),d.extend({attrfn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,e,f){if(!a||a.nodetype===3||a.nodetype===8||a.nodetype===2)return b;if(f&&c in d.attrfn)return d(a)[c](e);var g=a.nodetype!==1||!d.isxmldoc(a),h=e!==b;c=g&&d.props[c]||c;if(a.nodetype===1){var i=j.test(c);if(c==="selected"&&!d.support.optselected){var n=a.parentnode;n&&(n.selectedindex,n.parentnode&&n.parentnode.selectedindex)}if((c in a||a[c]!==b)&&g&&!i){h&&(c==="type"&&k.test(a.nodename)&&a.parentnode&&d.error("type property can't be changed"),e===null?a.nodetype===1&&a.removeattribute(c):a[c]=e);if(d.nodename(a,"form")&&a.getattributenode(c))return a.getattributenode(c).nodevalue;if(c==="tabindex"){var o=a.getattributenode("tabindex");return o&&o.specified?o.value:l.test(a.nodename)||m.test(a.nodename)&&a.href?0:b}return a[c]}if(!d.support.style&&g&&c==="style"){h&&(a.style.csstext=""+e);return a.style.csstext}h&&a.setattribute(c,""+e);if(!a.attributes[c]&&(a.hasattribute&&!a.hasattribute(c)))return b;var p=!d.support.hrefnormalized&&g&&i?a.getattribute(c,2):a.getattribute(c);return p===null?b:p}h&&(a[c]=e);return a[c]}});var o=/\.(.*)$/,p=/^(?:textarea|input|select)$/i,q=/\./g,r=/ /g,s=/[^\w\s.|`]/g,t=function(a){return a.replace(s,"\\$&")},u="events";d.event={add:function(c,e,f,g){if(c.nodetype!==3&&c.nodetype!==8){d.iswindow(c)&&(c!==a&&!c.frameelement)&&(c=a);if(f===!1)f=v;else if(!f)return;var h,i;f.handler&&(h=f,f=h.handler),f.guid||(f.guid=d.guid++);var j=d._data(c);if(!j)return;var k=j[u],l=j.handle;typeof k==="function"?(l=k.handle,k=k.events):k||(c.nodetype||(j[u]=j=function(){}),j.events=k={}),l||(j.handle=l=function(){return typeof d!=="undefined"&&!d.event.triggered?d.event.handle.apply(l.elem,arguments):b}),l.elem=c,e=e.split(" ");var m,n=0,o;while(m=e[n++]){i=h?d.extend({},h):{handler:f,data:g},m.indexof(".")>-1?(o=m.split("."),m=o.shift(),i.namespace=o.slice(0).sort().join(".")):(o=[],i.namespace=""),i.type=m,i.guid||(i.guid=f.guid);var p=k[m],q=d.event.special[m]||{};if(!p){p=k[m]=[];if(!q.setup||q.setup.call(c,g,o,l)===!1)c.addeventlistener?c.addeventlistener(m,l,!1):c.attachevent&&c.attachevent("on"+m,l)}q.add&&(q.add.call(c,i),i.handler.guid||(i.handler.guid=f.guid)),p.push(i),d.event.global[m]=!0}c=null}},global:{},remove:function(a,c,e,f){if(a.nodetype!==3&&a.nodetype!==8){e===!1&&(e=v);var g,h,i,j,k=0,l,m,n,o,p,q,r,s=d.hasdata(a)&&d._data(a),w=s&&s[u];if(!s||!w)return;typeof w==="function"&&(s=w,w=w.events),c&&c.type&&(e=c.handler,c=c.type);if(!c||typeof c==="string"&&c.charat(0)==="."){c=c||"";for(h in w)d.event.remove(a,h+c);return}c=c.split(" ");while(h=c[k++]){r=h,q=null,l=h.indexof(".")<0,m=[],l||(m=h.split("."),h=m.shift(),n=new regexp("(^|\\.)"+d.map(m.slice(0).sort(),t).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=w[h];if(!p)continue;if(!e){for(j=0;j=0&&(a.type=f=f.slice(0,-1),a.exclusive=!0),e||(a.stoppropagation(),d.event.global[f]&&d.each(d.cache,function(){var b=d.expando,e=this[b];e&&e.events&&e.events[f]&&d.event.trigger(a,c,e.handle.elem)}));if(!e||e.nodetype===3||e.nodetype===8)return b;a.result=b,a.target=e,c=d.makearray(c),c.unshift(a)}a.currenttarget=e;var h=e.nodetype?d._data(e,"handle"):(d._data(e,u)||{}).handle;h&&h.apply(e,c);var i=e.parentnode||e.ownerdocument;try{e&&e.nodename&&d.nodata[e.nodename.tolowercase()]||e["on"+f]&&e["on"+f].apply(e,c)===!1&&(a.result=!1,a.preventdefault())}catch(j){}if(!a.ispropagationstopped()&&i)d.event.trigger(a,c,i,!0);else if(!a.isdefaultprevented()){var k,l=a.target,m=f.replace(o,""),n=d.nodename(l,"a")&&m==="click",p=d.event.special[m]||{};if((!p._default||p._default.call(e,a)===!1)&&!n&&!(l&&l.nodename&&d.nodata[l.nodename.tolowercase()])){try{l[m]&&(k=l["on"+m],k&&(l["on"+m]=null),d.event.triggered=!0,l[m]())}catch(q){}k&&(l["on"+m]=k),d.event.triggered=!1}}},handle:function(c){var e,f,g,h,i,j=[],k=d.makearray(arguments);c=k[0]=d.event.fix(c||a.event),c.currenttarget=this,e=c.type.indexof(".")<0&&!c.exclusive,e||(g=c.type.split("."),c.type=g.shift(),j=g.slice(0).sort(),h=new regexp("(^|\\.)"+j.join("\\.(?:.*\\.)?")+"(\\.|$)")),c.namespace=c.namespace||j.join("."),i=d._data(this,u),typeof i==="function"&&(i=i.events),f=(i||{})[c.type];if(i&&f){f=f.slice(0);for(var l=0,m=f.length;l-1?d.map(a.options,function(a){return a.selected}).join("-"):"":a.nodename.tolowercase()==="select"&&(c=a.selectedindex);return c},b=function b(a){var c=a.target,e,f;if(p.test(c.nodename)&&!c.readonly){e=d._data(c,"_change_data"),f=a(c),(a.type!=="focusout"||c.type!=="radio")&&d._data(c,"_change_data",f);if(e===b||f===e)return;if(e!=null||f){a.type="change",a.livefired=b;return d.event.trigger(a,arguments[1],c)}}};d.event.special.change={filters:{focusout:b,beforedeactivate:b,click:function(a){var b=a.target,c=b.type;if(c==="radio"||c==="checkbox"||b.nodename.tolowercase()==="select")return b.call(this,a)},keydown:function(a){var b=a.target,c=b.type;if(a.keycode===13&&b.nodename.tolowercase()!=="textarea"||a.keycode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")return b.call(this,a)},beforeactivate:function(a){var b=a.target;d._data(b,"_change_data",a(b))}},setup:function(a,b){if(this.type==="file")return!1;for(var c in z)d.event.add(this,c+".specialchange",z[c]);return p.test(this.nodename)},teardown:function(a){d.event.remove(this,".specialchange");return p.test(this.nodename)}},z=d.event.special.change.filters,z.focus=z.beforeactivate}c.addeventlistener&&d.each({focus:"focusin",blur:"focusout"},function(a,b){function c(a){a=d.event.fix(a),a.type=b;return d.event.handle.call(this,a)}d.event.special[b]={setup:function(){this.addeventlistener(a,c,!0)},teardown:function(){this.removeeventlistener(a,c,!0)}}}),d.each(["bind","one"],function(a,c){d.fn[c]=function(a,e,f){if(typeof a==="object"){for(var g in a)this[c](g,e,a[g],f);return this}if(d.isfunction(e)||e===!1)f=e,e=b;var h=c==="one"?d.proxy(f,function(a){d(this).unbind(a,h);return f.apply(this,arguments)}):f;if(a==="unload"&&c!=="one")this.one(a,e,f);else for(var i=0,j=this.length;i0?this.bind(b,a,c):this.trigger(b)},d.attrfn&&(d.attrfn[b]=!0)}),function(){function s(a,b,c,d,e,f){for(var g=0,h=d.length;g0){k=j;break}}j=j[a]}d[g]=k}}}function r(a,b,c,d,e,f){for(var g=0,h=d.length;g+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=object.prototype.tostring,g=!1,h=!0;[0,0].sort(function(){h=!1;return 0});var i=function(b,d,e,g){e=e||[],d=d||c;var h=d;if(d.nodetype!==1&&d.nodetype!==9)return[];if(!b||typeof b!=="string")return e;var l,m,o,p,q,r,s,u,v=!0,w=i.isxml(d),x=[],y=b;do{a.exec(""),l=a.exec(y);if(l){y=l[3],x.push(l[1]);if(l[2]){p=l[3];break}}}while(l);if(x.length>1&&k.exec(b))if(x.length===2&&j.relative[x[0]])m=t(x[0]+x[1],d);else{m=j.relative[x[0]]?[d]:i(x.shift(),d);while(x.length)b=x.shift(),j.relative[b]&&(b+=x.shift()),m=t(b,m)}else{!g&&x.length>1&&d.nodetype===9&&!w&&j.match.id.test(x[0])&&!j.match.id.test(x[x.length-1])&&(q=i.find(x.shift(),d,w),d=q.expr?i.filter(q.expr,q.set)[0]:q.set[0]);if(d){q=g?{expr:x.pop(),set:n(g)}:i.find(x.pop(),x.length===1&&(x[0]==="~"||x[0]==="+")&&d.parentnode?d.parentnode:d,w),m=q.expr?i.filter(q.expr,q.set):q.set,x.length>0?o=n(m):v=!1;while(x.length)r=x.pop(),s=r,j.relative[r]?s=x.pop():r="",s==null&&(s=d),j.relative[r](o,s,w)}else o=x=[]}o||(o=m),o||i.error(r||b);if(f.call(o)==="[object array]")if(v)if(d&&d.nodetype===1)for(u=0;o[u]!=null;u++)o[u]&&(o[u]===!0||o[u].nodetype===1&&i.contains(d,o[u]))&&e.push(m[u]);else for(u=0;o[u]!=null;u++)o[u]&&o[u].nodetype===1&&e.push(m[u]);else e.push.apply(e,o);else n(o,e);p&&(i(p,h,e,g),i.uniquesort(e));return e};i.uniquesort=function(a){if(p){g=h,a.sort(p);if(g)for(var b=1;b0},i.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=j.order.length;e":function(a,b){var c,d=typeof b==="string",e=0,f=a.length;if(d&&!/\w/.test(b)){b=b.tolowercase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},id:function(a){return a[1].replace(/\\/g,"")},tag:function(a,b){return a[1].tolowercase()},child:function(a){if(a[1]==="nth"){a[2]||i.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]&&i.error(a[0]);a[0]=e++;return a},attr:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(/\\/g,"");!f&&j.attrmap[g]&&(a[1]=j.attrmap[g]),a[4]=(a[4]||a[5]||"").replace(/\\/g,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},pseudo:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=i(b[3],null,null,c);else{var g=i.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(j.match.pos.test(b[0])||j.match.child.test(b[0]))return!0;return b},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,b,c){return!!i(c[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(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{pseudo:function(a,b,c,d){var e=b[1],f=j.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textcontent||a.innertext||i.gettext([a])||"").indexof(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,k=g.length;h=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(a,b){var c=b[1],d=j.attrhandle[c]?j.attrhandle[c](a):a[c]!=null?a[c]:a.getattribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":f==="="?e===g:f==="*="?e.indexof(g)>=0:f==="~="?(" "+e+" ").indexof(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexof(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},pos:function(a,b,c,d){var e=b[2],f=j.setfilters[e];if(f)return f(a,c,b,d)}}},k=j.match.pos,l=function(a,b){return"\\"+(b-0+1)};for(var m in j.match)j.match[m]=new regexp(j.match[m].source+/(?![^\[]*\])(?![^\(]*\))/.source),j.leftmatch[m]=new regexp(/(^(?:.|\r|\n)*?)/.source+j.match[m].source.replace(/\\(\d+)/g,l));var n=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(c.documentelement.childnodes,0)[0].nodetype}catch(o){n=function(a,b){var c=0,d=b||[];if(f.call(a)==="[object array]")array.prototype.push.apply(d,a);else if(typeof a.length==="number")for(var e=a.length;c",e.insertbefore(a,e.firstchild),c.getelementbyid(d)&&(j.find.id=function(a,c,d){if(typeof c.getelementbyid!=="undefined"&&!d){var e=c.getelementbyid(a[1]);return e?e.id===a[1]||typeof e.getattributenode!=="undefined"&&e.getattributenode("id").nodevalue===a[1]?[e]:b:[]}},j.filter.id=function(a,b){var c=typeof a.getattributenode!=="undefined"&&a.getattributenode("id");return a.nodetype===1&&c&&c.nodevalue===b}),e.removechild(a),e=a=null}(),function(){var a=c.createelement("div");a.appendchild(c.createcomment("")),a.getelementsbytagname("*").length>0&&(j.find.tag=function(a,b){var c=b.getelementsbytagname(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodetype===1&&d.push(c[e]);c=d}return c}),a.innerhtml="",a.firstchild&&typeof a.firstchild.getattribute!=="undefined"&&a.firstchild.getattribute("href")!=="#"&&(j.attrhandle.href=function(a){return a.getattribute("href",2)}),a=null}(),c.queryselectorall&&function(){var a=i,b=c.createelement("div"),d="__sizzle__";b.innerhtml="

";if(!b.queryselectorall||b.queryselectorall(".test").length!==0){i=function(b,e,f,g){e=e||c;if(!g&&!i.isxml(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodetype===1||e.nodetype===9)){if(h[1])return n(e.getelementsbytagname(b),f);if(h[2]&&j.find.class&&e.getelementsbyclassname)return n(e.getelementsbyclassname(h[2]),f)}if(e.nodetype===9){if(b==="body"&&e.body)return n([e.body],f);if(h&&h[3]){var k=e.getelementbyid(h[3]);if(!k||!k.parentnode)return n([],f);if(k.id===h[3])return n([k],f)}try{return n(e.queryselectorall(b),f)}catch(l){}}else if(e.nodetype===1&&e.nodename.tolowercase()!=="object"){var m=e.getattribute("id"),o=m||d,p=e.parentnode,q=/^\s*[+~]/.test(b);m?o=o.replace(/'/g,"\\$&"):e.setattribute("id",o),q&&p&&(e=e.parentnode);try{if(!q||p)return n(e.queryselectorall("[id='"+o+"'] "+b),f)}catch(r){}finally{m||e.removeattribute("id")}}}return a(b,e,f,g)};for(var e in a)i[e]=a[e];b=null}}(),function(){var a=c.documentelement,b=a.matchesselector||a.mozmatchesselector||a.webkitmatchesselector||a.msmatchesselector,d=!1;try{b.call(c.documentelement,"[test!='']:sizzle")}catch(e){d=!0}b&&(i.matchesselector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!i.isxml(a))try{if(d||!j.match.pseudo.test(c)&&!/!=/.test(c))return b.call(a,c)}catch(e){}return i(c,null,null,[a]).length>0})}(),function(){var a=c.createelement("div");a.innerhtml="
";if(a.getelementsbyclassname&&a.getelementsbyclassname("e").length!==0){a.lastchild.classname="e";if(a.getelementsbyclassname("e").length===1)return;j.order.splice(1,0,"class"),j.find.class=function(a,b,c){if(typeof b.getelementsbyclassname!=="undefined"&&!c)return b.getelementsbyclassname(a[1])},a=null}}(),c.documentelement.contains?i.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentelement.comparedocumentposition?i.contains=function(a,b){return!!(a.comparedocumentposition(b)&16)}:i.contains=function(){return!1},i.isxml=function(a){var b=(a?a.ownerdocument||a:0).documentelement;return b?b.nodename!=="html":!1};var t=function(a,b){var c,d=[],e="",f=b.nodetype?[b]:b;while(c=j.match.pseudo.exec(a))e+=c[0],a=a.replace(j.match.pseudo,"");a=j.relative[a]?a+"*":a;for(var g=0,h=f.length;g0)for(var g=c;g0},closest:function(a,b){var c=[],e,f,g=this[0];if(d.isarray(a)){var h,i,j={},k=1;if(g&&a.length){for(e=0,f=a.length;e-1:d(g).is(h))&&c.push({selector:i,elem:g,level:k});g=g.parentnode,k++}}return c}var l=l.test(a)?d(a,b||this.context):null;for(e=0,f=this.length;e-1:d.find.matchesselector(g,a)){c.push(g);break}g=g.parentnode;if(!g||!g.ownerdocument||g===b)break}}c=c.length>1?d.unique(c):c;return this.pushstack(c,"closest",a)},index:function(a){if(!a||typeof a==="string")return d.inarray(this[0],a?d(a):this.parent().children());return d.inarray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a==="string"?d(a,b):d.makearray(a),e=d.merge(this.get(),c);return this.pushstack(n(c[0])||n(e[0])?e:d.unique(e))},andself:function(){return this.add(this.prevobject)}}),d.each({parent:function(a){var b=a.parentnode;return b&&b.nodetype!==11?b:null},parents:function(a){return d.dir(a,"parentnode")},parentsuntil:function(a,b,c){return d.dir(a,"parentnode",c)},next:function(a){return d.nth(a,2,"nextsibling")},prev:function(a){return d.nth(a,2,"previoussibling")},nextall:function(a){return d.dir(a,"nextsibling")},prevall:function(a){return d.dir(a,"previoussibling")},nextuntil:function(a,b,c){return d.dir(a,"nextsibling",c)},prevuntil:function(a,b,c){return d.dir(a,"previoussibling",c)},siblings:function(a){return d.sibling(a.parentnode.firstchild,a)},children:function(a){return d.sibling(a.firstchild)},contents:function(a){return d.nodename(a,"iframe")?a.contentdocument||a.contentwindow.document:d.makearray(a.childnodes)}},function(a,b){d.fn[a]=function(c,e){var f=d.map(this,b,c),g=k.call(arguments);g.test(a)||(e=c),e&&typeof e==="string"&&(f=d.filter(e,f)),f=this.length>1&&!m[a]?d.unique(f):f,(this.length>1||i.test(e))&&h.test(a)&&(f=f.reverse());return this.pushstack(f,a,g.join(","))}}),d.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?d.find.matchesselector(b[0],a)?[b[0]]:[]:d.find.matches(a,b)},dir:function(a,c,e){var f=[],g=a[c];while(g&&g.nodetype!==9&&(e===b||g.nodetype!==1||!d(g).is(e)))g.nodetype===1&&f.push(g),g=g[c];return f},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodetype===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextsibling)a.nodetype===1&&a!==b&&c.push(a);return c}});var p=/ jquery\d+="(?:\d+|null)"/g,q=/^\s+/,r=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,s=/<([\w:]+)/,t=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]};x.optgroup=x.option,x.tbody=x.tfoot=x.colgroup=x.caption=x.thead,x.th=x.td,d.support.htmlserialize||(x._default=[1,"div
","
"]),d.fn.extend({text:function(a){if(d.isfunction(a))return this.each(function(b){var c=d(this);c.text(a.call(this,b,c.text()))});if(typeof a!=="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerdocument||c).createtextnode(a));return d.text(this)},wrapall:function(a){if(d.isfunction(a))return this.each(function(b){d(this).wrapall(a.call(this,b))});if(this[0]){var b=d(a,this[0].ownerdocument).eq(0).clone(!0);this[0].parentnode&&b.insertbefore(this[0]),b.map(function(){var a=this;while(a.firstchild&&a.firstchild.nodetype===1)a=a.firstchild;return a}).append(this)}return this},wrapinner:function(a){if(d.isfunction(a))return this.each(function(b){d(this).wrapinner(a.call(this,b))});return this.each(function(){var b=d(this),c=b.contents();c.length?c.wrapall(a):b.append(a)})},wrap:function(a){return this.each(function(){d(this).wrapall(a)})},unwrap:function(){return this.parent().each(function(){d.nodename(this,"body")||d(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 a=d(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,!1,function(a){this.parentnode.insertbefore(a,this.nextsibling)});if(arguments.length){var a=this.pushstack(this,"after",arguments);a.push.apply(a,d(arguments[0]).toarray());return a}},remove:function(a,b){for(var c=0,e;(e=this[c])!=null;c++)if(!a||d.filter(a,[e]).length)!b&&e.nodetype===1&&(d.cleandata(e.getelementsbytagname("*")),d.cleandata([e])),e.parentnode&&e.parentnode.removechild(e);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodetype===1&&d.cleandata(b.getelementsbytagname("*"));while(b.firstchild)b.removechild(b.firstchild)}return this},clone:function(a,b){a=a==null?!0:a,b=b==null?a:b;return this.map(function(){return d.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodetype===1?this[0].innerhtml.replace(p,""):null;if(typeof a!=="string"||v.test(a)||!d.support.leadingwhitespace&&q.test(a)||x[(s.exec(a)||["",""])[1].tolowercase()])d.isfunction(a)?this.each(function(b){var c=d(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);else{a=a.replace(r,"<$1>");try{for(var c=0,e=this.length;c1&&l0?this.clone(!0):this).get();d(f[h])[b](j),e=e.concat(j)}return this.pushstack(e,a,f.selector)}}),d.extend({clone:function(a,b,c){var e=a.clonenode(!0),f,g,h;if(!d.support.nocloneevent&&(a.nodetype===1||a.nodetype===11)&&!d.isxmldoc(a)){f=a.getelementsbytagname("*"),g=e.getelementsbytagname("*");for(h=0;f[h];++h)$(f[h],g[h]);$(a,e)}if(b){z(a,e);if(c&&"getelementsbytagname"in a){f=a.getelementsbytagname("*"),g=e.getelementsbytagname("*");if(f.length)for(h=0;f[h];++h)z(f[h],g[h])}}return e},clean:function(a,b,e,f){b=b||c,typeof b.createelement==="undefined"&&(b=b.ownerdocument||b[0]&&b[0].ownerdocument||c);var g=[];for(var h=0,i;(i=a[h])!=null;h++){typeof i==="number"&&(i+="");if(!i)continue;if(typeof i!=="string"||u.test(i)){if(typeof i==="string"){i=i.replace(r,"<$1>");var j=(s.exec(i)||["",""])[1].tolowercase(),k=x[j]||x._default,l=k[0],m=b.createelement("div");m.innerhtml=k[1]+i+k[2];while(l--)m=m.lastchild;if(!d.support.tbody){var n=t.test(i),o=j==="table"&&!n?m.firstchild&&m.firstchild.childnodes:k[1]===""&&!n?m.childnodes:[];for(var p=o.length-1;p>=0;--p)d.nodename(o[p],"tbody")&&!o[p].childnodes.length&&o[p].parentnode.removechild(o[p])}!d.support.leadingwhitespace&&q.test(i)&&m.insertbefore(b.createtextnode(q.exec(i)[0]),m.firstchild),i=m.childnodes}}else i=b.createtextnode(i);i.nodetype?g.push(i):g=d.merge(g,i)}if(e)for(h=0;g[h];h++)!f||!d.nodename(g[h],"script")||g[h].type&&g[h].type.tolowercase()!=="text/javascript"?(g[h].nodetype===1&&g.splice.apply(g,[h+1,0].concat(d.makearray(g[h].getelementsbytagname("script")))),e.appendchild(g[h])):f.push(g[h].parentnode?g[h].parentnode.removechild(g[h]):g[h]);return g},cleandata:function(a){var b,c,e=d.cache,f=d.expando,g=d.event.special,h=d.support.deleteexpando;for(var i=0,j;(j=a[i])!=null;i++){if(j.nodename&&d.nodata[j.nodename.tolowercase()])continue;c=j[d.expando];if(c){b=e[c]&&e[c][f];if(b&&b.events){for(var k in b.events)g[k]?d.event.remove(j,k):d.removeevent(j,k,b.handle);b.handle&&(b.handle.elem=null)}h?delete j[d.expando]:j.removeattribute&&j.removeattribute(d.expando),delete e[c]}}}});var ba=/alpha\([^)]*\)/i,bb=/opacity=([^)]*)/,bc=/-([a-z])/ig,bd=/([a-z])/g,be=/^-?\d+(?:px)?$/i,bf=/^-?\d/,bg={position:"absolute",visibility:"hidden",display:"block"},bh=["left","right"],bi=["top","bottom"],bj,bk,bl,bm=function(a,b){return b.touppercase()};d.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return d.access(this,a,c,!0,function(a,c,e){return e!==b?d.style(a,c,e):d.css(a,c)})},d.extend({csshooks:{opacity:{get:function(a,b){if(b){var c=bj(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssnumber:{zindex:!0,fontweight:!0,opacity:!0,zoom:!0,lineheight:!0},cssprops:{"float":d.support.cssfloat?"cssfloat":"stylefloat"},style:function(a,c,e,f){if(a&&a.nodetype!==3&&a.nodetype!==8&&a.style){var g,h=d.camelcase(c),i=a.style,j=d.csshooks[h];c=d.cssprops[h]||h;if(e===b){if(j&&"get"in j&&(g=j.get(a,!1,f))!==b)return g;return i[c]}if(typeof e==="number"&&isnan(e)||e==null)return;typeof e==="number"&&!d.cssnumber[h]&&(e+="px");if(!j||!("set"in j)||(e=j.set(a,e))!==b)try{i[c]=e}catch(k){}}},css:function(a,c,e){var f,g=d.camelcase(c),h=d.csshooks[g];c=d.cssprops[g]||g;if(h&&"get"in h&&(f=h.get(a,!0,e))!==b)return f;if(bj)return bj(a,c,g)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]},camelcase:function(a){return a.replace(bc,bm)}}),d.curcss=d.css,d.each(["height","width"],function(a,b){d.csshooks[b]={get:function(a,c,e){var f;if(c){a.offsetwidth!==0?f=bn(a,b,e):d.swap(a,bg,function(){f=bn(a,b,e)});if(f<=0){f=bj(a,b,b),f==="0px"&&bl&&(f=bl(a,b,b));if(f!=null)return f===""||f==="auto"?"0px":f}if(f<0||f==null){f=a.style[b];return f===""||f==="auto"?"0px":f}return typeof f==="string"?f:f+"px"}},set:function(a,b){if(!be.test(b))return b;b=parsefloat(b);if(b>=0)return b+"px"}}}),d.support.opacity||(d.csshooks.opacity={get:function(a,b){return bb.test((b&&a.currentstyle?a.currentstyle.filter:a.style.filter)||"")?parsefloat(regexp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style;c.zoom=1;var e=d.isnan(b)?"":"alpha(opacity="+b*100+")",f=c.filter||"";c.filter=ba.test(f)?f.replace(ba,e):c.filter+" "+e}}),c.defaultview&&c.defaultview.getcomputedstyle&&(bk=function(a,c,e){var f,g,h;e=e.replace(bd,"-$1").tolowercase();if(!(g=a.ownerdocument.defaultview))return b;if(h=g.getcomputedstyle(a,null))f=h.getpropertyvalue(e),f===""&&!d.contains(a.ownerdocument.documentelement,a)&&(f=d.style(a,e));return f}),c.documentelement.currentstyle&&(bl=function(a,b){var c,d=a.currentstyle&&a.currentstyle[b],e=a.runtimestyle&&a.runtimestyle[b],f=a.style;!be.test(d)&&bf.test(d)&&(c=f.left,e&&(a.runtimestyle.left=a.currentstyle.left),f.left=b==="fontsize"?"1em":d||0,d=f.pixelleft+"px",f.left=c,e&&(a.runtimestyle.left=e));return d===""?"auto":d}),bj=bk||bl,d.expr&&d.expr.filters&&(d.expr.filters.hidden=function(a){var b=a.offsetwidth,c=a.offsetheight;return b===0&&c===0||!d.support.reliablehiddenoffsets&&(a.style.display||d.css(a,"display"))==="none"},d.expr.filters.visible=function(a){return!d.expr.filters.hidden(a)});var bo=/%20/g,bp=/\[\]$/,bq=/\r?\n/g,br=/#.*$/,bs=/^(.*?):\s*(.*?)\r?$/mg,bt=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bu=/^(?:get|head)$/,bv=/^\/\//,bw=/\?/,bx=/)<[^<]*)*<\/script>/gi,by=/^(?:select|textarea)/i,bz=/\s+/,ba=/([?&])_=[^&]*/,bb=/^(\w+:)\/\/([^\/?#:]+)(?::(\d+))?/,bc=d.fn.load,bd={},be={};d.fn.extend({load:function(a,b,c){if(typeof a!=="string"&&bc)return bc.apply(this,arguments);if(!this.length)return this;var e=a.indexof(" ");if(e>=0){var f=a.slice(e,a.length);a=a.slice(0,e)}var g="get";b&&(d.isfunction(b)?(c=b,b=null):typeof b==="object"&&(b=d.param(b,d.ajaxsettings.traditional),g="post"));var h=this;d.ajax({url:a,type:g,datatype:"html",data:b,complete:function(a,b,e){e=a.responsetext,a.isresolved()&&(a.done(function(a){e=a}),h.html(f?d("
").append(e.replace(bx,"")).find(f):e)),c&&h.each(c,[e,b,a])}});return this},serialize:function(){return d.param(this.serializearray())},serializearray:function(){return this.map(function(){return this.elements?d.makearray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||by.test(this.nodename)||bt.test(this.type))}).map(function(a,b){var c=d(this).val();return c==null?null:d.isarray(c)?d.map(c,function(a,c){return{name:b.name,value:a.replace(bq,"\r\n")}}):{name:b.name,value:c.replace(bq,"\r\n")}}).get()}}),d.each("ajaxstart ajaxstop ajaxcomplete ajaxerror ajaxsuccess ajaxsend".split(" "),function(a,b){d.fn[b]=function(a){return this.bind(b,a)}}),d.each(["get","post"],function(a,b){d[b]=function(a,c,e,f){d.isfunction(c)&&(f=f||e,e=c,c=null);return d.ajax({type:b,url:a,data:c,success:e,datatype:f})}}),d.extend({getscript:function(a,b){return d.get(a,null,b,"script")},getjson:function(a,b,c){return d.get(a,b,c,"json")},ajaxsetup:function(a){d.extend(!0,d.ajaxsettings,a),a.context&&(d.ajaxsettings.context=a.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":a.string,"text html":!0,"text json":d.parsejson,"text xml":d.parsexml}},ajaxprefilter:bf(bd),ajaxtransport:bf(be),ajax:function(a,e){function w(a,c,e,l){if(t!==2){t=2,p&&cleartimeout(p),o=b,m=l||"",v.readystate=a?4:0;var n,q,r,s=e?bi(f,v,e):b,u,w;if(a>=200&&a<300||a===304){if(f.ifmodified){if(u=v.getresponseheader("last-modified"))d.lastmodified[f.url]=u;if(w=v.getresponseheader("etag"))d.etag[f.url]=w}if(a===304)c="notmodified",n=!0;else try{q=bj(f,s),c="success",n=!0}catch(x){c="parsererror",r=x}}else r=c,a&&(c="error",a<0&&(a=0));v.status=a,v.statustext=c,n?i.resolvewith(g,[q,c,v]):i.rejectwith(g,[v,c,r]),v.statuscode(k),k=b,f.global&&h.trigger("ajax"+(n?"success":"error"),[v,f,n?q:r]),j.resolvewith(g,[v,c]),f.global&&(h.trigger("ajaxcomplete",[v,f]),--d.active||d.event.trigger("ajaxstop"))}}typeof e!=="object"&&(e=a,a=b),e=e||{};var f=d.extend(!0,{},d.ajaxsettings,e),g=(f.context=("context"in e?e:d.ajaxsettings).context)||f,h=g===f?d.event:d(g),i=d.deferred(),j=d._deferred(),k=f.statuscode||{},l={},m,n,o,p,q=c.location,r=q.protocol||"http:",s,t=0,u,v={readystate:0,setrequestheader:function(a,b){t===0&&(l[a.tolowercase()]=b);return this},getallresponseheaders:function(){return t===2?m:null},getresponseheader:function(a){var b;if(t===2){if(!n){n={};while(b=bs.exec(m))n[b[1].tolowercase()]=b[2]}b=n[a.tolowercase()]}return b||null},abort:function(a){a=a||"abort",o&&o.abort(a),w(0,a);return this}};i.promise(v),v.success=v.done,v.error=v.fail,v.complete=j.done,v.statuscode=function(a){if(a){var b;if(t<2)for(b in a)k[b]=[k[b],a[b]];else b=a[v.status],v.then(b,b)}return this},f.url=(""+(a||f.url)).replace(br,"").replace(bv,r+"//"),f.datatypes=d.trim(f.datatype||"*").tolowercase().split(bz),f.crossdomain||(s=bb.exec(f.url.tolowercase()),f.crossdomain=s&&(s[1]!=r||s[2]!=q.hostname||(s[3]||(s[1]==="http:"?80:443))!=(q.port||(r==="http:"?80:443)))),f.data&&f.processdata&&typeof f.data!=="string"&&(f.data=d.param(f.data,f.traditional)),bg(bd,f,e,v),f.type=f.type.touppercase(),f.hascontent=!bu.test(f.type),f.global&&d.active++===0&&d.event.trigger("ajaxstart");if(!f.hascontent){f.data&&(f.url+=(bw.test(f.url)?"&":"?")+f.data);if(f.cache===!1){var x=d.now(),y=f.url.replace(ba,"$1_="+x);f.url=y+(y===f.url?(bw.test(f.url)?"&":"?")+"_="+x:"")}}if(f.data&&f.hascontent&&f.contenttype!==!1||e.contenttype)l["content-type"]=f.contenttype;f.ifmodified&&(d.lastmodified[f.url]&&(l["if-modified-since"]=d.lastmodified[f.url]),d.etag[f.url]&&(l["if-none-match"]=d.etag[f.url])),l.accept=f.datatypes[0]&&f.accepts[f.datatypes[0]]?f.accepts[f.datatypes[0]]+(f.datatypes[0]!=="*"?", */*; q=0.01":""):f.accepts["*"];for(u in f.headers)l[u.tolowercase()]=f.headers[u];if(!f.beforesend||f.beforesend.call(g,v,f)!==!1&&t!==2){for(u in {success:1,error:1,complete:1})v[u](f[u]);o=bg(be,f,e,v);if(o){t=v.readystate=1,f.global&&h.trigger("ajaxsend",[v,f]),f.async&&f.timeout>0&&(p=settimeout(function(){v.abort("timeout")},f.timeout));try{o.send(l,w)}catch(z){status<2?w(-1,z):d.error(z)}}else w(-1,"no transport")}else w(0,"abort"),v=!1;return v},param:function(a,c){var e=[],f=function(a,b){b=d.isfunction(b)?b():b,e[e.length]=encodeuricomponent(a)+"="+encodeuricomponent(b)};c===b&&(c=d.ajaxsettings.traditional);if(d.isarray(a)||a.jquery)d.each(a,function(){f(this.name,this.value)});else for(var g in a)bh(g,a[g],c,f);return e.join("&").replace(bo,"+")}}),d.extend({active:0,lastmodified:{},etag:{}});var bk=d.now(),bl=/(\=)\?(&|$)|()\?\?()/i;d.ajaxsetup({jsonp:"callback",jsonpcallback:function(){return d.expando+"_"+bk++}}),d.ajaxprefilter("json jsonp",function(b,c,e){e=typeof b.data==="string";if(b.datatypes[0]==="jsonp"||c.jsonpcallback||c.jsonp!=null||b.jsonp!==!1&&(bl.test(b.url)||e&&bl.test(b.data))){var f,g=b.jsonpcallback=d.isfunction(b.jsonpcallback)?b.jsonpcallback():b.jsonpcallback,h=a[g],i=b.url,j=b.data,k="$1"+g+"$2";b.jsonp!==!1&&(i=i.replace(bl,k),b.url===i&&(e&&(j=j.replace(bl,k)),b.data===j&&(i+=(/\?/.test(i)?"&":"?")+b.jsonp+"="+g))),b.url=i,b.data=j,a[g]=function(a){f=[a]},b.complete=[function(){a[g]=h;if(h)f&&d.isfunction(h)&&a[g](f[0]);else try{delete a[g]}catch(b){}},b.complete],b.converters["script json"]=function(){f||d.error(g+" was not called");return f[0]},b.datatypes[0]="json";return"script"}}),d.ajaxsetup({accepts:{script:"text/javascript, application/javascript"},contents:{script:/javascript/},converters:{"text script":function(a){d.globaleval(a);return a}}}),d.ajaxprefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossdomain&&(a.type="get",a.global=!1)}),d.ajaxtransport("script",function(a){if(a.crossdomain){var d,e=c.getelementsbytagname("head")[0]||c.documentelement;return{send:function(f,g){d=c.createelement("script"),d.async="async",a.scriptcharset&&(d.charset=a.scriptcharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(!d.readystate||/loaded|complete/.test(d.readystate))d.onload=d.onreadystatechange=null,e&&d.parentnode&&e.removechild(d),d=b,c||g(200,"success")},e.insertbefore(d,e.firstchild)},abort:function(){d&&d.onload(0,1)}}}});var bm=d.now(),bn={},bo,bp;d.ajaxsettings.xhr=a.activexobject?function(){if(a.location.protocol!=="file:")try{return new a.xmlhttprequest}catch(b){}try{return new a.activexobject("microsoft.xmlhttp")}catch(c){}}:function(){return new a.xmlhttprequest};try{bp=d.ajaxsettings.xhr()}catch(bq){}d.support.ajax=!!bp,d.support.cors=bp&&"withcredentials"in bp,bp=b,d.support.ajax&&d.ajaxtransport(function(b){if(!b.crossdomain||d.support.cors){var c;return{send:function(e,f){bo||(bo=1,d(a).bind("unload",function(){d.each(bn,function(a,b){b.onreadystatechange&&b.onreadystatechange(1)})}));var g=b.xhr(),h;b.username?g.open(b.type,b.url,b.async,b.username,b.password):g.open(b.type,b.url,b.async),(!b.crossdomain||b.hascontent)&&!e["x-requested-with"]&&(e["x-requested-with"]="xmlhttprequest");try{d.each(e,function(a,b){g.setrequestheader(a,b)})}catch(i){}g.send(b.hascontent&&b.data||null),c=function(a,e){if(c&&(e||g.readystate===4)){c=0,h&&(g.onreadystatechange=d.noop,delete bn[h]);if(e)g.readystate!==4&&g.abort();else{var i=g.status,j,k=g.getallresponseheaders(),l={},m=g.responsexml;m&&m.documentelement&&(l.xml=m),l.text=g.responsetext;try{j=g.statustext}catch(n){j=""}i=i===0?!b.crossdomain||j?k?304:0:302:i==1223?204:i,f(i,j,l,k)}}},b.async&&g.readystate!==4?(h=bm++,bn[h]=g,g.onreadystatechange=c):c()},abort:function(){c&&c(0,1)}}}});var br={},bs=/^(?:toggle|show|hide)$/,bt=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,bu,bv=[["height","margintop","marginbottom","paddingtop","paddingbottom"],["width","marginleft","marginright","paddingleft","paddingright"],["opacity"]];d.fn.extend({show:function(a,b,c){var e,f;if(a||a===0)return this.animate(bw("show",3),a,b,c);for(var g=0,h=this.length;g=0;a--)c[a].elem===this&&(b&&c[a](!0),c.splice(a,1))}),b||this.dequeue();return this}}),d.each({slidedown:bw("show",1),slideup:bw("hide",1),slidetoggle:bw("toggle",1),fadein:{opacity:"show"},fadeout:{opacity:"hide"},fadetoggle:{opacity:"toggle"}},function(a,b){d.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),d.extend({speed:function(a,b,c){var e=a&&typeof a==="object"?d.extend({},a):{complete:c||!c&&b||d.isfunction(a)&&a,duration:a,easing:c&&b||b&&!d.isfunction(b)&&b};e.duration=d.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in d.fx.speeds?d.fx.speeds[e.duration]:d.fx.speeds._default,e.old=e.complete,e.complete=function(){e.queue!==!1&&d(this).dequeue(),d.isfunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-math.cos(a*math.pi)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig||(b.orig={})}}),d.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(d.fx.step[this.prop]||d.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 a=parsefloat(d.css(this.elem,this.prop));return a||0},custom:function(a,b,c){function g(a){return e.step(a)}var e=this,f=d.fx;this.starttime=d.now(),this.start=a,this.end=b,this.unit=c||this.unit||"px",this.now=this.start,this.pos=this.state=0,g.elem=this.elem,g()&&d.timers.push(g)&&!bu&&(bu=setinterval(f.tick,f.interval))},show:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop),this.options.show=!0,this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),d(this.elem).show()},hide:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b=d.now(),c=!0;if(a||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 e in this.options.curanim)this.options.curanim[e]!==!0&&(c=!1);if(c){if(this.options.overflow!=null&&!d.support.shrinkwrapblocks){var f=this.elem,g=this.options;d.each(["","x","y"],function(a,b){f.style["overflow"+b]=g.overflow[a]})}this.options.hide&&d(this.elem).hide();if(this.options.hide||this.options.show)for(var h in this.options.curanim)d.style(this.elem,h,this.options.orig[h]);this.options.complete.call(this.elem)}return!1}var i=b-this.starttime;this.state=i/this.options.duration;var j=this.options.specialeasing&&this.options.specialeasing[this.prop],k=this.options.easing||(d.easing.swing?"swing":"linear");this.pos=d.easing[j||k](this.state,i,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update();return!0}},d.extend(d.fx,{tick:function(){var a=d.timers;for(var b=0;b
";d.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),b.innerhtml=j,a.insertbefore(b,a.firstchild),e=b.firstchild,f=e.firstchild,h=e.nextsibling.firstchild.firstchild,this.doesnotaddborder=f.offsettop!==5,this.doesaddborderfortableandcells=h.offsettop===5,f.style.position="fixed",f.style.top="20px",this.supportsfixedposition=f.offsettop===20||f.offsettop===15,f.style.position=f.style.top="",e.style.overflow="hidden",e.style.position="relative",this.subtractsborderforoverflownotvisible=f.offsettop===-5,this.doesnotincludemargininbodyoffset=a.offsettop!==i,a.removechild(b),a=b=e=f=g=h=null,d.offset.initialize=d.noop},bodyoffset:function(a){var b=a.offsettop,c=a.offsetleft;d.offset.initialize(),d.offset.doesnotincludemargininbodyoffset&&(b+=parsefloat(d.css(a,"margintop"))||0,c+=parsefloat(d.css(a,"marginleft"))||0);return{top:b,left:c}},setoffset:function(a,b,c){var e=d.css(a,"position");e==="static"&&(a.style.position="relative");var f=d(a),g=f.offset(),h=d.css(a,"top"),i=d.css(a,"left"),j=e==="absolute"&&d.inarray("auto",[h,i])>-1,k={},l={},m,n;j&&(l=f.position()),m=j?l.top:parseint(h,10)||0,n=j?l.left:parseint(i,10)||0,d.isfunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):f.css(k)}},d.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetparent(),c=this.offset(),e=bz.test(b[0].nodename)?{top:0,left:0}:b.offset();c.top-=parsefloat(d.css(a,"margintop"))||0,c.left-=parsefloat(d.css(a,"marginleft"))||0,e.top+=parsefloat(d.css(b[0],"bordertopwidth"))||0,e.left+=parsefloat(d.css(b[0],"borderleftwidth"))||0;return{top:c.top-e.top,left:c.left-e.left}},offsetparent:function(){return this.map(function(){var a=this.offsetparent||c.body;while(a&&(!bz.test(a.nodename)&&d.css(a,"position")==="static"))a=a.offsetparent;return a})}}),d.each(["left","top"],function(a,c){var e="scroll"+c;d.fn[e]=function(c){var f=this[0],g;if(!f)return null;if(c!==b)return this.each(function(){g=b$(this),g?g.scrollto(a?d(g).scrollleft():c,a?c:d(g).scrolltop()):this[e]=c});g=b$(f);return g?"pagexoffset"in g?g[a?"pageyoffset":"pagexoffset"]:d.support.boxmodel&&g.document.documentelement[e]||g.document.body[e]:f[e]}}),d.each(["height","width"],function(a,c){var e=c.tolowercase();d.fn["inner"+c]=function(){return this[0]?parsefloat(d.css(this[0],e,"padding")):null},d.fn["outer"+c]=function(a){return this[0]?parsefloat(d.css(this[0],e,a?"margin":"border")):null},d.fn[e]=function(a){var f=this[0];if(!f)return a==null?null:this;if(d.isfunction(a))return this.each(function(b){var c=d(this);c[e](a.call(this,b,c[e]()))});if(d.iswindow(f)){var g=f.document.documentelement["client"+c];return f.document.compatmode==="css1compat"&&g||f.document.body["client"+c]||g}if(f.nodetype===9)return math.max(f.documentelement["client"+c],f.body["scroll"+c],f.documentelement["scroll"+c],f.body["offset"+c],f.documentelement["offset"+c]);if(a===b){var h=d.css(f,e),i=parsefloat(h);return d.isnan(i)?h:i}return this.css(e,typeof a==="string"?a:a+"px")}})})(window);