function submitForm() {
  var theForm = $("frmIndex");
  theForm.submit();
}