var WzorMaila=/^[0-9a-z._-]+@+[0-9a-z._-]+\.[a-z]{2,4}$/i;

function sprawdz(form)
{
if (!WzorMaila.test(form.email.value || (form.email.value.length<=5))) {
                          alert("Błędny adres e-mail. Proszę podać poprawny adres e-mail");
                          form.email.focus();
			  			  return false;  
                          }					  
if (form.subject.value=="") {
                          alert("Proszę podać temat");
                          form.subject.focus();
                          return false;
                          }
if (form.content.value=="" || form.content.value=="treść") {
                          alert("Proszę podać treść uwagi/zapytania");
                          form.content.focus();
                          return false;
}
return true;
}

