if(typeof CommunityServer == "undefined") CommunityServer={};
if(typeof CommunityServer.Controls == "undefined") CommunityServer.Controls={};
if(typeof CommunityServer.Controls.LightLocationPicker == "undefined") CommunityServer.Controls.LightLocationPicker={};
CommunityServer.Controls.LightLocationPicker_class = function() {};
Object.extend(CommunityServer.Controls.LightLocationPicker_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetTownsAjax: function(country, beginningWith, callCode) {
		return this.invoke("GetTownsAjax", {"country":country, "beginningWith":beginningWith, "callCode":callCode}, this.GetTownsAjax.getArguments().slice(3));
	},
	GetLocationID: function(country, town, callCode) {
		return this.invoke("GetLocationID", {"country":country, "town":town, "callCode":callCode}, this.GetLocationID.getArguments().slice(3));
	},
	GetLocationByIDAjax: function(locationID, callCode) {
		return this.invoke("GetLocationByIDAjax", {"locationID":locationID, "callCode":callCode}, this.GetLocationByIDAjax.getArguments().slice(2));
	},
	url: '/ajaxpro/CommunityServer.Controls.LightLocationPicker,CommunityServer.Controls.ashx'
}));
CommunityServer.Controls.LightLocationPicker = new CommunityServer.Controls.LightLocationPicker_class();

