	<!--
function Validate(theForm){

// check if txtFrom field is blank
 if (theForm.txtFrom.value == ""){
    alert("Please mention your email address.");
    theForm.txtFrom.focus();
    return (false);
  }

  // test if valid txtFrom address, must have @ and .
  var checktxtFrom = "@.";
  var checkStr = theForm.txtFrom.value;
  var txtFromValid = false;
  var txtFromAt = false;
  var txtFromPeriod = false;
  for (i = 0;  i < checkStr.length;  i++){
    ch = checkStr.charAt(i);
    for (j = 0;  j < checktxtFrom.length;  j++){
      if (ch == checktxtFrom.charAt(j) && ch == "@")
        txtFromAt = true;
      if (ch == checktxtFrom.charAt(j) && ch == ".")
        txtFromPeriod = true;
	  if (txtFromAt && txtFromPeriod)
		break;
	  if (j == checktxtFrom.length)
		break;
	}

	// if both the @ and . were in the string
    if (txtFromAt && txtFromPeriod){
		txtFromValid = true
		break;
	}
  }
  if (!txtFromValid){
    alert("Invaild email address");
    theForm.txtFrom.focus();
    return (false);
  }
 
  if (theForm.txtSubject.value == "")	{
	alert("Please enter your Full Name");
	theForm.txtSubject.focus();
	return (false);
	}

   if (theForm.txtBody.value == "")	{
	alert("Please enter your Phone Number");
	theForm.txtBody.focus();
	return (false);
	}
}


//-->
