var autoComplete=function() {
autoComplete.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
autoComplete.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return autoComplete._staticInstance.get_path();},
getMasBuscadas:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getMasBuscadas',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); }}
autoComplete.registerClass('autoComplete',Sys.Net.WebServiceProxy);
autoComplete._staticInstance = new autoComplete();
autoComplete.set_path = function(value) { autoComplete._staticInstance.set_path(value); }
autoComplete.get_path = function() { return autoComplete._staticInstance.get_path(); }
autoComplete.set_timeout = function(value) { autoComplete._staticInstance.set_timeout(value); }
autoComplete.get_timeout = function() { return autoComplete._staticInstance.get_timeout(); }
autoComplete.set_defaultUserContext = function(value) { autoComplete._staticInstance.set_defaultUserContext(value); }
autoComplete.get_defaultUserContext = function() { return autoComplete._staticInstance.get_defaultUserContext(); }
autoComplete.set_defaultSucceededCallback = function(value) { autoComplete._staticInstance.set_defaultSucceededCallback(value); }
autoComplete.get_defaultSucceededCallback = function() { return autoComplete._staticInstance.get_defaultSucceededCallback(); }
autoComplete.set_defaultFailedCallback = function(value) { autoComplete._staticInstance.set_defaultFailedCallback(value); }
autoComplete.get_defaultFailedCallback = function() { return autoComplete._staticInstance.get_defaultFailedCallback(); }
autoComplete.set_path("/autoComplete.asmx");
autoComplete.getMasBuscadas= function(prefixText,count,onSuccess,onFailed,userContext) {autoComplete._staticInstance.getMasBuscadas(prefixText,count,onSuccess,onFailed,userContext); }
