/* ClearForm: this function has 1 argument: form.
   It clears the input and answer fields on the form. 
   It needs to know the names of the INPUT elements in order
   to do this. */
function ClearForm(form)
{
form.email_options.value = "selected";
form.name.value = "";
form.email.value = "";
form.pages.value = "";
}


//JavaScript function to confirm validation
function checkform(thisform)
{
	if (thisform.name.value == null || thisform.name.value == "")
	{
	alert ("Please enter your Name");
	thisform.name.focus();
	thisform.name.select();
	return false;
	}
	if (thisform.email.value == null || thisform.email.value == "")
	{
	alert ("Please enter your Email Address");
	thisform.email.focus();
	thisform.email.select();
	return false;
	}
	if (thisform.pages.value == null || thisform.pages.value == "")
	{
	alert ("Please enter the Number of Pages you think you will need");
	thisform.pages.focus();
	thisform.pages.select();
	return false;
	}
}