var ProfileService=function() {
ProfileService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ProfileService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ProfileService._staticInstance.get_path();},
IsUsernameUnique:function(username,validateInGmCore,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'IsUsernameUnique',false,{username:username,validateInGmCore:validateInGmCore},succeededCallback,failedCallback,userContext); },
IsAliasAvailable:function(alias,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'IsAliasAvailable',false,{alias:alias},succeededCallback,failedCallback,userContext); },
IsEmailAvailable:function(email,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'IsEmailAvailable',false,{email:email},succeededCallback,failedCallback,userContext); },
GetBlockedCountry:function(username,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetBlockedCountry',false,{username:username},succeededCallback,failedCallback,userContext); }}
ProfileService.registerClass('ProfileService',Sys.Net.WebServiceProxy);
ProfileService._staticInstance = new ProfileService();
ProfileService.set_path = function(value) { ProfileService._staticInstance.set_path(value); }
ProfileService.get_path = function() { return ProfileService._staticInstance.get_path(); }
ProfileService.set_timeout = function(value) { ProfileService._staticInstance.set_timeout(value); }
ProfileService.get_timeout = function() { return ProfileService._staticInstance.get_timeout(); }
ProfileService.set_defaultUserContext = function(value) { ProfileService._staticInstance.set_defaultUserContext(value); }
ProfileService.get_defaultUserContext = function() { return ProfileService._staticInstance.get_defaultUserContext(); }
ProfileService.set_defaultSucceededCallback = function(value) { ProfileService._staticInstance.set_defaultSucceededCallback(value); }
ProfileService.get_defaultSucceededCallback = function() { return ProfileService._staticInstance.get_defaultSucceededCallback(); }
ProfileService.set_defaultFailedCallback = function(value) { ProfileService._staticInstance.set_defaultFailedCallback(value); }
ProfileService.get_defaultFailedCallback = function() { return ProfileService._staticInstance.get_defaultFailedCallback(); }
ProfileService.set_path("/opSys/ProfileService.asmx");
ProfileService.IsUsernameUnique= function(username,validateInGmCore,onSuccess,onFailed,userContext) {ProfileService._staticInstance.IsUsernameUnique(username,validateInGmCore,onSuccess,onFailed,userContext); }
ProfileService.IsAliasAvailable= function(alias,onSuccess,onFailed,userContext) {ProfileService._staticInstance.IsAliasAvailable(alias,onSuccess,onFailed,userContext); }
ProfileService.IsEmailAvailable= function(email,onSuccess,onFailed,userContext) {ProfileService._staticInstance.IsEmailAvailable(email,onSuccess,onFailed,userContext); }
ProfileService.GetBlockedCountry= function(username,onSuccess,onFailed,userContext) {ProfileService._staticInstance.GetBlockedCountry(username,onSuccess,onFailed,userContext); }

