var AuthenticationServices=function() {
AuthenticationServices.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AuthenticationServices.prototype={
InnerLogon:function(lm,succeededCallback, failedCallback, userContext) {
return this._invoke(AuthenticationServices.get_path(), 'InnerLogon',false,{lm:lm},succeededCallback,failedCallback,userContext); },
Logon:function(lm,succeededCallback, failedCallback, userContext) {
return this._invoke(AuthenticationServices.get_path(), 'Logon',false,{lm:lm},succeededCallback,failedCallback,userContext); }}
AuthenticationServices.registerClass('AuthenticationServices',Sys.Net.WebServiceProxy);
AuthenticationServices._staticInstance = new AuthenticationServices();
AuthenticationServices.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; AuthenticationServices._staticInstance._path = value; }
AuthenticationServices.get_path = function() { return AuthenticationServices._staticInstance._path; }
AuthenticationServices.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); }
AuthenticationServices._staticInstance._timeout = value; }
AuthenticationServices.get_timeout = function() { 
return AuthenticationServices._staticInstance._timeout; }
AuthenticationServices.set_defaultUserContext = function(value) { 
AuthenticationServices._staticInstance._userContext = value; }
AuthenticationServices.get_defaultUserContext = function() { 
return AuthenticationServices._staticInstance._userContext; }
AuthenticationServices.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; AuthenticationServices._staticInstance._succeeded = value; }
AuthenticationServices.get_defaultSucceededCallback = function() { 
return AuthenticationServices._staticInstance._succeeded; }
AuthenticationServices.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; AuthenticationServices._staticInstance._failed = value; }
AuthenticationServices.get_defaultFailedCallback = function() { 
return AuthenticationServices._staticInstance._failed; }
AuthenticationServices.set_path("/TopResources/Ctrl/AuthenticationServices.asmx");
AuthenticationServices.InnerLogon= function(lm,onSuccess,onFailed,userContext) {AuthenticationServices._staticInstance.InnerLogon(lm,onSuccess,onFailed,userContext); }
AuthenticationServices.Logon= function(lm,onSuccess,onFailed,userContext) {AuthenticationServices._staticInstance.Logon(lm,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(LogonMessage) === 'undefined') {
var LogonMessage=gtc("LogonMessage");
LogonMessage.registerClass('LogonMessage');
}
if (typeof(LogonResult) === 'undefined') {
var LogonResult=gtc("LogonResult");
LogonResult.registerClass('LogonResult');
}
