﻿function doNothing()
{
}
   
function checkData(theForm) {
   var n=0;
   if (theForm.imie.value == '')   n++;
   if (theForm.nazwisko.value == '')    n++;
   if (theForm.miasto.value == '')    n++;
   if (theForm.dzielnica.value == '')    n++;
   if (theForm.email.value == '')    n++;
   if (n!=0) alert('Starred fields (*) need to be filled in.');
   return !n;
}

function checkDataPraca(theForm) {
   var n=0;
   if (theForm.imie.value == '')   n++;
   if (theForm.nazwisko.value == '')    n++;
   if (theForm.email.value == '')    n++;
   if (n!=0) alert('Starred fields (*) need to be filled in.');
   return !n;
}