function checkPassword(thisform)
{
   if (thisform.password.value == "" || thisform.password2.value == "")
   {
      return true;
   }
   if (thisform.password.value != thisform.password2.value)
  {
     alert("The passwords you entered did not match");
     return false;
  }
  return true;
}

function checkPassword2(thisform)
{
   if (thisform.newpassword.value == "" || thisform.newpassword2.value == "")
   {
      return true;
   }
   if (thisform.newpassword.value != thisform.newpassword2.value)
  {
     alert("The passwords you entered did not match");
     return false;
  }
  return true;
}

function checkPassword3(thisform)
{
   if (thisform.password1.value == "" || thisform.password2.value == "")
   {
      return true;
   }
   if (thisform.password1.value != thisform.password2.value)
  {
     alert("The passwords you entered did not match");
     return false;
  }
  return true;
}


