function fnClearMsg(){
if (document.frmContact.Mail.value=="Enter any comments you have here, enter your email address below, and click ''Send Message''...")
{
document.frmContact.Mail.value=""
}
}
function fnInsertMsg(){
if (document.frmContact.Mail.value=="")
{
document.frmContact.Mail.value="Enter any comments you have here, enter your email address below, and click ''Send Message''..."
}
}

function check(frmContact)

{

	if (frmContact.SEmail.value =="") {
	 alert ("Please enter a valid Email Address.")
	 frmContact.SEmail.focus()
	return false
	
	}
	
 	  invalidChars = "/:,;"
	  
	  for (i=0; i<invalidChars.length;i++){
	  badChar = invalidChars.charAt(i)
		  if (frmContact.SEmail.value.indexOf(badChar,0)>-1)
		  {
	
		 alert ("Please enter a valid Email Address. ( /:,; not permitted in Email Addresses.)")
		 frmContact.SEmail.focus()

		  return false
		  }
	  }
	  
  	  validChars = "@."
	  intgood = 0
	  
	  for (i=0; i<validChars.length;i++){
	  goodChar = validChars.charAt(i)
		  if (frmContact.SEmail.value.indexOf(goodChar,0)>-1)
		  {
	  
		  intgood = intgood -1
		 
		  }
	  }
	  
 	if (intgood ==0)  {
	 alert ("Please enter a valid Email Address.")
	 frmContact.SEmail.focus()
	return false
	
	}
	
	
	if (intgood ==-1)  {
	 alert ("Please enter a valid Email Address.")
	 frmContact.SEmail.focus()
	return false
	
	}



return true
}