function checkFormNL() {

	var tmp = document.getElementById('field1');

	with (document.forms['newsletter']) {
		var alertMsg = "Wypełnij poniższe pola:\n";

		if ((Email.value =="Twój adres e-mail") || (Email.value == "") || (Email.value.indexOf ('@') == -1) || (Email.value.indexOf ('.') == -1)) alertMsg += "\nTwój adres email";
	} 

	if ((tmp.value == "") || (tmp.value == "podaj imię")) alertMsg += "\nTwoje imię";

	if (alertMsg != "Wypełnij poniższe pola:\n") {
		alert(alertMsg);
		return false;
	} else {
		return true;
	}

}


function checkForm() {
	with (document.forms['kontakt']) {
		var alertMsg = "Wypełnij poniższe pola:\n";

		if ((k_email.value =="Twój adres e-mail") || (k_email.value == "") || (k_email.value.indexOf ('@') == -1) || (k_email.value.indexOf ('.') == -1)) alertMsg += "\nE-mail";
		if ((k_firma.value == "") ) alertMsg += "\nNazwa firmy";
		if ((k_ulica.value == "") ) alertMsg += "\nUlica";
		if ((k_numer.value == "") ) alertMsg += "\nNumer";
		if ((k_kod.value == "") ) alertMsg += "\nKod pocztowy";
		if ((k_miasto.value == "") ) alertMsg += "\nMiasto";
		if ((k_osoba.value == "") ) alertMsg += "\nOsoba kontaktowa";
		if ((key.value == "") ) alertMsg += "\nKod";
		if ((k_telefon.value == "")) alertMsg += "\nTelefon";
	}

	

	if (alertMsg != "Wypełnij poniższe pola:\n") {
		alert(alertMsg);
		return false;
	} else {
		return true;
	}

}