if(this.value=='')this.value='0'; if(isNaN(this.value))this.value='0'; this.value=filterNeg(this.value); this.value=parseInt(this.value);