function validatereqForm()
{
var n=document.forms["reqForm"]["rfname"].value
if (n==null || n=="")
  {
  alert("Please type your full name");
  return false;
  }
//---------------------				Email 			--------------------
var y=document.forms["reqForm"]["rfemail"].value
var atpos=y.indexOf("@");
var dotpos=y.lastIndexOf(".");
if (atpos<1 || dotpos<atpos+2 || dotpos+2>=y.length)
  {
  alert("Not a valid e-mail address");
  return false;
  }

//---------------------				Phone 			--------------------
var p=document.forms["reqForm"]["rph"].value
if (p==null || p=="")
  {
  alert("Please type your phone number");
  return false;
  }
//---------------------				Comments 			--------------------
var q=document.forms["reqForm"]["rqa"].value
if (q==null || q=="")
  {
  alert("Please type your comments");
  return false;
  }
  
  
}

  

