      function SubmitForm(oForm, sAction, sParam) {
      //alert(typeof(document.frmAddProduct));
      //alert(document.URL);
      //alert(document.forms.length);
      //for(i=0; i < document.forms.length; i++) {
      //  alert(document.forms[i].name);
      //}
      //alert(document.frmAddProduct.action);
      //alert(document.frmAddProduct.elements.length);
      //alert(oForm.name);
      //alert(oForm.action);
      //alert(typeof(oForm));
         oForm.hidFormName.value = oForm.name;
         oForm.hidActionAsked.value = sAction;
         oForm.hidActionParam.value = sParam;
         oForm.submit();
      }

      function SubmitFormEx(oForm, sURL, sAction, sParam) {
         oForm.action = sURL;
         oForm.hidFormName.value = oForm.name;
         oForm.hidActionAsked.value = sAction;
         oForm.hidActionParam.value = sParam;
         oForm.submit();
      }

