function ValidateForm1(theForm)
{
if (theForm.Editbox1.value == "")
{
   alert("Please enter a value for the \"User id\" field.");
   theForm.Editbox1.focus();
   return false;
}
if (theForm.Editbox1.value.length < 5)
{
   alert("Please enter at least 5 characters in the \"User id\" field.");
   theForm.Editbox1.focus();
   return false;
}
if (theForm.Editbox1.value.length > 20)
{
   alert("Please enter at most 20 characters in the \"User id\" field.");
   theForm.Editbox1.focus();
   return false;
}
if (theForm.Editbox2.value == "")
{
   alert("Please enter a value for the \"Password\" field.");
   theForm.Editbox2.focus();
   return false;
}
if (theForm.Editbox2.value.length < 5)
{
   alert("Please enter at least 5 characters in the \"Password\" field.");
   theForm.Editbox2.focus();
   return false;
}
if (theForm.Editbox2.value.length > 20)
{
   alert("Please enter at most 20 characters in the \"Password\" field.");
   theForm.Editbox2.focus();
   return false;
}
return true;
}
