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