if (inputValue(frm.inp)==null || inputValue(frm.inp)=="") { setWindowElementFocus(frm.inp); showJSMessage(1); return false; }