// function to see if a suspected numeric input
// is a positive or negative number
function isNumber(inputStr) {
    var re = /^[-]?\d*\.?\d*$/;
    inputStr = inputStr.toString();
    if (!inputStr.match(re)) {
       return false;
    }
    return true;
}
