/*! * jquery javascript library v1.6.2 * 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: thu jun 30 14:16:56 2011 -0400 */ (function(a,b){function cv(a){return f.iswindow(a)?a:a.nodetype===9?a.defaultview||a.parentwindow:!1}function cs(a){if(!cg[a]){var b=c.body,d=f("<"+a+">").appendto(b),e=d.css("display");d.remove();if(e==="none"||e===""){ch||(ch=c.createelement("iframe"),ch.frameborder=ch.width=ch.height=0),b.appendchild(ch);if(!ci||!ch.createelement)ci=(ch.contentwindow||ch.contentdocument).document,ci.write((c.compatmode==="css1compat"?"":"")+""),ci.close();d=ci.createelement(a),ci.body.appendchild(d),e=f.css(d,"display"),b.removechild(ch)}cg[a]=e}return cg[a]}function cr(a,b){var c={};f.each(cm.concat.apply([],cm.slice(0,b)),function(){c[this]=a});return c}function cq(){cn=b}function cp(){settimeout(cq,0);return cn=f.now()}function cf(){try{return new a.activexobject("microsoft.xmlhttp")}catch(b){}}function ce(){try{return new a.xmlhttprequest}catch(b){}}function b$(a,c){a.datafilter&&(c=a.datafilter(c,a.datatype));var d=a.datatypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){c!=="border"&&f.each(e,function(){c||(d-=parsefloat(f.css(a,"padding"+this))||0),c==="margin"?d+=parsefloat(f.css(a,c+this))||0:d-=parsefloat(f.css(a,"border"+this+"width"))||0});return d+"px"}d=bx(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parsefloat(d)||0,c&&f.each(e,function(){d+=parsefloat(f.css(a,"padding"+this))||0,c!=="padding"&&(d+=parsefloat(f.css(a,"border"+this+"width"))||0),c==="margin"&&(d+=parsefloat(f.css(a,c+this))||0)});return d+"px"}function bm(a,b){b.src?f.ajax({url:b.src,async:!1,datatype:"script"}):f.globaleval((b.text||b.textcontent||b.innerhtml||"").replace(be,"/*$0*/")),b.parentnode&&b.parentnode.removechild(b)}function bl(a){f.nodename(a,"input")?bk(a):"getelementsbytagname"in a&&f.grep(a.getelementsbytagname("input"),bk)}function bk(a){if(a.type==="checkbox"||a.type==="radio")a.defaultchecked=a.checked}function bj(a){return"getelementsbytagname"in a?a.getelementsbytagname("*"):"queryselectorall"in a?a.queryselectorall("*"):[]}function bi(a,b){var c;if(b.nodetype===1){b.clearattributes&&b.clearattributes(),b.mergeattributes&&b.mergeattributes(a),c=b.nodename.tolowercase();if(c==="object")b.outerhtml=a.outerhtml;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultselected;else if(c==="input"||c==="textarea")b.defaultvalue=a.defaultvalue}else a.checked&&(b.defaultchecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeattribute(f.expando)}}function bh(a,b){if(b.nodetype===1&&!!f.hasdata(a)){var c=f.expando,d=f.data(a),e=f.data(b,d);if(d=d[c]){var g=d.events;e=e[c]=f.extend({},d);if(g){delete e.handle,e.events={};for(var h in g)for(var i=0,j=g[h].length;i=0===c})}function v(a){return!a||!a.parentnode||a.parentnode.nodetype===11}function n(a,b){return(a&&a!=="*"?a+".":"")+b.replace(z,"`").replace(a,"&")}function m(a){var b,c,d,e,g,h,i,j,k,l,m,n,o,p=[],q=[],r=f._data(this,"events");if(!(a.livefired===this||!r||!r.live||a.target.disabled||a.button&&a.type==="click")){a.namespace&&(n=new regexp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),a.livefired=this;var s=r.live.slice(0);for(i=0;ic)break;a.currenttarget=e.elem,a.data=e.handleobj.data,a.handleobj=e.handleobj,o=e.handleobj.orighandler.apply(e.elem,arguments);if(o===!1||a.ispropagationstopped()){c=e.level,o===!1&&(b=!1);if(a.isimmediatepropagationstopped())break}}return b}}function k(a,c,d){var e=f.extend({},d[0]);e.type=a,e.originalevent={},e.livefired=b,f.event.handle.call(c,e),e.isdefaultprevented()&&d[0].preventdefault()}function e(){return!0}function d(){return!1}function m(a,c,d){var e=c+"defer",g=c+"queue",h=c+"mark",i=f.data(a,e,b,!0);i&&(d==="queue"||!f.data(a,g,b,!0))&&(d==="mark"||!f.data(a,h,b,!0))&&settimeout(function(){!f.data(a,g,b,!0)&&!f.data(a,h,b,!0)&&(f.removedata(a,e,!0),i.resolve())},0)}function l(a){for(var b in a)if(b!=="tojson")return!1;return!0}function k(a,c,d){if(d===b&&a.nodetype===1){var e="data-"+c.replace(j,"$1-$2").tolowercase();d=a.getattribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isnan(d)?i.test(d)?f.parsejson(d):d:parsefloat(d)}catch(g){}f.data(a,c,d)}else d=b}return d}var c=a.document,d=a.navigator,e=a.location,f=function(){function j(){if(!e.isready){try{c.documentelement.doscroll("left")}catch(a){settimeout(j,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jquery,g=a.$,h,i=/^(?:[^<]*(<[\w\w]+>)[^>]*$|#([\w\-]*)$)/,j=/\s/,k=/^\s+/,l=/\s+$/,m=/\d/,n=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,o=/^[\],:{}\s]*$/,p=/\\(?:["\\\/bfnrt]|u[0-9a-fa-f]{4})/g,q=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[ee][+\-]?\d+)?/g,r=/(?:^|:|,)(?:\s*\[)+/g,s=/(webkit)[ \/]([\w.]+)/,t=/(opera)(?:.*version)?[ \/]([\w.]+)/,u=/(msie) ([\w.]+)/,v=/(mozilla)(?:.*? rv:([\w.]+))?/,w=/-([a-z])/ig,x=function(a,b){return b.touppercase()},y=d.useragent,z,a,b,c=object.prototype.tostring,d=object.prototype.hasownproperty,e=array.prototype.push,f=array.prototype.slice,g=string.prototype.trim,h=array.prototype.indexof,i={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodetype){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charat(0)!=="<"||a.charat(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerdocument||d:c,j=n.exec(a),j?e.isplainobject(d)?(a=[c.createelement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createelement(j[1])]:(j=e.buildfragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childnodes);return e.merge(this,a)}h=c.getelementbyid(g[2]);if(h&&h.parentnode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isfunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makearray(a,this)},selector:"",jquery:"1.6.2",length:0,size:function(){return this.length},toarray:function(){return f.call(this,0)},get:function(a){return a==null?this.toarray():a<0?this[this.length+a]:this[a]},pushstack:function(a,b,c){var d=this.constructor();e.isarray(a)?e.apply(d,a):e.merge(d,a),d.prevobject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindready(),a.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(f.apply(this,arguments),"slice",f.call(arguments).join(","))},map:function(a){return this.pushstack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevobject||this.constructor(null)},push:e,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,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"&&!e.isfunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;a.resolvewith(c,[e]),e.fn.trigger&&e(c).trigger("ready").unbind("ready")}},bindready:function(){if(!a){a=e._deferred();if(c.readystate==="complete")return settimeout(e.ready,1);if(c.addeventlistener)c.addeventlistener("domcontentloaded",b,!1),a.addeventlistener("load",e.ready,!1);else if(c.attachevent){c.attachevent("onreadystatechange",b),a.attachevent("onload",e.ready);var b=!1;try{b=a.frameelement==null}catch(d){}c.documentelement.doscroll&&b&&j()}}},isfunction:function(a){return e.type(a)==="function"},isarray:array.isarray||function(a){return e.type(a)==="array"},iswindow:function(a){return a&&typeof a=="object"&&"setinterval"in a},isnan:function(a){return a==null||!m.test(a)||isnan(a)},type:function(a){return a==null?string(a):i[c.call(a)]||"object"},isplainobject:function(a){if(!a||e.type(a)!=="object"||a.nodetype||e.iswindow(a))return!1;if(a.constructor&&!d.call(a,"constructor")&&!d.call(a.constructor.prototype,"isprototypeof"))return!1;var c;for(c in a);return c===b||d.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=e.trim(b);if(a.json&&a.json.parse)return a.json.parse(b);if(o.test(b.replace(p,"@").replace(q,"]").replace(r,"")))return(new function("return "+b))();e.error("invalid json: "+b)},parsexml:function(b,c,d){a.domparser?(d=new domparser,c=d.parsefromstring(b,"text/xml")):(c=new activexobject("microsoft.xmldom"),c.async="false",c.loadxml(b)),d=c.documentelement,(!d||!d.nodename||d.nodename==="parsererror")&&e.error("invalid xml: "+b);return c},noop:function(){},globaleval:function(b){b&&j.test(b)&&(a.execscript||function(b){a.eval.call(a,b)})(b)},camelcase:function(a){return a.replace(w,x)},nodename:function(a,b){return a.nodename&&a.nodename.touppercase()===b.touppercase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isfunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isarray(a));if(k)for(;i1?h.call(arguments,0):c,--e||g.resolvewith(g,h.call(b,0))}}var b=arguments,c=0,d=b.length,e=d,g=d<=1&&a&&f.isfunction(a.promise)?a:f.deferred();if(d>1){for(;c
a",d=a.getelementsbytagname("*"),e=a.getelementsbytagname("a")[0];if(!d||!d.length||!e)return{};g=c.createelement("select"),h=g.appendchild(c.createelement("option")),i=a.getelementsbytagname("input")[0],k={leadingwhitespace:a.firstchild.nodetype===3,tbody:!a.getelementsbytagname("tbody").length,htmlserialize:!!a.getelementsbytagname("link").length,style:/top/.test(e.getattribute("style")),hrefnormalized:e.getattribute("href")==="/a",opacity:/^0.55$/.test(e.style.opacity),cssfloat:!!e.style.cssfloat,checkon:i.value==="on",optselected:h.selected,getsetattribute:a.classname!=="t",submitbubbles:!0,changebubbles:!0,focusinbubbles:!1,deleteexpando:!0,nocloneevent:!0,inlineblockneedslayout:!1,shrinkwrapblocks:!1,reliablemarginright:!0},i.checked=!0,k.noclonechecked=i.clonenode(!0).checked,g.disabled=!0,k.optdisabled=!h.disabled;try{delete a.test}catch(v){k.deleteexpando=!1}!a.addeventlistener&&a.attachevent&&a.fireevent&&(a.attachevent("onclick",function(){k.nocloneevent=!1}),a.clonenode(!0).fireevent("onclick")),i=c.createelement("input"),i.value="t",i.setattribute("type","radio"),k.radiovalue=i.value==="t",i.setattribute("checked","checked"),a.appendchild(i),l=c.createdocumentfragment(),l.appendchild(a.firstchild),k.checkclone=l.clonenode(!0).clonenode(!0).lastchild.checked,a.innerhtml="",a.style.width=a.style.paddingleft="1px",m=c.getelementsbytagname("body")[0],o=c.createelement(m?"div":"body"),p={visibility:"hidden",width:0,height:0,border:0,margin:0},m&&f.extend(p,{position:"absolute",left:-1e3,top:-1e3});for(t in p)o.style[t]=p[t];o.appendchild(a),n=m||b,n.insertbefore(o,n.firstchild),k.appendchecked=i.checked,k.boxmodel=a.offsetwidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,k.inlineblockneedslayout=a.offsetwidth===2,a.style.display="",a.innerhtml="
",k.shrinkwrapblocks=a.offsetwidth!==2),a.innerhtml="
t
",q=a.getelementsbytagname("td"),u=q[0].offsetheight===0,q[0].style.display="",q[1].style.display="none",k.reliablehiddenoffsets=u&&q[0].offsetheight===0,a.innerhtml="",c.defaultview&&c.defaultview.getcomputedstyle&&(j=c.createelement("div"),j.style.width="0",j.style.marginright="0",a.appendchild(j),k.reliablemarginright=(parseint((c.defaultview.getcomputedstyle(j,null)||{marginright:0}).marginright,10)||0)===0),o.innerhtml="",n.removechild(o);if(a.attachevent)for(t in{submit:1,change:1,focusin:1})s="on"+t,u=s in a,u||(a.setattribute(s,"return;"),u=typeof a[s]=="function"),k[t+"bubbles"]=u;o=l=g=h=m=j=a=i=null;return k}(),f.boxmodel=f.support.boxmodel;var i=/^(?:\{.*\}|\[.*\])$/,j=/([a-z])([a-z])/g;f.extend({cache:{},uuid:0,expando:"jquery"+(f.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?f.cache[a[f.expando]]:a[f.expando];return!!a&&!l(a)},data:function(a,c,d,e){if(!!f.acceptdata(a)){var g=f.expando,h=typeof c=="string",i,j=a.nodetype,k=j?f.cache:a,l=j?a[f.expando]:a[f.expando]&&f.expando;if((!l||e&&l&&!k[l][g])&&h&&d===b)return;l||(j?a[f.expando]=l=++f.uuid:l=f.expando),k[l]||(k[l]={},j||(k[l].tojson=f.noop));if(typeof c=="object"||typeof c=="function")e?k[l][g]=f.extend(k[l][g],c):k[l]=f.extend(k[l],c);i=k[l],e&&(i[g]||(i[g]={}),i=i[g]),d!==b&&(i[f.camelcase(c)]=d);if(c==="events"&&!i[c])return i[g]&&i[g].events;return h?i[f.camelcase(c)]||i[c]:i}},removedata:function(b,c,d){if(!!f.acceptdata(b)){var e=f.expando,g=b.nodetype,h=g?f.cache:b,i=g?b[f.expando]:f.expando;if(!h[i])return;if(c){var j=d?h[i][e]:h[i];if(j){delete j[c];if(!l(j))return}}if(d){delete h[i][e];if(!l(h[i]))return}var k=h[i][e];f.support.deleteexpando||h!=a?delete h[i]:h[i]=null,k?(h[i]={},g||(h[i].tojson=f.noop),h[i][e]=k):g&&(f.support.deleteexpando?delete b[f.expando]:b.removeattribute?b.removeattribute(f.expando):b[f.expando]=null)}},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptdata:function(a){if(a.nodename){var b=f.nodata[a.nodename.tolowercase()];if(b)return b!==!0&&a.getattribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c){var d=null;if(typeof a=="undefined"){if(this.length){d=f.data(this[0]);if(this[0].nodetype===1){var e=this[0].attributes,g;for(var h=0,i=e.length;h-1)return!0;return!1},val:function(a){var c,d,e=this[0];if(!arguments.length){if(e){c=f.valhooks[e.nodename.tolowercase()]||f.valhooks[e.type];if(c&&"get"in c&&(d=c.get(e,"value"))!==b)return d;d=e.value;return typeof d=="string"?d.replace(p,""):d==null?"":d}return b}var g=f.isfunction(a);return this.each(function(d){var e=f(this),h;if(this.nodetype===1){g?h=a.call(this,d,e.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isarray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valhooks[this.nodename.tolowercase()]||f.valhooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}}),f.extend({valhooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c=a.selectedindex,d=[],e=a.options,g=a.type==="select-one";if(c<0)return null;for(var h=g?c:0,i=g?c+1:e.length;h=0}),c.length||(a.selectedindex=-1);return c}}},attrfn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrfix:{tabindex:"tabindex"},attr:function(a,c,d,e){var g=a.nodetype;if(!a||g===3||g===8||g===2)return b;if(e&&c in f.attrfn)return f(a)[c](d);if(!("getattribute"in a))return f.prop(a,c,d);var h,i,j=g!==1||!f.isxmldoc(a);j&&(c=f.attrfix[c]||c,i=f.attrhooks[c],i||(t.test(c)?i=w:v&&c!=="classname"&&(f.nodename(a,"form")||u.test(c))&&(i=v)));if(d!==b){if(d===null){f.removeattr(a,c);return b}if(i&&"set"in i&&j&&(h=i.set(a,d,c))!==b)return h;a.setattribute(c,""+d);return d}if(i&&"get"in i&&j&&(h=i.get(a,c))!==null)return h;h=a.getattribute(c);return h===null?b:h},removeattr:function(a,b){var c;a.nodetype===1&&(b=f.attrfix[b]||b,f.support.getsetattribute?a.removeattribute(b):(f.attr(a,b,""),a.removeattributenode(a.getattributenode(b))),t.test(b)&&(c=f.propfix[b]||b)in a&&(a[c]=!1))},attrhooks:{type:{set:function(a,b){if(q.test(a.nodename)&&a.parentnode)f.error("type property can't be changed");else if(!f.support.radiovalue&&b==="radio"&&f.nodename(a,"input")){var c=a.value;a.setattribute("type",b),c&&(a.value=c);return b}}},tabindex:{get:function(a){var c=a.getattributenode("tabindex");return c&&c.specified?parseint(c.value,10):r.test(a.nodename)||s.test(a.nodename)&&a.href?0:b}},value:{get:function(a,b){if(v&&f.nodename(a,"button"))return v.get(a,b);return b in a?a.value:null},set:function(a,b,c){if(v&&f.nodename(a,"button"))return v.set(a,b,c);a.value=b}}},propfix:{tabindex:"tabindex",readonly:"readonly","for":"htmlfor","class":"classname",maxlength:"maxlength",cellspacing:"cellspacing",cellpadding:"cellpadding",rowspan:"rowspan",colspan:"colspan",usemap:"usemap",frameborder:"frameborder",contenteditable:"contenteditable"},prop:function(a,c,d){var e=a.nodetype;if(!a||e===3||e===8||e===2)return b;var g,h,i=e!==1||!f.isxmldoc(a);i&&(c=f.propfix[c]||c,h=f.prophooks[c]);return d!==b?h&&"set"in h&&(g=h.set(a,d,c))!==b?g:a[c]=d:h&&"get"in h&&(g=h.get(a,c))!==b?g:a[c]},prophooks:{}}),w={get:function(a,c){return f.prop(a,c)?c.tolowercase():b},set:function(a,b,c){var d;b===!1?f.removeattr(a,c):(d=f.propfix[c]||c,d in a&&(a[d]=!0),a.setattribute(c,c.tolowercase()));return c}},f.support.getsetattribute||(f.attrfix=f.propfix,v=f.attrhooks.name=f.attrhooks.title=f.valhooks.button={get:function(a,c){var d;d=a.getattributenode(c);return d&&d.nodevalue!==""?d.nodevalue:b},set:function(a,b,c){var d=a.getattributenode(c);if(d){d.nodevalue=b;return b}}},f.each(["width","height"],function(a,b){f.attrhooks[b]=f.extend(f.attrhooks[b],{set:function(a,c){if(c===""){a.setattribute(b,"auto");return c}}})})),f.support.hrefnormalized||f.each(["href","src","width","height"],function(a,c){f.attrhooks[c]=f.extend(f.attrhooks[c],{get:function(a){var d=a.getattribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrhooks.style={get:function(a){return a.style.csstext.tolowercase()||b},set:function(a,b){return a.style.csstext=""+b}}),f.support.optselected||(f.prophooks.selected=f.extend(f.prophooks.selected,{get:function(a){var b=a.parentnode;b&&(b.selectedindex,b.parentnode&&b.parentnode.selectedindex)}})),f.support.checkon||f.each(["radio","checkbox"],function(){f.valhooks[this]={get:function(a){return a.getattribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valhooks[this]=f.extend(f.valhooks[this],{set:function(a,b){if(f.isarray(b))return a.checked=f.inarray(f(a).val(),b)>=0}})});var x=/\.(.*)$/,y=/^(?:textarea|input|select)$/i,z=/\./g,a=/ /g,b=/[^\w\s.|`]/g,c=function(a){return a.replace(b,"\\$&")};f.event={add:function(a,c,d,e){if(a.nodetype!==3&&a.nodetype!==8){if(d===!1)d=d;else if(!d)return;var g,h;d.handler&&(g=d,d=g.handler),d.guid||(d.guid=f.guid++);var i=f._data(a);if(!i)return;var j=i.events,k=i.handle;j||(i.events=j={}),k||(i.handle=k=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.handle.apply(k.elem,arguments):b}),k.elem=a,c=c.split(" ");var l,m=0,n;while(l=c[m++]){h=g?f.extend({},g):{handler:d,data:e},l.indexof(".")>-1?(n=l.split("."),l=n.shift(),h.namespace=n.slice(0).sort().join(".")):(n=[],h.namespace=""),h.type=l,h.guid||(h.guid=d.guid);var o=j[l],p=f.event.special[l]||{};if(!o){o=j[l]=[];if(!p.setup||p.setup.call(a,e,n,k)===!1)a.addeventlistener?a.addeventlistener(l,k,!1):a.attachevent&&a.attachevent("on"+l,k)}p.add&&(p.add.call(a,h),h.handler.guid||(h.handler.guid=d.guid)),o.push(h),f.event.global[l]=!0}a=null}},global:{},remove:function(a,c,d,e){if(a.nodetype!==3&&a.nodetype!==8){d===!1&&(d=d);var g,h,i,j,k=0,l,m,n,o,p,q,r,s=f.hasdata(a)&&f._data(a),t=s&&s.events;if(!s||!t)return;c&&c.type&&(d=c.handler,c=c.type);if(!c||typeof c=="string"&&c.charat(0)==="."){c=c||"";for(h in t)f.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("(^|\\.)"+f.map(m.slice(0).sort(),c).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=t[h];if(!p)continue;if(!d){for(j=0;j=0&&(h=h.slice(0,-1),j=!0),h.indexof(".")>=0&&(i=h.split("."),h=i. shift(),i.sort());if(!!e&&!f.event.customevent[h]||!!f.event.global[h]){c=typeof c=="object"?c[f.expando]?c:new f.event(h,c):new f.event(h),c.type=h,c.exclusive=j,c.namespace=i.join("."),c.namespace_re=new regexp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)");if(g||!e)c.preventdefault(),c.stoppropagation();if(!e){f.each(f.cache,function(){var a=f.expando,b=this[a];b&&b.events&&b.events[h]&&f.event.trigger(c,d,b.handle.elem)});return}if(e.nodetype===3||e.nodetype===8)return;c.result=b,c.target=e,d=d!=null?f.makearray(d):[],d.unshift(c);var k=e,l=h.indexof(":")<0?"on"+h:"";do{var m=f._data(k,"handle");c.currenttarget=k,m&&m.apply(k,d),l&&f.acceptdata(k)&&k[l]&&k[l].apply(k,d)===!1&&(c.result=!1,c.preventdefault()),k=k.parentnode||k.ownerdocument||k===c.target.ownerdocument&&a}while(k&&!c.ispropagationstopped());if(!c.isdefaultprevented()){var n,o=f.event.special[h]||{};if((!o._default||o._default.call(e.ownerdocument,c)===!1)&&(h!=="click"||!f.nodename(e,"a"))&&f.acceptdata(e)){try{l&&e[h]&&(n=e[l],n&&(e[l]=null),f.event.triggered=h,e[h]())}catch(p){}n&&(e[l]=n),f.event.triggered=b}}return c.result}},handle:function(c){c=f.event.fix(c||a.event);var d=((f._data(this,"events")||{})[c.type]||[]).slice(0),e=!c.exclusive&&!c.namespace,g=array.prototype.slice.call(arguments,0);g[0]=c,c.currenttarget=this;for(var h=0,i=d.length;h-1?f.map(a.options,function(a){return a.selected}).join("-"):"":f.nodename(a,"select")&&(c=a.selectedindex);return c},j=function(c){var d=c.target,e,g;if(!!y.test(d.nodename)&&!d.readonly){e=f._data(d,"_change_data"),g=i(d),(c.type!=="focusout"||d.type!=="radio")&&f._data(d,"_change_data",g);if(e===b||g===e)return;if(e!=null||g)c.type="change",c.livefired=b,f.event.trigger(c,arguments[1],d)}};f.event.special.change={filters:{focusout:j,beforedeactivate:j,click:function(a){var b=a.target,c=f.nodename(b,"input")?b.type:"";(c==="radio"||c==="checkbox"||f.nodename(b,"select"))&&j.call(this,a)},keydown:function(a){var b=a.target,c=f.nodename(b,"input")?b.type:"";(a.keycode===13&&!f.nodename(b,"textarea")||a.keycode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")&&j.call(this,a)},beforeactivate:function(a){var b=a.target;f._data(b,"_change_data",i(b))}},setup:function(a,b){if(this.type==="file")return!1;for(var c in h)f.event.add(this,c+".specialchange",h[c]);return y.test(this.nodename)},teardown:function(a){f.event.remove(this,".specialchange");return y.test(this.nodename)}},h=f.event.special.change.filters,h.focus=h.beforeactivate}f.support.focusinbubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){function e(a){var c=f.event.fix(a);c.type=b,c.originalevent={},f.event.trigger(c,null,c.target),c.isdefaultprevented()&&a.preventdefault()}var d=0;f.event.special[b]={setup:function(){d++===0&&c.addeventlistener(a,e,!0)},teardown:function(){--d===0&&c.removeeventlistener(a,e,!0)}}}),f.each(["bind","one"],function(a,c){f.fn[c]=function(a,d,e){var g;if(typeof a=="object"){for(var h in a)this[c](h,d,a[h],e);return this}if(arguments.length===2||d===!1)e=d,d=b;c==="one"?(g=function(a){f(this).unbind(a,g);return e.apply(this,arguments)},g.guid=e.guid||f.guid++):g=e;if(a==="unload"&&c!=="one")this.one(a,d,e);else for(var i=0,j=this.length;i0?this.bind(b,a,c):this.trigger(b)},f.attrfn&&(f.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,d=0,e=object.prototype.tostring,g=!1,h=!0,i=/\\/g,j=/\w/;[0,0].sort(function(){h=!1;return 0});var k=function(b,d,f,g){f=f||[],d=d||c;var h=d;if(d.nodetype!==1&&d.nodetype!==9)return[];if(!b||typeof b!="string")return f;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(e.call(n)==="[object array]")if(!u)f.push.apply(f,n);else 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]))&&f.push(j[t]);else for(t=0;n[t]!=null;t++)n[t]&&n[t].nodetype===1&&f.push(j[t]);else p(n,f);o&&(k(o,h,f,g),k.uniquesort(f));return f};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]=d++;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){var b=a.getattribute("type"),c=a.type;return a.nodename.tolowercase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodename.tolowercase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodename.tolowercase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodename.tolowercase()==="input"&&"file"===a.type},password:function(a){return a.nodename.tolowercase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodename.tolowercase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodename.tolowercase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodename.tolowercase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodename.tolowercase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodename)},focus:function(a){return a===a.ownerdocument.activeelement}},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(e.call(a)==="[object array]")array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var f=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;if(b){var d=!b.call(c.createelement("div"),"div"),e=!1;try{b.call(c.documentelement,"[test!='']:sizzle")}catch(f){e=!0}k.matchesselector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isxml(a))try{if(e||!l.match.pseudo.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodetype!==11)return f}}catch(g){}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(h=g;h0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isarray(a)){var h,i,j={},k=1;if(g&&a.length){for(d=0,e=a.length;d-1:f(g).is(h))&&c.push({selector:i,elem:g,level:k});g=g.parentnode,k++}}return c}var l=t.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d-1:f.find.matchesselector(g,a)){c.push(g);break}g=g.parentnode;if(!g||!g.ownerdocument||g===b||g.nodetype===11)break}}c=c.length>1?f.unique(c):c;return this.pushstack(c,"closest",a)},index:function(a){if(!a||typeof a=="string")return f.inarray(this[0],a?f(a):this.parent().children());return f.inarray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makearray(a&&a.nodetype?[a]:a),d=f.merge(this.get(),c);return this.pushstack(v(c[0])||v(d[0])?d:f.unique(d))},andself:function(){return this.add(this.prevobject)}}),f.each({parent:function(a){var b=a.parentnode;return b&&b.nodetype!==11?b:null},parents:function(a){return f.dir(a,"parentnode")},parentsuntil:function(a,b,c){return f.dir(a,"parentnode",c)},next:function(a){return f.nth(a,2,"nextsibling")},prev:function(a){return f.nth(a,2,"previoussibling")},nextall:function(a){return f.dir(a,"nextsibling")},prevall:function(a){return f.dir(a,"previoussibling")},nextuntil:function(a,b,c){return f.dir(a,"nextsibling",c)},prevuntil:function(a,b,c){return f.dir(a,"previoussibling",c)},siblings:function(a){return f.sibling(a.parentnode.firstchild,a)},children:function(a){return f.sibling(a.firstchild)},contents:function(a){return f.nodename(a,"iframe")?a.contentdocument||a.contentwindow.document:f.makearray(a.childnodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c),g=s.call(arguments);o.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!u[a]?f.unique(e):e,(this.length>1||q.test(d))&&p.test(a)&&(e=e.reverse());return this.pushstack(e,a,g.join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesselector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodetype!==9&&(d===b||g.nodetype!==1||!f(g).is(d)))g.nodetype===1&&e.push(g),g=g[c];return e},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 x=/ jquery\d+="(?:\d+|null)"/g,y=/^\s+/,z=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,$=/<([\w:]+)/,_=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]};bf.optgroup=bf.option,bf.tbody=bf.tfoot=bf.colgroup=bf.caption=bf.thead,bf.th=bf.td,f.support.htmlserialize||(bf._default=[1,"div
","
"]),f.fn.extend({text:function(a){if(f.isfunction(a))return this.each(function(b){var c=f(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 f.text(this)},wrapall:function(a){if(f.isfunction(a))return this.each(function(b){f(this).wrapall(a.call(this,b))});if(this[0]){var b=f(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(f.isfunction(a))return this.each(function(b){f(this).wrapinner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapall(a):b.append(a)})},wrap:function(a){return this.each(function(){f(this).wrapall(a)})},unwrap:function(){return this.parent().each(function(){f.nodename(this,"body")||f(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=f(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,f(arguments[0]).toarray());return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodetype===1&&(f.cleandata(d.getelementsbytagname("*")),f.cleandata([d])),d.parentnode&&d.parentnode.removechild(d);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodetype===1&&f.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 f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodetype===1?this[0].innerhtml.replace(x,""):null;if(typeof a=="string"&&!bb.test(a)&&(f.support.leadingwhitespace||!y.test(a))&&!bf[($.exec(a)||["",""])[1].tolowercase()]){a=a.replace(z,"<$1>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j )}return this.pushstack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d=a.clonenode(!0),e,g,h;if((!f.support.nocloneevent||!f.support.noclonechecked)&&(a.nodetype===1||a.nodetype===11)&&!f.isxmldoc(a)){bi(a,d),e=bj(a),g=bj(d);for(h=0;e[h];++h)bi(e[h],g[h])}if(b){bh(a,d);if(c){e=bj(a),g=bj(d);for(h=0;e[h];++h)bh(e[h],g[h])}}e=g=null;return d},clean:function(a,b,d,e){var g;b=b||c,typeof b.createelement=="undefined"&&(b=b.ownerdocument||b[0]&&b[0].ownerdocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!ba.test(k))k=b.createtextnode(k);else{k=k.replace(z,"<$1>");var l=($.exec(k)||["",""])[1].tolowercase(),m=bf[l]||bf._default,n=m[0],o=b.createelement("div");o.innerhtml=m[1]+k+m[2];while(n--)o=o.lastchild;if(!f.support.tbody){var p=_.test(k),q=l==="table"&&!p?o.firstchild&&o.firstchild.childnodes:m[1]===""&&!p?o.childnodes:[];for(i=q.length-1;i>=0;--i)f.nodename(q[i],"tbody")&&!q[i].childnodes.length&&q[i].parentnode.removechild(q[i])}!f.support.leadingwhitespace&&y.test(k)&&o.insertbefore(b.createtextnode(y.exec(k)[0]),o.firstchild),k=o.childnodes}var r;if(!f.support.appendchecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.csshooks.opacity={get:function(a,b){return bo.test((b&&a.currentstyle?a.currentstyle.filter:a.style.filter)||"")?parsefloat(regexp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentstyle;c.zoom=1;var e=f.isnan(b)?"":"alpha(opacity="+b*100+")",g=d&&d.filter||c.filter||"";c.filter=bn.test(g)?g.replace(bn,e):g+" "+e}}),f(function(){f.support.reliablemarginright||(f.csshooks.marginright={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bx(a,"margin-right","marginright"):c=a.style.marginright});return c}})}),c.defaultview&&c.defaultview.getcomputedstyle&&(by=function(a,c){var d,e,g;c=c.replace(bp,"-$1").tolowercase();if(!(e=a.ownerdocument.defaultview))return b;if(g=e.getcomputedstyle(a,null))d=g.getpropertyvalue(c),d===""&&!f.contains(a.ownerdocument.documentelement,a)&&(d=f.style(a,c));return d}),c.documentelement.currentstyle&&(bz=function(a,b){var c,d=a.currentstyle&&a.currentstyle[b],e=a.runtimestyle&&a.runtimestyle[b],f=a.style;!bq.test(d)&&br.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}),bx=by||bz,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetwidth,c=a.offsetheight;return b===0&&c===0||!f.support.reliablehiddenoffsets&&(a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bb=/%20/g,bc=/\[\]$/,bd=/\r?\n/g,be=/#.*$/,bf=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bg=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bh=/^(?:about|app|app\-storage|.+\-extension|file|widget):$/,bi=/^(?:get|head)$/,bj=/^\/\//,bk=/\?/,bl=/)<[^<]*)*<\/script>/gi,bm=/^(?:select|textarea)/i,bn=/\s+/,bo=/([?&])_=[^&]*/,bp=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bq=f.fn.load,br={},bs={},bt,bu;try{bt=e.href}catch(bv){bt=c.createelement("a"),bt.href="",bt=bt.href}bu=bp.exec(bt.tolowercase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bq)return bq.apply(this,arguments);if(!this.length)return this;var e=a.indexof(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="get";c&&(f.isfunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxsettings.traditional),h="post"));var i=this;f.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?f("
").append(c.replace(bl,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializearray())},serializearray:function(){return this.map(function(){return this.elements?f.makearray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bm.test(this.nodename)||bg.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isarray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bd,"\r\n")}}):{name:b.name,value:c.replace(bd,"\r\n")}}).get()}}),f.each("ajaxstart ajaxstop ajaxcomplete ajaxerror ajaxsuccess ajaxsend".split(" "),function(a,b){f.fn[b]=function(a){return this.bind(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isfunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,datatype:g})}}),f.extend({getscript:function(a,c){return f.get(a,b,c,"script")},getjson:function(a,b,c){return f.get(a,b,c,"json")},ajaxsetup:function(a,b){b?f.extend(!0,a,f.ajaxsettings,b):(b=a,a=f.extend(!0,f.ajaxsettings,b));for(var c in{context:1,url:1})c in b?a[c]=b[c]:c in f.ajaxsettings&&(a[c]=f.ajaxsettings[c]);return a},ajaxsettings:{url:bt,islocal:bh.test(bu[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":f.parsejson,"text xml":f.parsexml}},ajaxprefilter:bw(br),ajaxtransport:bw(bs),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&cleartimeout(q),p=b,n=m||"",v.readystate=a?4:0;var o,r,u,w=l?bz(d,v,l):b,x,y;if(a>=200&&a<300||a===304){if(d.ifmodified){if(x=v.getresponseheader("last-modified"))f.lastmodified[k]=x;if(y=v.getresponseheader("etag"))f.etag[k]=y}if(a===304)c="notmodified",o=!0;else try{r=b$(d,w),c="success",o=!0}catch(z){c="parsererror",u=z}}else{u=c;if(!c||a)c="error",a<0&&(a=0)}v.status=a,v.statustext=c,o?h.resolvewith(e,[r,c,v]):h.rejectwith(e,[v,c,u]),v.statuscode(j),j=b,t&&g.trigger("ajax"+(o?"success":"error"),[v,d,o?r:u]),i.resolvewith(e,[v,c]),t&&(g.trigger("ajaxcomplete",[v,d]),--f.active||f.event.trigger("ajaxstop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxsetup({},c),e=d.context||d,g=e!==d&&(e.nodetype||e instanceof f)?f(e):f.event,h=f.deferred(),i=f._deferred(),j=d.statuscode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readystate:0,setrequestheader:function(a,b){if(!s){var c=a.tolowercase();a=m[c]=m[c]||a,l[a]=b}return this},getallresponseheaders:function(){return s===2?n:null},getresponseheader:function(a){var c;if(s===2){if(!o){o={};while(c=bf.exec(n))o[c[1].tolowercase()]=c[2]}c=o[a.tolowercase()]}return c===b?null:c},overridemimetype:function(a){s||(d.mimetype=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.done,v.statuscode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(be,"").replace(bj,bu[1]+"//"),d.datatypes=f.trim(d.datatype||"*").tolowercase().split(bn),d.crossdomain==null&&(r=bp.exec(d.url.tolowercase()),d.crossdomain=!(!r||r[1]==bu[1]&&r[2]==bu[2]&&(r[3]||(r[1]==="http:"?80:443))==(bu[3]||(bu[1]==="http:"?80:443)))),d.data&&d.processdata&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),bx(br,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.touppercase(),d.hascontent=!bi.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxstart");if(!d.hascontent){d.data&&(d.url+=(bk.test(d.url)?"&":"?")+d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bo,"$1_="+x);d.url=y+(y===d.url?(bk.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hascontent&&d.contenttype!==!1||c.contenttype)&&v.setrequestheader("content-type",d.contenttype),d.ifmodified&&(k=k||d.url,f.lastmodified[k]&&v.setrequestheader("if-modified-since",f.lastmodified[k]),f.etag[k]&&v.setrequestheader("if-none-match",f.etag[k])),v.setrequestheader("accept",d.datatypes[0]&&d.accepts[d.datatypes[0]]?d.accepts[d.datatypes[0]]+(d.datatypes[0]!=="*"?", */*; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setrequestheader(u,d.headers[u]);if(d.beforesend&&(d.beforesend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=bx(bs,d,c,v);if(!p)w(-1,"no transport");else{v.readystate=1,t&&g.trigger("ajaxsend",[v,d]),d.async&&d.timeout>0&&(q=settimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){status<2?w(-1,z):f.error(z)}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isfunction(b)?b():b,d[d.length]=encodeuricomponent(a)+"="+encodeuricomponent(b)};c===b&&(c=f.ajaxsettings.traditional);if(f.isarray(a)||a.jquery&&!f.isplainobject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)by(g,a[g],c,e);return d.join("&").replace(bb,"+")}}),f.extend({active:0,lastmodified:{},etag:{}});var b_=f.now(),ca=/(\=)\?(&|$)|\?\?/i;f.ajaxsetup({jsonp:"callback",jsonpcallback:function(){return f.expando+"_"+b_++}}),f.ajaxprefilter("json jsonp",function(b,c,d){var e=b.contenttype==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.datatypes[0]==="jsonp"||b.jsonp!==!1&&(ca.test(b.url)||e&&ca.test(b.data))){var g,h=b.jsonpcallback=f.isfunction(b.jsonpcallback)?b.jsonpcallback():b.jsonpcallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ca,l),b.url===j&&(e&&(k=k.replace(ca,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isfunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.datatypes[0]="json";return"script"}}),f.ajaxsetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globaleval(a);return a}}}),f.ajaxprefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossdomain&&(a.type="get",a.global=!1)}),f.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(c||!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 cb=a.activexobject?function(){for(var a in cd)cd[a](0,1)}:!1,cc=0,cd;f.ajaxsettings.xhr=a.activexobject?function(){return!this.islocal&&ce()||cf()}:ce,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withcredentials"in a})}(f.ajaxsettings.xhr()),f.support.ajax&&f.ajaxtransport(function(c){if(!c.crossdomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrfields)for(j in c.xhrfields)h[j]=c.xhrfields[j];c.mimetype&&h.overridemimetype&&h.overridemimetype(c.mimetype),!c.crossdomain&&!e["x-requested-with"]&&(e["x-requested-with"]="xmlhttprequest");try{for(j in e)h.setrequestheader(j,e[j])}catch(k){}h.send(c.hascontent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readystate===4)){d=b,i&&(h.onreadystatechange=f.noop,cb&&delete cd[i]);if(e)h.readystate!==4&&h.abort();else{j=h.status,l=h.getallresponseheaders(),m={},n=h.responsexml,n&&n.documentelement&&(m.xml=n),m.text=h.responsetext;try{k=h.statustext}catch(o){k=""}!j&&c.islocal&&!c.crossdomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readystate===4?d():(i=++cc,cb&&(cd||(cd={},f(a).unload(cb)),cd[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var cg={},ch,ci,cj=/^(?:toggle|show|hide)$/,ck=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cl,cm=[["height","margintop","marginbottom","paddingtop","paddingbottom"],["width","marginleft","marginright","paddingleft","paddingright"],["opacity"]],cn,co=a.webkitrequestanimationframe||a.mozrequestanimationframe||a.orequestanimationframe;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cr("show",3),a,b,c);for(var g=0,h=this.length;g=e.duration+this.starttime){this.now=this.end,this.pos=this.state=1,this.update(),e.animatedproperties[this.prop]=!0;for(g in e.animatedproperties)e.animatedproperties[g]!==!0&&(c=!1);if(c){e.overflow!=null&&!f.support.shrinkwrapblocks&&f.each(["","x","y"],function(a,b){d.style["overflow"+b]=e.overflow[a]}),e.hide&&f(d).hide();if(e.hide||e.show)for(var i in e.animatedproperties)f.style(d,i,e.orig[i]);e.complete.call(d)}return!1}e.duration==infinity?this.now=b:(h=b-this.starttime,this.state=h/e.duration,this.pos=f.easing[e.animatedproperties[this.prop]](this.state,h,0,1,e.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){for(var a=f.timers,b=0;b
";f.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),d=b.firstchild,e=d.firstchild,h=d.nextsibling.firstchild.firstchild,this.doesnotaddborder=e.offsettop!==5,this.doesaddborderfortableandcells=h.offsettop===5,e.style.position="fixed",e.style.top="20px",this.supportsfixedposition=e.offsettop===20||e.offsettop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",this.subtractsborderforoverflownotvisible=e.offsettop===-5,this.doesnotincludemargininbodyoffset=a.offsettop!==i,a.removechild(b),f.offset.initialize=f.noop},bodyoffset:function(a){var b=a.offsettop,c=a.offsetleft;f.offset.initialize(),f.offset.doesnotincludemargininbodyoffset&&(b+=parsefloat(f.css(a,"margintop"))||0,c+=parsefloat(f.css(a,"marginleft"))||0);return{top:b,left:c}},setoffset:function(a,b,c){var d=f.css(a,"position");d==="static"&&(a.style.position="relative");var e=f(a),g=e.offset(),h=f.css(a,"top"),i=f.css(a,"left"),j=(d==="absolute"||d==="fixed")&&f.inarray("auto",[h,i])>-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parsefloat(h)||0,n=parsefloat(i)||0),f.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):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetparent(),c=this.offset(),d=cu.test(b[0].nodename)?{top:0,left:0}:b.offset();c.top-=parsefloat(f.css(a,"margintop"))||0,c.left-=parsefloat(f.css(a,"marginleft"))||0,d.top+=parsefloat(f.css(b[0],"bordertopwidth"))||0,d.left+=parsefloat(f.css(b[0],"borderleftwidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetparent:function(){return this.map(function(){var a=this.offsetparent||c.body;while(a&&!cu.test(a.nodename)&&f.css(a,"position")==="static")a=a.offsetparent;return a})}}),f.each(["left","top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cv(e);return g?"pagexoffset"in g?g[a?"pageyoffset":"pagexoffset"]:f.support.boxmodel&&g.document.documentelement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cv(this),g?g.scrollto(a?f(g).scrollleft():c,a?c:f(g).scrolltop()):this[d]=c})}}),f.each(["height","width"],function(a,c){var d=c.tolowercase();f.fn["inner"+c]=function(){var a=this[0];return a&&a.style?parsefloat(f.css(a,d,"padding")):null},f.fn["outer"+c]=function(a){var b=this[0];return b&&b.style?parsefloat(f.css(b,d,a?"margin":"border")):null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isfunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.iswindow(e)){var g=e.document.documentelement["client"+c];return e.document.compatmode==="css1compat"&&g||e.document.body["client"+c]||g}if(e.nodetype===9)return math.max(e.documentelement["client"+c],e.body["scroll"+c],e.documentelement["scroll"+c],e.body["offset"+c],e.documentelement["offset"+c]);if(a===b){var h=f.css(e,d),i=parsefloat(h);return f.isnan(i)?h:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jquery=a.$=f})(window);