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

