addNamespace("AutolineWeb.Tools");
AutolineWeb.Tools.Ajax_class = Class.create();
AutolineWeb.Tools.Ajax_class.prototype = (new AjaxPro.Request()).extend({
	Ticker: function(callback) {
		return this.invoke("Ticker", {}, callback);
	},
	GetFeaturedVehicle: function(callback) {
		return this.invoke("GetFeaturedVehicle", {}, callback);
	},
	GetFeaturedVehicles: function(divWidth, callback) {
		return this.invoke("GetFeaturedVehicles", {"divWidth":divWidth}, callback);
	},
	GetMakeList: function(searchType, callback) {
		return this.invoke("GetMakeList", {"searchType":searchType}, callback);
	},
	GetModelList: function(make, searchType, callback) {
		return this.invoke("GetModelList", {"make":make, "searchType":searchType}, callback);
	},
	ChangeVehiclePrice: function(price, vehicleID, callback) {
		return this.invoke("ChangeVehiclePrice", {"price":price, "vehicleID":vehicleID}, callback);
	},
	DealerAddFranchise: function(franchise, id, callback) {
		return this.invoke("DealerAddFranchise", {"franchise":franchise, "id":id}, callback);
	},
	DealerRemoveFranchise: function(franchise, id, callback) {
		return this.invoke("DealerRemoveFranchise", {"franchise":franchise, "id":id}, callback);
	},
	AddBanner: function(name, target_url, orientation, page_location, state, keywords, bannerType, callback) {
		return this.invoke("AddBanner", {"name":name, "target_url":target_url, "orientation":orientation, "page_location":page_location, "state":state, "keywords":keywords, "bannerType":bannerType}, callback);
	},
	RemoveBanner: function(id, callback) {
		return this.invoke("RemoveBanner", {"id":id}, callback);
	},
	RetrieveBanner: function(id, callback) {
		return this.invoke("RetrieveBanner", {"id":id}, callback);
	},
	ModifyBanner: function(id, name, target_url, orientation, page_location, state, keywords, bannerType, callback) {
		return this.invoke("ModifyBanner", {"id":id, "name":name, "target_url":target_url, "orientation":orientation, "page_location":page_location, "state":state, "keywords":keywords, "bannerType":bannerType}, callback);
	},
	initialize: function() {
		this.url = "/ajaxpro/AutolineWeb.Tools.Ajax,Autoline.Web.ashx";
	}
})
AutolineWeb.Tools.Ajax = new AutolineWeb.Tools.Ajax_class();

