/*! * jquery javascript library v1.5.1 * 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: wed feb 23 13:55:29 2011 -0500 */ (function(a,b){function cg(a){return d.iswindow(a)?a:a.nodetype===9?a.defaultview||a.parentwindow:!1}function cd(a){if(!bz[a]){var b=d("<"+a+">").appendto("body"),c=b.css("display");b.remove();if(c==="none"||c==="")c="block";bz[a]=c}return bz[a]}function cc(a,b){var c={};d.each(cb.concat.apply([],cb.slice(0,b)),function(){c[this]=a});return c}function by(){try{return new a.activexobject("microsoft.xmlhttp")}catch(b){}}function bx(){try{return new a.xmlhttprequest}catch(b){}}function bw(){d(a).unload(function(){for(var a in bu)bu[a](0,1)})}function bq(a,c){a.datafilter&&(c=a.datafilter(c,a.datatype));var e=a.datatypes,f={},g,h,i=e.length,j,k=e[0],l,m,n,o,p;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(r,"`").replace(s,"&")}function e(a){var b,c,e,f,g,h,i,j,k,l,m,n,o,q=[],r=[],s=d._data(this,"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,o=f.handleobj.orighandler.apply(f.elem,arguments);if(o===!1||a.ispropagationstopped()){c=f.level,o===!1&&(b=!1);if(a.isimmediatepropagationstopped())break}}return b}}function c(a,c,e){var f=d.extend({},e[0]);f.type=a,f.originalevent={},f.livefired=b,d.event.handle.call(c,f),f.isdefaultprevented()&&e[0].preventdefault()}function w(){return!0}function v(){return!1}function g(a){for(var b in a)if(b!=="tojson")return!1;return!0}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.1",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.head||c.getelementsbytagname("head")[0]||c.documentelement,e=c.createelement("script");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){var f=e.call(arguments,0),g=b,h=function(a){return function(b){f[a]=arguments.length>1?e.call(arguments,0):b,--g||c.resolvewith(e,f)}};while(b--)a=f[b],a&&d.isfunction(a.promise)?a.promise().then(h(b),c.reject):--g;g||c.resolvewith(e,f)}else c!==a&&c.resolve(a);return e},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 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")),i=b.getelementsbytagname("input")[0];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:i.value==="on",optselected:h.selected,deleteexpando:!0,optdisabled:!1,checkclone:!1,nocloneevent:!0,noclonechecked:!0,boxmodel:null,inlineblockneedslayout:!1,shrinkwrapblocks:!1,reliablehiddenoffsets:!0},i.checked=!0,d.support.noclonechecked=i.clonenode(!0).checked,g.disabled=!0,d.support.optdisabled=!h.disabled;var j=null;d.support.scripteval=function(){if(j===null){var b=c.documentelement,e=c.createelement("script"),f="script"+d.now();try{e.appendchild(c.createtextnode("window."+f+"=1;"))}catch(g){}b.insertbefore(e,b.firstchild),a[f]?(j=!0,delete a[f]):j=!1,b.removechild(e),b=e=f=null}return j};try{delete b.test}catch(k){d.support.deleteexpando=!1}!b.addeventlistener&&b.attachevent&&b.fireevent&&(b.attachevent("onclick",function l(){d.support.nocloneevent=!1,b.detachevent("onclick",l)}),b.clonenode(!0).fireevent("onclick")),b=c.createelement("div"),b.innerhtml="";var m=c.createdocumentfragment();m.appendchild(b.firstchild),d.support.checkclone=m.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 n=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=n("submit"),d.support.changebubbles=n("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&&!g(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]={},j||(k[l].tojson=d.noop));if(typeof c==="object"||typeof c==="function")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,h=b.nodetype,i=h?d.cache:b,j=h?b[d.expando]:d.expando;if(!i[j])return;if(c){var k=e?i[j][f]:i[j];if(k){delete k[c];if(!g(k))return}}if(e){delete i[j][f];if(!g(i[j]))return}var l=i[j][f];d.support.deleteexpando||i!=a?delete i[j]:i[j]=null,l?(i[j]={},h||(i[j].tojson=d.noop),i[j][f]=l):h&&(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,i=c.type==="select-one";if(f<0)return null;for(var k=i?f:0,l=i?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=k.test(c);if(c==="selected"&&!d.support.optselected){var j=a.parentnode;j&&(j.selectedindex,j.parentnode&&j.parentnode.selectedindex)}if((c in a||a[c]!==b)&&g&&!i){h&&(c==="type"&&l.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:m.test(a.nodename)||n.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 p=/\.(.*)$/,q=/^(?:textarea|input|select)$/i,r=/\./g,s=/ /g,t=/[^\w\s.|`]/g,u=function(a){return a.replace(t,"\\$&")};d.event={add:function(c,e,f,g){if(c.nodetype!==3&&c.nodetype!==8){try{d.iswindow(c)&&(c!==a&&!c.frameelement)&&(c=a)}catch(h){}if(f===!1)f=v;else if(!f)return;var i,j;f.handler&&(i=f,f=i.handler),f.guid||(f.guid=d.guid++);var k=d._data(c);if(!k)return;var l=k.events,m=k.handle;l||(k.events=l={}),m||(k.handle=m=function(){return typeof d!=="undefined"&&!d.event.triggered?d.event.handle.apply(m.elem,arguments):b}),m.elem=c,e=e.split(" ");var n,o=0,p;while(n=e[o++]){j=i?d.extend({},i):{handler:f,data:g},n.indexof(".")>-1?(p=n.split("."),n=p.shift(),j.namespace=p.slice(0).sort().join(".")):(p=[],j.namespace=""),j.type=n,j.guid||(j.guid=f.guid);var q=l[n],r=d.event.special[n]||{};if(!q){q=l[n]=[];if(!r.setup||r.setup.call(c,g,p,m)===!1)c.addeventlistener?c.addeventlistener(n,m,!1):c.attachevent&&c.attachevent("on"+n,m)}r.add&&(r.add.call(c,j),j.handler.guid||(j.handler.guid=f.guid)),q.push(j),d.event.global[n]=!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),t=s&&s.events;if(!s||!t)return;c&&c.type&&(e=c.handler,c=c.type);if(!c||typeof c==="string"&&c.charat(0)==="."){c=c||"";for(h in t)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(),u).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=t[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=d._data(e,"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(p,""),n=d.nodename(l,"a")&&m==="click",o=d.event.special[m]||{};if((!o._default||o._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,"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(q.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,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;(c==="radio"||c==="checkbox"||b.nodename.tolowercase()==="select")&&b.call(this,a)},keydown:function(a){var b=a.target,c=b.type;(a.keycode===13&&b.nodename.tolowercase()!=="textarea"||a.keycode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")&&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 q.test(this.nodename)},teardown:function(a){d.event.remove(this,".specialchange");return q.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 u(a,b,c,d,e,f){for(var g=0,h=d.length;g0){j=i;break}}i=i[a]}d[g]=j}}}function t(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,i=/\\/g,j=/\w/;[0,0].sort(function(){h=!1;return 0});var k=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 i,j,n,o,q,r,s,t,u=!0,w=k.isxml(d),x=[],y=b;do{a.exec(""),i=a.exec(y);if(i){y=i[3],x.push(i[1]);if(i[2]){o=i[3];break}}}while(i);if(x.length>1&&m.exec(b))if(x.length===2&&l.relative[x[0]])j=v(x[0]+x[1],d);else{j=l.relative[x[0]]?[d]:k(x.shift(),d);while(x.length)b=x.shift(),l.relative[b]&&(b+=x.shift()),j=v(b,j)}else{!g&&x.length>1&&d.nodetype===9&&!w&&l.match.id.test(x[0])&&!l.match.id.test(x[x.length-1])&&(q=k.find(x.shift(),d,w),d=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]);if(d){q=g?{expr:x.pop(),set:p(g)}:k.find(x.pop(),x.length===1&&(x[0]==="~"||x[0]==="+")&&d.parentnode?d.parentnode:d,w),j=q.expr?k.filter(q.expr,q.set):q.set,x.length>0?n=p(j):u=!1;while(x.length)r=x.pop(),s=r,l.relative[r]?s=x.pop():r="",s==null&&(s=d),l.relative[r](n,s,w)}else n=x=[]}n||(n=j),n||k.error(r||b);if(f.call(n)==="[object array]")if(u)if(d&&d.nodetype===1)for(t=0;n[t]!=null;t++)n[t]&&(n[t]===!0||n[t].nodetype===1&&k.contains(d,n[t]))&&e.push(j[t]);else for(t=0;n[t]!=null;t++)n[t]&&n[t].nodetype===1&&e.push(j[t]);else e.push.apply(e,n);else p(n,e);o&&(k(o,h,e,g),k.uniquesort(e));return e};k.uniquesort=function(a){if(r){g=h,a.sort(r);if(g)for(var b=1;b0},k.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=l.order.length;e":function(a,b){var c,d=typeof b==="string",e=0,f=a.length;if(d&&!j.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(i,"")},tag:function(a,b){return a[1].replace(i,"").tolowercase()},child:function(a){if(a[1]==="nth"){a[2]||k.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]&&k.error(a[0]);a[0]=e++;return a},attr:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(i,"");!f&&l.attrmap[g]&&(a[1]=l.attrmap[g]),a[4]=(a[4]||a[5]||"").replace(i,""),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]=k(b[3],null,null,c);else{var g=k.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(l.match.pos.test(b[0])||l.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&&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!!k(c[3],a).length},header:function(a){return/h\d/i.test(a.nodename)},text:function(a){return"text"===a.getattribute("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=l.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textcontent||a.innertext||k.gettext([a])||"").indexof(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=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=l.attrhandle[c]?l.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=l.setfilters[e];if(f)return f(a,c,b,d)}}},m=l.match.pos,n=function(a,b){return"\\"+(b-0+1)};for(var o in l.match)l.match[o]=new regexp(l.match[o].source+/(?![^\[]*\])(?![^\(]*\))/.source),l.leftmatch[o]=new regexp(/(^(?:.|\r|\n)*?)/.source+l.match[o].source.replace(/\\(\d+)/g,n));var p=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(q){p=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)&&(l.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:[]}},l.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&&(l.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")!=="#"&&(l.attrhandle.href=function(a){return a.getattribute("href",2)}),a=null}(),c.queryselectorall&&function(){var a=k,b=c.createelement("div"),d="__sizzle__";b.innerhtml="

";if(!b.queryselectorall||b.queryselectorall(".test").length!==0){k=function(b,e,f,g){e=e||c;if(!g&&!k.isxml(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodetype===1||e.nodetype===9)){if(h[1])return p(e.getelementsbytagname(b),f);if(h[2]&&l.find.class&&e.getelementsbyclassname)return p(e.getelementsbyclassname(h[2]),f)}if(e.nodetype===9){if(b==="body"&&e.body)return p([e.body],f);if(h&&h[3]){var i=e.getelementbyid(h[3]);if(!i||!i.parentnode)return p([],f);if(i.id===h[3])return p([i],f)}try{return p(e.queryselectorall(b),f)}catch(j){}}else if(e.nodetype===1&&e.nodename.tolowercase()!=="object"){var m=e,n=e.getattribute("id"),o=n||d,q=e.parentnode,r=/^\s*[+~]/.test(b);n?o=o.replace(/'/g,"\\$&"):e.setattribute("id",o),r&&q&&(e=e.parentnode);try{if(!r||q)return p(e.queryselectorall("[id='"+o+"'] "+b),f)}catch(s){}finally{n||m.removeattribute("id")}}}return a(b,e,f,g)};for(var e in a)k[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&&(k.matchesselector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isxml(a))try{if(d||!l.match.pseudo.test(c)&&!/!=/.test(c))return b.call(a,c)}catch(e){}return k(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;l.order.splice(1,0,"class"),l.find.class=function(a,b,c){if(typeof b.getelementsbyclassname!=="undefined"&&!c)return b.getelementsbyclassname(a[1])},a=null}}(),c.documentelement.contains?k.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentelement.comparedocumentposition?k.contains=function(a,b){return!!(a.comparedocumentposition(b)&16)}:k.contains=function(){return!1},k.isxml=function(a){var b=(a?a.ownerdocument||a:0).documentelement;return b?b.nodename!=="html":!1};var v=function(a,b){var c,d=[],e="",f=b.nodetype?[b]:b;while(c=l.match.pseudo.exec(a))e+=c[0],a=a.replace(l.match.pseudo,"");a=l.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?!1: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||!d.support.noclonechecked)&&(a.nodetype===1||a.nodetype===11)&&!d.isxmldoc(a)){$(a,e),f=_(a),g=_(e);for(h=0;f[h];++h)$(f[h],g[h])}if(b){z(a,e);if(c){f=_(a),g=_(e);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 bb=/alpha\([^)]*\)/i,bc=/opacity=([^)]*)/,bd=/-([a-z])/ig,be=/([a-z])/g,bf=/^-?\d+(?:px)?$/i,bg=/^-?\d/,bh={position:"absolute",visibility:"hidden",display:"block"},bi=["left","right"],bj=["top","bottom"],bk,bl,bm,bn=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=bk(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(bk)return bk(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(bd,bn)}}),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=bo(a,b,e):d.swap(a,bh,function(){f=bo(a,b,e)});if(f<=0){f=bk(a,b,b),f==="0px"&&bm&&(f=bm(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(!bf.test(b))return b;b=parsefloat(b);if(b>=0)return b+"px"}}}),d.support.opacity||(d.csshooks.opacity={get:function(a,b){return bc.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=bb.test(f)?f.replace(bb,e):c.filter+" "+e}}),c.defaultview&&c.defaultview.getcomputedstyle&&(bl=function(a,c,e){var f,g,h;e=e.replace(be,"-$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&&(bm=function(a,b){var c,d=a.currentstyle&&a.currentstyle[b],e=a.runtimestyle&&a.runtimestyle[b],f=a.style;!bf.test(d)&&bg.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}),bk=bl||bm,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 bp=/%20/g,bq=/\[\]$/,br=/\r?\n/g,bs=/#.*$/,bt=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bu=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bv=/(?:^file|^widget|\-extension):$/,bw=/^(?:get|head)$/,bx=/^\/\//,by=/\?/,bz=/)<[^<]*)*<\/script>/gi,ba=/^(?:select|textarea)/i,bb=/\s+/,bc=/([?&])_=[^&]*/,bd=/(^|\-)([a-z])/g,be=function(a,b,c){return b+c.touppercase()},bf=/^([\w\+\.\-]+:)\/\/([^\/?#:]*)(?::(\d+))?/,bg=d.fn.load,bh={},bi={},bj,bk;try{bj=c.location.href}catch(bl){bj=c.createelement("a"),bj.href="",bj=bj.href}bk=bf.exec(bj.tolowercase()),d.fn.extend({load:function(a,c,e){if(typeof a!=="string"&&bg)return bg.apply(this,arguments);if(!this.length)return this;var f=a.indexof(" ");if(f>=0){var g=a.slice(f,a.length);a=a.slice(0,f)}var h="get";c&&(d.isfunction(c)?(e=c,c=b):typeof c==="object"&&(c=d.param(c,d.ajaxsettings.traditional),h="post"));var i=this;d.ajax({url:a,type:h,datatype:"html",data:c,complete:function(a,b,c){c=a.responsetext,a.isresolved()&&(a.done(function(a){c=a}),i.html(g?d("
").append(c.replace(bz,"")).find(g):c)),e&&i.each(e,[c,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||ba.test(this.nodename)||bu.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(br,"\r\n")}}):{name:b.name,value:c.replace(br,"\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,c){d[c]=function(a,e,f,g){d.isfunction(e)&&(g=g||f,f=e,e=b);return d.ajax({type:c,url:a,data:e,success:f,datatype:g})}}),d.extend({getscript:function(a,c){return d.get(a,b,c,"script")},getjson:function(a,b,c){return d.get(a,b,c,"json")},ajaxsetup:function(a,b){b?d.extend(!0,a,d.ajaxsettings,b):(b=a,a=d.extend(!0,d.ajaxsettings,b));for(var c in {context:1,url:1})c in b?a[c]=b[c]:c in d.ajaxsettings&&(a[c]=d.ajaxsettings[c]);return a},ajaxsettings:{url:bj,islocal:bv.test(bk[1]),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:bm(bh),ajaxtransport:bm(bi),ajax:function(a,c){function v(a,c,l,n){if(r!==2){r=2,p&&cleartimeout(p),o=b,m=n||"",u.readystate=a?4:0;var q,t,v,w=l?bp(e,u,l):b,x,y;if(a>=200&&a<300||a===304){if(e.ifmodified){if(x=u.getresponseheader("last-modified"))d.lastmodified[k]=x;if(y=u.getresponseheader("etag"))d.etag[k]=y}if(a===304)c="notmodified",q=!0;else try{t=bq(e,w),c="success",q=!0}catch(z){c="parsererror",v=z}}else{v=c;if(!c||a)c="error",a<0&&(a=0)}u.status=a,u.statustext=c,q?h.resolvewith(f,[t,c,u]):h.rejectwith(f,[u,c,v]),u.statuscode(j),j=b,s&&g.trigger("ajax"+(q?"success":"error"),[u,e,q?t:v]),i.resolvewith(f,[u,c]),s&&(g.trigger("ajaxcomplete",[u,e]),--d.active||d.event.trigger("ajaxstop"))}}typeof a==="object"&&(c=a,a=b),c=c||{};var e=d.ajaxsetup({},c),f=e.context||e,g=f!==e&&(f.nodetype||f instanceof d)?d(f):d.event,h=d.deferred(),i=d._deferred(),j=e.statuscode||{},k,l={},m,n,o,p,q,r=0,s,t,u={readystate:0,setrequestheader:function(a,b){r||(l[a.tolowercase().replace(bd,be)]=b);return this},getallresponseheaders:function(){return r===2?m:null},getresponseheader:function(a){var c;if(r===2){if(!n){n={};while(c=bt.exec(m))n[c[1].tolowercase()]=c[2]}c=n[a.tolowercase()]}return c===b?null:c},overridemimetype:function(a){r||(e.mimetype=a);return this},abort:function(a){a=a||"abort",o&&o.abort(a),v(0,a);return this}};h.promise(u),u.success=u.done,u.error=u.fail,u.complete=i.done,u.statuscode=function(a){if(a){var b;if(r<2)for(b in a)j[b]=[j[b],a[b]];else b=a[u.status],u.then(b,b)}return this},e.url=((a||e.url)+"").replace(bs,"").replace(bx,bk[1]+"//"),e.datatypes=d.trim(e.datatype||"*").tolowercase().split(bb),e.crossdomain||(q=bf.exec(e.url.tolowercase()),e.crossdomain=q&&(q[1]!=bk[1]||q[2]!=bk[2]||(q[3]||(q[1]==="http:"?80:443))!=(bk[3]||(bk[1]==="http:"?80:443)))),e.data&&e.processdata&&typeof e.data!=="string"&&(e.data=d.param(e.data,e.traditional)),bn(bh,e,c,u);if(r===2)return!1;s=e.global,e.type=e.type.touppercase(),e.hascontent=!bw.test(e.type),s&&d.active++===0&&d.event.trigger("ajaxstart");if(!e.hascontent){e.data&&(e.url+=(by.test(e.url)?"&":"?")+e.data),k=e.url;if(e.cache===!1){var w=d.now(),x=e.url.replace(bc,"$1_="+w);e.url=x+(x===e.url?(by.test(e.url)?"&":"?")+"_="+w:"")}}if(e.data&&e.hascontent&&e.contenttype!==!1||c.contenttype)l["content-type"]=e.contenttype;e.ifmodified&&(k=k||e.url,d.lastmodified[k]&&(l["if-modified-since"]=d.lastmodified[k]),d.etag[k]&&(l["if-none-match"]=d.etag[k])),l.accept=e.datatypes[0]&&e.accepts[e.datatypes[0]]?e.accepts[e.datatypes[0]]+(e.datatypes[0]!=="*"?", */*; q=0.01":""):e.accepts["*"];for(t in e.headers)u.setrequestheader(t,e.headers[t]);if(e.beforesend&&(e.beforesend.call(f,u,e)===!1||r===2)){u.abort();return!1}for(t in {success:1,error:1,complete:1})u[t](e[t]);o=bn(bi,e,c,u);if(o){u.readystate=1,s&&g.trigger("ajaxsend",[u,e]),e.async&&e.timeout>0&&(p=settimeout(function(){u.abort("timeout")},e.timeout));try{r=1,o.send(l,v)}catch(y){status<2?v(-1,y):d.error(y)}}else v(-1,"no transport");return u},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.isplainobject(a))d.each(a,function(){f(this.name,this.value)});else for(var g in a)bo(g,a[g],c,f);return e.join("&").replace(bp,"+")}}),d.extend({active:0,lastmodified:{},etag:{}});var br=d.now(),bs=/(\=)\?(&|$)|()\?\?()/i;d.ajaxsetup({jsonp:"callback",jsonpcallback:function(){return d.expando+"_"+br++}}),d.ajaxprefilter("json jsonp",function(b,c,e){var f=typeof b.data==="string";if(b.datatypes[0]==="jsonp"||c.jsonpcallback||c.jsonp!=null||b.jsonp!==!1&&(bs.test(b.url)||f&&bs.test(b.data))){var g,h=b.jsonpcallback=d.isfunction(b.jsonpcallback)?b.jsonpcallback():b.jsonpcallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2",m=function(){a[h]=i,g&&d.isfunction(i)&&a[h](g[0])};b.jsonp!==!1&&(j=j.replace(bs,l),b.url===j&&(f&&(k=k.replace(bs,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},e.then(m,m),b.converters["script json"]=function(){g||d.error(h+" was not called");return g[0]},b.datatypes[0]="json";return"script"}}),d.ajaxsetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},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.head||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 bt=d.now(),bu,bv;d.ajaxsettings.xhr=a.activexobject?function(){return!this.islocal&&bx()||by()}:bx,bv=d.ajaxsettings.xhr(),d.support.ajax=!!bv,d.support.cors=bv&&"withcredentials"in bv,bv=b,d.support.ajax&&d.ajaxtransport(function(a){if(!a.crossdomain||d.support.cors){var c;return{send:function(e,f){var g=a.xhr(),h,i;a.username?g.open(a.type,a.url,a.async,a.username,a.password):g.open(a.type,a.url,a.async);if(a.xhrfields)for(i in a.xhrfields)g[i]=a.xhrfields[i];a.mimetype&&g.overridemimetype&&g.overridemimetype(a.mimetype),(!a.crossdomain||a.hascontent)&&!e["x-requested-with"]&&(e["x-requested-with"]="xmlhttprequest");try{for(i in e)g.setrequestheader(i,e[i])}catch(j){}g.send(a.hascontent&&a.data||null),c=function(e,i){var j,k,l,m,n;try{if(c&&(i||g.readystate===4)){c=b,h&&(g.onreadystatechange=d.noop,delete bu[h]);if(i)g.readystate!==4&&g.abort();else{j=g.status,l=g.getallresponseheaders(),m={},n=g.responsexml,n&&n.documentelement&&(m.xml=n),m.text=g.responsetext;try{k=g.statustext}catch(o){k=""}j||!a.islocal||a.crossdomain?j===1223&&(j=204):j=m.text?200:404}}}catch(p){i||f(-1,p)}m&&f(j,k,m,l)},a.async&&g.readystate!==4?(bu||(bu={},bw()),h=bt++,g.onreadystatechange=bu[h]=c):c()},abort:function(){c&&c(0,1)}}}});var bz={},b$=/^(?:toggle|show|hide)$/,b_=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,ca,cb=[["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(cc("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:cc("show",1),slideup:cc("hide",1),slidetoggle:cc("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,b=d.css(this.elem,this.prop);return isnan(a=parsefloat(b))?!b||b==="auto"?0:b:a},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||(d.cssnumber[this.prop]?"":"px"),this.now=this.start,this.pos=this.state=0,g.elem=this.elem,g()&&d.timers.push(g)&&!ca&&(ca=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=cf.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&&(!cf.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=cg(this),g?g.scrollto(a?d(g).scrollleft():c,a?c:d(g).scrolltop()):this[e]=c});g=cg(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")}}),a.jquery=a.$=d})(window);