/*! * note: while microsoft is not the author of this file, microsoft is * offering you a license subject to the terms of the microsoft software * license terms for microsoft asp.net model view controller 3. * microsoft reserves all other rights. the notices below are provided * for informational purposes only and are not the license terms under * which microsoft distributed this file. * * jquery javascript library v1.4.4 * http://jquery.com/ * * copyright 2010, john resig * * includes sizzle.js * http://sizzlejs.com/ * copyright 2010, the dojo foundation * * date: thu nov 11 19:04:53 2010 -0500 */ (function(e,b){function ka(a,b,d){if(d===b&&a.nodetype===1){d=a.getattribute("data-"+b);if(typeof d==="string"){try{d=d==="true"?true:d==="false"?false:d==="null"?null:!c.isnan(d)?parsefloat(d):ja.test(d)?c.parsejson(d):d}catch(e){}c.data(a,b,d)}else d=b}return d}function u(){return false}function ca(){return true}function la(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function ka(a){var b,d,e,f,h,l,k,o,x,r,a,c=[];f=[];h=c.data(this,this.nodetype?"events":"__events__");if(typeof h==="function")h= h.events;if(!(a.livefired===this||!h||!h.live||a.button&&a.type==="click")){if(a.namespace)a=regexp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)");a.livefired=this;var j=h.live.slice(0);for(k=0;kd)break;a.currenttarget=f.elem;a.data=f.handleobj.data;a.handleobj=f.handleobj;a=f.handleobj.orighandler.apply(f.elem,arguments);if(a===false||a.ispropagationstopped()){d=f.level;if(a===false)b=false;if(a.isimmediatepropagationstopped())break}}return b}}function y(a,b){return(a&&a!=="*"?a+".":"")+b.replace(la, "`").replace(ma,"&")}function ma(a,b,d){if(c.isfunction(b))return c.grep(a,function(f,h){return!!b.call(f,h,f)===d});else if(b.nodetype)return c.grep(a,function(f){return f===b===d});else if(typeof b==="string"){var e=c.grep(a,function(f){return f.nodetype===1});if(na.test(b))return c.filter(b,e,!d);else b=c.filter(b,e)}return c.grep(a,function(f){return c.inarray(f,b)>=0===d})}function na(a,b){var d=0;b.each(function(){if(this.nodename===(a[d]&&a[d].nodename)){var e=c.data(a[d++]),f=c.data(this, e);if(e=e&&e.events){delete f.handle;f.events={};for(var h in e)for(var l in e[h])c.event.add(this,h,e[h][l],e[h][l].data)}}})}function oa(a,b){b.src?c.ajax({url:b.src,async:false,datatype:"script"}):c.globaleval(b.text||b.textcontent||b.innerhtml||"");b.parentnode&&b.parentnode.removechild(b)}function oa(a,b,d){var e=b==="width"?a.offsetwidth:a.offsetheight;if(d==="border")return e;c.each(b==="width"?pa:qa,function(){d||(e-=parsefloat(c.css(a,"padding"+this))||0);if(d==="margin")e+=parsefloat(c.css(a, "margin"+this))||0;else e-=parsefloat(c.css(a,"border"+this+"width"))||0});return e}function da(a,b,d,e){if(c.isarray(b)&&b.length)c.each(b,function(f,h){d||ra.test(a)?e(a,h):da(a+"["+(typeof h==="object"||c.isarray(h)?f:"")+"]",h,d,e)});else if(!d&&b!=null&&typeof b==="object")c.isemptyobject(b)?e(a,""):c.each(b,function(f,h){da(a+"["+f+"]",h,d,e)});else e(a,b)}function s(a,b){var d={};c.each(pa.concat.apply([],pa.slice(0,b)),function(){d[this]=a});return d}function qa(a){if(!ea[a]){var b=c("<"+ a+">").appendto("body"),d=b.css("display");b.remove();if(d==="none"||d==="")d="block";ea[a]=d}return ea[a]}function fa(a){return c.iswindow(a)?a:a.nodetype===9?a.defaultview||a.parentwindow:false}var t=e.document,c=function(){function a(){if(!b.isready){try{t.documentelement.doscroll("left")}catch(j){settimeout(a,1);return}b.ready()}}var b=function(j,s){return new b.fn.init(j,s)},d=e.jquery,e=e.$,f,h=/^(?:[^<]*(<[\w\w]+>)[^>]*$|#([\w\-]+)$)/,l=/\s/,k=/^\s+/,o=/\s+$/,x=/\w/,r=/\d/,a=/^<(\w+)\s*\/?>(?:<\/\1>)?$/, c=/^[\],:{}\s]*$/,j=/\\(?:["\\\/bfnrt]|u[0-9a-fa-f]{4})/g,w=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[ee][+\-]?\d+)?/g,i=/(?:^|:|,)(?:\s*\[)+/g,l=/(webkit)[ \/]([\w.]+)/,g=/(opera)(?:.*version)?[ \/]([\w.]+)/,i=/(msie) ([\w.]+)/,n=/(mozilla)(?:.*? rv:([\w.]+))?/,m=navigator.useragent,p=false,q=[],u,y=object.prototype.tostring,f=object.prototype.hasownproperty,m=array.prototype.push,n=array.prototype.slice,o=string.prototype.trim,d=array.prototype.indexof,r={};b.fn=b.prototype={init:function(j, s){var v,z,h;if(!j)return this;if(j.nodetype){this.context=this[0]=j;this.length=1;return this}if(j==="body"&&!s&&t.body){this.context=t;this[0]=t.body;this.selector="body";this.length=1;return this}if(typeof j==="string")if((v=h.exec(j))&&(v[1]||!s))if(v[1]){h=s?s.ownerdocument||s:t;if(z=a.exec(j))if(b.isplainobject(s)){j=[t.createelement(z[1])];b.fn.attr.call(j,s,true)}else j=[h.createelement(z[1])];else{z=b.buildfragment([v[1]],[h]);j=(z.cacheable?z.fragment.clonenode(true):z.fragment).childnodes}return b.merge(this, j)}else{if((z=t.getelementbyid(v[2]))&&z.parentnode){if(z.id!==v[2])return f.find(j);this.length=1;this[0]=z}this.context=t;this.selector=j;return this}else if(!s&&!x.test(j)){this.selector=j;this.context=t;j=t.getelementsbytagname(j);return b.merge(this,j)}else return!s||s.jquery?(s||f).find(j):b(s).find(j);else if(b.isfunction(j))return f.ready(j);if(j.selector!==b){this.selector=j.selector;this.context=j.context}return b.makearray(j,this)},selector:"",jquery:"1.4.4",length:0,size:function(){return this.length}, toarray:function(){return n.call(this,0)},get:function(j){return j==null?this.toarray():j<0?this.slice(j)[0]:this[j]},pushstack:function(j,s,v){var z=b();b.isarray(j)?m.apply(z,j):b.merge(z,j);z.prevobject=this;z.context=this.context;if(s==="find")z.selector=this.selector+(this.selector?" ":"")+v;else if(s)z.selector=this.selector+"."+s+"("+v+")";return z},each:function(j,s){return b.each(this,j,s)},ready:function(j){b.bindready();if(b.isready)j.call(t,b);else q&&q.push(j);return this},eq:function(j){return j=== -1?this.slice(j):this.slice(j,+j+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushstack(n.apply(this,arguments),"slice",n.call(arguments).join(","))},map:function(j){return this.pushstack(b.map(this,function(s,v){return j.call(s,v,s)}))},end:function(){return this.prevobject||b(null)},push:m,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var j,s,v,z,h,g=arguments[0]||{},k=1,q=arguments.length,ga=false; if(typeof g==="boolean"){ga=g;g=arguments[1]||{};k=2}if(typeof g!=="object"&&!b.isfunction(g))g={};if(q===k){g=this;--k}for(;k0))if(q){var s=0,v=q;for(q=null;j=v[s++];)j.call(t,b);b.fn.trigger&&b(t).trigger("ready").unbind("ready")}}},bindready:function(){if(!p){p=true;if(t.readystate==="complete")return settimeout(b.ready,1);if(t.addeventlistener){t.addeventlistener("domcontentloaded",u,false);e.addeventlistener("load",b.ready,false)}else if(t.attachevent){t.attachevent("onreadystatechange",u);e.attachevent("onload", b.ready);var j=false;try{j=e.frameelement==null}catch(s){}t.documentelement.doscroll&&j&&a()}}},isfunction:function(j){return b.type(j)==="function"},isarray:array.isarray||function(j){return b.type(j)==="array"},iswindow:function(j){return j&&typeof j==="object"&&"setinterval"in j},isnan:function(j){return j==null||!r.test(j)||isnan(j)},type:function(j){return j==null?string(j):r[y.call(j)]||"object"},isplainobject:function(j){if(!j||b.type(j)!=="object"||j.nodetype||b.iswindow(j))return false;if(j.constructor&& !f.call(j,"constructor")&&!f.call(j.constructor.prototype,"isprototypeof"))return false;for(var s in j);return s===b||f.call(j,s)},isemptyobject:function(j){for(var s in j)return false;return true},error:function(j){throw j;},parsejson:function(j){if(typeof j!=="string"||!j)return null;j=b.trim(j);if(c.test(j.replace(j,"@").replace(w,"]").replace(i,"")))return e.json&&e.json.parse?e.json.parse(j):(new function("return "+j))();else b.error("invalid json: "+j)},noop:function(){},globaleval:function(j){if(j&& l.test(j)){var s=t.getelementsbytagname("head")[0]||t.documentelement,v=t.createelement("script");v.type="text/javascript";if(b.support.scripteval)v.appendchild(t.createtextnode(j));else v.text=j;s.insertbefore(v,s.firstchild);s.removechild(v)}},nodename:function(j,s){return j.nodename&&j.nodename.touppercase()===s.touppercase()},each:function(j,s,v){var z,h=0,g=j.length,k=g===b||b.isfunction(j);if(v)if(k)for(z in j){if(s.apply(j[z],v)===false)break}else for(;h
a";var f=d.getelementsbytagname("*"),h=d.getelementsbytagname("a")[0],l=t.createelement("select"), k=l.appendchild(t.createelement("option"));if(!(!f||!f.length||!h)){c.support={leadingwhitespace:d.firstchild.nodetype===3,tbody:!d.getelementsbytagname("tbody").length,htmlserialize:!!d.getelementsbytagname("link").length,style:/red/.test(h.getattribute("style")),hrefnormalized:h.getattribute("href")==="/a",opacity:/^0.55$/.test(h.style.opacity),cssfloat:!!h.style.cssfloat,checkon:d.getelementsbytagname("input")[0].value==="on",optselected:k.selected,deleteexpando:true,optdisabled:false,checkclone:false, scripteval:false,nocloneevent:true,boxmodel:null,inlineblockneedslayout:false,shrinkwrapblocks:false,reliablehiddenoffsets:true};l.disabled=true;c.support.optdisabled=!k.disabled;b.type="text/javascript";try{b.appendchild(t.createtextnode("window."+e+"=1;"))}catch(o){}a.insertbefore(b,a.firstchild);if(e[e]){c.support.scripteval=true;delete e[e]}try{delete b.test}catch(x){c.support.deleteexpando=false}a.removechild(b);if(d.attachevent&&d.fireevent){d.attachevent("onclick",function r(){c.support.nocloneevent= false;d.detachevent("onclick",r)});d.clonenode(true).fireevent("onclick")}d=t.createelement("div");d.innerhtml="";a=t.createdocumentfragment();a.appendchild(d.firstchild);c.support.checkclone=a.clonenode(true).clonenode(true).lastchild.checked;c(function(){var r=t.createelement("div");r.style.width=r.style.paddingleft="1px";t.body.appendchild(r);c.boxmodel=c.support.boxmodel=r.offsetwidth===2;if("zoom"in r.style){r.style.display="inline";r.style.zoom= 1;c.support.inlineblockneedslayout=r.offsetwidth===2;r.style.display="";r.innerhtml="
";c.support.shrinkwrapblocks=r.offsetwidth!==2}r.innerhtml="
t
";var a=r.getelementsbytagname("td");c.support.reliablehiddenoffsets=a[0].offsetheight===0;a[0].style.display="";a[1].style.display="none";c.support.reliablehiddenoffsets=c.support.reliablehiddenoffsets&&a[0].offsetheight===0;r.innerhtml="";t.body.removechild(r).style.display= "none"});a=function(r){var a=t.createelement("div");r="on"+r;var c=r in a;if(!c){a.setattribute(r,"return;");c=typeof a[r]==="function"}return c};c.support.submitbubbles=a("submit");c.support.changebubbles=a("change");a=b=d=f=h=null}})();var ra={},ja=/^(?:\{.*\}|\[.*\])$/;c.extend({cache:{},uuid:0,expando:"jquery"+c.now(),nodata:{embed:true,object:"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000",applet:true},data:function(a,b,d){if(c.acceptdata(a)){a=a==e?ra:a;var e=a.nodetype,f=e?a[c.expando]:null,h= c.cache;if(!(e&&!f&&typeof b==="string"&&d===b)){if(e)f||(a[c.expando]=f=++c.uuid);else h=a;if(typeof b==="object")if(e)h[f]=c.extend(h[f],b);else c.extend(h,b);else if(e&&!h[f])h[f]={};a=e?h[f]:h;if(d!==b)a[b]=d;return typeof b==="string"?a[b]:a}}},removedata:function(a,b){if(c.acceptdata(a)){a=a==e?ra:a;var d=a.nodetype,e=d?a[c.expando]:a,f=c.cache,h=d?f[e]:e;if(b){if(h){delete h[b];d&&c.isemptyobject(h)&&c.removedata(a)}}else if(d&&c.support.deleteexpando)delete a[c.expando];else if(a.removeattribute)a.removeattribute(c.expando); else if(d)delete f[e];else for(var l in a)delete a[l]}},acceptdata:function(a){if(a.nodename){var b=c.nodata[a.nodename.tolowercase()];if(b)return!(b===true||a.getattribute("classid")!==b)}return true}});c.fn.extend({data:function(a,b){var d=null;if(typeof a==="undefined"){if(this.length){var e=this[0].attributes,f;d=c.data(this[0]);for(var h=0,l=e.length;h-1)return true;return false},val:function(a){if(!arguments.length){var b=this[0];if(b){if(c.nodename(b,"option")){var d=b.attributes.value;return!d||d.specified?b.value:b.text}if(c.nodename(b,"select")){var e=b.selectedindex;d=[];var f=b.options;b=b.type==="select-one"; if(e<0)return null;var h=b?e:0;for(e=b?e+1:f.length;h=0;else if(c.nodename(this,"select")){var a=c.makearray(r);c("option",this).each(function(){this.selected=c.inarray(c(this).val(),a)>=0});if(!a.length)this.selectedindex=-1}else this.value=r}})}});c.extend({attrfn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true}, attr:function(a,b,d,e){if(!a||a.nodetype===3||a.nodetype===8)return b;if(e&&b in c.attrfn)return c(a)[b](d);e=a.nodetype!==1||!c.isxmldoc(a);var f=d!==b;b=e&&c.props[b]||b;var h=ta.test(b);if((b in a||a[b]!==b)&&e&&!h){if(f){b==="type"&&ua.test(a.nodename)&&a.parentnode&&c.error("type property can't be changed");if(d===null)a.nodetype===1&&a.removeattribute(b);else a[b]=d}if(c.nodename(a,"form")&&a.getattributenode(b))return a.getattributenode(b).nodevalue;if(b==="tabindex")return(b=a.getattributenode("tabindex"))&& b.specified?b.value:va.test(a.nodename)||wa.test(a.nodename)&&a.href?0:b;return a[b]}if(!c.support.style&&e&&b==="style"){if(f)a.style.csstext=""+d;return a.style.csstext}f&&a.setattribute(b,""+d);if(!a.attributes[b]&&a.hasattribute&&!a.hasattribute(b))return b;a=!c.support.hrefnormalized&&e&&h?a.getattribute(b,2):a.getattribute(b);return a===null?b:a}});var x=/\.(.*)$/,ia=/^(?:textarea|input|select)$/i,la=/\./g,ma=/ /g,xa=/[^\w\s.|`]/g,ya=function(a){return a.replace(xa,"\\$&")},ua={focusin:0,focusout:0}; c.event={add:function(a,b,d,e){if(!(a.nodetype===3||a.nodetype===8)){if(c.iswindow(a)&&a!==e&&!a.frameelement)a=e;if(d===false)d=u;else if(!d)return;var f,h;if(d.handler){f=d;d=f.handler}if(!d.guid)d.guid=c.guid++;if(h=c.data(a)){var l=a.nodetype?"events":"__events__",k=h[l],o=h.handle;if(typeof k==="function"){o=k.handle;k=k.events}else if(!k){a.nodetype||(h[l]=h=function(){});h.events=k={}}if(!o)h.handle=o=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(o.elem, arguments):b};o.elem=a;b=b.split(" ");for(var x=0,r;l=b[x++];){h=f?c.extend({},f):{handler:d,data:e};if(l.indexof(".")>-1){r=l.split(".");l=r.shift();h.namespace=r.slice(0).sort().join(".")}else{r=[];h.namespace=""}h.type=l;if(!h.guid)h.guid=d.guid;var a=k[l],c=c.event.special[l]||{};if(!a){a=k[l]=[];if(!c.setup||c.setup.call(a,e,r,o)===false)if(a.addeventlistener)a.addeventlistener(l,o,false);else a.attachevent&&a.attachevent("on"+l,o)}if(c.add){c.add.call(a,h);if(!h.handler.guid)h.handler.guid= d.guid}a.push(h);c.event.global[l]=true}a=null}}},global:{},remove:function(a,b,d,e){if(!(a.nodetype===3||a.nodetype===8)){if(d===false)d=u;var f,h,l=0,k,o,x,r,a,c,j=a.nodetype?"events":"__events__",w=c.data(a),i=w&&w[j];if(w&&i){if(typeof i==="function"){w=i;i=i.events}if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charat(0)==="."){b=b||"";for(f in i)c.event.remove(a,f+b)}else{for(b=b.split(" ");f=b[l++];){r=f;k=f.indexof(".")<0;o=[];if(!k){o=f.split(".");f=o.shift();x=regexp("(^|\\.)"+ c.map(o.slice(0).sort(),ya).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(a=i[f])if(d){r=c.event.special[f]||{};for(h=e||0;h=0){a.type=f=f.slice(0,-1);a.exclusive=true}if(!d){a.stoppropagation();c.event.global[f]&&c.each(c.cache,function(){this.events&&this.events[f]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodetype===3||d.nodetype=== 8)return b;a.result=b;a.target=d;b=c.makearray(b);b.unshift(a)}a.currenttarget=d;(e=d.nodetype?c.data(d,"handle"):(c.data(d,"__events__")||{}).handle)&&e.apply(d,b);e=d.parentnode||d.ownerdocument;try{if(!(d&&d.nodename&&c.nodata[d.nodename.tolowercase()]))if(d["on"+f]&&d["on"+f].apply(d,b)===false){a.result=false;a.preventdefault()}}catch(h){}if(!a.ispropagationstopped()&&e)c.event.trigger(a,b,e,true);else if(!a.isdefaultprevented()){var l;e=a.target;var k=f.replace(x,""),o=c.nodename(e,"a")&&k=== "click",x=c.event.special[k]||{};if((!x._default||x._default.call(d,a)===false)&&!o&&!(e&&e.nodename&&c.nodata[e.nodename.tolowercase()])){try{if(e[k]){if(l=e["on"+k])e["on"+k]=null;c.event.triggered=true;e[k]()}}catch(r){}if(l)e["on"+k]=l;c.event.triggered=false}}},handle:function(a){var b,d,e,f;d=[];var h=c.makearray(arguments);a=h[0]=c.event.fix(a||e.event);a.currenttarget=this;b=a.type.indexof(".")<0&&!a.exclusive;if(!b){e=a.type.split(".");a.type=e.shift();d=e.slice(0).sort();e=regexp("(^|\\.)"+ d.join("\\.(?:.*\\.)?")+"(\\.|$)")}a.namespace=a.namespace||d.join(".");f=c.data(this,this.nodetype?"events":"__events__");if(typeof f==="function")f=f.events;d=(f||{})[a.type];if(f&&d){d=d.slice(0);f=0;for(var l=d.length;f-1?c.map(a.options,function(e){return e.selected}).join("-"):"";else if(a.nodename.tolowercase()==="select")d=a.selectedindex;return d},z=function(a,b){var d=a.target,e,f;if(!(!ia.test(d.nodename)||d.readonly)){e=c.data(d,"_change_data");f=xa(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",f);if(!(e===b||f===e))if(e!=null||f){a.type="change";a.livefired= b;return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:z,beforedeactivate:z,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodename.tolowercase()==="select")return z.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keycode===13&&b.nodename.tolowercase()!=="textarea"||a.keycode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return z.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",xa(a))}},setup:function(){if(this.type=== "file")return false;for(var a in v)c.event.add(this,a+".specialchange",v[a]);return ia.test(this.nodename)},teardown:function(){c.event.remove(this,".specialchange");return ia.test(this.nodename)}};v=c.event.special.change.filters;v.focus=v.beforeactivate}t.addeventlistener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(e){e=c.event.fix(e);e.type=b;return c.event.trigger(e,null,e.target)}c.event.special[b]={setup:function(){ua[b]++===0&&t.addeventlistener(a,d,true)},teardown:function(){--ua[b]=== 0&&t.removeeventlistener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,e,f){if(typeof d==="object"){for(var h in d)this[b](h,e,d[h],f);return this}if(c.isfunction(e)||e===false){f=e;e=b}var l=b==="one"?c.proxy(f,function(o){c(this).unbind(o,l);return f.apply(this,arguments)}):f;if(d==="unload"&&b!=="one")this.one(d,e,f);else{h=0;for(var k=this.length;h0?this.bind(b,d,e):this.trigger(b)};if(c.attrfn)c.attrfn[b]=true});e.attachevent&&!e.addeventlistener&&c(e).bind("unload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}}); (function(){function a(g,i,n,m,p,q){p=0;for(var u=m.length;p0){f=y;break}}y=y[g]}m[p]=f}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=object.prototype.tostring,h=false,l=true;[0,0].sort(function(){l=false;return 0});var k=function(g,i,n,m){n=n||[];var p=i=i||t;if(i.nodetype!==1&&i.nodetype!==9)return[];if(!g||typeof g!=="string")return n;var q,u,y,f,m,n=true,o=k.isxml(i),d=[],r=g;do{d.exec("");if(q=d.exec(r)){r=q[3];d.push(q[1]);if(q[2]){f=q[3]; break}}}while(q);if(d.length>1&&x.exec(g))if(d.length===2&&o.relative[d[0]])u=l(d[0]+d[1],i);else for(u=o.relative[d[0]]?[i]:k(d.shift(),i);d.length;){g=d.shift();if(o.relative[g])g+=d.shift();u=l(g,u)}else{if(!m&&d.length>1&&i.nodetype===9&&!o&&o.match.id.test(d[0])&&!o.match.id.test(d[d.length-1])){q=k.find(d.shift(),i,o);i=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]}if(i){q=m?{expr:d.pop(),set:c(m)}:k.find(d.pop(),d.length===1&&(d[0]==="~"||d[0]==="+")&&i.parentnode?i.parentnode:i,o);u=q.expr?k.filter(q.expr, q.set):q.set;if(d.length>0)y=c(u);else n=false;for(;d.length;){q=m=d.pop();if(o.relative[m])q=d.pop();else m="";if(q==null)q=i;o.relative[m](y,q,o)}}else y=[]}y||(y=u);y||k.error(m||g);if(f.call(y)==="[object array]")if(n)if(i&&i.nodetype===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodetype===1&&k.contains(i,y[g])))n.push(u[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodetype===1&&n.push(u[g]);else n.push.apply(n,y);else c(y,n);if(f){k(f,p,n,m);k.uniquesort(n)}return n};k.uniquesort=function(g){if(w){h= l;g.sort(w);if(h)for(var i=1;i0};k.find=function(g,i,n){var m;if(!g)return[];for(var p=0,q=o.order.length;p":function(g,i){var n,m=typeof i==="string",p=0,q=g.length;if(m&&!/\w/.test(i))for(i=i.tolowercase();p=0))n||m.push(u);else if(n)i[q]=false;return false},id:function(g){return g[1].replace(/\\/g,"")},tag:function(g){return g[1].tolowercase()},child:function(g){if(g[1]==="nth"){var i=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\d/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=i[1]+(i[2]||1)-0;g[3]=i[3]-0}g[0]=e++;return g},attr:function(g,i,n, m,p,q){i=g[1].replace(/\\/g,"");if(!q&&o.attrmap[i])g[1]=o.attrmap[i];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},pseudo:function(g,i,n,m,p){if(g[1]==="not")if((d.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=k(g[3],null,null,i);else{g=k.filter(g[3],i,n,true^p);n||m.push.apply(m,g);return false}else if(o.match.pos.test(g[0])||o.match.child.test(g[0]))return true;return g},pos:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled=== true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstchild},empty:function(g){return!g.firstchild},has:function(g,i,n){return!!k(n[3],g).length},header:function(g){return/h\d/i.test(g.nodename)},text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"=== g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodename.tolowercase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodename)}},setfilters:{first:function(g,i){return i===0},last:function(g,i,n,m){return i===m.length-1},even:function(g,i){return i%2===0},odd:function(g,i){return i%2===1},lt:function(g,i,n){return in[3]-0},nth:function(g,i,n){return n[3]- 0===i},eq:function(g,i,n){return n[3]-0===i}},filter:{pseudo:function(g,i,n,m){var p=i[1],q=o.filters[p];if(q)return q(g,n,i,m);else if(p==="contains")return(g.textcontent||g.innertext||k.gettext([g])||"").indexof(i[3])>=0;else if(p==="not"){i=i[3];n=0;for(m=i.length;n=0}},id:function(g,i){return g.nodetype===1&&g.getattribute("id")===i},tag:function(g,i){return i==="*"&&g.nodetype===1||g.nodename.tolowercase()=== i},class:function(g,i){return(" "+(g.classname||g.getattribute("class"))+" ").indexof(i)>-1},attr:function(g,i){var n=i[1];n=o.attrhandle[n]?o.attrhandle[n](g):g[n]!=null?g[n]:g.getattribute(n);var m=n+"",p=i[2],q=i[4];return n==null?p==="!=":p==="="?m===q:p==="*="?m.indexof(q)>=0:p==="~="?(" "+m+" ").indexof(q)>=0:!q?m&&n!==false:p==="!="?m!==q:p==="^="?m.indexof(q)===0:p==="$="?m.substr(m.length-q.length)===q:p==="|="?m===q||m.substr(0,q.length+1)===q+"-":false},pos:function(g,i,n,m){var p=o.setfilters[i[2]]; if(p)return p(g,n,i,m)}}},x=o.match.pos,r=function(g,i){return"\\"+(i-0+1)},a;for(a in o.match){o.match[a]=regexp(o.match[a].source+/(?![^\[]*\])(?![^\(]*\))/.source);o.leftmatch[a]=regexp(/(^(?:.|\r|\n)*?)/.source+o.match[a].source.replace(/\\(\d+)/g,r))}var c=function(g,i){g=array.prototype.slice.call(g,0);if(i){i.push.apply(i,g);return i}return g};try{array.prototype.slice.call(t.documentelement.childnodes,0)}catch(j){c=function(g,i){var n=0,m=i||[];if(f.call(g)==="[object array]")array.prototype.push.apply(m, g);else if(typeof g.length==="number")for(var p=g.length;n";n.insertbefore(g,n.firstchild);if(t.getelementbyid(i)){o.find.id=function(m,p,q){if(typeof p.getelementbyid!=="undefined"&&!q)return(p=p.getelementbyid(m[1]))?p.id===m[1]||typeof p.getattributenode!=="undefined"&&p.getattributenode("id").nodevalue===m[1]?[p]:b:[]};o.filter.id=function(m,p){var q=typeof m.getattributenode!=="undefined"&&m.getattributenode("id");return m.nodetype===1&&q&&q.nodevalue===p}}n.removechild(g); n=g=null})();(function(){var g=t.createelement("div");g.appendchild(t.createcomment(""));if(g.getelementsbytagname("*").length>0)o.find.tag=function(i,n){var m=n.getelementsbytagname(i[1]);if(i[1]==="*"){for(var p=[],q=0;m[q];q++)m[q].nodetype===1&&p.push(m[q]);m=p}return m};g.innerhtml="";if(g.firstchild&&typeof g.firstchild.getattribute!=="undefined"&&g.firstchild.getattribute("href")!=="#")o.attrhandle.href=function(i){return i.getattribute("href",2)};g=null})();t.queryselectorall&& function(){var g=k,i=t.createelement("div");i.innerhtml="

";if(!(i.queryselectorall&&i.queryselectorall(".test").length===0)){k=function(m,p,q,u){p=p||t;m=m.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!u&&!k.isxml(p))if(p.nodetype===9)try{return c(p.queryselectorall(m),q)}catch(y){}else if(p.nodetype===1&&p.nodename.tolowercase()!=="object"){var f=p.getattribute("id"),m=f||"__sizzle__";f||p.setattribute("id",m);try{return c(p.queryselectorall("#"+m+" "+m),q)}catch(n){}finally{f|| p.removeattribute("id")}}return g(m,p,q,u)};for(var n in g)k[n]=g[n];i=null}}();(function(){var g=t.documentelement,i=g.matchesselector||g.mozmatchesselector||g.webkitmatchesselector||g.msmatchesselector,n=false;try{i.call(t.documentelement,"[test!='']:sizzle")}catch(m){n=true}if(i)k.matchesselector=function(p,q){q=q.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isxml(p))try{if(n||!o.match.pseudo.test(q)&&!/!=/.test(q))return i.call(p,q)}catch(u){}return k(q,null,null,[p]).length>0}})();(function(){var g= t.createelement("div");g.innerhtml="
";if(!(!g.getelementsbyclassname||g.getelementsbyclassname("e").length===0)){g.lastchild.classname="e";if(g.getelementsbyclassname("e").length!==1){o.order.splice(1,0,"class");o.find.class=function(i,n,m){if(typeof n.getelementsbyclassname!=="undefined"&&!m)return n.getelementsbyclassname(i[1])};g=null}}})();k.contains=t.documentelement.contains?function(g,i){return g!==i&&(g.contains?g.contains(i):true)}:t.documentelement.comparedocumentposition? function(g,i){return!!(g.comparedocumentposition(i)&16)}:function(){return false};k.isxml=function(g){return(g=(g?g.ownerdocument||g:0).documentelement)?g.nodename!=="html":false};var l=function(g,i){for(var n,m=[],p="",q=i.nodetype?[i]:i;n=o.match.pseudo.exec(g);){p+=n[0];g=g.replace(o.match.pseudo,"")}g=o.relative[g]?g+"*":g;n=0;for(var u=q.length;n0)for(var h=d;h0},closest:function(a,b){var d=[],e,f,h=this[0];if(c.isarray(a)){var l,k={},o=1;if(h&&a.length){e=0;for(f=a.length;e-1:c(h).is(e))d.push({selector:l,elem:h,level:o})}h= h.parentnode;o++}}return d}l=cb.test(a)?c(a,b||this.context):null;e=0;for(f=this.length;e-1:c.find.matchesselector(h,a)){d.push(h);break}else{h=h.parentnode;if(!h||!h.ownerdocument||h===b)break}d=d.length>1?c.unique(d):d;return this.pushstack(d,"closest",a)},index:function(a){if(!a||typeof a==="string")return c.inarray(this[0],a?c(a):this.parent().children());return c.inarray(a.jquery?a[0]:a,this)},add:function(a,b){var d=typeof a==="string"?c(a,b||this.context): c.makearray(a),e=c.merge(this.get(),d);return this.pushstack(!d[0]||!d[0].parentnode||d[0].parentnode.nodetype===11||!e[0]||!e[0].parentnode||e[0].parentnode.nodetype===11?e:c.unique(e))},andself:function(){return this.add(this.prevobject)}});c.each({parent:function(a){return(a=a.parentnode)&&a.nodetype!==11?a:null},parents:function(a){return c.dir(a,"parentnode")},parentsuntil:function(a,b,d){return c.dir(a,"parentnode",d)},next:function(a){return c.nth(a,2,"nextsibling")},prev:function(a){return c.nth(a, 2,"previoussibling")},nextall:function(a){return c.dir(a,"nextsibling")},prevall:function(a){return c.dir(a,"previoussibling")},nextuntil:function(a,b,d){return c.dir(a,"nextsibling",d)},prevuntil:function(a,b,d){return c.dir(a,"previoussibling",d)},siblings:function(a){return c.sibling(a.parentnode.firstchild,a)},children:function(a){return c.sibling(a.firstchild)},contents:function(a){return c.nodename(a,"iframe")?a.contentdocument||a.contentwindow.document:c.makearray(a.childnodes)}},function(a, b){c.fn[a]=function(d,e){var f=c.map(this,b,d);za.test(a)||(e=d);if(e&&typeof e==="string")f=c.filter(e,f);f=this.length>1?c.unique(f):f;if((this.length>1||ab.test(e))&&$a.test(a))f=f.reverse();return this.pushstack(f,a,bb.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return b.length===1?c.find.matchesselector(b[0],a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,b,d){var e=[];for(a=a[b];a&&a.nodetype!==9&&(d===b||a.nodetype!==1||!c(a).is(d));){a.nodetype===1&& e.push(a);a=a[b]}return e},nth:function(a,b,d){b=b||1;for(var e=0;a;a=a[d])if(a.nodetype===1&&++e===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextsibling)a.nodetype===1&&a!==b&&d.push(a);return d}});var za=/ jquery\d+="(?:\d+|null)"/g,$=/^\s+/,aa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,ba=/<([\w:]+)/,db=/\s]+\/)>/g,p={option:[1, ""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]};p.optgroup=p.option;p.tbody=p.tfoot=p.colgroup=p.caption=p.thead;p.th=p.td;if(!c.support.htmlserialize)p._default=[1,"div
","
"];c.fn.extend({text:function(a){if(c.isfunction(a))return this.each(function(b){var d= c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerdocument||t).createtextnode(a));return c.text(this)},wrapall:function(a){if(c.isfunction(a))return this.each(function(d){c(this).wrapall(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerdocument).eq(0).clone(true);this[0].parentnode&&b.insertbefore(this[0]);b.map(function(){for(var d=this;d.firstchild&&d.firstchild.nodetype===1;)d=d.firstchild;return d}).append(this)}return this}, wrapinner:function(a){if(c.isfunction(a))return this.each(function(b){c(this).wrapinner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapall(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapall(a)})},unwrap:function(){return this.parent().each(function(){c.nodename(this,"body")||c(this).replacewith(this.childnodes)}).end()},append:function(){return this.dommanip(arguments,true,function(a){this.nodetype===1&&this.appendchild(a)})}, prepend:function(){return this.dommanip(arguments,true,function(a){this.nodetype===1&&this.insertbefore(a,this.firstchild)})},before:function(){if(this[0]&&this[0].parentnode)return this.dommanip(arguments,false,function(b){this.parentnode.insertbefore(b,this)});else if(arguments.length){var a=c(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,false,function(b){this.parentnode.insertbefore(b, this.nextsibling)});else if(arguments.length){var a=this.pushstack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toarray());return a}},remove:function(a,b){for(var d=0,e;(e=this[d])!=null;d++)if(!a||c.filter(a,[e]).length){if(!b&&e.nodetype===1){c.cleandata(e.getelementsbytagname("*"));c.cleandata([e])}e.parentnode&&e.parentnode.removechild(e)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodetype===1&&c.cleandata(b.getelementsbytagname("*"));b.firstchild;)b.removechild(b.firstchild); return this},clone:function(a){var b=this.map(function(){if(!c.support.nocloneevent&&!c.isxmldoc(this)){var d=this.outerhtml,e=this.ownerdocument;if(!d){d=e.createelement("div");d.appendchild(this.clonenode(true));d=d.innerhtml}return c.clean([d.replace(za,"").replace(fb,'="$1">').replace($,"")],e)[0]}else return this.clonenode(true)});if(a===true){na(this,b);na(this.find("*"),b.find("*"))}return b},html:function(a){if(a===b)return this[0]&&this[0].nodetype===1?this[0].innerhtml.replace(za,""):null; else if(typeof a==="string"&&!ca.test(a)&&(c.support.leadingwhitespace||!$.test(a))&&!p[(ba.exec(a)||["",""])[1].tolowercase()]){a=a.replace(aa,"<$1>");try{for(var b=0,d=this.length;b0||e.cacheable||this.length>1?h.clonenode(true):h)}k.length&&c.each(k,oa)}return this}});c.buildfragment=function(a,b,d){var e,f,h;b=b&&b[0]?b[0].ownerdocument||b[0]:t;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===t&&!ca.test(a[0])&&(c.support.checkclone||!da.test(a[0]))){f=true;if(h=c.fragments[a[0]])if(h!==1)e=h}if(!e){e=b.createdocumentfragment();c.clean(a,b,e,d)}if(f)c.fragments[a[0]]=h?e:1;return{fragment:e,cacheable:f}};c.fragments={};c.each({appendto:"append", prependto:"prepend",insertbefore:"before",insertafter:"after",replaceall:"replacewith"},function(a,b){c.fn[a]=function(d){var e=[];d=c(d);var f=this.length===1&&this[0].parentnode;if(f&&f.nodetype===11&&f.childnodes.length===1&&d.length===1){d[b](this[0]);return this}else{f=0;for(var h=d.length;f0?this.clone(true):this).get();c(d[f])[b](l);e=e.concat(l)}return this.pushstack(e,a,d.selector)}}});c.extend({clean:function(a,b,d,e){b=b||t;if(typeof b.createelement==="undefined")b=b.ownerdocument|| b[0]&&b[0].ownerdocument||t;for(var f=[],h=0,l;(l=a[h])!=null;h++){if(typeof l==="number")l+="";if(l){if(typeof l==="string"&&!eb.test(l))l=b.createtextnode(l);else if(typeof l==="string"){l=l.replace(aa,"<$1>");var k=(ba.exec(l)||["",""])[1].tolowercase(),o=p[k]||p._default,x=o[0],r=b.createelement("div");for(r.innerhtml=o[1]+l+o[2];x--;)r=r.lastchild;if(!c.support.tbody){x=db.test(l);k=k==="table"&&!x?r.firstchild&&r.firstchild.childnodes:o[1]===""&&!x?r.childnodes:[];for(o=k.length- 1;o>=0;--o)c.nodename(k[o],"tbody")&&!k[o].childnodes.length&&k[o].parentnode.removechild(k[o])}!c.support.leadingwhitespace&&$.test(l)&&r.insertbefore(b.createtextnode($.exec(l)[0]),r.firstchild);l=r.childnodes}if(l.nodetype)f.push(l);else f=c.merge(f,l)}}if(d)for(h=0;f[h];h++)if(e&&c.nodename(f[h],"script")&&(!f[h].type||f[h].type.tolowercase()==="text/javascript"))e.push(f[h].parentnode?f[h].parentnode.removechild(f[h]):f[h]);else{f[h].nodetype===1&&f.splice.apply(f,[h+1,0].concat(c.makearray(f[h].getelementsbytagname("script")))); d.appendchild(f[h])}return f},cleandata:function(a){for(var b,d,e=c.cache,f=c.event.special,h=c.support.deleteexpando,l=0,k;(k=a[l])!=null;l++)if(!(k.nodename&&c.nodata[k.nodename.tolowercase()]))if(d=k[c.expando]){if((b=e[d])&&b.events)for(var o in b.events)f[o]?c.event.remove(k,o):c.removeevent(k,o,b.handle);if(h)delete k[c.expando];else k.removeattribute&&k.removeattribute(c.expando);delete e[d]}}});var ea=/alpha\([^)]*\)/i,gb=/opacity=([^)]*)/,hb=/-([a-z])/ig,ib=/([a-z])/g,fa=/^-?\d+(?:px)?$/i, jb=/^-?\d/,kb={position:"absolute",visibility:"hidden",display:"block"},pa=["left","right"],qa=["top","bottom"],w,ga,aa,lb=function(a,b){return b.touppercase()};c.fn.css=function(a,b){if(arguments.length===2&&b===b)return this;return c.access(this,a,b,true,function(d,e,f){return f!==b?c.style(d,e,f):c.css(d,e)})};c.extend({csshooks:{opacity:{get:function(a,b){if(b){var d=w(a,"opacity","opacity");return d===""?"1":d}else return a.style.opacity}}},cssnumber:{zindex:true,fontweight:true,opacity:true, zoom:true,lineheight:true},cssprops:{"float":c.support.cssfloat?"cssfloat":"stylefloat"},style:function(a,b,d,e){if(!(!a||a.nodetype===3||a.nodetype===8||!a.style)){var f,h=c.camelcase(b),l=a.style,k=c.csshooks[h];b=c.cssprops[h]||h;if(d!==b){if(!(typeof d==="number"&&isnan(d)||d==null)){if(typeof d==="number"&&!c.cssnumber[h])d+="px";if(!k||!("set"in k)||(d=k.set(a,d))!==b)try{l[b]=d}catch(o){}}}else{if(k&&"get"in k&&(f=k.get(a,false,e))!==b)return f;return l[b]}}},css:function(a,b,d){var e,f=c.camelcase(b), h=c.csshooks[f];b=c.cssprops[f]||f;if(h&&"get"in h&&(e=h.get(a,true,d))!==b)return e;else if(w)return w(a,b,f)},swap:function(a,b,d){var e={},f;for(f in b){e[f]=a.style[f];a.style[f]=b[f]}d.call(a);for(f in b)a.style[f]=e[f]},camelcase:function(a){return a.replace(hb,lb)}});c.curcss=c.css;c.each(["height","width"],function(a,b){c.csshooks[b]={get:function(d,e,f){var h;if(e){if(d.offsetwidth!==0)h=oa(d,b,f);else c.swap(d,kb,function(){h=oa(d,b,f)});if(h<=0){h=w(d,b,b);if(h==="0px"&&aa)h=aa(d,b,b); if(h!=null)return h===""||h==="auto"?"0px":h}if(h<0||h==null){h=d.style[b];return h===""||h==="auto"?"0px":h}return typeof h==="string"?h:h+"px"}},set:function(d,e){if(fa.test(e)){e=parsefloat(e);if(e>=0)return e+"px"}else return e}}});if(!c.support.opacity)c.csshooks.opacity={get:function(a,b){return gb.test((b&&a.currentstyle?a.currentstyle.filter:a.style.filter)||"")?parsefloat(regexp.$1)/100+"":b?"1":""},set:function(a,b){var d=a.style;d.zoom=1;var e=c.isnan(b)?"":"alpha(opacity="+b*100+")",f= d.filter||"";d.filter=ea.test(f)?f.replace(ea,e):d.filter+" "+e}};if(t.defaultview&&t.defaultview.getcomputedstyle)ga=function(a,b,d){var e;d=d.replace(ib,"-$1").tolowercase();if(!(b=a.ownerdocument.defaultview))return b;if(b=b.getcomputedstyle(a,null)){e=b.getpropertyvalue(d);if(e===""&&!c.contains(a.ownerdocument.documentelement,a))e=c.style(a,d)}return e};if(t.documentelement.currentstyle)aa=function(a,b){var d,e,f=a.currentstyle&&a.currentstyle[b],h=a.style;if(!fa.test(f)&&jb.test(f)){d=h.left; e=a.runtimestyle.left;a.runtimestyle.left=a.currentstyle.left;h.left=b==="fontsize"?"1em":f||0;f=h.pixelleft+"px";h.left=d;a.runtimestyle.left=e}return f===""?"auto":f};w=ga||aa;if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetheight;return a.offsetwidth===0&&b===0||!c.support.reliablehiddenoffsets&&(a.style.display||c.css(a,"display"))==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var mb=c.now(),nb=/)<[^<]*)*<\/script>/gi, ob=/^(?:select|textarea)/i,pb=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,qb=/^(?:get|head)$/,ra=/\[\]$/,t=/\=\?(&|$)/,ja=/\?/,rb=/([?&])_=[^&]*/,sb=/^(\w+:)?\/\/([^\/?#]+)/,tb=/%20/g,ub=/#.*$/,ha=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!=="string"&&ha)return ha.apply(this,arguments);else if(!this.length)return this;var e=a.indexof(" ");if(e>=0){var f=a.slice(e,a.length);a=a.slice(0,e)}e="get";if(b)if(c.isfunction(b)){d=b;b=null}else if(typeof b=== "object"){b=c.param(b,c.ajaxsettings.traditional);e="post"}var h=this;c.ajax({url:a,type:e,datatype:"html",data:b,complete:function(l,k){if(k==="success"||k==="notmodified")h.html(f?c("
").append(l.responsetext.replace(nb,"")).find(f):l.responsetext);d&&h.each(d,[l.responsetext,k,l])}});return this},serialize:function(){return c.param(this.serializearray())},serializearray:function(){return this.map(function(){return this.elements?c.makearray(this.elements):this}).filter(function(){return this.name&& !this.disabled&&(this.checked||ob.test(this.nodename)||pb.test(this.type))}).map(function(a,b){var d=c(this).val();return d==null?null:c.isarray(d)?c.map(d,function(e){return{name:b.name,value:e}}):{name:b.name,value:d}}).get()}});c.each("ajaxstart ajaxstop ajaxcomplete ajaxerror ajaxsuccess ajaxsend".split(" "),function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,e){if(c.isfunction(b)){e=e||d;d=b;b=null}return c.ajax({type:"get",url:a,data:b,success:d,datatype:e})}, getscript:function(a,b){return c.get(a,null,b,"script")},getjson:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,e){if(c.isfunction(b)){e=e||d;d=b;b={}}return c.ajax({type:"post",url:a,data:b,success:d,datatype:e})},ajaxsetup:function(a){c.extend(c.ajaxsettings,a)},ajaxsettings:{url:location.href,global:true,type:"get",contenttype:"application/x-www-form-urlencoded",processdata:true,async:true,xhr:function(){return new e.xmlhttprequest},accepts:{xml:"application/xml, text/xml",html:"text/html", script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},ajax:function(a){var b=c.extend(true,{},c.ajaxsettings,a),d,e,f,h=b.type.touppercase(),l=qb.test(h);b.url=b.url.replace(ub,"");b.context=a&&a.context!=null?a.context:b;if(b.data&&b.processdata&&typeof b.data!=="string")b.data=c.param(b.data,b.traditional);if(b.datatype==="jsonp"){if(h==="get")t.test(b.url)||(b.url+=(ja.test(b.url)?"&":"?")+(b.jsonp||"callback")+"=?");else if(!b.data|| !t.test(b.data))b.data=(b.data?b.data+"&":"")+(b.jsonp||"callback")+"=?";b.datatype="json"}if(b.datatype==="json"&&(b.data&&t.test(b.data)||t.test(b.url))){d=b.jsonpcallback||"jsonp"+mb++;if(b.data)b.data=(b.data+"").replace(t,"="+d+"$1");b.url=b.url.replace(t,"="+d+"$1");b.datatype="script";var k=e[d];e[d]=function(m){if(c.isfunction(k))k(m);else{e[d]=b;try{delete e[d]}catch(p){}}f=m;c.handlesuccess(b,w,e,f);c.handlecomplete(b,w,e,f);r&&r.removechild(a)}}if(b.datatype==="script"&&b.cache===null)b.cache= false;if(b.cache===false&&l){var o=c.now(),x=b.url.replace(rb,"$1_="+o);b.url=x+(x===b.url?(ja.test(b.url)?"&":"?")+"_="+o:"")}if(b.data&&l)b.url+=(ja.test(b.url)?"&":"?")+b.data;b.global&&c.active++===0&&c.event.trigger("ajaxstart");o=(o=sb.exec(b.url))&&(o[1]&&o[1].tolowercase()!==location.protocol||o[2].tolowercase()!==location.host);if(b.datatype==="script"&&h==="get"&&o){var r=t.getelementsbytagname("head")[0]||t.documentelement,a=t.createelement("script");if(b.scriptcharset)a.charset=b.scriptcharset; a.src=b.url;if(!d){var c=false;a.onload=a.onreadystatechange=function(){if(!c&&(!this.readystate||this.readystate==="loaded"||this.readystate==="complete")){c=true;c.handlesuccess(b,w,e,f);c.handlecomplete(b,w,e,f);a.onload=a.onreadystatechange=null;r&&a.parentnode&&r.removechild(a)}}}r.insertbefore(a,r.firstchild);return b}var j=false,w=b.xhr();if(w){b.username?w.open(h,b.url,b.async,b.username,b.password):w.open(h,b.url,b.async);try{if(b.data!=null&&!l||a&&a.contenttype)w.setrequestheader("content-type", b.contenttype);if(b.ifmodified){c.lastmodified[b.url]&&w.setrequestheader("if-modified-since",c.lastmodified[b.url]);c.etag[b.url]&&w.setrequestheader("if-none-match",c.etag[b.url])}o||w.setrequestheader("x-requested-with","xmlhttprequest");w.setrequestheader("accept",b.datatype&&b.accepts[b.datatype]?b.accepts[b.datatype]+", */*; q=0.01":b.accepts._default)}catch(i){}if(b.beforesend&&b.beforesend.call(b.context,w,b)===false){b.global&&c.active--===1&&c.event.trigger("ajaxstop");w.abort();return false}b.global&& c.triggerglobal(b,"ajaxsend",[w,b]);var l=w.onreadystatechange=function(m){if(!w||w.readystate===0||m==="abort"){j||c.handlecomplete(b,w,e,f);j=true;if(w)w.onreadystatechange=c.noop}else if(!j&&w&&(w.readystate===4||m==="timeout")){j=true;w.onreadystatechange=c.noop;e=m==="timeout"?"timeout":!c.httpsuccess(w)?"error":b.ifmodified&&c.httpnotmodified(w,b.url)?"notmodified":"success";var p;if(e==="success")try{f=c.httpdata(w,b.datatype,b)}catch(q){e="parsererror";p=q}if(e==="success"||e==="notmodified")d|| c.handlesuccess(b,w,e,f);else c.handleerror(b,w,e,p);d||c.handlecomplete(b,w,e,f);m==="timeout"&&w.abort();if(b.async)w=null}};try{var g=w.abort;w.abort=function(){w&&function.prototype.call.call(g,w);l("abort")}}catch(i){}b.async&&b.timeout>0&&settimeout(function(){w&&!j&&l("timeout")},b.timeout);try{w.send(l||b.data==null?null:b.data)}catch(n){c.handleerror(b,w,null,n);c.handlecomplete(b,w,e,f)}b.async||l();return w}},param:function(a,b){var d=[],e=function(h,l){l=c.isfunction(l)?l():l;d[d.length]= encodeuricomponent(h)+"="+encodeuricomponent(l)};if(b===b)b=c.ajaxsettings.traditional;if(c.isarray(a)||a.jquery)c.each(a,function(){e(this.name,this.value)});else for(var f in a)da(f,a[f],b,e);return d.join("&").replace(tb,"+")}});c.extend({active:0,lastmodified:{},etag:{},handleerror:function(a,b,d,e){a.error&&a.error.call(a.context,b,d,e);a.global&&c.triggerglobal(a,"ajaxerror",[b,a,e])},handlesuccess:function(a,b,d,e){a.success&&a.success.call(a.context,e,d,b);a.global&&c.triggerglobal(a,"ajaxsuccess", [b,a])},handlecomplete:function(a,b,d){a.complete&&a.complete.call(a.context,b,d);a.global&&c.triggerglobal(a,"ajaxcomplete",[b,a]);a.global&&c.active--===1&&c.event.trigger("ajaxstop")},triggerglobal:function(a,b,d){(a.context&&a.context.url==null?c(a.context):c.event).trigger(b,d)},httpsuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223}catch(b){}return false},httpnotmodified:function(a,b){var d=a.getresponseheader("last-modified"), e=a.getresponseheader("etag");if(d)c.lastmodified[b]=d;if(e)c.etag[b]=e;return a.status===304},httpdata:function(a,b,d){var e=a.getresponseheader("content-type")||"",f=b==="xml"||!b&&e.indexof("xml")>=0;a=f?a.responsexml:a.responsetext;f&&a.documentelement.nodename==="parsererror"&&c.error("parsererror");if(d&&d.datafilter)a=d.datafilter(a,b);if(typeof a==="string")if(b==="json"||!b&&e.indexof("json")>=0)a=c.parsejson(a);else if(b==="script"||!b&&e.indexof("javascript")>=0)c.globaleval(a);return a}}); if(e.activexobject)c.ajaxsettings.xhr=function(){if(e.location.protocol!=="file:")try{return new e.xmlhttprequest}catch(a){}try{return new e.activexobject("microsoft.xmlhttp")}catch(b){}};c.support.ajax=!!c.ajaxsettings.xhr();var ea={},vb=/^(?:toggle|show|hide)$/,wb=/^([+\-]=)?([\d+.\-]+)(.*)$/,ba,pa=[["height","margintop","marginbottom","paddingtop","paddingbottom"],["width","marginleft","marginright","paddingleft","paddingright"],["opacity"]];c.fn.extend({show:function(a,b,d){if(a||a===0)return this.animate(s("show", 3),a,b,d);else{d=0;for(var e=this.length;d=0;e--)if(d[e].elem===this){b&&d[e](true);d.splice(e,1)}});b||this.dequeue();return this}});c.each({slidedown:s("show",1),slideup:s("hide",1),slidetoggle:s("toggle",1),fadein:{opacity:"show"},fadeout:{opacity:"hide"},fadetoggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(d,e,f){return this.animate(b, d,e,f)}});c.extend({speed:function(a,b,d){var e=a&&typeof a==="object"?c.extend({},a):{complete:d||!d&&b||c.isfunction(a)&&a,duration:a,easing:d&&b||b&&!c.isfunction(b)&&b};e.duration=c.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in c.fx.speeds?c.fx.speeds[e.duration]:c.fx.speeds._default;e.old=e.complete;e.complete=function(){e.queue!==false&&c(this).dequeue();c.isfunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,d,e){return d+e*a},swing:function(a,b,d,e){return(-math.cos(a* math.pi)/2+0.5)*e+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a=parsefloat(c.css(this.elem,this.prop));return a&&a>-1e4?a:0},custom:function(a,b,d){function e(l){return f.step(l)} var f=this,h=c.fx;this.starttime=c.now();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;e.elem=this.elem;if(e()&&c.timers.push(e)&&!ba)ba=setinterval(h.tick,h.interval)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true; this.custom(this.cur(),0)},step:function(a){var b=c.now(),d=true;if(a||b>=this.options.duration+this.starttime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curanim[this.prop]=true;for(var e in this.options.curanim)if(this.options.curanim[e]!==true)d=false;if(d){if(this.options.overflow!=null&&!c.support.shrinkwrapblocks){var f=this.elem,h=this.options;c.each(["","x","y"],function(k,o){f.style["overflow"+o]=h.overflow[k]})}this.options.hide&&c(this.elem).hide();if(this.options.hide|| this.options.show)for(var l in this.options.curanim)c.style(this.elem,l,this.options.orig[l]);this.options.complete.call(this.elem)}return false}else{a=b-this.starttime;this.state=a/this.options.duration;b=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialeasing&&this.options.specialeasing[this.prop]||b](this.state,a,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a= c.timers,b=0;b-1;e={};var x={};if(o)x=f.position();l=o?x.top:parseint(l,10)||0;k=o?x.left:parseint(k,10)||0;if(c.isfunction(b))b=b.call(a,d,h);if(b.top!=null)e.top=b.top-h.top+l;if(b.left!=null)e.left=b.left-h.left+k;"using"in b?b.using.call(a, e):f.css(e)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetparent(),d=this.offset(),e=ia.test(b[0].nodename)?{top:0,left:0}:b.offset();d.top-=parsefloat(c.css(a,"margintop"))||0;d.left-=parsefloat(c.css(a,"marginleft"))||0;e.top+=parsefloat(c.css(b[0],"bordertopwidth"))||0;e.left+=parsefloat(c.css(b[0],"borderleftwidth"))||0;return{top:d.top-e.top,left:d.left-e.left}},offsetparent:function(){return this.map(function(){for(var a=this.offsetparent||t.body;a&&!ia.test(a.nodename)&& c.css(a,"position")==="static";)a=a.offsetparent;return a})}});c.each(["left","top"],function(a,b){var d="scroll"+b;c.fn[d]=function(e){var f=this[0],h;if(!f)return null;if(e!==b)return this.each(function(){if(h=fa(this))h.scrollto(!a?e:c(h).scrollleft(),a?e:c(h).scrolltop());else this[d]=e});else return(h=fa(f))?"pagexoffset"in h?h[a?"pageyoffset":"pagexoffset"]:c.support.boxmodel&&h.document.documentelement[d]||h.document.body[d]:f[d]}});c.each(["height","width"],function(a,b){var d=b.tolowercase(); c.fn["inner"+b]=function(){return this[0]?parsefloat(c.css(this[0],d,"padding")):null};c.fn["outer"+b]=function(e){return this[0]?parsefloat(c.css(this[0],d,e?"margin":"border")):null};c.fn[d]=function(e){var f=this[0];if(!f)return e==null?null:this;if(c.isfunction(e))return this.each(function(l){var k=c(this);k[d](e.call(this,l,k[d]()))});if(c.iswindow(f))return f.document.compatmode==="css1compat"&&f.document.documentelement["client"+b]||f.document.body["client"+b];else if(f.nodetype===9)return math.max(f.documentelement["client"+ b],f.body["scroll"+b],f.documentelement["scroll"+b],f.body["offset"+b],f.documentelement["offset"+b]);else if(e===b){f=c.css(f,d);var h=parsefloat(f);return c.isnan(h)?f:h}else return this.css(d,typeof e==="string"?e:e+"px")}})})(window);