function list_check(id) {
  var elm = document.getElementById("id-" + id);
  if(trim(elm.value) != "" && isNaN(trim(elm.value))) {
    alert("Zadané mno ství musí být číslo!");
    elm.focus();
    return false;
  }
  return true;
}

