function verifyifnumber(obj){ s=obj.value; obj.value=s.replace(',','.'); j=parseFloat(obj.value); if(isNaN(j)) obj.value=""; }