// JavaScript Document
function validate(form) {
  	var e = form.elements;

	if(e['name'].value == "") {
		alert('Please fill in the Name field.');
		return false;
	}
	if(e['email'].value == "") {
		alert('Please fill in the Email field.');
		return false;
	}
	if(e['question'].value == "") {
		alert('Please fill in the Question field.');
		return false;
	}
	return true;
}