function sprawdz(AForm)
{

    if(!AForm.imie.value)
	{
	alert('Prosze wypelnic pole "Imię" ');
	return false;
	}
	
	if(!AForm.nazwisko.value)
	{
	alert('Prosze wypelnic pole "Nazwisko" ');
	return false; 
	} 
	
	
	reg3 = /^[a-zA-Z0-9acelnószzACELNÓSZZ\.]{1,30}@[a-zA-Z0-9acelnószzACELNÓSZZ]+(\.[a-zA-Z0-9acelnószzACELNÓSZZ]+)+$/;
	wyn3 = AForm.email.value.match(reg3);
	if (wyn3 == null) 
	{
			alert("Prosze podac poprawny adres email. " +
				  "Poprawny adres musi zawierac malpe " +
				  "oraz co najmniej dwa czlony nazwy serwera, " +
				  "np. a@b.c lub ala@ma.kota.czarnego.com ");
			return false;
	}
	
    return true;
	
} 
