// JavaScript Document
function checkform (form) {
	
	if(form.to.value=="") {
	alert('Please select the department you wish to contact.');
	form.to.focus();
	return false;
	}
	if(form.your_name.value=="") {
	alert('You forgot to enter your name.');
	form.your_name.focus();
	return false;
	}
	if(form.email_address.value=="") {
	alert('You forgot to enter your Email Address');
	form.email_address.focus();
	return false;
	}
	if(form.phone_1.value=="") {
	alert('You forgot to fill out your AREA CODE');
	form.phone_1.focus();
	return false;
	}
	if(form.phone_2.value=="") {
	alert('You forgot to fill out the rest of your phone number');
	form.phone_2.focus();
	return false;
	}
	if(form.phone_3.value=="") {
	alert('You forgot to fill out the rest of your phone number');
	form.phone_3.focus();
	return false;
	}

	if(form.subject.value=="") {
	alert('Please enter the subject of this email');
	form.subject.focus();
	return false;
	}
	if(form.message_main.value=="") {
	alert('Please enter the message you wish to send');
	form.message.focus();
	return false;
	}

}
