var LoginService=function() {
LoginService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
LoginService.prototype={
LoginCP:function(uid,pwd,succeededCallback, failedCallback, userContext) {
return this._invoke(LoginService.get_path(), 'LoginCP',false,{uid:uid,pwd:pwd},succeededCallback,failedCallback,userContext); }}
LoginService.registerClass('LoginService',Sys.Net.WebServiceProxy);
LoginService._staticInstance = new LoginService();
LoginService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; LoginService._staticInstance._path = value; }
LoginService.get_path = function() { return LoginService._staticInstance._path; }
LoginService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
LoginService._staticInstance._timeout = value; }
LoginService.get_timeout = function() { 
return LoginService._staticInstance._timeout; }
LoginService.set_defaultUserContext = function(value) { 
LoginService._staticInstance._userContext = value; }
LoginService.get_defaultUserContext = function() { 
return LoginService._staticInstance._userContext; }
LoginService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; LoginService._staticInstance._succeeded = value; }
LoginService.get_defaultSucceededCallback = function() { 
return LoginService._staticInstance._succeeded; }
LoginService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; LoginService._staticInstance._failed = value; }
LoginService.get_defaultFailedCallback = function() { 
return LoginService._staticInstance._failed; }
LoginService.set_path("/LoginService.asmx");
LoginService.LoginCP= function(uid,pwd,onSuccess,onFailed,userContext) {LoginService._staticInstance.LoginCP(uid,pwd,onSuccess,onFailed,userContext); }

