var WebITUser=function() {
WebITUser.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WebITUser.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WebITUser._staticInstance.get_path();},
Login:function(accounts,password,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Login',false,{accounts:accounts,password:password},succeededCallback,failedCallback,userContext); },
CheckAccounts:function(accounts,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CheckAccounts',false,{accounts:accounts},succeededCallback,failedCallback,userContext); },
RegistAccounts:function(accounts,password,name,company,address,postalcode,phoneNumber,email,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RegistAccounts',false,{accounts:accounts,password:password,name:name,company:company,address:address,postalcode:postalcode,phoneNumber:phoneNumber,email:email},succeededCallback,failedCallback,userContext); },
UpdatePassword:function(passwordOld,password,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdatePassword',false,{passwordOld:passwordOld,password:password},succeededCallback,failedCallback,userContext); },
UpdatePassword2:function(userId,password,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdatePassword2',false,{userId:userId,password:password},succeededCallback,failedCallback,userContext); }}
WebITUser.registerClass('WebITUser',Sys.Net.WebServiceProxy);
WebITUser._staticInstance = new WebITUser();
WebITUser.set_path = function(value) { WebITUser._staticInstance.set_path(value); }
WebITUser.get_path = function() { return WebITUser._staticInstance.get_path(); }
WebITUser.set_timeout = function(value) { WebITUser._staticInstance.set_timeout(value); }
WebITUser.get_timeout = function() { return WebITUser._staticInstance.get_timeout(); }
WebITUser.set_defaultUserContext = function(value) { WebITUser._staticInstance.set_defaultUserContext(value); }
WebITUser.get_defaultUserContext = function() { return WebITUser._staticInstance.get_defaultUserContext(); }
WebITUser.set_defaultSucceededCallback = function(value) { WebITUser._staticInstance.set_defaultSucceededCallback(value); }
WebITUser.get_defaultSucceededCallback = function() { return WebITUser._staticInstance.get_defaultSucceededCallback(); }
WebITUser.set_defaultFailedCallback = function(value) { WebITUser._staticInstance.set_defaultFailedCallback(value); }
WebITUser.get_defaultFailedCallback = function() { return WebITUser._staticInstance.get_defaultFailedCallback(); }
WebITUser.set_path("/WebService/WebITUser.asmx");
WebITUser.Login= function(accounts,password,onSuccess,onFailed,userContext) {WebITUser._staticInstance.Login(accounts,password,onSuccess,onFailed,userContext); }
WebITUser.CheckAccounts= function(accounts,onSuccess,onFailed,userContext) {WebITUser._staticInstance.CheckAccounts(accounts,onSuccess,onFailed,userContext); }
WebITUser.RegistAccounts= function(accounts,password,name,company,address,postalcode,phoneNumber,email,onSuccess,onFailed,userContext) {WebITUser._staticInstance.RegistAccounts(accounts,password,name,company,address,postalcode,phoneNumber,email,onSuccess,onFailed,userContext); }
WebITUser.UpdatePassword= function(passwordOld,password,onSuccess,onFailed,userContext) {WebITUser._staticInstance.UpdatePassword(passwordOld,password,onSuccess,onFailed,userContext); }
WebITUser.UpdatePassword2= function(userId,password,onSuccess,onFailed,userContext) {WebITUser._staticInstance.UpdatePassword2(userId,password,onSuccess,onFailed,userContext); }

