function CommentValidate()
{
var name = document.cipComments.name.value;
var email = document.cipComments.email.value;
var feedback = document.cipComments.feedback.value;

  if (!name)
    {
      alert("You need to inlude a name");
      document.cipComments.name.focus()
      return false;
    }
  else
  
    if (!email)
    {
      alert("You need to inlude an email");
      document.cipComments.email.focus()
      return false;
    }
  else
  
    if (!feedback)
    {
      alert("You did not input any feedback");
      document.cipComments.feedback.focus()
      return false;
    }
  else

    if (!/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(email))
    {
      alert("You did not input a proper email address")
      document.cipComments.email.focus()
      return false;
    }

  else
    {
      return true;
    }
}