var UserCheck=function() {
UserCheck.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
UserCheck.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return UserCheck._staticInstance.get_path();},
GetRecommendedUsername:function(usernameToTry,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRecommendedUsername',false,{usernameToTry:usernameToTry},succeededCallback,failedCallback,userContext); },
CheckIfEmailIsBlacklisted:function(email,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CheckIfEmailIsBlacklisted',false,{email:email},succeededCallback,failedCallback,userContext); },
DoesUserNameExist:function(userName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DoesUserNameExist',false,{userName:userName},succeededCallback,failedCallback,userContext); },
CheckIfInvalidUsernameForSignup:function(userName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CheckIfInvalidUsernameForSignup',false,{userName:userName},succeededCallback,failedCallback,userContext); },
GetSocialNetworkUserName:function(socialNetworkTypeId,sessionData,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSocialNetworkUserName',false,{socialNetworkTypeId:socialNetworkTypeId,sessionData:sessionData},succeededCallback,failedCallback,userContext); },
UpdatePersonalInfo:function(genderId,birthYear,birthMonth,birthDay,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdatePersonalInfo',false,{genderId:genderId,birthYear:birthYear,birthMonth:birthMonth,birthDay:birthDay},succeededCallback,failedCallback,userContext); }}
UserCheck.registerClass('UserCheck',Sys.Net.WebServiceProxy);
UserCheck._staticInstance = new UserCheck();
UserCheck.set_path = function(value) { UserCheck._staticInstance.set_path(value); }
UserCheck.get_path = function() { return UserCheck._staticInstance.get_path(); }
UserCheck.set_timeout = function(value) { UserCheck._staticInstance.set_timeout(value); }
UserCheck.get_timeout = function() { return UserCheck._staticInstance.get_timeout(); }
UserCheck.set_defaultUserContext = function(value) { UserCheck._staticInstance.set_defaultUserContext(value); }
UserCheck.get_defaultUserContext = function() { return UserCheck._staticInstance.get_defaultUserContext(); }
UserCheck.set_defaultSucceededCallback = function(value) { UserCheck._staticInstance.set_defaultSucceededCallback(value); }
UserCheck.get_defaultSucceededCallback = function() { return UserCheck._staticInstance.get_defaultSucceededCallback(); }
UserCheck.set_defaultFailedCallback = function(value) { UserCheck._staticInstance.set_defaultFailedCallback(value); }
UserCheck.get_defaultFailedCallback = function() { return UserCheck._staticInstance.get_defaultFailedCallback(); }
UserCheck.set_enableJsonp = function(value) { UserCheck._staticInstance.set_enableJsonp(value); }
UserCheck.get_enableJsonp = function() { return UserCheck._staticInstance.get_enableJsonp(); }
UserCheck.set_jsonpCallbackParameter = function(value) { UserCheck._staticInstance.set_jsonpCallbackParameter(value); }
UserCheck.get_jsonpCallbackParameter = function() { return UserCheck._staticInstance.get_jsonpCallbackParameter(); }
UserCheck.set_path("/Services/UserCheck.asmx");
UserCheck.GetRecommendedUsername= function(usernameToTry,onSuccess,onFailed,userContext) {UserCheck._staticInstance.GetRecommendedUsername(usernameToTry,onSuccess,onFailed,userContext); }
UserCheck.CheckIfEmailIsBlacklisted= function(email,onSuccess,onFailed,userContext) {UserCheck._staticInstance.CheckIfEmailIsBlacklisted(email,onSuccess,onFailed,userContext); }
UserCheck.DoesUserNameExist= function(userName,onSuccess,onFailed,userContext) {UserCheck._staticInstance.DoesUserNameExist(userName,onSuccess,onFailed,userContext); }
UserCheck.CheckIfInvalidUsernameForSignup= function(userName,onSuccess,onFailed,userContext) {UserCheck._staticInstance.CheckIfInvalidUsernameForSignup(userName,onSuccess,onFailed,userContext); }
UserCheck.GetSocialNetworkUserName= function(socialNetworkTypeId,sessionData,onSuccess,onFailed,userContext) {UserCheck._staticInstance.GetSocialNetworkUserName(socialNetworkTypeId,sessionData,onSuccess,onFailed,userContext); }
UserCheck.UpdatePersonalInfo= function(genderId,birthYear,birthMonth,birthDay,onSuccess,onFailed,userContext) {UserCheck._staticInstance.UpdatePersonalInfo(genderId,birthYear,birthMonth,birthDay,onSuccess,onFailed,userContext); }
