﻿
var formName = "";
function divSubmit_ReloadDiv(frmName) {
  formName = frmName;
  setTimeout(submit_reload, 200);
  // For some reason IE gives sporadic results if there is not a delay before we make the AJAX call.
  // FireFox tested rock-solid
}

function submit_reload() {
  var frm = $(formName);
  if (frm) {
    try {
      frm.request({
        evalJS: false, 
        onFailure: function(resp) { },
        onException: function(resp, exc) { },
        onComplete: function(resp) { }
      });
    } catch (e) {
      alert("divSubmit_ReloadDiv: " + e);
    }
  }
}


