function DataValidation()
{
if (document.formc.name.value == "") {
alert("Please enter your name!");
document.formc.name.focus();
return false;
}
if ((document.formc.email.value == "" ||
document.formc.email.value.indexOf('@', 0) == 
-1) || document.formc.email.value.indexOf('.') 
== -1) 
{
alert("The e-mail entered is empty or invalid!");
document.formc.email.focus();
return false;
}

if (document.formc.comments.value == "") {
alert("Please enter your comments");
document.formc.comments.focus();
return false;
}

return true;
}
