function spr_kontakt(form) {

if (form.email.value == "")
{
alert("Wpisz swój adres e-mail");
form.email.focus()
return false;}

if (form.email.value.indexOf("@") == -1)
{
alert("Nieprawidlowy adres e-mail !!!");
form.email.focus()
return false;}

if (form.email.value.indexOf("@") == 0)
{
alert("Nieprawidlowy adres e-mail !!!");
form.email.focus()
return false;}

if (form.email.value.indexOf("@.") != -1)
{
alert("Nieprawidlowy adres e-mail !!!");
form.email.focus()
return false;}

if (form.email.value.indexOf(".") == -1)
{
alert("Nieprawidlowy adres e-mail !!!");
form.email.focus()
return false;}

if (form.email.value.indexOf(".") == 0)
{
alert("Nieprawidlowy adres e-mail !!!");
form.email.focus()
return false;}

if (form.email.value.indexOf("..") != -1)
{
alert("Nieprawidlowy adres e-mail !!!");
form.email.focus()
return false;}

if (form.email.value.indexOf(",") != -1)
{
alert("Nieprawidlowy adres e-mail !!!");
form.email.focus()
return false;}

if (form.email.value.indexOf(";") != -1)
{
alert("Nieprawidlowy adres e-mail !!!");
form.email.focus()
return false;}

if (form.email.value.indexOf(":") != -1)
{
alert("Nieprawidlowy adres e-mail !!!");
form.email.focus()
return false;}

if (form.email.value.indexOf("!") != -1)
{
alert("Nieprawidlowy adres e-mail !!!");
form.email.focus()
return false;}

if (form.email.value.indexOf("&") != -1)
{
alert("Nieprawidlowy adres e-mail !!!");
form.email.focus()
return false;}

if (form.email.value.indexOf("$") != -1)
{
alert("Nieprawidlowy adres e-mail !!!");
form.email.focus()
return false;}

if (form.email.value.indexOf("=") != -1)
{
alert("Nieprawidlowy adres e-mail !!!");
form.email.focus()
return false;}

if (form.email.value.indexOf("%") != -1)
{
alert("Nieprawidlowy adres e-mail !!!");
form.email.focus()
return false;}

if (form.email.value.indexOf(" ") != -1)
{
alert("Nieprawidlowy adres e-mail !!!");
form.email.focus()
return false;}

if (form.email.value.indexOf("<") != -1)
{
alert("Nieprawidlowy adres e-mail !!!");
form.email.focus()
return false;}

if (form.email.value.indexOf(">") != -1)
{
alert("Nieprawidlowy adres e-mail !!!");
form.email.focus()
return false;}

if (form.email.value.indexOf("#") != -1)
{
alert("Nieprawidlowy adres e-mail !!!");
form.email.focus()
return false;}

if (form.email.value.indexOf(")") != -1)
{
alert("Nieprawidlowy adres e-mail !!!");
form.email.focus()
return false;}

if (form.email.value.indexOf("(") != -1)
{
alert("Nieprawidlowy adres e-mail !!!");
form.email.focus()
return false;}

if (form.email.value.indexOf('"') != -1)
{
alert("Nieprawidlowy adres e-mail !!!");
form.email.focus()
return false;}

if (form.email.value.indexOf('*') != -1)
{
alert("Nieprawidlowy adres e-mail !!!");
form.email.focus()
return false;}

if (form.email.value.indexOf('+') != -1)
{
alert("Nieprawidlowy adres e-mail !!!");
form.email.focus()
return false;}

if (form.email.value.indexOf('|') != -1)
{
alert("Nieprawidlowy adres e-mail !!!");
form.email.focus()
return false;}

if (form.email.value.indexOf('\\') != -1)
{
alert("Nieprawidlowy adres e-mail !!!");
form.email.focus()
return false;}

if (form.email.value.indexOf("?") != -1)
{
alert("Nieprawidlowy adres e-mail !!!");
form.email.focus()
return false;}

if (form.phone.value == "")
{
alert("Wpisz swój TELEFON");
form.phone.focus()
return false;}

if (form.phone.value.indexOf("$") != -1)
{
alert("Nieprawidlowy TELEFON !!!");
form.phone.focus()
return false;}

if (form.phone.value.indexOf("<") != -1)
{
alert("Nieprawidlowy TELEFON !!!");
form.phone.focus()
return false;}

if (form.phone.value.indexOf(">") != -1)
{
alert("Nieprawidlowy TELEFON !!!");
form.phone.focus()
return false;}

if (form.phone.value.indexOf("#") != -1)
{
alert("Nieprawidlowy TELEFON !!!");
form.phone.focus()
return false;}

if (form.phone.value.indexOf('|') != -1)
{
alert("Nieprawidlowy TELEFON !!!");
form.phone.focus()
return false;}

if (form.phone.value.indexOf('\\') != -1)
{
alert("Nieprawidlowy TELEFON !!!");
form.phone.focus()
return false;}

if (form.city.value == "")
{
 alert("Wpisz MIEJSCOWOŚĆ");
form.city.focus()
return false;}

if (form.city.value.indexOf("$") != -1)
{
alert("W rubryce MIEJSCOWOŚĆ jest niedozwolony znak: $ ");
form.city.focus()
return false;}

if (form.city.value.indexOf("<") != -1)
{
alert("W rubryce MIEJSCOWOŚĆ jest niedozwolony znak: <  ");
form.city.focus()
return false;}

if (form.city.value.indexOf(">") != -1)
{
alert("W rubryce MIEJSCOWOŚĆ jest niedozwolony znak: >  ");
form.city.focus()
return false;}

if (form.city.value.indexOf("#") != -1)
{
alert("W rubryce MIEJSCOWOŚĆ jest niedozwolony znak: #  ");
form.city.focus()
return false;}

if (form.city.value.indexOf('|') != -1)
{
alert('W rubryce MIEJSCOWOŚĆ jest niedozwolony znak: | ');
form.city.focus()
return false;}

if (form.city.value.indexOf('\\') != -1)
{
alert('W rubryce MIEJSCOWOŚĆ jest niedozwolony znak: \\ ');
form.city.focus()
return false;}

if (form.wojewodztwo.value == "WYBIERZ")
{
alert("Wybierz województwo");
form.wojewodztwo.focus()
return false;}

if (form.message.value == "")
{
 alert("Wpisz WIADOMOŚĆ");
form.message.focus()
return false;}

if (form.message.value.indexOf("$") != -1)
{
alert("W rubryce WIADOMOŚĆ jest niedozwolony znak: $ ");
form.message.focus()
return false;}

if (form.message.value.indexOf("<") != -1)
{
alert("W rubryce WIADOMOŚĆ jest niedozwolony znak: <  ");
form.message.focus()
return false;}

if (form.message.value.indexOf(">") != -1)
{
alert("W rubryce WIADOMOŚĆ jest niedozwolony znak: >  ");
form.message.focus()
return false;}

if (form.message.value.indexOf("#") != -1)
{
alert("W rubryce WIADOMOŚĆ jest niedozwolony znak: #  ");
form.message.focus()
return false;}

if (form.message.value.indexOf('|') != -1)
{
alert('W rubryce WIADOMOŚĆ jest niedozwolony znak: | ');
form.message.focus()
return false;}

if (form.message.value.indexOf('\\') != -1)
{
alert('W rubryce WIADOMOŚĆ jest niedozwolony znak: \\ ');
form.message.focus()
return false;}



}
