function digits_only(obj){
	obj.value = obj.value.replace(/[^\d]/g, '');
	if(obj.value == 0){
		obj.value = 0;
	}
}