{
if ( event.keyCode == 8 event.keyCode ==46
event.keyCode == 37 event.keyCode ==39 )
{
event.returnValue = true;
return true;
}
if (((event.keyCode <> 57)) )
{
if (event.keyCode !=190)
{
event.returnValue = false;
return false;
}
}
if( (String.fromCharCode(event.keyCode)) =="¾")
{
var val = obj.value;
if(val.indexOf(".") > -1)
{
event.returnValue = false;
return false;
}
}
}