if(typeof WebPublishing == "undefined") WebPublishing={};
if(typeof WebPublishing.Controls == "undefined") WebPublishing.Controls={};
if(typeof WebPublishing.Controls.SearchHelper_class == "undefined") WebPublishing.Controls.SearchHelper_class={};
WebPublishing.Controls.SearchHelper_class = function() {};
Object.extend(WebPublishing.Controls.SearchHelper_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetCities: function(state) {
		return this.invoke("GetCities", {"state":state}, this.GetCities.getArguments().slice(1));
	},
	GetCitiesDetail: function(state) {
		return this.invoke("GetCitiesDetail", {"state":state}, this.GetCitiesDetail.getArguments().slice(1));
	},
	GetZones: function(state, city) {
		return this.invoke("GetZones", {"state":state, "city":city}, this.GetZones.getArguments().slice(2));
	},
	GetImovelFieldCount: function(fieldName) {
		return this.invoke("GetImovelFieldCount", {"fieldName":fieldName}, this.GetImovelFieldCount.getArguments().slice(1));
	},
	GetAutoModels: function(autoMakerId) {
		return this.invoke("GetAutoModels", {"autoMakerId":autoMakerId}, this.GetAutoModels.getArguments().slice(1));
	},
	url: '/WebPublishing/ajaxpro/WebPublishing.Controls.SearchHelper,WebPublishing.ashx'
}));
WebPublishing.Controls.SearchHelper = new WebPublishing.Controls.SearchHelper_class();


