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