function validate(){
	if (document.form1.imie_nazwisko.value=='') {
		alert("Proszę wypełnić pole Imię i Nazwisko");
	} else if (document.form1.email.value==''){
		alert("Proszę wypełnić pole E-mail");
	} else if (document.form1.tresc.value==''){
		alert("Proszę wypełnić pole Treść pytania");
	} else {
		document.form1.action = "https://szumski.pl/send.php";
		document.form1.submit();
	}
}
