/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
function submitform()
{ document.myform.submit(); }
function submitform2()
{ document.myform2.submit(); }

//@author Arkadiusz Kawałko <arek.kawalko@gmail.com>
function submitAnyForm(form_name, dialog)
{
  //dialog - argument opcjonalny, wyswietla okienko potwierdzenia
  if (dialog == 1)
  {
    var r=confirm("Czy na pewno chcesz wykona\u0107 t\u0105 akcje?");
    if (r==true)
        document.forms[form_name].submit();
  }
  else
      document.forms[form_name].submit();
}


