// util.js

function onlyNumbers(e, obj)
{
    var Key;
    
    if (e.keyCode) Key = e.keyCode; 
    else if (e.which) Key = e.which; // Netscape 4.? 

    if ((Key == 8 || Key == 0)) {
        return true;
    }

    if ( Key < 48 || Key > 57 )
    {
        return false;
    }

    return true;

}