// JavaScript Document

function mnozstvi(id, method){
	
	var elm = document.getElementById? document.getElementById(id): document.all? document.all[id]: null;
	
	if(method == 'in'){
		if(elm.value == '0') elm.value = '';		
	}
	
	if(method == 'out'){
		if(elm.value == '') elm.value = '0';		
	}
}
