if(typeof AssaAbloy == "undefined") AssaAbloy={};
if(typeof AssaAbloy.Web == "undefined") AssaAbloy.Web={};
if(typeof AssaAbloy.Web.Apps == "undefined") AssaAbloy.Web.Apps={};
if(typeof AssaAbloy.Web.Apps.DistributorFinder == "undefined") AssaAbloy.Web.Apps.DistributorFinder={};
if(typeof AssaAbloy.Web.Apps.DistributorFinder.GMap == "undefined") AssaAbloy.Web.Apps.DistributorFinder.GMap={};
AssaAbloy.Web.Apps.DistributorFinder.GMap_class = function() {};
Object.extend(AssaAbloy.Web.Apps.DistributorFinder.GMap_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetCompaniesByCountry: function(countryId, cultureName) {
		return this.invoke("GetCompaniesByCountry", {"countryId":countryId, "cultureName":cultureName}, this.GetCompaniesByCountry.getArguments().slice(2));
	},
	GetCompanies: function(pageId, cultureName, locationId, typeId, postalCode, swLat, swLng, neLat, neLng) {
		return this.invoke("GetCompanies", {"pageId":pageId, "cultureName":cultureName, "locationId":locationId, "typeId":typeId, "postalCode":postalCode, "swLat":swLat, "swLng":swLng, "neLat":neLat, "neLng":neLng}, this.GetCompanies.getArguments().slice(9));
	},
	GetLocation: function(pageId, cultureName, locationId) {
		return this.invoke("GetLocation", {"pageId":pageId, "cultureName":cultureName, "locationId":locationId}, this.GetLocation.getArguments().slice(3));
	},
	GetPostalCode: function(pageId, cultureName, strPostalCode) {
		return this.invoke("GetPostalCode", {"pageId":pageId, "cultureName":cultureName, "strPostalCode":strPostalCode}, this.GetPostalCode.getArguments().slice(3));
	},
	GetInfoHtmlContent: function(pageId, companyId, cultureName) {
		return this.invoke("GetInfoHtmlContent", {"pageId":pageId, "companyId":companyId, "cultureName":cultureName}, this.GetInfoHtmlContent.getArguments().slice(3));
	},
	url: '/ajaxpro/AssaAbloy.Web.Apps.DistributorFinder.GMap,AssaAbloy.Web.ashx'
}));
AssaAbloy.Web.Apps.DistributorFinder.GMap = new AssaAbloy.Web.Apps.DistributorFinder.GMap_class();

