function checkMail(mail) 
{
var check = /^[a-z][\w\-\.]*@[\w\-\.]+\.[a-z]{2,3}/i
if (check.test(mail)) 
{
return false;
}
else 
{
return true;
}
}

function check()
{

if (document.reg.FirstName.value.length=="") 
{
alert("Please fill in  FirstName.\n");
return false;
};

if (document.reg.cEmail.value.length=="") 
{
alert("Please fill in E-mail.\n");
return false;
};
if (checkMail(document.reg.cEmail.value)) 
{
alert("The email address you provided is invalid! Please correct it. \n");
return false;
};
if (document.getElementById('Comment').value.length=="") 
{
alert("Please fill in Comments, Questions or Concerns.\n");
return false;
};

return true;
}

function check_contact()
{

if (document.contact.name.value.length=="") 
{
alert("Please fill in  Name.\n");
return false;
};


if (document.contact.email.value.length=="") 
{
alert("Please fill in Email Address.\n");
return false;
};

if (checkMail(document.contact.email.value)) 
{
alert("The email address you provided is invalid! Please correct it. \n");
return false;
};


return true;
}