function DaneOK(){
Wzor_email  =/^[0-9a-zA-Z._-]+\@([0-9a-zA-Z-]+\.)+[0-9a-zA-Z]{2,4}$/;
if(!Wzor_email.test(this.document.nowy.email.value)){
  alert('Musisz podać adres email!');
  this.document.nowy.email.focus();
return(false);
}

if(this.document.nowy.imie.value==''){
  alert('Musisz podać swoje imię!');
  this.document.nowy.imie.focus();
return(false);
}

if(this.document.nowy.nazwisko.value==''){
  alert('Musisz podać swoje nazwisko!');
  this.document.nowy.nazwisko.focus();
return(false);
}

if(this.document.nowy.ulica.value==''){
  alert('Musisz podać ulicę!');
  this.document.nowy.ulica.focus();
return(false);
}

Wzor_kod  =/^[0-9]{2}\-[0-9]{3}$/;
if(!Wzor_kod.test(this.document.nowy.kod.value)){
  alert('Musisz podać numer kodu!');
  this.document.nowy.kod.focus();
return(false);
}

if(this.document.nowy.miasto.value==''){
  alert('Musisz podać miasto!');
  this.document.nowy.miasto.focus();
return(false);
}

if(this.document.nowy.telefon.value==''){
  alert('Musisz podać numer telefonu kontaktowego!');
  this.document.nowy.telefon.focus();
return(false);
}

if(!this.document.nowy.DO.checked){
  alert('Musisz wyrazić zgodę na prztwarzanie danych osobowych!');
return(false);
}

//if(!this.document.nowy.ankieta.selectedIndex){
//  alert('Musisz wypełnić ankietę!');
//  this.document.nowy.ankieta.focus();
//return(false);
//}

return(true);
}