Type.registerNamespace('AutomotiveExaleadWeb');
AutomotiveExaleadWeb.SuggestionService=function() {
AutomotiveExaleadWeb.SuggestionService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AutomotiveExaleadWeb.SuggestionService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return AutomotiveExaleadWeb.SuggestionService._staticInstance.get_path();},
GetKeywordSuggestions:function(prefixText,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetKeywordSuggestions',false,{prefixText:prefixText},succeededCallback,failedCallback,userContext); },
GetLocationSuggestions:function(prefixText,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLocationSuggestions',false,{prefixText:prefixText},succeededCallback,failedCallback,userContext); },
GetCityAndProvince:function(latitudeText,longitudeText,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCityAndProvince',false,{latitudeText:latitudeText,longitudeText:longitudeText},succeededCallback,failedCallback,userContext); },
GetControlData:function(dropdowns,SenderKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetControlData',false,{dropdowns:dropdowns,SenderKey:SenderKey},succeededCallback,failedCallback,userContext); },
UpdateStatistics:function(statID,sourceId,foreignId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateStatistics',false,{statID:statID,sourceId:sourceId,foreignId:foreignId},succeededCallback,failedCallback,userContext); }}
AutomotiveExaleadWeb.SuggestionService.registerClass('AutomotiveExaleadWeb.SuggestionService',Sys.Net.WebServiceProxy);
AutomotiveExaleadWeb.SuggestionService._staticInstance = new AutomotiveExaleadWeb.SuggestionService();
AutomotiveExaleadWeb.SuggestionService.set_path = function(value) { AutomotiveExaleadWeb.SuggestionService._staticInstance.set_path(value); }
AutomotiveExaleadWeb.SuggestionService.get_path = function() { return AutomotiveExaleadWeb.SuggestionService._staticInstance.get_path(); }
AutomotiveExaleadWeb.SuggestionService.set_timeout = function(value) { AutomotiveExaleadWeb.SuggestionService._staticInstance.set_timeout(value); }
AutomotiveExaleadWeb.SuggestionService.get_timeout = function() { return AutomotiveExaleadWeb.SuggestionService._staticInstance.get_timeout(); }
AutomotiveExaleadWeb.SuggestionService.set_defaultUserContext = function(value) { AutomotiveExaleadWeb.SuggestionService._staticInstance.set_defaultUserContext(value); }
AutomotiveExaleadWeb.SuggestionService.get_defaultUserContext = function() { return AutomotiveExaleadWeb.SuggestionService._staticInstance.get_defaultUserContext(); }
AutomotiveExaleadWeb.SuggestionService.set_defaultSucceededCallback = function(value) { AutomotiveExaleadWeb.SuggestionService._staticInstance.set_defaultSucceededCallback(value); }
AutomotiveExaleadWeb.SuggestionService.get_defaultSucceededCallback = function() { return AutomotiveExaleadWeb.SuggestionService._staticInstance.get_defaultSucceededCallback(); }
AutomotiveExaleadWeb.SuggestionService.set_defaultFailedCallback = function(value) { AutomotiveExaleadWeb.SuggestionService._staticInstance.set_defaultFailedCallback(value); }
AutomotiveExaleadWeb.SuggestionService.get_defaultFailedCallback = function() { return AutomotiveExaleadWeb.SuggestionService._staticInstance.get_defaultFailedCallback(); }
AutomotiveExaleadWeb.SuggestionService.set_enableJsonp = function(value) { AutomotiveExaleadWeb.SuggestionService._staticInstance.set_enableJsonp(value); }
AutomotiveExaleadWeb.SuggestionService.get_enableJsonp = function() { return AutomotiveExaleadWeb.SuggestionService._staticInstance.get_enableJsonp(); }
AutomotiveExaleadWeb.SuggestionService.set_jsonpCallbackParameter = function(value) { AutomotiveExaleadWeb.SuggestionService._staticInstance.set_jsonpCallbackParameter(value); }
AutomotiveExaleadWeb.SuggestionService.get_jsonpCallbackParameter = function() { return AutomotiveExaleadWeb.SuggestionService._staticInstance.get_jsonpCallbackParameter(); }
AutomotiveExaleadWeb.SuggestionService.set_path("/SuggestionService.asmx");
AutomotiveExaleadWeb.SuggestionService.GetKeywordSuggestions= function(prefixText,onSuccess,onFailed,userContext) {AutomotiveExaleadWeb.SuggestionService._staticInstance.GetKeywordSuggestions(prefixText,onSuccess,onFailed,userContext); }
AutomotiveExaleadWeb.SuggestionService.GetLocationSuggestions= function(prefixText,onSuccess,onFailed,userContext) {AutomotiveExaleadWeb.SuggestionService._staticInstance.GetLocationSuggestions(prefixText,onSuccess,onFailed,userContext); }
AutomotiveExaleadWeb.SuggestionService.GetCityAndProvince= function(latitudeText,longitudeText,onSuccess,onFailed,userContext) {AutomotiveExaleadWeb.SuggestionService._staticInstance.GetCityAndProvince(latitudeText,longitudeText,onSuccess,onFailed,userContext); }
AutomotiveExaleadWeb.SuggestionService.GetControlData= function(dropdowns,SenderKey,onSuccess,onFailed,userContext) {AutomotiveExaleadWeb.SuggestionService._staticInstance.GetControlData(dropdowns,SenderKey,onSuccess,onFailed,userContext); }
AutomotiveExaleadWeb.SuggestionService.UpdateStatistics= function(statID,sourceId,foreignId,onSuccess,onFailed,userContext) {AutomotiveExaleadWeb.SuggestionService._staticInstance.UpdateStatistics(statID,sourceId,foreignId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(AutomotiveExaleadWeb.AjaxDropDown) === 'undefined') {
AutomotiveExaleadWeb.AjaxDropDown=gtc("AutomotiveExaleadWeb.AjaxDropDown");
AutomotiveExaleadWeb.AjaxDropDown.registerClass('AutomotiveExaleadWeb.AjaxDropDown');
}
if (typeof(AutomotiveExaleadWeb.AjaxSearchControlResults) === 'undefined') {
AutomotiveExaleadWeb.AjaxSearchControlResults=gtc("AutomotiveExaleadWeb.AjaxSearchControlResults");
AutomotiveExaleadWeb.AjaxSearchControlResults.registerClass('AutomotiveExaleadWeb.AjaxSearchControlResults');
}

