/*! jquery v1.7.1 jquery.com | jquery.org/license */ (function(a,b){function cy(a){return f.iswindow(a)?a:a.nodetype===9?a.defaultview||a.parentwindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendto(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createelement("iframe"),cl.frameborder=cl.width=cl.height=0),b.appendchild(cl);if(!cm||!cl.createelement)cm=(cl.contentwindow||cl.contentdocument).document,cm.write((c.compatmode==="css1compat"?"":"")+""),cm.close();d=cm.createelement(a),cm.body.appendchild(d),e=f.css(d,"display"),b.removechild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){settimeout(ct,0);return cr=f.now()}function cj(){try{return new a.activexobject("microsoft.xmlhttp")}catch(b){}}function ci(){try{return new a.xmlhttprequest}catch(b){}}function cc(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){if(c!=="border")for(;g=0===c})}function s(a){return!a||!a.parentnode||a.parentnode.nodetype===11}function k(){return!0}function j(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&settimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removedata(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isemptyobject(a[b]))continue;if(b!=="tojson")return!1}return!0}function l(a,c,d){if(d===b&&a.nodetype===1){var e="data-"+c.replace(k,"-$1").tolowercase();d=a.getattribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isnumeric(d)?parsefloat(d):j.test(d)?f.parsejson(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\s/,k=/^\s+/,l=/\s+$/,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=/-([a-z]|[0-9])/ig,w=/^-ms-/,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=m.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.7.1",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.add(a);return this},eq:function(a){a=+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.firewith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindready:function(){if(!a){a=e.callbacks("once memory");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},isnumeric:function(a){return!isnan(parsefloat(a))&&isfinite(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;try{if(a.constructor&&!d.call(a,"constructor")&&!d.call(a.constructor.prototype,"isprototypeof"))return!1}catch(c){return!1}var d;for(d in a);return d===b||d.call(a,d)},isemptyobject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new error(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(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new function("return "+b))();e.error("invalid json: "+b)},parsexml:function(c){var d,f;try{a.domparser?(f=new domparser,d=f.parsefromstring(c,"text/xml")):(d=new activexobject("microsoft.xmldom"),d.async="false",d.loadxml(c))}catch(g){d=b}(!d||!d.documentelement||d.getelementsbytagname("parsererror").length)&&e.error("invalid xml: "+c);return d},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,"ms-").replace(v,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?i.call(arguments,0):b,j.notifywith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolvewith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=array(d),g=d,h=d,j=d<=1&&a&&f.isfunction(a.promise)?a:f.deferred(),k=j.promise();if(d>1){for(;c
a",d=q.getelementsbytagname("*"),e=q.getelementsbytagname("a")[0];if(!d||!d.length||!e)return{};g=c.createelement("select"),h=g.appendchild(c.createelement("option")),i=q.getelementsbytagname("input")[0],b={leadingwhitespace:q.firstchild.nodetype===3,tbody:!q.getelementsbytagname("tbody").length,htmlserialize:!!q.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:q.classname!=="t",enctype:!!c.createelement("form").enctype,html5clone:c.createelement("nav").clonenode(!0).outerhtml!=="<:nav>",submitbubbles:!0,changebubbles:!0,focusinbubbles:!1,deleteexpando:!0,nocloneevent:!0,inlineblockneedslayout:!1,shrinkwrapblocks:!1,reliablemarginright:!0},i.checked=!0,b.noclonechecked=i.clonenode(!0).checked,g.disabled=!0,b.optdisabled=!h.disabled;try{delete q.test}catch(s){b.deleteexpando=!1}!q.addeventlistener&&q.attachevent&&q.fireevent&&(q.attachevent("onclick",function(){b.nocloneevent=!1}),q.clonenode(!0).fireevent("onclick")),i=c.createelement("input"),i.value="t",i.setattribute("type","radio"),b.radiovalue=i.value==="t",i.setattribute("checked","checked"),q.appendchild(i),k=c.createdocumentfragment(),k.appendchild(q.lastchild),b.checkclone=k.clonenode(!0).clonenode(!0).lastchild.checked,b.appendchecked=i.checked,k.removechild(i),k.appendchild(q),q.innerhtml="",a.getcomputedstyle&&(j=c.createelement("div"),j.style.width="0",j.style.marginright="0",q.style.width="2px",q.appendchild(j),b.reliablemarginright=(parseint((a.getcomputedstyle(j,null)||{marginright:0}).marginright,10)||0)===0);if(q.attachevent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setattribute(n,"return;"),p=typeof q[n]=="function"),b[o+"bubbles"]=p;k.removechild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getelementsbytagname("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="
"+""+"
",a=c.createelement("div"),a.style.csstext=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertbefore(a,r.firstchild),q=c.createelement("div"),a.appendchild(q),q.innerhtml="
t
",l=q.getelementsbytagname("td"),p=l[0].offsetheight===0,l[0].style.display="",l[1].style.display="none",b.reliablehiddenoffsets=p&&l[0].offsetheight===0,q.innerhtml="",q.style.width=q.style.paddingleft="1px",f.boxmodel=b.boxmodel=q.offsetwidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineblockneedslayout=q.offsetwidth===2,q.style.display="",q.innerhtml="
",b.shrinkwrapblocks=q.offsetwidth!==2),q.style.csstext=k+m,q.innerhtml=o,d=q.firstchild,e=d.firstchild,h=d.nextsibling.firstchild.firstchild,i={doesnotaddborder:e.offsettop!==5,doesaddborderfortableandcells:h.offsettop===5},e.style.position="fixed",e.style.top="20px",i.fixedposition=e.offsettop===20||e.offsettop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsborderforoverflownotvisible=e.offsettop===-5,i.doesnotincludemargininbodyoffset=r.offsettop!==j,r.removechild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([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&&!m(a)},data:function(a,c,d,e){if(!!f.acceptdata(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodetype,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].tojson=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelcase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelcase(c)])):i=h;return i}},removedata:function(a,b,c){if(!!f.acceptdata(a)){var d,e,g,h=f.expando,i=a.nodetype,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isarray(b)||(b in d?b=[b]:(b=f.camelcase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isfunction(a);return this.each(function(d){var g=f(this),h;if(this.nodetype===1){e?h=a.call(this,d,g.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}})}if(g){c=f.valhooks[g.nodename.tolowercase()]||f.valhooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),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,d,e,g=a.selectedindex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c=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},attr:function(a,c,d,e){var g,h,i,j=a.nodetype;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrfn)return f(a)[c](d);if(typeof a.getattribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isxmldoc(a),i&&(c=c.tolowercase(),h=f.attrhooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeattr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setattribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getattribute(c);return g===null?b:g}},removeattr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodetype===1){d=b.tolowercase().split(p),g=d.length;for(;h=0}})});var z=/^(?:textarea|input|select)$/i,a=/^([^\.]*)?(?:\.(.+))?$/,b=/\bhover(\.\s+)?\b/,c=/^key/,d=/^(?:mouse|contextmenu)|click/,e=/^(?:focusinfocus|focusoutblur)$/,f=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,g=function(a){var b=f.exec(a);b&&(b[1]=(b[1]||"").tolowercase(),b[3]=b[3]&&new regexp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},h=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodename.tolowercase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},i=function(a){return f.event.special.hover?a:a.replace(b,"mouseenter$1 mouseleave$1")}; f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodetype===3||a.nodetype===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(i(c)).split(" ");for(k=0;k=0&&(h=h.slice(0,-1),k=!0),h.indexof(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customevent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.event(h,c):new f.event(h),c.type=h,c.istrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new regexp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexof(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makearray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindtype||h]];if(!g&&!p.nobubble&&!f.iswindow(e)){s=p.delegatetype||h,m=e.test(s+h)?e:e.parentnode,n=null;for(;m;m=m.parentnode)r.push([m,s]),n=m;n&&n===e.ownerdocument&&r.push([n.defaultview||n.parentwindow||a,s])}for(l=0;le&&i.push({elem:this,matches:d.slice(e)});for(j=0;j0?this.on(b,null,a,c):this.trigger(b)},f.attrfn&&(f.attrfn[b]=!0),c.test(b)&&(f.event.fixhooks[b]=f.event.keyhooks),d.test(b)&&(f.event.fixhooks[b]=f.event.mousehooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(math.random()+"").replace(".",""),e=0,g=object.prototype.tostring,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\w/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){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,k,l,n,q,r,t,u=!0,v=m.isxml(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodetype===9&&!v&&o.match.id.test(w[0])&&!o.match.id.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentnode?d.parentnode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object array]")if(!u)e.push.apply(e,k);else if(d&&d.nodetype===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodetype===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodetype===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniquesort(e));return e};m.uniquesort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.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(j,"")},tag:function(a,b){return a[1].replace(j,"").tolowercase()},child:function(a){if(a[1]==="nth"){a[2]||m.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]&&m.error(a[0]);a[0]=e++;return a},attr:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrmap[g]&&(a[1]=o.attrmap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),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]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.pos.test(b[0])||o.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!!m(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=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textcontent||a.innertext||n([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&&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=m.attr?m.attr(a,c):o.attrhandle[c]?o.attrhandle[c](a):a[c]!=null?a[c]:a.getattribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null: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=o.setfilters[e];if(f)return f(a,c,b,d)}}},p=o.match.pos,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new regexp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftmatch[r]=new regexp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=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(t){s=function(a,b){var c=0,d=b||[];if(g.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)&&(o.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:[]}},o.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&&(o.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")!=="#"&&(o.attrhandle.href=function(a){return a.getattribute("href",2)}),a=null}(),c.queryselectorall&&function(){var a=m,b=c.createelement("div"),d="__sizzle__";b.innerhtml="

";if(!b.queryselectorall||b.queryselectorall(".test").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isxml(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodetype===1||e.nodetype===9)){if(h[1])return s(e.getelementsbytagname(b),f);if(h[2]&&o.find.class&&e.getelementsbyclassname)return s(e.getelementsbyclassname(h[2]),f)}if(e.nodetype===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getelementbyid(h[3]);if(!i||!i.parentnode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.queryselectorall(b),f)}catch(j){}}else if(e.nodetype===1&&e.nodename.tolowercase()!=="object"){var k=e,l=e.getattribute("id"),n=l||d,p=e.parentnode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setattribute("id",n),q&&p&&(e=e.parentnode);try{if(!q||p)return s(e.queryselectorall("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeattribute("id")}}}return a(b,e,f,g)};for(var e in a)m[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}m.matchesselector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isxml(a))try{if(e||!o.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 m(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;o.order.splice(1,0,"class"),o.find.class=function(a,b,c){if(typeof b.getelementsbyclassname!="undefined"&&!c)return b.getelementsbyclassname(a[1])},a=null}}(),c.documentelement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentelement.comparedocumentposition?m.contains=function(a,b){return!!(a.comparedocumentposition(b)&16)}:m.contains=function(){return!1},m.isxml=function(a){var b=(a?a.ownerdocument||a:0).documentelement;return b?b.nodename!=="html":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodetype?[b]:b;while(d=o.match.pseudo.exec(a))f+=d[0],a=a.replace(o.match.pseudo,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h0)for(h=g;h=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isarray(a)){var h=1;while(g&&g.ownerdocument&&g!==b){for(d=0;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)return this[0]&&this[0].parentnode?this.prevall().length:-1;if(typeof a=="string")return f.inarray(this[0],f(a));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(s(c[0])||s(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);l.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!r[a]?f.unique(e):e,(this.length>1||n.test(d))&&m.test(a)&&(e=e.reverse());return this.pushstack(e,a,p.call(arguments).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 v="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",w=/ jquery\d+="(?:\d+|null)"/g,x=/^\s+/,y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,z=/<([\w:]+)/,$=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},bh=u(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlserialize||(bg._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){var b=f.isfunction(a);return this.each(function(c){f(this).wrapall(b?a.call(this,c):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.clean(arguments);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.clean(arguments));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(w, "") : null; if (typeof a == "string" && !ba.test(a) && (f.support.leadingwhitespace || !x.test(a)) && !bg[(z.exec(a) || ["", ""])[1].tolowercase()]) { a = a.replace(y, "<$1>"); try { for (var c = 0, d = this.length; c < d; c++) this[c].nodetype === 1 && (f.cleandata(this[c].getelementsbytagname("*")), this[c].innerhtml = a) } catch (e) { this.empty().append(a) } } else f.isfunction(a) ? this.each(function (b) { var c = f(this); c.html(a.call(this, b, c.html())) }) : this.empty().append(a); return this }, replacewith: function (a) { if (this[0] && this[0].parentnode) { if (f.isfunction(a)) return this.each(function (b) { var c = f(this), d = c.html(); c.replacewith(a.call(this, b, d)) }); typeof a != "string" && (a = f(a).detach()); return this.each(function () { var b = this.nextsibling, c = this.parentnode; f(this).remove(), b ? f(b).before(a) : f(c).append(a) }) } return this.length ? this.pushstack(f(f.isfunction(a) ? a() : a), "replacewith", a) : this }, detach: function (a) { return this.remove(a, !0) }, dommanip: function (a, c, d) { var e, g, h, i, j = a[0], k = []; if (!f.support.checkclone && arguments.length === 3 && typeof j == "string" && bd.test(j)) return this.each(function () { f(this).dommanip(a, c, d, !0) }); if (f.isfunction(j)) return this.each(function (e) { var g = f(this); a[0] = j.call(this, e, c ? g.html() : b), g.dommanip(a, c, d) }); if (this[0]) { i = j && j.parentnode, f.support.parentnode && i && i.nodetype === 11 && i.childnodes.length === this.length ? e = { fragment: i} : e = f.buildfragment(a, this, k), h = e.fragment, h.childnodes.length === 1 ? g = h = h.firstchild : g = h.firstchild; if (g) { c = c && f.nodename(g, "tr"); for (var l = 0, m = this.length, n = m - 1; l < m; l++) d.call(c ? bi(this[l], g) : this[l], e.cacheable || m > 1 && l < n ? f.clone(h, !0, !0) : h) } k.length && f.each(k, bp) } return this } }), f.buildfragment = function (a, b, d) { var e, g, h, i, j = a[0]; b && b[0] && (i = b[0].ownerdocument || b[0]), i.createdocumentfragment || (i = c), a.length === 1 && typeof j == "string" && j.length < 512 && i === c && j.charat(0) === "<" && !bb.test(j) && (f.support.checkclone || !bd.test(j)) && (f.support.html5clone || !bc.test(j)) && (g = !0, h = f.fragments[j], h && h !== 1 && (e = h)), e || (e = i.createdocumentfragment(), f.clean(a, i, e, d)), g && (f.fragments[j] = h ? e : 1); return { fragment: e, cacheable: g} }, f.fragments = {}, f.each({ appendto: "append", prependto: "prepend", insertbefore: "before", insertafter: "after", replaceall: "replacewith" }, function (a, b) { f.fn[a] = function (c) { var d = [], e = f(c), g = this.length === 1 && this[0].parentnode; if (g && g.nodetype === 11 && g.childnodes.length === 1 && e.length === 1) { e[b](this[0]); return this } for (var h = 0, i = e.length; h < i; h++) { var j = (h > 0 ? 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, e, g, h = f.support.html5clone || !bc.test("<" + a.nodename) ? a.clonenode(!0) : bo(a); if ((!f.support.nocloneevent || !f.support.noclonechecked) && (a.nodetype === 1 || a.nodetype === 11) && !f.isxmldoc(a)) { bk(a, h), d = bl(a), e = bl(h); for (g = 0; d[g]; ++g) e[g] && bk(d[g], e[g]) } if (b) { bj(a, h); if (c) { d = bl(a), e = bl(h); for (g = 0; d[g]; ++g) bj(d[g], e[g]) } } d = e = null; return h }, 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 (!_.test(k)) k = b.createtextnode(k); else { k = k.replace(y, "<$1>"); var l = (z.exec(k) || ["", ""])[1].tolowercase(), m = bg[l] || bg._default, n = m[0], o = b.createelement("div"); b === c ? bh.appendchild(o) : u(b).appendchild(o), 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 && x.test(k) && o.insertbefore(b.createtextnode(x.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 < r; i++) bn(k[i]); else bn(k); k.nodetype ? h.push(k) : h = f.merge(h, k) } if (d) { g = function (a) { return !a.type || be.test(a.type) }; for (j = 0; h[j]; j++) if (e && f.nodename(h[j], "script") && (!h[j].type || h[j].type.tolowercase() === "text/javascript")) e.push(h[j].parentnode ? h[j].parentnode.removechild(h[j]) : h[j]); else { if (h[j].nodetype === 1) { var s = f.grep(h[j].getelementsbytagname("script"), g); h.splice.apply(h, [j + 1, 0].concat(s)) } d.appendchild(h[j]) } } return h }, cleandata: function (a) { var b, c, d = f.cache, e = f.event.special, g = f.support.deleteexpando; for (var h = 0, i; (i = a[h]) != null; h++) { if (i.nodename && f.nodata[i.nodename.tolowercase()]) continue; c = i[f.expando]; if (c) { b = d[c]; if (b && b.events) { for (var j in b.events) e[j] ? f.event.remove(i, j) : f.removeevent(i, j, b.handle); b.handle && (b.handle.elem = null) } g ? delete i[f.expando] : i.removeattribute && i.removeattribute(f.expando), delete d[c] } } } }); var bq = /alpha\([^)]*\)/i, br = /opacity=([^)]*)/, bs = /([a-z]|^ms)/g, bt = /^-?\d+(?:px)?$/i, bu = /^-?\d/, bv = /^([\-+])=([\-+.\de]+)/, bw = { position: "absolute", visibility: "hidden", display: "block" }, bx = ["left", "right"], by = ["top", "bottom"], bz, ba, bb; f.fn.css = function (a, c) { if (arguments.length === 2 && c === b) return this; return f.access(this, a, c, !0, function (a, c, d) { return d !== b ? f.style(a, c, d) : f.css(a, c) }) }, f.extend({ csshooks: { opacity: { get: function (a, b) { if (b) { var c = bz(a, "opacity", "opacity"); return c === "" ? "1" : c } return a.style.opacity } } }, cssnumber: { fillopacity: !0, fontweight: !0, lineheight: !0, opacity: !0, orphans: !0, widows: !0, zindex: !0, zoom: !0 }, cssprops: { "float": f.support.cssfloat ? "cssfloat" : "stylefloat" }, style: function (a, c, d, e) { if (!!a && a.nodetype !== 3 && a.nodetype !== 8 && !!a.style) { var g, h, i = f.camelcase(c), j = a.style, k = f.csshooks[i]; c = f.cssprops[i] || i; if (d === b) { if (k && "get" in k && (g = k.get(a, !1, e)) !== b) return g; return j[c] } h = typeof d, h === "string" && (g = bv.exec(d)) && (d = +(g[1] + 1) * +g[2] + parsefloat(f.css(a, c)), h = "number"); if (d == null || h === "number" && isnan(d)) return; h === "number" && !f.cssnumber[i] && (d += "px"); if (!k || !("set" in k) || (d = k.set(a, d)) !== b) try { j[c] = d } catch (l) { } } }, css: function (a, c, d) { var e, g; c = f.camelcase(c), g = f.csshooks[c], c = f.cssprops[c] || c, c === "cssfloat" && (c = "float"); if (g && "get" in g && (e = g.get(a, !0, d)) !== b) return e; if (bz) return bz(a, c) }, 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] } }), f.curcss = f.css, f.each(["height", "width"], function (a, b) { f.csshooks[b] = { get: function (a, c, d) { var e; if (c) { if (a.offsetwidth !== 0) return bc(a, b, d); f.swap(a, bw, function () { e = bc(a, b, d) }); return e } }, set: function (a, b) { if (!bt.test(b)) return b; b = parsefloat(b); if (b >= 0) return b + "px" } } }), f.support.opacity || (f.csshooks.opacity = { get: function (a, b) { return br.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, e = f.isnumeric(b) ? "alpha(opacity=" + b * 100 + ")" : "", g = d && d.filter || c.filter || ""; c.zoom = 1; if (b >= 1 && f.trim(g.replace(bq, "")) === "") { c.removeattribute("filter"); if (d && !d.filter) return } c.filter = bq.test(g) ? g.replace(bq, 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 = bz(a, "margin-right", "marginright") : c = a.style.marginright }); return c } }) }), c.defaultview && c.defaultview.getcomputedstyle && (ba = function (a, b) { var c, d, e; b = b.replace(bs, "-$1").tolowercase(), (d = a.ownerdocument.defaultview) && (e = d.getcomputedstyle(a, null)) && (c = e.getpropertyvalue(b), c === "" && !f.contains(a.ownerdocument.documentelement, a) && (c = f.style(a, b))); return c }), c.documentelement.currentstyle && (bb = function (a, b) { var c, d, e, f = a.currentstyle && a.currentstyle[b], g = a.style; f === null && g && (e = g[b]) && (f = e), !bt.test(f) && bu.test(f) && (c = g.left, d = a.runtimestyle && a.runtimestyle.left, d && (a.runtimestyle.left = a.currentstyle.left), g.left = b === "fontsize" ? "1em" : f || 0, f = g.pixelleft + "px", g.left = c, d && (a.runtimestyle.left = d)); return f === "" ? "auto" : f }), bz = ba || bb, 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 && a.style.display || f.css(a, "display")) === "none" }, f.expr.filters.visible = function (a) { return !f.expr.filters.hidden(a) }); var bd = /%20/g, be = /\[\]$/, bf = /\r?\n/g, bg = /#.*$/, bh = /^(.*?):[ \t]*([^\r\n]*)\r?$/mg, bi = /^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i, bj = /^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/, bk = /^(?:get|head)$/, bl = /^\/\//, bm = /\?/, bn = /)<[^<]*)*<\/script>/gi, bo = /^(?:select|textarea)/i, bp = /\s+/, bq = /([?&])_=[^&]*/, br = /^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/, bs = f.fn.load, bt = {}, bu = {}, bv, bw, bx = ["*/"] + ["*"]; try { bv = e.href } catch (by) { bv = c.createelement("a"), bv.href = "", bv = bv.href } bw = br.exec(bv.tolowercase()) || [], f.fn.extend({ load: function (a, c, d) { if (typeof a != "string" && bs) return bs.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(bn, "")).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 || bo.test(this.nodename) || bi.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(bf, "\r\n")} }) : { name: b.name, value: c.replace(bf, "\r\n")} }).get() } }), f.each("ajaxstart ajaxstop ajaxcomplete ajaxerror ajaxsuccess ajaxsend".split(" "), function (a, b) { f.fn[b] = function (a) { return this.on(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 ? b_(a, f.ajaxsettings) : (b = a, a = f.ajaxsettings), b_(a, b); return a }, ajaxsettings: { url: bv, islocal: bj.test(bw[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", "*": bx }, 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 }, flatoptions: { context: !0, url: !0} }, ajaxprefilter: bz(bt), ajaxtransport: bz(bu), 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 > 0 ? 4 : 0; var o, r, u, w = c, x = l ? cb(d, v, l) : b, y, z; if (a >= 200 && a < 300 || a === 304) { if (d.ifmodified) { if (y = v.getresponseheader("last-modified")) f.lastmodified[k] = y; if (z = v.getresponseheader("etag")) f.etag[k] = z } if (a === 304) w = "notmodified", o = !0; else try { r = cc(d, x), w = "success", o = !0 } catch (a) { w = "parsererror", u = a } } else { u = w; if (!w || a) w = "error", a < 0 && (a = 0) } v.status = a, v.statustext = "" + (c || w), o ? h.resolvewith(e, [r, w, v]) : h.rejectwith(e, [v, w, u]), v.statuscode(j), j = b, t && g.trigger("ajax" + (o ? "success" : "error"), [v, d, o ? r : u]), i.firewith(e, [v, w]), 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.callbacks("once memory"), 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 = bh.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.add, 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(bg, "").replace(bl, bw[1] + "//"), d.datatypes = f.trim(d.datatype || "*").tolowercase().split(bp), d.crossdomain == null && (r = br.exec(d.url.tolowercase()), d.crossdomain = !(!r || r[1] == bw[1] && r[2] == bw[2] && (r[3] || (r[1] === "http:" ? 80 : 443)) == (bw[3] || (bw[1] === "http:" ? 80 : 443)))), d.data && d.processdata && typeof d.data != "string" && (d.data = f.param(d.data, d.traditional)), b$(bt, d, c, v); if (s === 2) return !1; t = d.global, d.type = d.type.touppercase(), d.hascontent = !bk.test(d.type), t && f.active++ === 0 && f.event.trigger("ajaxstart"); if (!d.hascontent) { d.data && (d.url += (bm.test(d.url) ? "&" : "?") + d.data, delete d.data), k = d.url; if (d.cache === !1) { var x = f.now(), y = d.url.replace(bq, "$1_=" + x); d.url = y + (y === d.url ? (bm.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] !== "*" ? ", " + bx + "; 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 = b$(bu, 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) { if (s < 2) w(-1, z); else throw 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) ca(g, a[g], c, e); return d.join("&").replace(bd, "+") } }), f.extend({ active: 0, lastmodified: {}, etag: {} }); var cd = f.now(), ce = /(\=)\?(&|$)|\?\?/i; f.ajaxsetup({ jsonp: "callback", jsonpcallback: function () { return f.expando + "_" + cd++ } }), 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 && (ce.test(b.url) || e && ce.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(ce, l), b.url === j && (e && (k = k.replace(ce, 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 cf = a.activexobject ? function () { for (var a in ch) ch[a](0, 1) } : !1, cg = 0, ch; f.ajaxsettings.xhr = a.activexobject ? function () { return !this.islocal && ci() || cj() } : ci, 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, cf && delete ch[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 = ++cg, cf && (ch || (ch = {}, f(a).unload(cf)), ch[i] = d), h.onreadystatechange = d) }, abort: function () { d && d(0, 1) } } } }); var ck = {}, cl, cm, cn = /^(?:toggle|show|hide)$/, co = /^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i, cp, cq = [["height", "margintop", "marginbottom", "paddingtop", "paddingbottom"], ["width", "marginleft", "marginright", "paddingleft", "paddingright"], ["opacity"]], cr; f.fn.extend({ show: function (a, b, c) { var d, e; if (a || a === 0) return this.animate(cu("show", 3), a, b, c); for (var g = 0, h = this.length; g < h; g++) d = this[g], d.style && (e = d.style.display, !f._data(d, "olddisplay") && e === "none" && (e = d.style.display = ""), e === "" && f.css(d, "display") === "none" && f._data(d, "olddisplay", cv(d.nodename))); for (g = 0; g < h; g++) { d = this[g]; if (d.style) { e = d.style.display; if (e === "" || e === "none") d.style.display = f._data(d, "olddisplay") || "" } } return this }, hide: function (a, b, c) { if (a || a === 0) return this.animate(cu("hide", 3), a, b, c); var d, e, g = 0, h = this.length; for (; g < h; g++) d = this[g], d.style && (e = f.css(d, "display"), e !== "none" && !f._data(d, "olddisplay") && f._data(d, "olddisplay", e)); for (g = 0; g < h; g++) this[g].style && (this[g].style.display = "none"); return this }, _toggle: f.fn.toggle, toggle: function (a, b, c) { var d = typeof a == "boolean"; f.isfunction(a) && f.isfunction(b) ? this._toggle.apply(this, arguments) : a == null || d ? this.each(function () { var b = d ? a : f(this).is(":hidden"); f(this)[b ? "show" : "hide"]() }) : this.animate(cu("toggle", 3), a, b, c); return this }, fadeto: function (a, b, c, d) { return this.filter(":hidden").css("opacity", 0).show().end().animate({ opacity: b }, a, c, d) }, animate: function (a, b, c, d) { function g() { e.queue === !1 && f._mark(this); var b = f.extend({}, e), c = this.nodetype === 1, d = c && f(this).is(":hidden"), g, h, i, j, k, l, m, n, o; b.animatedproperties = {}; for (i in a) { g = f.camelcase(i), i !== g && (a[g] = a[i], delete a[i]), h = a[g], f.isarray(h) ? (b.animatedproperties[g] = h[1], h = a[g] = h[0]) : b.animatedproperties[g] = b.specialeasing && b.specialeasing[g] || b.easing || "swing"; if (h === "hide" && d || h === "show" && !d) return b.complete.call(this); c && (g === "height" || g === "width") && (b.overflow = [this.style.overflow, this.style.overflowx, this.style.overflowy], f.css(this, "display") === "inline" && f.css(this, "float") === "none" && (!f.support.inlineblockneedslayout || cv(this.nodename) === "inline" ? this.style.display = "inline-block" : this.style.zoom = 1)) } b.overflow != null && (this.style.overflow = "hidden"); for (i in a) j = new f.fx(this, b, i), h = a[i], cn.test(h) ? (o = f._data(this, "toggle" + i) || (h === "toggle" ? d ? "show" : "hide" : 0), o ? (f._data(this, "toggle" + i, o === "show" ? "hide" : "show"), j[o]()) : j[h]()) : (k = co.exec(h), l = j.cur(), k ? (m = parsefloat(k[2]), n = k[3] || (f.cssnumber[i] ? "" : "px"), n !== "px" && (f.style(this, i, (m || 1) + n), l = (m || 1) / j.cur() * l, f.style(this, i, l + n)), k[1] && (m = (k[1] === "-=" ? -1 : 1) * m + l), j.custom(l, m, n)) : j.custom(l, h, "")); return !0 } var e = f.speed(b, c, d); if (f.isemptyobject(a)) return this.each(e.complete, [!1]); a = f.extend({}, a); return e.queue === !1 ? this.each(g) : this.queue(e.queue, g) }, stop: function (a, c, d) { typeof a != "string" && (d = c, c = a, a = b), c && a !== !1 && this.queue(a || "fx", []); return this.each(function () { function h(a, b, c) { var e = b[c]; f.removedata(a, c, !0), e.stop(d) } var b, c = !1, e = f.timers, g = f._data(this); d || f._unmark(!0, this); if (a == null) for (b in g) g[b] && g[b].stop && b.indexof(".run") === b.length - 4 && h(this, g, b); else g[b = a + ".run"] && g[b].stop && h(this, g, b); for (b = e.length; b--; ) e[b].elem === this && (a == null || e[b].queue === a) && (d ? e[b](!0) : e[b].savestate(), c = !0, e.splice(b, 1)); (!d || !c) && f.dequeue(this, a) }) } }), f.each({ slidedown: cu("show", 1), slideup: cu("hide", 1), slidetoggle: cu("toggle", 1), fadein: { opacity: "show" }, fadeout: { opacity: "hide" }, fadetoggle: { opacity: "toggle"} }, function (a, b) { f.fn[a] = function (a, c, d) { return this.animate(b, a, c, d) } }), f.extend({ speed: function (a, b, c) { var d = a && typeof a == "object" ? f.extend({}, a) : { complete: c || !c && b || f.isfunction(a) && a, duration: a, easing: c && b || b && !f.isfunction(b) && b }; d.duration = f.fx.off ? 0 : typeof d.duration == "number" ? d.duration : d.duration in f.fx.speeds ? f.fx.speeds[d.duration] : f.fx.speeds._default; if (d.queue == null || d.queue === !0) d.queue = "fx"; d.old = d.complete, d.complete = function (a) { f.isfunction(d.old) && d.old.call(this), d.queue ? f.dequeue(this, d.queue) : a !== !1 && f._unmark(this) }; return d }, 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 || {} } }), f.fx.prototype = { update: function () { this.options.step && this.options.step.call(this.elem, this.now, this), (f.fx.step[this.prop] || f.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 = f.css(this.elem, this.prop); return isnan(a = parsefloat(b)) ? !b || b === "auto" ? 0 : b : a }, custom: function (a, c, d) { function h(a) { return e.step(a) } var e = this, g = f.fx; this.starttime = cr || cs(), this.end = c, this.now = this.start = a, this.pos = this.state = 0, this.unit = d || this.unit || (f.cssnumber[this.prop] ? "" : "px"), h.queue = this.options.queue, h.elem = this.elem, h.savestate = function () { e.options.hide && f._data(e.elem, "fxshow" + e.prop) === b && f._data(e.elem, "fxshow" + e.prop, e.start) }, h() && f.timers.push(h) && !cp && (cp = setinterval(g.tick, g.interval)) }, show: function () { var a = f._data(this.elem, "fxshow" + this.prop); this.options.orig[this.prop] = a || f.style(this.elem, this.prop), this.options.show = !0, a !== b ? this.custom(this.cur(), a) : this.custom(this.prop === "width" || this.prop === "height" ? 1 : 0, this.cur()), f(this.elem).show() }, hide: function () { this.options.orig[this.prop] = f._data(this.elem, "fxshow" + this.prop) || f.style(this.elem, this.prop), this.options.hide = !0, this.custom(this.cur(), 0) }, step: function (a) { var b, c, d, e = cr || cs(), g = !0, h = this.elem, i = this.options; if (a || e >= i.duration + this.starttime) { this.now = this.end, this.pos = this.state = 1, this.update(), i.animatedproperties[this.prop] = !0; for (b in i.animatedproperties) i.animatedproperties[b] !== !0 && (g = !1); if (g) { i.overflow != null && !f.support.shrinkwrapblocks && f.each(["", "x", "y"], function (a, b) { h.style["overflow" + b] = i.overflow[a] }), i.hide && f(h).hide(); if (i.hide || i.show) for (b in i.animatedproperties) f.style(h, b, i.orig[b]), f.removedata(h, "fxshow" + b, !0), f.removedata(h, "toggle" + b, !0); d = i.complete, d && (i.complete = !1, d.call(h)) } return !1 } i.duration == infinity ? this.now = e : (c = e - this.starttime, this.state = c / i.duration, this.pos = f.easing[i.animatedproperties[this.prop]](this.state, c, 0, 1, i.duration), this.now = this.start + (this.end - this.start) * this.pos), this.update(); return !0 } }, f.extend(f.fx, { tick: function () { var a, b = f.timers, c = 0; for (; c < b.length; c++) a = b[c], !a() && b[c] === a && b.splice(c--, 1); b.length || f.fx.stop() }, interval: 13, stop: function () { clearinterval(cp), cp = null }, speeds: { slow: 600, fast: 200, _default: 400 }, step: { opacity: function (a) { f.style(a.elem, "opacity", a.now) }, _default: function (a) { a.elem.style && a.elem.style[a.prop] != null ? a.elem.style[a.prop] = a.now + a.unit : a.elem[a.prop] = a.now } } }), f.each(["width", "height"], function (a, b) { f.fx.step[b] = function (a) { f.style(a.elem, b, math.max(0, a.now) + a.unit) } }), f.expr && f.expr.filters && (f.expr.filters.animated = function (a) { return f.grep(f.timers, function (b) { return a === b.elem }).length }); var cw = /^t(?:able|d|h)$/i, cx = /^(?:body|html)$/i; "getboundingclientrect" in c.documentelement ? f.fn.offset = function (a) { var b = this[0], c; if (a) return this.each(function (b) { f.offset.setoffset(this, a, b) }); if (!b || !b.ownerdocument) return null; if (b === b.ownerdocument.body) return f.offset.bodyoffset(b); try { c = b.getboundingclientrect() } catch (d) { } var e = b.ownerdocument, g = e.documentelement; if (!c || !f.contains(g, b)) return c ? { top: c.top, left: c.left} : { top: 0, left: 0 }; var h = e.body, i = cy(e), j = g.clienttop || h.clienttop || 0, k = g.clientleft || h.clientleft || 0, l = i.pageyoffset || f.support.boxmodel && g.scrolltop || h.scrolltop, m = i.pagexoffset || f.support.boxmodel && g.scrollleft || h.scrollleft, n = c.top + l - j, o = c.left + m - k; return { top: n, left: o} } : f.fn.offset = function (a) { var b = this[0]; if (a) return this.each(function (b) { f.offset.setoffset(this, a, b) }); if (!b || !b.ownerdocument) return null; if (b === b.ownerdocument.body) return f.offset.bodyoffset(b); var c, d = b.offsetparent, e = b, g = b.ownerdocument, h = g.documentelement, i = g.body, j = g.defaultview, k = j ? j.getcomputedstyle(b, null) : b.currentstyle, l = b.offsettop, m = b.offsetleft; while ((b = b.parentnode) && b !== i && b !== h) { if (f.support.fixedposition && k.position === "fixed") break; c = j ? j.getcomputedstyle(b, null) : b.currentstyle, l -= b.scrolltop, m -= b.scrollleft, b === d && (l += b.offsettop, m += b.offsetleft, f.support.doesnotaddborder && (!f.support.doesaddborderfortableandcells || !cw.test(b.nodename)) && (l += parsefloat(c.bordertopwidth) || 0, m += parsefloat(c.borderleftwidth) || 0), e = d, d = b.offsetparent), f.support.subtractsborderforoverflownotvisible && c.overflow !== "visible" && (l += parsefloat(c.bordertopwidth) || 0, m += parsefloat(c.borderleftwidth) || 0), k = c } if (k.position === "relative" || k.position === "static") l += i.offsettop, m += i.offsetleft; f.support.fixedposition && k.position === "fixed" && (l += math.max(h.scrolltop, i.scrolltop), m += math.max(h.scrollleft, i.scrollleft)); return { top: l, left: m} }, f.offset = { bodyoffset: function (a) { var b = a.offsettop, c = a.offsetleft; f.support.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 = cx.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 && !cx.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 = cy(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 = cy(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")) : this[d]() : null }, f.fn["outer" + c] = function (a) { var b = this[0]; return b ? b.style ? parsefloat(f.css(b, d, a ? "margin" : "border")) : this[d]() : 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], h = e.document.body; return e.document.compatmode === "css1compat" && g || h && h["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 i = f.css(e, d), j = parsefloat(i); return f.isnumeric(j) ? j : i } return this.css(d, typeof a == "string" ? a : a + "px") } }), a.jquery = a.$ = f, typeof define == "function" && define.amd && define.amd.jquery && define("jquery", [], function () { return f }) })(window); /*imgpreload*/ function imgpreload(a, b) { if (b instanceof function) { b = { all: b} } if (typeof a == "string") { a = [a] } var c = []; var t = a.length; var i = 0; for (i; i < t; i++) { var d = new image(); d.onload = function () { c.push(this); if (b.each instanceof function) { b.each.call(this) } if (c.length >= t && b.all instanceof function) { b.all.call(c) } }; d.src = a[i] } } if (typeof jquery != "undefined") { (function ($) { $.imgpreload = imgpreload; $.fn.imgpreload = function (b) { b = $.extend({}, $.fn.imgpreload.defaults, (b instanceof function) ? { all: b} : b); this.each(function () { var a = this; imgpreload($(this).attr('src'), function () { if (b.each instanceof function) { b.each.call(a) } }) }); var c = []; this.each(function () { c.push($(this).attr('src')) }); var d = this; imgpreload(c, function () { if (b.all instanceof function) { b.all.call(d) } }); return this }; $.fn.imgpreload.defaults = { each: null, all: null} })(jquery) }