function testuj(f) {
  
for (i=0;i<f.zap_zam.length;i++) if (f.zap_zam[i].checked) var zap_zam1c=1;
  if (zap_zam1c!=1) { alert("Proszę zaznazyć czy jest to zapytanie czy zamówienie!"); return false; }
 return true;
}


function testuj1(f1) { 
 
  if (!f1.reply.value.match(/^[0-9a-z_.-]+@([0-9a-z-]+\.)+[a-z]{2,6}$/) & (f1.telefon.value.length<1) & (f1.fax.value.length<1) & (f1.adres.value.length<1)) { 
    alert("Proszę podać telefon, fax, adres lub e-mail");  
    f1.reply.focus(); 
    return false; 
  } 
  return true; 
  
}  

function testuj_din1(f1) {
  if (f1.typ_zk1.value.length<1) { alert("Podaj typ DIN, SAE, KV dla ZK1"); return false; }	
  return true;
}
function testuj_din2(f1) {
  if (f1.typ_zk2.value.length<1) { alert("Podaj typ DIN, SAE, KV dla ZK2"); return false; }	
  return true;
}


function antyspam(t) {
  t.spam.value=2;
  return true;
}




