function checkForm() {

	// Filename: formValidator.js
	// Copyright (c) 2001 by Blair Reyburn (blairr@ashlandagency.com)
	// http://www.ashlandagency.com
	//
	// checks to see if a user has typed in a @ in their email address
	// variables used:
	//	* missingInfo: error message with missing info returned to user
	//	* email: value of form input named "email"
	//	* atSymbolPresent: index value of email after searching
	//		for @ symbol. A -1 value indicates no @ symbol.
	//
	// This program is free software. You can redistribute it 
	// as long as this notice accompanies it.
	//
	// Usage:
	// make a call from the <FORM> tag using the onSubmit handler
	// <form ... onSubmit="return checkForm();">
	//
	// Build Revision v1.0
	// Date: 4/26/2001
	
	// initalize variable
	missingInfo = "";
	
	var email = document.emailForm.email.value;
	// if email has more than 4 characters (to account for
	// the @ symbol, one period and at least a 2 character
	// TLD code) check to see if the "@" symbol is present
	if (email.length > 4){
		var intPlacement = email.indexOf("@");
	}

	// if email is too short, return error
	else {
		missingInfo += "\n     -  Email address.";
	}

	// if email does not contain the "@" symbol
	if (intPlacement == -1) {
			missingInfo += "\n     -  Email address does not contain @ symbol";
	}

	// output error information and kill form
	if (missingInfo != "") {
		missingInfo ="You failed to correctly fill in your:\n" + missingInfo + "\n\nPlease re-enter and submit again!";
		alert(missingInfo);
		return false;
	}

	// if everything is okay (more than 4 characters in email address)
	// send form
	else {
		emailForm.submit();
		return true;
	}
}