Ho scritto così.... sembra funzionare...

codice:
if(theform.Numero.value != "")
{
var re = /^[0-9]+$/
if (!theform.Numero.value.match(re))    
{ 
alert("***SOLO NUMERI ! ***");      
theform.Numero.focus();      
theform.Numero.select();      
return(false); 
}
}