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

	if(e['firstname'].value == "") {
		alert('Please fill in the First Name field.');
		return false;
	}
	if(e['lastname'].value == "") {
		alert('Please fill in the Last Name field.');
		return false;
	}
	if(e['email'].value == "") {
		alert('Please fill in the Email field.');
		return false;
	}
	if(e['site'].value == "") {
		alert('Please fill in the Site Name field.');
		return false;
	}
	if(e['address'].value == "") {
		alert('Please fill in the Address field.');
		return false;
	}
	if(e['city'].value == "") {
		alert('Please fill in the City field.');
		return false;
	}
	if(e['state'].value == "") {
		alert('Please fill in the State field.');
		return false;
	}
	if(e['zip'].value == "") {
		alert('Please fill in the Zip field.');
		return false;
	}
	if(e['phone'].value == "") {
		alert('Please fill in the Phone field.');
		return false;
	}
	if(e['warranty'].value == "") {
		alert('Please fill in the Warranty/Contract Status field.');
		return false;
	}
	if(e['question'].value == "") {
		alert('Please fill in the Questions/Feedback field.');
		return false;
	}
	return true;
}

