function submitform() {
  document.logform.submit();
}