// onkeypress="javascript: return inputQty(event);"
function inputQty(e)
{
        var aCode = null;
        //var isIE = (navigator.appName.indexOf("Microsoft") != -1);
        if (document.all)
        	isIE = true;

        if (isIE) {
                aCode = String.fromCharCode(e.keyCode);
        } else {
                aCode = String.fromCharCode(e.which);
        }
        aCode = aCode.charCodeAt();

        if (!(aCode>47 && aCode<58)) return false;
        return true;
}