// JavaScript Document
<!--
function validate(frm) 
{
	//
    // Check the Name field to see if any characters were entered
    //
    if (frm.Full_Name.value.length == 0)
    {
        alert("Please enter a name before submitting the form.");
        frm.Full_Name.focus();
        return false;
    }

    //
    // Now check the email field for the "@" symbol
    //
    if (frm.email.value.indexOf("@") == -1)
    {
        alert("Please enter a valid e-mail address.");
        frm.email.focus();
        return false;
    }
	
    //
    // Now check the email field for the "." sign
    //
    if (frm.email.value.indexOf(".") == -1)
    {
        alert("Please enter a valid e-mail address.");
        frm.email.focus();
        return false;
    }	
	
	//
    // Check the telephone number field to see if any characters were entered
    //
    if (frm.Telephone.value.length == 0)
    {
        alert("Please enter a contact telephone number before submitting the form.");
        frm.Telephone.focus();
        return false;
    }	
	
	//
    // Check the msg field to see if any characters were entered
    //
    if (frm.Message.value.length == 0)
    {
        alert("Please enter a message before submitting the form.");
        frm.Message.focus();
        return false;
    }

}
//-->
