var thisItem, thisInput;

function _okres (i) {
	thisInput = myGet('okres');
	
	if (thisInput) {
		thisInput.selectedIndex = i;
	}
}

function _clear (id) {
	thisInput = myGet(id);
	
	if (thisInput) {
		thisInput.selectedIndex = 0;
	}
}

// získání elementu
function myGet (name) {
	if (document.getElementById)
		return document.getElementById(name);
	else if (document.all)
		return document.all(name);
	else
		return null;
}