document.getElementsByName("logfrm")[0].submit();