Ciao
modifica la funzione cosi:

function upanddown(op,elemento){
var c=document.preventivo.elements[elemento];
var v=parseInt(c.value);
if(isNaN(v)){alert('Inserire un valore numerico nel campo '+c.name+'.'); return;}
if(op=='+') v++;
if(op=='-' && v>0) v--;
c.value=v;
}