Type.registerNamespace('eGordianSearch');
eGordianSearch.locations=function() {
eGordianSearch.locations.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
eGordianSearch.locations.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return eGordianSearch.locations._staticInstance.get_path();},
SearchLocations:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SearchLocations',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetZip:function(city,state,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetZip',false,{city:city,state:state},succeededCallback,failedCallback,userContext); },
GetCurrentLatLng:function(ConID,CurLat,CurLng,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCurrentLatLng',false,{ConID:ConID,CurLat:CurLat,CurLng:CurLng},succeededCallback,failedCallback,userContext); }}
eGordianSearch.locations.registerClass('eGordianSearch.locations',Sys.Net.WebServiceProxy);
eGordianSearch.locations._staticInstance = new eGordianSearch.locations();
eGordianSearch.locations.set_path = function(value) { eGordianSearch.locations._staticInstance.set_path(value); }
eGordianSearch.locations.get_path = function() { return eGordianSearch.locations._staticInstance.get_path(); }
eGordianSearch.locations.set_timeout = function(value) { eGordianSearch.locations._staticInstance.set_timeout(value); }
eGordianSearch.locations.get_timeout = function() { return eGordianSearch.locations._staticInstance.get_timeout(); }
eGordianSearch.locations.set_defaultUserContext = function(value) { eGordianSearch.locations._staticInstance.set_defaultUserContext(value); }
eGordianSearch.locations.get_defaultUserContext = function() { return eGordianSearch.locations._staticInstance.get_defaultUserContext(); }
eGordianSearch.locations.set_defaultSucceededCallback = function(value) { eGordianSearch.locations._staticInstance.set_defaultSucceededCallback(value); }
eGordianSearch.locations.get_defaultSucceededCallback = function() { return eGordianSearch.locations._staticInstance.get_defaultSucceededCallback(); }
eGordianSearch.locations.set_defaultFailedCallback = function(value) { eGordianSearch.locations._staticInstance.set_defaultFailedCallback(value); }
eGordianSearch.locations.get_defaultFailedCallback = function() { return eGordianSearch.locations._staticInstance.get_defaultFailedCallback(); }
eGordianSearch.locations.set_path("/Services/locations.asmx");
eGordianSearch.locations.SearchLocations= function(prefixText,count,onSuccess,onFailed,userContext) {eGordianSearch.locations._staticInstance.SearchLocations(prefixText,count,onSuccess,onFailed,userContext); }
eGordianSearch.locations.GetZip= function(city,state,onSuccess,onFailed,userContext) {eGordianSearch.locations._staticInstance.GetZip(city,state,onSuccess,onFailed,userContext); }
eGordianSearch.locations.GetCurrentLatLng= function(ConID,CurLat,CurLng,onSuccess,onFailed,userContext) {eGordianSearch.locations._staticInstance.GetCurrentLatLng(ConID,CurLat,CurLng,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(eGordianSearch.objLatLng) === 'undefined') {
eGordianSearch.objLatLng=gtc("eGordianSearch.objLatLng");
eGordianSearch.objLatLng.registerClass('eGordianSearch.objLatLng');
}
if (typeof(eGordianSearch.location) === 'undefined') {
eGordianSearch.location=gtc("eGordianSearch.location");
eGordianSearch.location.registerClass('eGordianSearch.location');
}
if (typeof(eGordianSearch.objLatLngResults) === 'undefined') {
eGordianSearch.objLatLngResults=gtc("eGordianSearch.objLatLngResults");
eGordianSearch.objLatLngResults.registerClass('eGordianSearch.objLatLngResults');
}

