// cached javascript var UserRegister = { CheckIsPersonUser:function(userName,callback,context){return new ajax_request(this.url + '?_method=CheckIsPersonUser&_session=no','userName=' + enc(userName),callback, context);}, CheckIsCompanyUser:function(ControlValue,callback,context){return new ajax_request(this.url + '?_method=CheckIsCompanyUser&_session=no','ControlValue=' + enc(ControlValue),callback, context);}, CheckIsCompanyName:function(ControlValue,callback,context){return new ajax_request(this.url + '?_method=CheckIsCompanyName&_session=no','ControlValue=' + enc(ControlValue),callback, context);}, CheckIsNewsName:function(ControlValue,callback,context){return new ajax_request(this.url + '?_method=CheckIsNewsName&_session=no','ControlValue=' + enc(ControlValue),callback, context);}, CheckEmail:function(ControlValue,callback,context){return new ajax_request(this.url + '?_method=CheckEmail&_session=no','ControlValue=' + enc(ControlValue),callback, context);}, CheckIsHidden:function(userName,callback,context){return new ajax_request(this.url + '?_method=CheckIsHidden&_session=no','userName=' + enc(userName),callback, context);}, CheckValidCode:function(ControlValue,callback,context){return new ajax_request(this.url + '?_method=CheckValidCode&_session=rw','ControlValue=' + enc(ControlValue),callback, context);}, MemberLoginCheck:function(HRUserName,HRPassWord,callback,context){return new ajax_request(this.url + '?_method=MemberLoginCheck&_session=no','HRUserName=' + enc(HRUserName)+ '\r\nHRPassWord=' + enc(HRPassWord),callback, context);}, SysLoginCheck:function(HRUserName,HRPassWord,callback,context){return new ajax_request(this.url + '?_method=SysLoginCheck&_session=no','HRUserName=' + enc(HRUserName)+ '\r\nHRPassWord=' + enc(HRPassWord),callback, context);}, HashCryptString:function(strText,method,callback,context){return new ajax_request(this.url + '?_method=HashCryptString&_session=no','strText=' + enc(strText)+ '\r\nmethod=' + enc(method),callback, context);}, ExecuteProcedure:function(ProcedureName,Params,callback,context){return new ajax_request(this.url + '?_method=ExecuteProcedure&_session=no','ProcedureName=' + enc(ProcedureName)+ '\r\nParams=' + enc(Params),callback, context);}, GetQuestion:function(ControlValue,callback,context){return new ajax_request(this.url + '?_method=GetQuestion&_session=no','ControlValue=' + enc(ControlValue),callback, context);}, GetResult:function(ControlValue,callback,context){return new ajax_request(this.url + '?_method=GetResult&_session=no','ControlValue=' + enc(ControlValue),callback, context);}, UpdatePass:function(UserName,newPassword,callback,context){return new ajax_request(this.url + '?_method=UpdatePass&_session=no','UserName=' + enc(UserName)+ '\r\nnewPassword=' + enc(newPassword),callback, context);}, SavePMessage:function(Infor,callback,context){return new ajax_request(this.url + '?_method=SavePMessage&_session=rw','Infor=' + json_from_object(Infor),callback, context);}, NewsRights:function(UserName,NewsId,callback,context){return new ajax_request(this.url + '?_method=NewsRights&_session=rw','UserName=' + enc(UserName)+ '\r\nNewsId=' + enc(NewsId),callback, context);}, SavePl:function(Infor,callback,context){return new ajax_request(this.url + '?_method=SavePl&_session=rw','Infor=' + json_from_object(Infor),callback, context);}, url:'/ajax/HRb2b_Web.HRb2b_Base.SystemAjax.UserRegister,HRb2b_Web.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);}