

 // Poprawiona i bardziej szczegółowa kontrola danych zamawiającego przed wysłaniem zamówienia.
function kontrola()
{
 if (document.Formularz.nazwisko.value=='') {
    alert("Proszę podać imię i nazwisko !");
    return;
  };
	
  
  if (document.Formularz.miejscowosc.value=='')
  {
    alert("Proszę podać miejscowość !");
    return;
  };
  
  if (document.Formularz.telefon.value == "")
  {
    alert("Proszę podać numer telefonu !");
    return;
  };
  
  
  /*if (document.Formularz.mail.value == "")
  {
  
		alert("Proszę podać e-mail !");
    	return;

  }; */
  
 
  if (document.Formularz.tekst.value == "")
  {
    alert("Proszę wypełnić pole wiadomości !");
    return;
  };

 
  document.Formularz.submit();

}






function externalLinks() {
 if (!document.getElementsByTagName) return;
 var anchors = document.getElementsByTagName('a');
 for (var i=0; i<anchors.length; i++) {
   var anchor = anchors[i];
   if (anchor.getAttribute('href') &&
       anchor.getAttribute('class') == 'aout')
     anchor.target = '_blank';
 }
}
window.onload = externalLinks;
