if(typeof www_autobrag_com == "undefined") www_autobrag_com={};
www_autobrag_com.search2_class = function() {};
Object.extend(www_autobrag_com.search2_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	btnSearch_Click: function(mySearchType, myYear, myAutoClass, myMake, myModel, myColor, myTrims) {
		return this.invoke("btnSearch_Click", {"mySearchType":mySearchType, "myYear":myYear, "myAutoClass":myAutoClass, "myMake":myMake, "myModel":myModel, "myColor":myColor, "myTrims":myTrims}, this.btnSearch_Click.getArguments().slice(7));
	},
	btnDealership_Click: function(DealershipId) {
		return this.invoke("btnDealership_Click", {"DealershipId":DealershipId}, this.btnDealership_Click.getArguments().slice(1));
	},
	GetDealershipLatitude: function() {
		return this.invoke("GetDealershipLatitude", {}, this.GetDealershipLatitude.getArguments().slice(0));
	},
	GetDealershipLongitude: function() {
		return this.invoke("GetDealershipLongitude", {}, this.GetDealershipLongitude.getArguments().slice(0));
	},
	btnFavorites_Click: function() {
		return this.invoke("btnFavorites_Click", {}, this.btnFavorites_Click.getArguments().slice(0));
	},
	GetResults: function() {
		return this.invoke("GetResults", {}, this.GetResults.getArguments().slice(0));
	},
	EmailListing_Unregistered: function(ListingId, yourEmailAddress, yourFirstName, yourLastName, theirEmailAddress, EmailBody) {
		return this.invoke("EmailListing_Unregistered", {"ListingId":ListingId, "yourEmailAddress":yourEmailAddress, "yourFirstName":yourFirstName, "yourLastName":yourLastName, "theirEmailAddress":theirEmailAddress, "EmailBody":EmailBody}, this.EmailListing_Unregistered.getArguments().slice(6));
	},
	LandingPage_Load: function(LandingPageStr) {
		return this.invoke("LandingPage_Load", {"LandingPageStr":LandingPageStr}, this.LandingPage_Load.getArguments().slice(1));
	},
	PopularSearch_Load: function() {
		return this.invoke("PopularSearch_Load", {}, this.PopularSearch_Load.getArguments().slice(0));
	},
	InTheNews_Load: function() {
		return this.invoke("InTheNews_Load", {}, this.InTheNews_Load.getArguments().slice(0));
	},
	Explaination_Load: function() {
		return this.invoke("Explaination_Load", {}, this.Explaination_Load.getArguments().slice(0));
	},
	EmailListing_Registered: function(ListingId, EmailAddress, EmailBody) {
		return this.invoke("EmailListing_Registered", {"ListingId":ListingId, "EmailAddress":EmailAddress, "EmailBody":EmailBody}, this.EmailListing_Registered.getArguments().slice(3));
	},
	SetPage: function(myPageNumber) {
		return this.invoke("SetPage", {"myPageNumber":myPageNumber}, this.SetPage.getArguments().slice(1));
	},
	GetAutoModelAveragesCollection: function(IsNewSearch) {
		return this.invoke("GetAutoModelAveragesCollection", {"IsNewSearch":IsNewSearch}, this.GetAutoModelAveragesCollection.getArguments().slice(1));
	},
	CanRemoveFavorite: function(mySearchResultId) {
		return this.invoke("CanRemoveFavorite", {"mySearchResultId":mySearchResultId}, this.CanRemoveFavorite.getArguments().slice(1));
	},
	CanAddFavorite: function(myListingId) {
		return this.invoke("CanAddFavorite", {"myListingId":myListingId}, this.CanAddFavorite.getArguments().slice(1));
	},
	RemoveFavorite: function(myListingId) {
		return this.invoke("RemoveFavorite", {"myListingId":myListingId}, this.RemoveFavorite.getArguments().slice(1));
	},
	AddFavorite: function(myListingId) {
		return this.invoke("AddFavorite", {"myListingId":myListingId}, this.AddFavorite.getArguments().slice(1));
	},
	PopularSearch_Click: function(myPopularSearchId) {
		return this.invoke("PopularSearch_Click", {"myPopularSearchId":myPopularSearchId}, this.PopularSearch_Click.getArguments().slice(1));
	},
	url: '/ajaxpro/www_autobrag_com.search2,www.autobrag.com.ashx'
}));
www_autobrag_com.search2 = new www_autobrag_com.search2_class();

