Type.registerNamespace('ws');
ws.NewUser=function() {
ws.NewUser.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ws.NewUser.prototype={
CheckUserNameAndProfileURL:function(UserName,succeededCallback, failedCallback, userContext) {
return this._invoke(ws.NewUser.get_path(), 'CheckUserNameAndProfileURL',false,{UserName:UserName},succeededCallback,failedCallback,userContext); },
CheckUserName:function(UserName,succeededCallback, failedCallback, userContext) {
return this._invoke(ws.NewUser.get_path(), 'CheckUserName',false,{UserName:UserName},succeededCallback,failedCallback,userContext); },
CheckUserProfileURL:function(URL,succeededCallback, failedCallback, userContext) {
return this._invoke(ws.NewUser.get_path(), 'CheckUserProfileURL',false,{URL:URL},succeededCallback,failedCallback,userContext); },
CheckEmail:function(Email,succeededCallback, failedCallback, userContext) {
return this._invoke(ws.NewUser.get_path(), 'CheckEmail',false,{Email:Email},succeededCallback,failedCallback,userContext); }}
ws.NewUser.registerClass('ws.NewUser',Sys.Net.WebServiceProxy);
ws.NewUser._staticInstance = new ws.NewUser();
ws.NewUser.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; ws.NewUser._staticInstance._path = value; }
ws.NewUser.get_path = function() { return ws.NewUser._staticInstance._path; }
ws.NewUser.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); }
ws.NewUser._staticInstance._timeout = value; }
ws.NewUser.get_timeout = function() { 
return ws.NewUser._staticInstance._timeout; }
ws.NewUser.set_defaultUserContext = function(value) { 
ws.NewUser._staticInstance._userContext = value; }
ws.NewUser.get_defaultUserContext = function() { 
return ws.NewUser._staticInstance._userContext; }
ws.NewUser.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; ws.NewUser._staticInstance._succeeded = value; }
ws.NewUser.get_defaultSucceededCallback = function() { 
return ws.NewUser._staticInstance._succeeded; }
ws.NewUser.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; ws.NewUser._staticInstance._failed = value; }
ws.NewUser.get_defaultFailedCallback = function() { 
return ws.NewUser._staticInstance._failed; }
ws.NewUser.set_path("/Webservice/NewUser.asmx");
ws.NewUser.CheckUserNameAndProfileURL= function(UserName,onSuccess,onFailed,userContext) {ws.NewUser._staticInstance.CheckUserNameAndProfileURL(UserName,onSuccess,onFailed,userContext); }
ws.NewUser.CheckUserName= function(UserName,onSuccess,onFailed,userContext) {ws.NewUser._staticInstance.CheckUserName(UserName,onSuccess,onFailed,userContext); }
ws.NewUser.CheckUserProfileURL= function(URL,onSuccess,onFailed,userContext) {ws.NewUser._staticInstance.CheckUserProfileURL(URL,onSuccess,onFailed,userContext); }
ws.NewUser.CheckEmail= function(Email,onSuccess,onFailed,userContext) {ws.NewUser._staticInstance.CheckEmail(Email,onSuccess,onFailed,userContext); }
