var Suggestion=function() {
Suggestion.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Suggestion.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Suggestion._staticInstance.get_path();},
SuggestKeyword:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SuggestKeyword',false,{},succeededCallback,failedCallback,userContext); },
SuggestLocation:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SuggestLocation',false,{},succeededCallback,failedCallback,userContext); },
Get_SuggestCompany:function(prefixText,count,succeededCallback, failedCallback, userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'Get_SuggestCompany',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
SuggestState:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SuggestState',false,{},succeededCallback,failedCallback,userContext); }}
Suggestion.registerClass('Suggestion',Sys.Net.WebServiceProxy);
Suggestion._staticInstance = new Suggestion();
Suggestion.set_path = function(value) {
Suggestion._staticInstance.set_path(value); }
Suggestion.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Suggestion._staticInstance.get_path();}
Suggestion.set_timeout = function(value) {
Suggestion._staticInstance.set_timeout(value); }
Suggestion.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Suggestion._staticInstance.get_timeout(); }
Suggestion.set_defaultUserContext = function(value) { 
Suggestion._staticInstance.set_defaultUserContext(value); }
Suggestion.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Suggestion._staticInstance.get_defaultUserContext(); }
Suggestion.set_defaultSucceededCallback = function(value) { 
 Suggestion._staticInstance.set_defaultSucceededCallback(value); }
Suggestion.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Suggestion._staticInstance.get_defaultSucceededCallback(); }
Suggestion.set_defaultFailedCallback = function(value) { 
Suggestion._staticInstance.set_defaultFailedCallback(value); }
Suggestion.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Suggestion._staticInstance.get_defaultFailedCallback(); }
Suggestion.set_path("/Suggestion.asmx");
Suggestion.SuggestKeyword= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Suggestion._staticInstance.SuggestKeyword(onSuccess,onFailed,userContext); }
Suggestion.SuggestLocation= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Suggestion._staticInstance.SuggestLocation(onSuccess,onFailed,userContext); }
Suggestion.Get_SuggestCompany= function(prefixText,count,onSuccess,onFailed,userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Suggestion._staticInstance.Get_SuggestCompany(prefixText,count,onSuccess,onFailed,userContext); }
Suggestion.SuggestState= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Suggestion._staticInstance.SuggestState(onSuccess,onFailed,userContext); }
