function isok(theform)
{
if (theform.username.value=="")
  {
    alert("Please input your E-mail address.");
    theform.username.focus();
    return (false);
  }
if (theform.pass1.value=="")
  {
    alert("Please input your password.");
    theform.pass1.focus();
    return (false);
  }
if (theform.pass1.value!="")
  {
  theform.pass.value=MD5(theform.pass1.value)
  }
return (true);
}

