if(typeof GasBuddy_ASPX == "undefined") GasBuddy_ASPX={};
if(typeof GasBuddy_ASPX.TripCalculatorControlv2_class == "undefined") GasBuddy_ASPX.TripCalculatorControlv2_class={};
GasBuddy_ASPX.TripCalculatorControlv2_class = function() {};
Object.extend(GasBuddy_ASPX.TripCalculatorControlv2_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	ac: function(sSearch, iCount) {
		return this.invoke("ac", {"sSearch":sSearch, "iCount":iCount}, this.ac.getArguments().slice(2));
	},
	TripOptimizer: function(sJSON, xmlHwy, fuel_type, tank_pct, fill_up_pct, start_tank_pct, start_latlong, end_latlong, xmlRoutes, sDestinations, city_mpg, hwy_mpg, tank_size, distance_unit, mpg_unit, member_id, vehicle_id, exchange_rate, meters_city, meters_hwy, co2) {
		return this.invoke("TripOptimizer", {"sJSON":sJSON, "xmlHwy":xmlHwy, "fuel_type":fuel_type, "tank_pct":tank_pct, "fill_up_pct":fill_up_pct, "start_tank_pct":start_tank_pct, "start_latlong":start_latlong, "end_latlong":end_latlong, "xmlRoutes":xmlRoutes, "sDestinations":sDestinations, "city_mpg":city_mpg, "hwy_mpg":hwy_mpg, "tank_size":tank_size, "distance_unit":distance_unit, "mpg_unit":mpg_unit, "member_id":member_id, "vehicle_id":vehicle_id, "exchange_rate":exchange_rate, "meters_city":meters_city, "meters_hwy":meters_hwy, "co2":co2}, this.TripOptimizer.getArguments().slice(21));
	},
	LogTrip: function(sLocations, dCityMpg, dHwyMpg, dTankSize, sFuelType, dStartingTank, dStopPct, sDistanceUnit, sMpgUnit, iLogType, sMemberID, iNoFills, iVehicleID, dTripCost, dTripSavings, dTripXE, dTripTopUp, dDistance, dCo2, dGallons, iEndStationID, dEndPrice, dFills) {
		return this.invoke("LogTrip", {"sLocations":sLocations, "dCityMpg":dCityMpg, "dHwyMpg":dHwyMpg, "dTankSize":dTankSize, "sFuelType":sFuelType, "dStartingTank":dStartingTank, "dStopPct":dStopPct, "sDistanceUnit":sDistanceUnit, "sMpgUnit":sMpgUnit, "iLogType":iLogType, "sMemberID":sMemberID, "iNoFills":iNoFills, "iVehicleID":iVehicleID, "dTripCost":dTripCost, "dTripSavings":dTripSavings, "dTripXE":dTripXE, "dTripTopUp":dTripTopUp, "dDistance":dDistance, "dCo2":dCo2, "dGallons":dGallons, "iEndStationID":iEndStationID, "dEndPrice":dEndPrice, "dFills":dFills}, this.LogTrip.getArguments().slice(23));
	},
	LoadTrip: function(sTripID, iTimeOffset) {
		return this.invoke("LoadTrip", {"sTripID":sTripID, "iTimeOffset":iTimeOffset}, this.LoadTrip.getArguments().slice(2));
	},
	ShareTrip: function(sUserEmail, sFriendEmail, sComments, sHost, sPath, sTrip) {
		return this.invoke("ShareTrip", {"sUserEmail":sUserEmail, "sFriendEmail":sFriendEmail, "sComments":sComments, "sHost":sHost, "sPath":sPath, "sTrip":sTrip}, this.ShareTrip.getArguments().slice(6));
	},
	GetStationsByBounds: function(ds, fuel_type, MinY, MaxY, MinX, MaxX) {
		return this.invoke("GetStationsByBounds", {"ds":ds, "fuel_type":fuel_type, "MinY":MinY, "MaxY":MaxY, "MinX":MinX, "MaxX":MaxX}, this.GetStationsByBounds.getArguments().slice(6));
	},
	GetStationInfo: function(id, fuel_type) {
		return this.invoke("GetStationInfo", {"id":id, "fuel_type":fuel_type}, this.GetStationInfo.getArguments().slice(2));
	},
	GetVehicleYears: function(knownValues) {
		return this.invoke("GetVehicleYears", {"knownValues":knownValues}, this.GetVehicleYears.getArguments().slice(1));
	},
	GetMakesByYear: function(knownValues) {
		return this.invoke("GetMakesByYear", {"knownValues":knownValues}, this.GetMakesByYear.getArguments().slice(1));
	},
	GetModelsByYearMake: function(knownValues) {
		return this.invoke("GetModelsByYearMake", {"knownValues":knownValues}, this.GetModelsByYearMake.getArguments().slice(1));
	},
	url: '/ajaxpro/GasBuddy_ASPX.TripCalculatorControlv2,GasBuddy_ASPX.ashx'
}));
GasBuddy_ASPX.TripCalculatorControlv2 = new GasBuddy_ASPX.TripCalculatorControlv2_class();

