function validate()
{
	if (document.forms['pq_form'].contact_name.value.length == 0) {
		alert("Please enter your name before submitting the questionnaire.");
		return;
	}
	
	if (document.forms['pq_form'].contact_phone.value.length == 0
		&& document.forms['pq_form'].contact_mobile.value.length == 0
		&& document.forms['pq_form'].contact_fax.value.length == 0
		&& document.forms['pq_form'].contact_email.value.length == 0) {
		alert("Please enter some contact information (phone, fax, email, etc.) before submitting the questionnaire.");
		return;
	}
	
	document.forms['pq_form'].submit();
}
