Type.registerNamespace('RichmondBarsAndRestaurants');
RichmondBarsAndRestaurants.LocationsSearchService=function() {
RichmondBarsAndRestaurants.LocationsSearchService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
RichmondBarsAndRestaurants.LocationsSearchService.prototype={
GetCityStateByZipCode:function(Zip,succeededCallback, failedCallback, userContext) {
return this._invoke(RichmondBarsAndRestaurants.LocationsSearchService.get_path(), 'GetCityStateByZipCode',false,{Zip:Zip},succeededCallback,failedCallback,userContext); },
SearchLocations:function(VenueName,Address1,City,StateID,Zip,SearchID,succeededCallback, failedCallback, userContext) {
return this._invoke(RichmondBarsAndRestaurants.LocationsSearchService.get_path(), 'SearchLocations',false,{VenueName:VenueName,Address1:Address1,City:City,StateID:StateID,Zip:Zip,SearchID:SearchID},succeededCallback,failedCallback,userContext); }}
RichmondBarsAndRestaurants.LocationsSearchService.registerClass('RichmondBarsAndRestaurants.LocationsSearchService',Sys.Net.WebServiceProxy);
RichmondBarsAndRestaurants.LocationsSearchService._staticInstance = new RichmondBarsAndRestaurants.LocationsSearchService();
RichmondBarsAndRestaurants.LocationsSearchService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; RichmondBarsAndRestaurants.LocationsSearchService._staticInstance._path = value; }
RichmondBarsAndRestaurants.LocationsSearchService.get_path = function() { return RichmondBarsAndRestaurants.LocationsSearchService._staticInstance._path; }
RichmondBarsAndRestaurants.LocationsSearchService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
RichmondBarsAndRestaurants.LocationsSearchService._staticInstance._timeout = value; }
RichmondBarsAndRestaurants.LocationsSearchService.get_timeout = function() { 
return RichmondBarsAndRestaurants.LocationsSearchService._staticInstance._timeout; }
RichmondBarsAndRestaurants.LocationsSearchService.set_defaultUserContext = function(value) { 
RichmondBarsAndRestaurants.LocationsSearchService._staticInstance._userContext = value; }
RichmondBarsAndRestaurants.LocationsSearchService.get_defaultUserContext = function() { 
return RichmondBarsAndRestaurants.LocationsSearchService._staticInstance._userContext; }
RichmondBarsAndRestaurants.LocationsSearchService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; RichmondBarsAndRestaurants.LocationsSearchService._staticInstance._succeeded = value; }
RichmondBarsAndRestaurants.LocationsSearchService.get_defaultSucceededCallback = function() { 
return RichmondBarsAndRestaurants.LocationsSearchService._staticInstance._succeeded; }
RichmondBarsAndRestaurants.LocationsSearchService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; RichmondBarsAndRestaurants.LocationsSearchService._staticInstance._failed = value; }
RichmondBarsAndRestaurants.LocationsSearchService.get_defaultFailedCallback = function() { 
return RichmondBarsAndRestaurants.LocationsSearchService._staticInstance._failed; }
RichmondBarsAndRestaurants.LocationsSearchService.set_path("/BigEasyOut/LocationsSearch/LocationsSearchService.asmx");
RichmondBarsAndRestaurants.LocationsSearchService.GetCityStateByZipCode= function(Zip,onSuccess,onFailed,userContext) {RichmondBarsAndRestaurants.LocationsSearchService._staticInstance.GetCityStateByZipCode(Zip,onSuccess,onFailed,userContext); }
RichmondBarsAndRestaurants.LocationsSearchService.SearchLocations= function(VenueName,Address1,City,StateID,Zip,SearchID,onSuccess,onFailed,userContext) {RichmondBarsAndRestaurants.LocationsSearchService._staticInstance.SearchLocations(VenueName,Address1,City,StateID,Zip,SearchID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('AwesomeObjs.Web');
if (typeof(AwesomeObjs.Web.CityStateDisplayObj) === 'undefined') {
AwesomeObjs.Web.CityStateDisplayObj=gtc("AwesomeObjs.Web.CityStateDisplayObj");
AwesomeObjs.Web.CityStateDisplayObj.registerClass('AwesomeObjs.Web.CityStateDisplayObj');
}
