//CONTACT FORM VALIDATION
function valid_contact ()
	{
	valid = true;

    if (document.cform.name.value == "")
		{
		alert ( "Please fill in the 'Name' field." );
		valid = false;
		return valid;
		}
	
	if (document.cform.email.value == "")
		{
		alert ( "Please fill in the 'E-mail' field." );
		valid = false;
		return valid;
		}
	
	if (document.cform.subject.value == "")
		{
		alert ( "Please fill in the 'Subject' field." );
		valid = false;
		return valid;
		}
		
		
    if (document.cform.comments.value == "")
		{
		alert ( "Please fill in the 'Comments' field." );
		valid = false;
		return valid;
		}
		
	
	}

//MAILING LIST VALIDATION
function valid_mlist ()
	{
	valid = true;

    if (document.mform.mlemail.value == "enter your email here")
		{
		alert ( "Please provide an E-mail address." );
		valid = false;
		return valid;
		}
	else if (document.mform.mlemail.value == " ")
		{
		alert ( "Please provide an E-mail address." );
		valid = false;
		return valid;
		}
	

	}


<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function checkEmail(myForm) {
if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(myForm.mlemail.value)){
return (true)
}
alert("Invalid E-mail Address! Please re-enter.")
return (false)
}
//  End -->
