var add_poi_class = application.extend({
	init : function (p, h) {
		this.page = "/app/add_poi/";
		this.hide = h ? true : false;
	},
	start : function (x, y) {
		if(x && y) this.page += x + "," + y;
		this._super();
	},
	map_click : function (lat, lng) {
		$("#lat").val(lat);
		$("#lng").val(lng);
	}
});
Rimory.inst.add_poi = new add_poi_class();