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