function emailCheck() 
{	
	//Declare a Variable to display error message
	missinginfo = "";
	//Check to see if the title is missing
	if (document.add.Title.value == "") 
	{
		missinginfo += "\n     -  Title";
	}
	//Check to see if the Name is missing
	if (document.add.name.value == "") {
		missinginfo += "\n     -  Name";
	}
	//Check to see if the address is missing
	if (document.add.address.value == "") 
	{
		missinginfo += "\n     -  Address";
	}
	//Check to see if the telephone is missing
	if (document.add.tel.value == "") 
	{
		missinginfo += "\n     -  Telephone";
	}
	//Check to see if the fax is missing
	//if (document.add.fax.value == "") 
	//{
	//	missinginfo += "\n     -  Fax";
	//}
	//Check to see if the email is missing
	if (document.add.email.value == "") 
	{
		missinginfo += "\n     -  Email";
	}
	//Check to see if the authors is missing
	//if (document.add.authors.value == "") 
	//{
	//	missinginfo += "\n     -  Authors";
	//}
	//Check to see if the startdate is missing
	//if (document.add.startdate.value == "") 
	//{
	//	missinginfo += "\n     -  Start Date";
	//}
	//Check to see if the enddate is missing
	//if (document.add.enddate.value == "") 
	//{
	//	missinginfo += "\n     -  End Date";
	//}
	//Check to see if the primary keywords is missing
	//if (document.add.primary.value == "") 
	//{
	//	missinginfo += "\n     -  Primary KeyWords";
	//}
	//Check to see if the secondary keywords is missing
	//if (document.add.Secondary.value == "") 
	//{
	//	missinginfo += "\n     -  Secondary KeyWords";
	//}
	//Check to see if the Contact Name is missing
	//if (document.add.conname.value == "") 
	//{
	//	missinginfo += "\n     -  Contact Name";
	//}
	//Check to see if the Contact Address is missing
	//if (document.add.conaddress.value == "") 
	//{
	//	missinginfo += "\n     -  Contact Address";
	//}
	//Check to see if the Contact Telephone is missing
	//if (document.add.contel.value == "") 
	//{
	//	missinginfo += "\n     -  Contact Telephone";
	//}
	//Check to see if the Contact Fax is missing
	//if (document.add.confax.value == "") 
	//{
	//	missinginfo += "\n     -  Contact Fax";
	//}
	//Check to see if the Contact Email is missing
	//if (document.add.conemail.value == "") 
	//{	
	//	missinginfo += "\n     -  Contact Email";
	//}
	//If variable is not blank, display the message
	if (missinginfo != "") 
	{
		missinginfo ="_____________________________\n" +
		"You failed to correctly fill in your:\n" +
		missinginfo + "\n_____________________________" +
		"\nPlease re-enter and submit again!";
		alert(missinginfo);
		return false;
	}
	else return true;
}

	// If we've gotten this far, everything's valid!
	//return true;
//}	//function emailCheck(emailStr) {	


/*function emailCheck() 
{	
	// Check to see if the Contact Name is blank
	if (document.add.Title.value == "") 
	{
	   alert('Please Add Title Of Project !');
	   return false
	}	//if (document.add.MailFrom.value == "") 		
	
	// Check to see if the Question is blank
	if (document.add.name.value == "") 
	{
	   alert('Principal Contact Name Cannot Be Blank!');
	   return false
	}	//if (document.add.Subject.value == "") 
	if (document.add.address.value == "") 
	{
	   alert('Principal Contact Address Cannot Be Blank!');
	   return false
	}	//if (document.add.Subject.value == "") 
	if (document.add.tel.value == "") 
	{
	   alert('Principal Contact Telephone Number Cannot Be Blank!');
	   return false
	}	//if (document.add.Subject.value == "") 
	if (document.add.fax.value == "") 
	{
	   alert('Principal Contact Fax Number Cannot Be Blank!');
	   return false
	}	//if (document.add.Subject.value == "") 
	if (document.add.email.value == "") 
	{
	   alert('Principal Contact email Cannot Be Blank!');
	   return false
	}	//if (document.add.Subject.value == "") 
	if (document.add.authors.value == "") 
	{
	   alert('Authors Cannot Be Blank!');
	   return false
	}	//if (document.add.Subject.value == "") 
	if (document.add.startdate.value == "") 
	{
	   alert('Start Date Cannot Be Blank!');
	   return false
	}	//if (document.add.Subject.value == "")
	if (document.add.enddate.value == "") 
	{
	   alert('End Date Cannot Be Blank!');
	   return false
	}	//if (document.add.Subject.value == "") 
	
	if (document.add.primary.value == "") 
	{
	   alert('Please Enter Primary KeyWords!');
	   return false
	}	//if (document.add.Subject.value == "") 
	if (document.add.Secondary.value == "") 
	{
	   alert('Please Enter Secondary KeyWords!');
	   return false
	}	//if (document.add.Subject.value == "") 
	if (document.add.conname.value == "") 
	{
	   alert(' Contact Name Cannot Be Blank!');
	   return false
	}	//if (document.add.Subject.value == "") 
	if (document.add.conaddress.value == "") 
	{
	   alert('Contact Address Cannot Be Blank!');
	   return false
	}	//if (document.add.Subject.value == "") 
	if (document.add.contel.value == "") 
	{
	   alert('Contact Telephone Number Cannot Be Blank!');
	   return false
	}	//if (document.add.Subject.value == "") 
	if (document.add.confax.value == "") 
	{
	   alert('Contact Fax Cannot Be Blank!');
	   return false
	}	//if (document.add.Subject.value == "")
	if (document.add.conemail.value == "") 
	{
	   alert('Contact Email Cannot Be Blank!');
	   return false
	}	//if (document.add.Subject.value == "") 
	// If we've gotten this far, everything's valid!
	return true;
}	//function emailCheck(emailStr) {	
*/

