if (!Finam) { var Finam = {}; }
if (Finam.Controls == undefined) { Finam.Controls = {}; }

Finam.Controls.Town = {
	init: function(id) {
		this.update(id);
		initInputPlaceholder($(id + '-town'), 'город', '', 'pale');
		initInputPlaceholder($(id + '-region'), 'регион', '', 'pale');
	},
	update: function(id) {
		var sel = document.getElementById(id);
		var selVal = sel.options[sel.selectedIndex].value;
		zoom(id + '-form', selVal == '-1' ? '+' : '-')
	}
};

