if (aM.value == null || typeof (aM.value) == "undefined" || aM.value == "" || typeof (parseInt(aM.value)) == "number") { isok = true; }