Type.registerNamespace('RSP.Website.WebApplication');
RSP.Website.WebApplication.AutoSuggest=function() {
RSP.Website.WebApplication.AutoSuggest.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
RSP.Website.WebApplication.AutoSuggest.prototype={
GetMatchingAddresses:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(RSP.Website.WebApplication.AutoSuggest.get_path(), 'GetMatchingAddresses',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); }}
RSP.Website.WebApplication.AutoSuggest.registerClass('RSP.Website.WebApplication.AutoSuggest',Sys.Net.WebServiceProxy);
RSP.Website.WebApplication.AutoSuggest._staticInstance = new RSP.Website.WebApplication.AutoSuggest();
RSP.Website.WebApplication.AutoSuggest.set_path = function(value) { RSP.Website.WebApplication.AutoSuggest._staticInstance._path = value; }
RSP.Website.WebApplication.AutoSuggest.get_path = function() { return RSP.Website.WebApplication.AutoSuggest._staticInstance._path; }
RSP.Website.WebApplication.AutoSuggest.set_timeout = function(value) { RSP.Website.WebApplication.AutoSuggest._staticInstance._timeout = value; }
RSP.Website.WebApplication.AutoSuggest.get_timeout = function() { return RSP.Website.WebApplication.AutoSuggest._staticInstance._timeout; }
RSP.Website.WebApplication.AutoSuggest.set_defaultUserContext = function(value) { RSP.Website.WebApplication.AutoSuggest._staticInstance._userContext = value; }
RSP.Website.WebApplication.AutoSuggest.get_defaultUserContext = function() { return RSP.Website.WebApplication.AutoSuggest._staticInstance._userContext; }
RSP.Website.WebApplication.AutoSuggest.set_defaultSucceededCallback = function(value) { RSP.Website.WebApplication.AutoSuggest._staticInstance._succeeded = value; }
RSP.Website.WebApplication.AutoSuggest.get_defaultSucceededCallback = function() { return RSP.Website.WebApplication.AutoSuggest._staticInstance._succeeded; }
RSP.Website.WebApplication.AutoSuggest.set_defaultFailedCallback = function(value) { RSP.Website.WebApplication.AutoSuggest._staticInstance._failed = value; }
RSP.Website.WebApplication.AutoSuggest.get_defaultFailedCallback = function() { return RSP.Website.WebApplication.AutoSuggest._staticInstance._failed; }
RSP.Website.WebApplication.AutoSuggest.set_path("/AutoSuggest.asmx");
RSP.Website.WebApplication.AutoSuggest.GetMatchingAddresses= function(prefixText,count,onSuccess,onFailed,userContext) {RSP.Website.WebApplication.AutoSuggest._staticInstance.GetMatchingAddresses(prefixText,count,onSuccess,onFailed,userContext); }
