if(typeof Geo == "undefined") Geo={};
if(typeof Geo.Plugins == "undefined") Geo.Plugins={};
if(typeof Geo.Plugins.Ajax == "undefined") Geo.Plugins.Ajax={};
Geo.Plugins.Ajax.panelLocations_class = function() {};
Object.extend(Geo.Plugins.Ajax.panelLocations_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	DoGetInfo: function(x, y, adminUnit) {
		return this.invoke("DoGetInfo", {"x":x, "y":y, "adminUnit":adminUnit}, this.DoGetInfo.getArguments().slice(3));
	},
	DoSelectCadastroFreguesia: function(concelho, freguesia, handleID, controlID) {
		return this.invoke("DoSelectCadastroFreguesia", {"concelho":concelho, "freguesia":freguesia, "handleID":handleID, "controlID":controlID}, this.DoSelectCadastroFreguesia.getArguments().slice(4));
	},
	DoSelectPOIClass: function(parent, language, handleID, controlID) {
		return this.invoke("DoSelectPOIClass", {"parent":parent, "language":language, "handleID":handleID, "controlID":controlID}, this.DoSelectPOIClass.getArguments().slice(4));
	},
	DoSearchPOI: function(id, mainClass, subClass, nome, morada, concelho, freguesia, polyGeometry, lang, page, records, controlID) {
		return this.invoke("DoSearchPOI", {"id":id, "mainClass":mainClass, "subClass":subClass, "nome":nome, "morada":morada, "concelho":concelho, "freguesia":freguesia, "polyGeometry":polyGeometry, "lang":lang, "page":page, "records":records, "controlID":controlID}, this.DoSearchPOI.getArguments().slice(12));
	},
	DoSearchHotPOI: function(id, domain, subDomain, concelho, freguesia, polyGeometry, lang, page, records, controlID) {
		return this.invoke("DoSearchHotPOI", {"id":id, "domain":domain, "subDomain":subDomain, "concelho":concelho, "freguesia":freguesia, "polyGeometry":polyGeometry, "lang":lang, "page":page, "records":records, "controlID":controlID}, this.DoSearchHotPOI.getArguments().slice(10));
	},
	DoSearchPlaces: function(id, nome, concelho, freguesia, polyGeometry, page, records, lang, controlID) {
		return this.invoke("DoSearchPlaces", {"id":id, "nome":nome, "concelho":concelho, "freguesia":freguesia, "polyGeometry":polyGeometry, "page":page, "records":records, "lang":lang, "controlID":controlID}, this.DoSearchPlaces.getArguments().slice(9));
	},
	DoSearchStreets: function(id, nome, numero, concelho, freguesia, lugar, cp4, cp3, polyGeometry, page, records, lang, controlID) {
		return this.invoke("DoSearchStreets", {"id":id, "nome":nome, "numero":numero, "concelho":concelho, "freguesia":freguesia, "lugar":lugar, "cp4":cp4, "cp3":cp3, "polyGeometry":polyGeometry, "page":page, "records":records, "lang":lang, "controlID":controlID}, this.DoSearchStreets.getArguments().slice(13));
	},
	DoSearchPrediosCadastro: function(id, predio, seccao, freguesia, concelho, polyGeometry, page, records, lang, controlID) {
		return this.invoke("DoSearchPrediosCadastro", {"id":id, "predio":predio, "seccao":seccao, "freguesia":freguesia, "concelho":concelho, "polyGeometry":polyGeometry, "page":page, "records":records, "lang":lang, "controlID":controlID}, this.DoSearchPrediosCadastro.getArguments().slice(10));
	},
	DoSelectStreetLine: function(streetId, concelho) {
		return this.invoke("DoSelectStreetLine", {"streetId":streetId, "concelho":concelho}, this.DoSelectStreetLine.getArguments().slice(2));
	},
	DoSelectStreetLines: function(linkId, concelho) {
		return this.invoke("DoSelectStreetLines", {"linkId":linkId, "concelho":concelho}, this.DoSelectStreetLines.getArguments().slice(2));
	},
	DoSelectPredioById: function(id, concelho) {
		return this.invoke("DoSelectPredioById", {"id":id, "concelho":concelho}, this.DoSelectPredioById.getArguments().slice(2));
	},
	DoSelectPredio: function(predio, seccao, freguesia, concelho) {
		return this.invoke("DoSelectPredio", {"predio":predio, "seccao":seccao, "freguesia":freguesia, "concelho":concelho}, this.DoSelectPredio.getArguments().slice(4));
	},
	url: '/ajaxpro/Geo.Plugins.Ajax.panelLocations,Geo.Plugins.ashx'
}));
Geo.Plugins.Ajax.panelLocations = new Geo.Plugins.Ajax.panelLocations_class();

