
  function submitForm(current)
  {
    while (current.parentNode && current.tagName != "BODY")
    {
      if (current.tagName == "FORM")
      {
        window.status = "";
        current.submit();
        return;
      }

      current = current.parentNode;
    }
  }
