function checkForm()
{
	var theForm = document.forms["contactForm"];
	var theMessage = theForm.elements["messagefield"];
	var theEmail = theForm.elements["emailfield"];

	if (theMessage.value == "" || theMessage.value == "Message")
	{
		alert("Please fill in a message.");
		theMessage.focus();

		return false;
	}
	
	if (theEmail.value == "" || theEmail.value == "Email")
	{
		alert("Please enter your email address.");
		theEmail.focus();
		
		return false;
	}
	theForm.submit();

	return true;
}
