var ThematicLocationService=function() {
ThematicLocationService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ThematicLocationService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ThematicLocationService._staticInstance.get_path();},
EnhancedQueryAdvanced:function(searchText,searchType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'EnhancedQueryAdvanced',false,{searchText:searchText,searchType:searchType},succeededCallback,failedCallback,userContext); },
EnhancedQuery:function(searchText,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'EnhancedQuery',false,{searchText:searchText},succeededCallback,failedCallback,userContext); }}
ThematicLocationService.registerClass('ThematicLocationService',Sys.Net.WebServiceProxy);
ThematicLocationService._staticInstance = new ThematicLocationService();
ThematicLocationService.set_path = function(value) { ThematicLocationService._staticInstance.set_path(value); }
ThematicLocationService.get_path = function() { return ThematicLocationService._staticInstance.get_path(); }
ThematicLocationService.set_timeout = function(value) { ThematicLocationService._staticInstance.set_timeout(value); }
ThematicLocationService.get_timeout = function() { return ThematicLocationService._staticInstance.get_timeout(); }
ThematicLocationService.set_defaultUserContext = function(value) { ThematicLocationService._staticInstance.set_defaultUserContext(value); }
ThematicLocationService.get_defaultUserContext = function() { return ThematicLocationService._staticInstance.get_defaultUserContext(); }
ThematicLocationService.set_defaultSucceededCallback = function(value) { ThematicLocationService._staticInstance.set_defaultSucceededCallback(value); }
ThematicLocationService.get_defaultSucceededCallback = function() { return ThematicLocationService._staticInstance.get_defaultSucceededCallback(); }
ThematicLocationService.set_defaultFailedCallback = function(value) { ThematicLocationService._staticInstance.set_defaultFailedCallback(value); }
ThematicLocationService.get_defaultFailedCallback = function() { return ThematicLocationService._staticInstance.get_defaultFailedCallback(); }
ThematicLocationService.set_path("/ThematicLocationService.asmx");
ThematicLocationService.EnhancedQueryAdvanced= function(searchText,searchType,onSuccess,onFailed,userContext) {ThematicLocationService._staticInstance.EnhancedQueryAdvanced(searchText,searchType,onSuccess,onFailed,userContext); }
ThematicLocationService.EnhancedQuery= function(searchText,onSuccess,onFailed,userContext) {ThematicLocationService._staticInstance.EnhancedQuery(searchText,onSuccess,onFailed,userContext); }
Type.registerNamespace('Core');
if (typeof(Core.SearchType) === 'undefined') {
Core.SearchType = function() { throw Error.invalidOperation(); }
Core.SearchType.prototype = {all: 0,county_state: 1,street_address: 2}
Core.SearchType.registerEnum('Core.SearchType', true);
}
