var PersonRegisterService=function() {
PersonRegisterService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
PersonRegisterService.prototype={
IsUserNameExists:function(userName,succeededCallback, failedCallback, userContext) {
return this._invoke(PersonRegisterService.get_path(), 'IsUserNameExists',false,{userName:userName},succeededCallback,failedCallback,userContext); },
IsEmailExists:function(email,succeededCallback, failedCallback, userContext) {
return this._invoke(PersonRegisterService.get_path(), 'IsEmailExists',false,{email:email},succeededCallback,failedCallback,userContext); }}
PersonRegisterService.registerClass('PersonRegisterService',Sys.Net.WebServiceProxy);
PersonRegisterService._staticInstance = new PersonRegisterService();
PersonRegisterService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; PersonRegisterService._staticInstance._path = value; }
PersonRegisterService.get_path = function() { return PersonRegisterService._staticInstance._path; }
PersonRegisterService.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); }
PersonRegisterService._staticInstance._timeout = value; }
PersonRegisterService.get_timeout = function() { 
return PersonRegisterService._staticInstance._timeout; }
PersonRegisterService.set_defaultUserContext = function(value) { 
PersonRegisterService._staticInstance._userContext = value; }
PersonRegisterService.get_defaultUserContext = function() { 
return PersonRegisterService._staticInstance._userContext; }
PersonRegisterService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; PersonRegisterService._staticInstance._succeeded = value; }
PersonRegisterService.get_defaultSucceededCallback = function() { 
return PersonRegisterService._staticInstance._succeeded; }
PersonRegisterService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; PersonRegisterService._staticInstance._failed = value; }
PersonRegisterService.get_defaultFailedCallback = function() { 
return PersonRegisterService._staticInstance._failed; }
PersonRegisterService.set_path("/WebService/PersonRegisterService.asmx");
PersonRegisterService.IsUserNameExists= function(userName,onSuccess,onFailed,userContext) {PersonRegisterService._staticInstance.IsUserNameExists(userName,onSuccess,onFailed,userContext); }
PersonRegisterService.IsEmailExists= function(email,onSuccess,onFailed,userContext) {PersonRegisterService._staticInstance.IsEmailExists(email,onSuccess,onFailed,userContext); }

