if(typeof WorksUnit == "undefined") WorksUnit={};
if(typeof WorksUnit.Apollo == "undefined") WorksUnit.Apollo={};
if(typeof WorksUnit.Apollo.PublicWebsite == "undefined") WorksUnit.Apollo.PublicWebsite={};
if(typeof WorksUnit.Apollo.PublicWebsite.Controls == "undefined") WorksUnit.Apollo.PublicWebsite.Controls={};
WorksUnit.Apollo.PublicWebsite.Controls.BoatSearch_class = function() {};
Object.extend(WorksUnit.Apollo.PublicWebsite.Controls.BoatSearch_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetHulls: function(boatType) {
		return this.invoke("GetHulls", {"boatType":boatType}, this.GetHulls.getArguments().slice(1));
	},
	GetClasses: function(boatType) {
		return this.invoke("GetClasses", {"boatType":boatType}, this.GetClasses.getArguments().slice(1));
	},
	GetEngines: function(boatType) {
		return this.invoke("GetEngines", {"boatType":boatType}, this.GetEngines.getArguments().slice(1));
	},
	GetLayouts: function(boatType) {
		return this.invoke("GetLayouts", {"boatType":boatType}, this.GetLayouts.getArguments().slice(1));
	},
	SetBoatSearch: function(boatType, _class, _hull, _keel, _rig, _engine, _layout, _priceMin, _priceMax, _lengthMin, _lengthMax, _lengthIsFeet, _model, currency) {
		return this.invoke("SetBoatSearch", {"boatType":boatType, "_class":_class, "_hull":_hull, "_keel":_keel, "_rig":_rig, "_engine":_engine, "_layout":_layout, "_priceMin":_priceMin, "_priceMax":_priceMax, "_lengthMin":_lengthMin, "_lengthMax":_lengthMax, "_lengthIsFeet":_lengthIsFeet, "_model":_model, "currency":currency}, this.SetBoatSearch.getArguments().slice(14));
	},
	GetBoatSearch: function() {
		return this.invoke("GetBoatSearch", {}, this.GetBoatSearch.getArguments().slice(0));
	},
	url: '/ajaxpro/WorksUnit.Apollo.PublicWebsite.Controls.BoatSearch,WorksUnit.Apollo.PublicWebsite.ashx'
}));
WorksUnit.Apollo.PublicWebsite.Controls.BoatSearch = new WorksUnit.Apollo.PublicWebsite.Controls.BoatSearch_class();

