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

