var login=function() { login.initializeBase(this); this._timeout = 0; this._userContext = null; this._succeeded = null; this._failed = null; } login.prototype={ _get_path:function() { var p = this.get_path(); if (p) return p; else return login._staticInstance.get_path();}, sp_newCheckAcct:function(Acct,succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'sp_newCheckAcct',false,{Acct:Acct},succeededCallback,failedCallback,userContext); }, send_smsCode:function(imagecode,phone,succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'send_smsCode',false,{imagecode:imagecode,phone:phone},succeededCallback,failedCallback,userContext); }, send_smsCodesp:function(imagecode,phone,code,isphone,succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'send_smsCodesp',false,{imagecode:imagecode,phone:phone,code:code,isphone:isphone},succeededCallback,failedCallback,userContext); }, sp_login:function(AccountID,UserAccount,password,RememberPassword,succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'sp_login',false,{AccountID:AccountID,UserAccount:UserAccount,password:password,RememberPassword:RememberPassword},succeededCallback,failedCallback,userContext); }, sp_checkAcct:function(Acct,succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'sp_checkAcct',false,{Acct:Acct},succeededCallback,failedCallback,userContext); }, sp_Query_UserInfoByUserAccount:function(Acct,loc,succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'sp_Query_UserInfoByUserAccount',false,{Acct:Acct,loc:loc},succeededCallback,failedCallback,userContext); }} login.registerClass('login',Sys.Net.WebServiceProxy); login._staticInstance = new login(); login.set_path = function(value) { login._staticInstance.set_path(value); } login.get_path = function() { return login._staticInstance.get_path(); } login.set_timeout = function(value) { login._staticInstance.set_timeout(value); } login.get_timeout = function() { return login._staticInstance.get_timeout(); } login.set_defaultUserContext = function(value) { login._staticInstance.set_defaultUserContext(value); } login.get_defaultUserContext = function() { return login._staticInstance.get_defaultUserContext(); } login.set_defaultSucceededCallback = function(value) { login._staticInstance.set_defaultSucceededCallback(value); } login.get_defaultSucceededCallback = function() { return login._staticInstance.get_defaultSucceededCallback(); } login.set_defaultFailedCallback = function(value) { login._staticInstance.set_defaultFailedCallback(value); } login.get_defaultFailedCallback = function() { return login._staticInstance.get_defaultFailedCallback(); } login.set_enableJsonp = function(value) { login._staticInstance.set_enableJsonp(value); } login.get_enableJsonp = function() { return login._staticInstance.get_enableJsonp(); } login.set_jsonpCallbackParameter = function(value) { login._staticInstance.set_jsonpCallbackParameter(value); } login.get_jsonpCallbackParameter = function() { return login._staticInstance.get_jsonpCallbackParameter(); } login.set_path("/webService/login.asmx"); login.sp_newCheckAcct= function(Acct,onSuccess,onFailed,userContext) {login._staticInstance.sp_newCheckAcct(Acct,onSuccess,onFailed,userContext); } login.send_smsCode= function(imagecode,phone,onSuccess,onFailed,userContext) {login._staticInstance.send_smsCode(imagecode,phone,onSuccess,onFailed,userContext); } login.send_smsCodesp= function(imagecode,phone,code,isphone,onSuccess,onFailed,userContext) {login._staticInstance.send_smsCodesp(imagecode,phone,code,isphone,onSuccess,onFailed,userContext); } login.sp_login= function(AccountID,UserAccount,password,RememberPassword,onSuccess,onFailed,userContext) {login._staticInstance.sp_login(AccountID,UserAccount,password,RememberPassword,onSuccess,onFailed,userContext); } login.sp_checkAcct= function(Acct,onSuccess,onFailed,userContext) {login._staticInstance.sp_checkAcct(Acct,onSuccess,onFailed,userContext); } login.sp_Query_UserInfoByUserAccount= function(Acct,loc,onSuccess,onFailed,userContext) {login._staticInstance.sp_Query_UserInfoByUserAccount(Acct,loc,onSuccess,onFailed,userContext); }