function CheckFormContact() {

	var errorMsg = "";
	var errorMsgLong = "";
	
	if (document.ContactForm.Name.value.length < 2) {
		errorMsg += "\n\tYour Name \t\t- Enter your own name";
    } 
	
	var AtSym    = document.ContactForm.Email.value.indexOf('@');
	var Period   = document.ContactForm.Email.value.lastIndexOf('.');
	var Space    = document.ContactForm.Email.value.indexOf(' ');
	var Length   = document.ContactForm.Email.value.length - 1 ;

	if ((AtSym < 1) ||                  
    (Period <= AtSym+1) || 
    (Period == Length ) ||      
    (Space  != -1))      
   {  
      errorMsg += "\n\tYour Email Address \t\t- Enter a valid email address";
   }
   	
	if (document.ContactForm.Subject.value.length < 2) {
		errorMsg += "\n\tSubject \t\t\t- Enter a Subject line for your Message";
    } 
	
	if (document.ContactForm.Message.value.length < 2) {
		errorMsg += "\n\tMessage\t\t\t- Enter your Message";
    } 
	
	if ((errorMsg != "") || (errorMsgLong != "")){
		msg = "_____________________________________________________________________\n\n";
		msg += "There were problems with the information you submitted\n";
		msg += "_____________________________________________________________________\n\n";
		msg += "Please correct the following fields: -\n";
		
		errorMsg += alert(msg + errorMsg + "\n\n" + errorMsgLong);
		return false;
	}
	

	return true;
}