if(typeof TradePorsche == "undefined") TradePorsche={};
if(typeof TradePorsche.Controls == "undefined") TradePorsche.Controls={};
TradePorsche.Controls.Search_class = function() {};
Object.extend(TradePorsche.Controls.Search_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetModelSubNVC: function(IDModel) {
		return this.invoke("GetModelSubNVC", {"IDModel":IDModel}, this.GetModelSubNVC.getArguments().slice(1));
	},
	GetModelSubGrainNVC: function(IDModelSub) {
		return this.invoke("GetModelSubGrainNVC", {"IDModelSub":IDModelSub}, this.GetModelSubGrainNVC.getArguments().slice(1));
	},
	GetBodyTypeNVC: function(IDModelSubGrain) {
		return this.invoke("GetBodyTypeNVC", {"IDModelSubGrain":IDModelSubGrain}, this.GetBodyTypeNVC.getArguments().slice(1));
	},
	GetColourExteriorNVC: function(IDModelSubGrain) {
		return this.invoke("GetColourExteriorNVC", {"IDModelSubGrain":IDModelSubGrain}, this.GetColourExteriorNVC.getArguments().slice(1));
	},
	GetColourInteriorNVC: function(IDModelSubGrain) {
		return this.invoke("GetColourInteriorNVC", {"IDModelSubGrain":IDModelSubGrain}, this.GetColourInteriorNVC.getArguments().slice(1));
	},
	GetTransmissionNVC: function(IDModelSubGrain) {
		return this.invoke("GetTransmissionNVC", {"IDModelSubGrain":IDModelSubGrain}, this.GetTransmissionNVC.getArguments().slice(1));
	},
	GetWheelNVC: function(IDModelSubGrain) {
		return this.invoke("GetWheelNVC", {"IDModelSubGrain":IDModelSubGrain}, this.GetWheelNVC.getArguments().slice(1));
	},
	GetCheckBoxListOptionsHTML: function(IDModelSubGrain) {
		return this.invoke("GetCheckBoxListOptionsHTML", {"IDModelSubGrain":IDModelSubGrain}, this.GetCheckBoxListOptionsHTML.getArguments().slice(1));
	},
	GetCheckBoxListOptionsHTMLByBodyType: function(IDModelSubGrainIDBodyType) {
		return this.invoke("GetCheckBoxListOptionsHTMLByBodyType", {"IDModelSubGrainIDBodyType":IDModelSubGrainIDBodyType}, this.GetCheckBoxListOptionsHTMLByBodyType.getArguments().slice(1));
	},
	GetCarsFoundCount: function(IDModel) {
		return this.invoke("GetCarsFoundCount", {"IDModel":IDModel}, this.GetCarsFoundCount.getArguments().slice(1));
	},
	url: '/ajaxpro/TradePorsche.Controls.Search,TradePorsche.ashx'
}));
TradePorsche.Controls.Search = new TradePorsche.Controls.Search_class();

