var Jason = { re_classtwo:function(fatherID,callback,context){return new ajax_request(this.url + '?_method=re_classtwo&_session=rw','fatherID=' + enc(fatherID),callback, context);}, re_classthree:function(fatherID,callback,context){return new ajax_request(this.url + '?_method=re_classthree&_session=rw','fatherID=' + enc(fatherID),callback, context);}, add_buy:function(title,classID,cls1,cls2,cls3,begintime,endtime,detail,company,address,linkman,postcode,phone,fax,qq,msn,remarks,number,callback,context){return new ajax_request(this.url + '?_method=add_buy&_session=rw','title=' + enc(title)+ '\r\nclassID=' + enc(classID)+ '\r\ncls1=' + enc(cls1)+ '\r\ncls2=' + enc(cls2)+ '\r\ncls3=' + enc(cls3)+ '\r\nbegintime=' + enc(begintime)+ '\r\nendtime=' + enc(endtime)+ '\r\ndetail=' + enc(detail)+ '\r\ncompany=' + enc(company)+ '\r\naddress=' + enc(address)+ '\r\nlinkman=' + enc(linkman)+ '\r\npostcode=' + enc(postcode)+ '\r\nphone=' + enc(phone)+ '\r\nfax=' + enc(fax)+ '\r\nqq=' + enc(qq)+ '\r\nmsn=' + enc(msn)+ '\r\nremarks=' + enc(remarks)+ '\r\nnumber=' + enc(number),callback, context);}, mod_buy:function(id,title,classID,cls1,cls2,cls3,begintime,endtime,detail,company,address,linkman,postcode,phone,fax,qq,msn,remarks,number,callback,context){return new ajax_request(this.url + '?_method=mod_buy&_session=rw','id=' + enc(id)+ '\r\ntitle=' + enc(title)+ '\r\nclassID=' + enc(classID)+ '\r\ncls1=' + enc(cls1)+ '\r\ncls2=' + enc(cls2)+ '\r\ncls3=' + enc(cls3)+ '\r\nbegintime=' + enc(begintime)+ '\r\nendtime=' + enc(endtime)+ '\r\ndetail=' + enc(detail)+ '\r\ncompany=' + enc(company)+ '\r\naddress=' + enc(address)+ '\r\nlinkman=' + enc(linkman)+ '\r\npostcode=' + enc(postcode)+ '\r\nphone=' + enc(phone)+ '\r\nfax=' + enc(fax)+ '\r\nqq=' + enc(qq)+ '\r\nmsn=' + enc(msn)+ '\r\nremarks=' + enc(remarks)+ '\r\nnumber=' + enc(number),callback, context);}, del_buy:function(ids,callback,context){return new ajax_request(this.url + '?_method=del_buy&_session=rw','ids=' + enc(ids),callback, context);}, buy_repeatfa:function(ids,callback,context){return new ajax_request(this.url + '?_method=buy_repeatfa&_session=r','ids=' + enc(ids),callback, context);}, UpdateComm:function(Ids,callback,context){return new ajax_request(this.url + '?_method=UpdateComm&_session=r','Ids=' + enc(Ids),callback, context);}, ReSClientClass:function(id,callback,context){return new ajax_request(this.url + '?_method=ReSClientClass&_session=r','id=' + enc(id),callback, context);}, ReProducts:function(fClientClassID,sClientClassID,keys,callback,context){return new ajax_request(this.url + '?_method=ReProducts&_session=r','fClientClassID=' + enc(fClientClassID)+ '\r\nsClientClassID=' + enc(sClientClassID)+ '\r\nkeys=' + enc(keys),callback, context);}, insertCompanyChannel:function(ids,callback,context){return new ajax_request(this.url + '?_method=insertCompanyChannel&_session=r','ids=' + enc(ids),callback, context);}, UpdateCompany:function(companyName,logoPic,logoDomain,locationPic,locationPicDomain,license,licenseDomain,mainProduct,provinceId,business,introduction,address,postCode,linkMan,posts,telphone,fax,mobilePhone,qq,email,ReserveEmail,companyWebsite,msn,branchAddress,typeid,callback,context){return new ajax_request(this.url + '?_method=UpdateCompany&_session=rw','companyName=' + enc(companyName)+ '\r\nlogoPic=' + enc(logoPic)+ '\r\nlogoDomain=' + enc(logoDomain)+ '\r\nlocationPic=' + enc(locationPic)+ '\r\nlocationPicDomain=' + enc(locationPicDomain)+ '\r\nlicense=' + enc(license)+ '\r\nlicenseDomain=' + enc(licenseDomain)+ '\r\nmainProduct=' + enc(mainProduct)+ '\r\nprovinceId=' + enc(provinceId)+ '\r\nbusiness=' + enc(business)+ '\r\nintroduction=' + enc(introduction)+ '\r\naddress=' + enc(address)+ '\r\npostCode=' + enc(postCode)+ '\r\nlinkMan=' + enc(linkMan)+ '\r\nposts=' + enc(posts)+ '\r\ntelphone=' + enc(telphone)+ '\r\nfax=' + enc(fax)+ '\r\nmobilePhone=' + enc(mobilePhone)+ '\r\nqq=' + enc(qq)+ '\r\nemail=' + enc(email)+ '\r\nReserveEmail=' + enc(ReserveEmail)+ '\r\ncompanyWebsite=' + enc(companyWebsite)+ '\r\nmsn=' + enc(msn)+ '\r\nbranchAddress=' + enc(branchAddress)+ '\r\ntypeid=' + enc(typeid),callback, context);}, InsertCompanyChannel:function(channelIDs,callback,context){return new ajax_request(this.url + '?_method=InsertCompanyChannel&_session=r','channelIDs=' + enc(channelIDs),callback, context);}, Sysinfo:function(callback,context){return new ajax_request(this.url + '?_method=Sysinfo&_session=r','',callback, context);}, url:'/ajax/UserManage.Jason,UserManage.ashx' } function HtmlControl(id) { var ele = null; if(typeof(id) == 'object') ele = id; else ele = document.getElementById(id); if(ele == null) return null; var _o = ele.cloneNode(true); var _op = document.createElement('SPAN'); _op.appendChild(_o); this._source = _op.innerHTML; } HtmlControl.prototype.toString = function(){ return this._source; } function HtmlControlUpdate(func, parentId) { var f,i,ff,fa=''; var ele = document.getElementById(parentId); if(ele == null) return; var args = []; for(i=0; i 2) for(i=2; i9999||year<1970||month<1||month>12||day<0||day>31||hours<0||hours>23||minutes<0||minutes>59||seconds<0||seconds>59)throw("ArgumentException");this.Year = year;this.Month = month;this.Day = day;this.Hours = hours;this.Minutes = minutes;this.Seconds = seconds;} DateTime.prototype.toString = function(){return digi(this.Year,4) + digi(this.Month,2) + digi(this.Day,2) + digi(this.Hours,2) + digi(this.Minutes,2) + digi(this.Seconds,2);} function TimeSpan(){this.Days=0;this.Hours=0;this.Minutes=0;this.Seconds=0;this.Milliseconds=0;} TimeSpan.prototype.toString = function(){return this.Days+'.'+this.Hours+':'+this.Minutes+':'+this.Seconds+'.'+this.Milliseconds;} function _getTable(n,e){for(var i=0; i