// 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);}, 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);}, HRb2bXY:function(Infor,callback,context){return new ajax_request(this.url + '?_method=HRb2bXY&_session=rw','Infor=' + json_from_object(Infor),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);}, url:'/ajax/HRb2b_Web.HRb2b_Base.SystemAjax.UserRegister,HRb2b_Web.ashx' } 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 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; i