function fncShowHide(vId){ document.getElementById(vId).style.display=(document.getElementById(vId).style.display=="none"?"block":"none"); } function fncVisNoVis(vId){ document.getElementById(vId).style.visibility=(document.getElementById(vId).style.visibility=="hidden"?"visible":"hidden"); } function checkNr(value,idForm){ if ( isNaN(parseInt(value)) ){ idForm.value = ""; } else{ idForm.value = parseInt(value); } }