function List() {
	document.f.submit ()
}
function chk() {
	
	
				if (f.email.value == "")
  {
    alert("Please enter a value for the \"Registration No.\" field.");
    f.email.focus();
    return false ;
  }
	
	
	 // test if valid email address, must have @ and .
  var checkemail = "@.";
  var checkStr = f.email.value;
  var emailValid = false;
  var emailAt = false;
  var emailPeriod = false;
  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);
    for (j = 0;  j < checkemail.length;  j++)
    {
      if (ch == checkemail.charAt(j) && ch == "@")
        emailAt = true;
      if (ch == checkemail.charAt(j) && ch == ".")
        emailPeriod = true;
	  if (emailAt && emailPeriod)
		break;
	  if (j == checkemail.length)
		break;
	}
	// if both the @ and . were in the string
    if (emailAt && emailPeriod)
    {
		emailValid = true
		break;
	}
  }
  if (!emailValid)
  {
    alert("Sorry, data not available");
   f.email.focus();
    return (false);
  }
  
  
  }