function sprawdz_przetargi(form) {

	if ( form.przetargi.value ==  -1  ) {
	
		window.alert('Nie wybrano przetargu.')
		form.przetargi.focus();
		return false;			
	} 
	else 
	if ( form.nazwa.value == '' ) {
	
		window.alert('Nie podano nadawcy.')
		form.nazwa.focus();
		return false;			
	} 
	else 
	if ( form.telefon.value == '' ) {
	
		window.alert('Nie podano nru telefonu.')
		form.telefon.focus();
		return false;			
	} 
	else 
	if ( form.email.value == '' ) {
	
		window.alert('Nie podano adresu email.')
		form.email.focus();
		return false;			
	} 
	else 
	if ( form.tekst.value == '' ) {
	
		window.alert('Nie podano tresci zapytania.')
		form.tekst.focus();
		return false;			
	} 									
	else 	
	return true;				
}

function sprawdz_kontakt(form) {

	if ( form.nazwa.value == '' ) {
	
		window.alert('Nie podano nadawcy.')
		form.nazwa.focus();
		return false;			
	} 
	else 
	if ( form.telefon.value == '' ) {
	
		window.alert('Nie podano nru telefonu.')
		form.telefon.focus();
		return false;			
	} 
	else 
	if ( form.email.value == '' ) {
	
		window.alert('Nie podano adresu email.')
		form.email.focus();
		return false;			
	} 
	else 
	if ( form.tekst.value == '' ) {
	
		window.alert('Nie podano tresci listu.')
		form.tekst.focus();
		return false;			
	} 									
	else 	
	return true;				
}





