function checkCheckBoxes(contact) {

if (contact.f_name.value == ''){
alert ('Please fill in your first name.');
		return false;
}
else if (contact.l_name.value == ''){
alert ('Please fill in your last name.');
		return false;
}
else if (contact.country_rep.value == ''){
alert ('Please fill in the country you are representing.');
		return false;
}
else if (contact.phone.value == ''){
alert ('Please fill in your phone number.');
		return false;
}
else if (contact.email.value == ''){
alert ('Please fill in your email address.');
		return false;
}
else if (
	contact.interest_q53d.checked == false &&
	contact.interest_q53f.checked == false &&
	contact.interest_q77c.checked == false &&
	contact.interest_q101.checked == false &&
	contact.interest_q47b.checked == false &&
	contact.interest_q62b.checked == false &&
	contact.interest_q62d.checked == false &&
	contact.interest_q62e.checked == false &&
	contact.interest_q110b.checked == false &&
	contact.interest_q36b.checked == false &&
	contact.interest_mk84.checked == false &&
	contact.general_comment.checked == false) 
	{
		alert ('You must check a box. Please click the appropriate box to select a sonobuoy or to make a general comment.');
		return false;
	}
	
	else {
	if (contact.interest_q53d.checked == true){
		if (contact.quantity_q53d.value == '' || contact.del_date_q53d.value == ''){
		alert ('Please ensure both the Quantity and the Delivery Date have been completed for the AN/SSQ-53D DIFAR.');
		return false;
		}
	}
		else if (contact.interest_q53d.checked !== true){
		if (contact.quantity_q53d.value !== '' || contact.del_date_q53d.value !== ''){
		alert ('Please check the AN/SSQ-53D DIFAR box.');
		return false;
		}
	}
	
	
		if (contact.interest_q53f.checked == true){
		if (contact.quantity_q53f.value == '' || contact.del_date_q53f.value == ''){
		alert ('Please ensure both the Quantity and the Delivery Date have been completed for the AN/SSQ-53F DIFAR.');
		return false;
		}
	}
		else if (contact.interest_q53f.checked !== true){
		if (contact.quantity_q53f.value !== '' || contact.del_date_q53f.value !== ''){
		alert ('Please check the AN/SSQ-53F DIFAR box.');
		return false;
		}
	}
	
		if (contact.interest_q77c.checked == true){
		if (contact.quantity_q77c.value == '' || contact.del_date_q77c.value == ''){
		alert ('Please ensure both the Quantity and the Delivery Date have been completed for the AN/SSQ-77C VLAD.');
		return false;
		}
	}
		else if (contact.interest_q77c.checked !== true){
		if (contact.quantity_q77c.value !== '' || contact.del_date_q77c.value !== ''){
		alert ('Please check the AN/SSQ-77C VLAD box.');
		return false;
		}
	}
	
	
		if (contact.interest_q101.checked == true){
		if (contact.quantity_q101.value == '' || contact.del_date_q101.value == ''){
		alert ('Please ensure both the Quantity and the Delivery Date have been completed for the AN/SSQ-101 ADAR.');
		return false;
		}
	}
		else if (contact.interest_q101.checked !== true){
		if (contact.quantity_q101.value !== '' || contact.del_date_q101.value !== ''){
		alert ('Please check the AN/SSQ-101 ADAR box.');
		return false;
		}
	}
	
	
	
		if (contact.interest_q47b.checked == true){
		if (contact.quantity_q47b.value == '' || contact.del_date_q47b.value == ''){
		alert ('Please ensure both the Quantity and the Delivery Date have been completed for the AN/SSQ-47B.');
		return false;
		}
	}
		else if (contact.interest_q47b.checked !== true){
		if (contact.quantity_q47b.value !== '' || contact.del_date_q47b.value !== ''){
		alert ('Please check the AN/SSQ-47B box.');
		return false;
		}
	}
	
	
	
		if (contact.interest_q62b.checked == true){
		if (contact.quantity_q62b.value == '' || contact.del_date_q62b.value == ''){
		alert ('Please ensure both the Quantity and the Delivery Date have been completed for the AN/SSQ-62B DICASS.');
		return false;
		}
	}
		else if (contact.interest_q62b.checked !== true){
		if (contact.quantity_q62b.value !== '' || contact.del_date_q62b.value !== ''){
		alert ('Please check the AN/SSQ-62B DICASS box.');
		return false;
		}
	}
	
	
	
		if (contact.interest_q62d.checked == true){
		if (contact.quantity_q62d.value == '' || contact.del_date_q62d.value == ''){
		alert ('Please ensure both the Quantity and the Delivery Date have been completed for the AN/SSQ-62D DICASS.');
		return false;
		}
	}
		else if (contact.interest_q62d.checked !== true){
		if (contact.quantity_q62d.value !== '' || contact.del_date_q62d.value !== ''){
		alert ('Please check the AN/SSQ-62D DICASS box.');
		return false;
		}
	}
	
		if (contact.interest_q62e.checked == true){
		if (contact.quantity_q62e.value == '' || contact.del_date_q62e.value == ''){
		alert ('Please ensure both the Quantity and the Delivery Date have been completed for the AN/SSQ-62E DICASS.');
		return false;
		}
	}
		else if (contact.interest_q62e.checked !== true){
		if (contact.quantity_q62e.value !== '' || contact.del_date_q62e.value !== ''){
		alert ('Please check the AN/SSQ-62E DICASS box.');
		return false;
		}
	}
	
	
		if (contact.interest_q110b.checked == true){
		if (contact.quantity_q110b.value == '' || contact.del_date_q110b.value == ''){
		alert ('Please ensure both the Quantity and the Delivery Date have been completed for the AN/SSQ-110B.');
		return false;
		}
	}
		else if (contact.interest_q110b.checked !== true){
		if (contact.quantity_q110b.value !== '' || contact.del_date_q110b.value !== ''){
		alert ('Please check the AN/SSQ-110B box.');
		return false;
		}
	}
	
	
		if (contact.interest_q36b.checked == true){
		if (contact.quantity_q36b.value == '' || contact.del_date_q36b.value == ''){
		alert ('Please ensure both the Quantity and the Delivery Date have been completed for the AN/SSQ-36B BT.');
		return false;
		}
	}
		else if (contact.interest_q36b.checked !== true){
		if (contact.quantity_q36b.value !== '' || contact.del_date_q36b.value !== ''){
		alert ('Please check the AN/SSQ-36B BT box.');
		return false;
		}
	}
	
	
		if (contact.interest_mk84.checked == true){
		if (contact.quantity_mk84.value == '' || contact.del_date_mk84.value == ''){
		alert ('Please ensure both the Quantity and the Delivery Date have been completed for the MK-84 MOD 1 SUS.');
		return false;
		}
	}
		else if (contact.interest_mk84.checked !== true){
		if (contact.quantity_mk84.value !== '' || contact.del_date_mk84.value !== ''){
		alert ('Please check the MK-84 MOD 1 SUS box.');
		return false;
		}
	}
	
} 
}
