HtmlToText
/g,"")).find(selector):res.responsetext);if(callback)self.each(callback,[res.responsetext,status,res])}});return this},serialize:function(){return jquery.param(this.serializearray())},serializearray:function(){return this.map(function(){return this.elements?jquery.makearray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodename)||/text|hidden|password/i.test(this.type))}).map(function(i,elem){var val=jquery(this).val();return val==null?null:jquery.isarray(val)?jquery.map(val,function(val,i){return{name:elem.name,value:val}}):{name:elem.name,value:val}}).get()}});jquery.each("ajaxstart,ajaxstop,ajaxcomplete,ajaxerror,ajaxsuccess,ajaxsend".split(","),function(i,o){jquery.fn[o]=function(f){return this.bind(o,f)}});var jsc=now();jquery.extend({get:function(url,data,callback,type){if(jquery.isfunction(data)){callback=data;data=null}return jquery.ajax({type:"get",url:url,data:data,success:callback,datatype:type})},getscript:function(url,callback){return jquery.get(url,null,callback,"script")},getjson:function(url,data,callback){return jquery.get(url,data,callback,"json")},post:function(url,data,callback,type){if(jquery.isfunction(data)){callback=data;data={}}return jquery.ajax({type:"post",url:url,data:data,success:callback,datatype:type})},ajaxsetup:function(settings){jquery.extend(jquery.ajaxsettings,settings)},ajaxsettings:{url:location.href,global:true,type:"get",contenttype:"application/x-www-form-urlencoded",processdata:true,async:true,xhr:function(){return window.activexobject?new activexobject("microsoft.xmlhttp"):new xmlhttprequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastmodified:{},ajax:function(s){s=jquery.extend(true,s,jquery.extend(true,{},jquery.ajaxsettings,s));var jsonp,jsre=/=\?(&|$)/g,status,data,type=s.type.touppercase();if(s.data&&s.processdata&&typeof s.data!=="string")s.data=jquery.param(s.data);if(s.datatype=="jsonp"){if(type=="get"){if(!s.url.match(jsre))s.url+=(s.url.match(/\?/)?"&":"?")+(s.jsonp||"callback")+"=?"}else if(!s.data||!s.data.match(jsre))s.data=(s.data?s.data+"&":"")+(s.jsonp||"callback")+"=?";s.datatype="json"}if(s.datatype=="json"&&(s.data&&s.data.match(jsre)||s.url.match(jsre))){jsonp="jsonp"+jsc++;if(s.data)s.data=(s.data+"").replace(jsre,"="+jsonp+"$1");s.url=s.url.replace(jsre,"="+jsonp+"$1");s.datatype="script";window[jsonp]=function(tmp){data=tmp;success();complete();window[jsonp]=undefined;try{delete window[jsonp]}catch(e){}if(head)head.removechild(script)}}if(s.datatype=="script"&&s.cache==null)s.cache=false;if(s.cache===false&&type=="get"){var ts=now();var ret=s.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+ts+"$2");s.url=ret+((ret==s.url)?(s.url.match(/\?/)?"&":"?")+"_="+ts:"")}if(s.data&&type=="get"){s.url+=(s.url.match(/\?/)?"&":"?")+s.data;s.data=null}if(s.global&&!jquery.active++)jquery.event.trigger("ajaxstart");var parts=/^(\w+:)?\/\/([^\/?#]+)/.exec(s.url);if(s.datatype=="script"&&type=="get"&&parts&&(parts[1]&&parts[1]!=location.protocol||parts[2]!=location.host)){var head=document.getelementsbytagname("head")[0];var script=document.createelement("script");script.src=s.url;if(s.scriptcharset)script.charset=s.scriptcharset;if(!jsonp){var done=false;script.onload=script.onreadystatechange=function(){if(!done&&(!this.readystate||this.readystate=="loaded"||this.readystate=="complete")){done=true;success();complete();head.removechild(script)}}}head.appendchild(script);return undefined}var requestdone=false;var xhr=s.xhr();if(s.username)xhr.open(type,s.url,s.async,s.username,s.password);else xhr.open(type,s.url,s.async);try{if(s.data)xhr.setrequestheader("content-type",s.contenttype);if(s.ifmodified)xhr.setrequestheader("if-modified-since",jquery.lastmodified[s.url]||"thu, 01 jan 1970 00:00:00 gmt");xhr.setrequestheader("x-requested-with","xmlhttprequest");xhr.setrequestheader("accept",s.datatype&&s.accepts[s.datatype]?s.accepts[s.datatype]+", */*":s.accepts._default)}catch(e){}if(s.beforesend&&s.beforesend(xhr,s)===false){if(s.global&&!--jquery.active)jquery.event.trigger("ajaxstop");xhr.abort();return false}if(s.global)jquery.event.trigger("ajaxsend",[xhr,s]);var onreadystatechange=function(istimeout){if(xhr.readystate==0){if(ival){clearinterval(ival);ival=null;if(s.global&&!--jquery.active)jquery.event.trigger("ajaxstop")}}else if(!requestdone&&xhr&&(xhr.readystate==4||istimeout=="timeout")){requestdone=true;if(ival){clearinterval(ival);ival=null}status=istimeout=="timeout"?"timeout":!jquery.httpsuccess(xhr)?"error":s.ifmodified&&jquery.httpnotmodified(xhr,s.url)?"notmodified":"success";if(status=="success"){try{data=jquery.httpdata(xhr,s.datatype,s)}catch(e){status="parsererror"}}if(status=="success"){var modres;try{modres=xhr.getresponseheader("last-modified")}catch(e){}if(s.ifmodified&&modres)jquery.lastmodified[s.url]=modres;if(!jsonp)success()}else jquery.handleerror(s,xhr,status);complete();if(s.async)xhr=null}};if(s.async){var ival=setinterval(onreadystatechange,13);if(s.timeout 0)settimeout(function(){if(xhr){if(!requestdone)onreadystatechange("timeout");if(xhr)xhr.abort()}},s.timeout)}try{xhr.send(s.data)}catch(e){jquery.handleerror(s,xhr,null,e)}if(!s.async)onreadystatechange();function success(){if(s.success)s.success(data,status);if(s.global)jquery.event.trigger("ajaxsuccess",[xhr,s])}function complete(){if(s.complete)s.complete(xhr,status);if(s.global)jquery.event.trigger("ajaxcomplete",[xhr,s]);if(s.global&&!--jquery.active)jquery.event.trigger("ajaxstop")}return xhr},handleerror:function(s,xhr,status,e){if(s.error)s.error(xhr,status,e);if(s.global)jquery.event.trigger("ajaxerror",[xhr,s,e])},active:0,httpsuccess:function(xhr){try{return!xhr.status&&location.protocol=="file:"||(xhr.status =200&&xhr.status =0,data=xml?xhr.responsexml:xhr.responsetext;if(xml&&data.documentelement.tagname=="parsererror")throw"parsererror";if(s&&s.datafilter)data=s.datafilter(data,type);if(typeof data==="string"){if(type=="script")jquery.globaleval(data);if(type=="json")data=window["eval"]("("+data+")")}return data},param:function(a){var s=[];function add(key,value){s[s.length]=encodeuricomponent(key)+'='+encodeuricomponent(value)};if(jquery.isarray(a)||a.jquery)jquery.each(a,function(){add(this.name,this.value)});else for(var j in a)if(jquery.isarray(a[j]))jquery.each(a[j],function(){add(j,this)});else add(j,jquery.isfunction(a[j])?a[j]():a[j]);return s.join("&").replace(/%20/g,"+")}});var elemdisplay={},fxattrs=[["height","margintop","marginbottom","paddingtop","paddingbottom"],["width","marginleft","marginright","paddingleft","paddingright"],["opacity"]];function genfx(type,num){var obj={};jquery.each(fxattrs.concat.apply([],fxattrs.slice(0,num)),function(){obj[this]=type});return obj}jquery.fn.extend({show:function(speed,callback){if(speed){return this.animate(genfx("show",3),speed,callback)}else{for(var i=0,l=this.length;i ").appendto("body");display=elem.css("display");if(display==="none")display="block";elem.remove();elemdisplay[tagname]=display}this[i].style.display=jquery.data(this[i],"olddisplay",display)}}return this}},hide:function(speed,callback){if(speed){return this.animate(genfx("hide",3),speed,callback)}else{for(var i=0,l=this.length;i =0;i--)if(timers[i].elem==this){if(gotoend)timers[i](true);timers.splice(i,1)}});if(!gotoend)this.dequeue();return this}});jquery.each({slidedown:genfx("show",1),slideup:genfx("hide",1),slidetoggle:genfx("toggle",1),fadein:{opacity:"show"},fadeout:{opacity:"hide"}},function(name,props){jquery.fn[name]=function(speed,callback){return this.animate(props,speed,callback)}});jquery.extend({speed:function(speed,easing,fn){var opt=typeof speed==="object"?speed:{complete:fn||!fn&&easing||jquery.isfunction(speed)&&speed,duration:speed,easing:fn&&easing||easing&&!jquery.isfunction(easing)&&easing};opt.duration=jquery.fx.off?0:typeof opt.duration==="number"?op