<!--
function ContainerLogin_Validate(theForm)
{

//USER NAME VALIDATE:
  if (theForm.c_id.value == "")
  //TEST FOR ENTRY
  {
    alert("Please enter a value for the login \"Account Number\" field.");
    theForm.c_id.focus();
    return (false);
  }

//PASSWORD VALIDATE:
  if (theForm.c_password.value == "")
  //TEST FOR ENTRY
  {
    alert("Please enter a value for the login \"password)\" field.");
    theForm.c_password.focus();
    return (false);
  }


//VALIDATE LOGIN TYPE:
//  var radioSelected = false;
//    for (i = 0;  i < theForm.LoginType.length;  i++)
//    {
//      if (theForm.LoginType[i].checked)
//          radioSelected = true;
//    }
//    if (!radioSelected)
//    {
//      alert("Please select one of the login type options.");
//      return (false);
//    }


//SCRIPT END
  return (true);
}


function RequestPW_Validate(theForm)
{

//USER NAME VALIDATE:
//  if (theForm.pw_uname.value == "")
  //TEST FOR ENTRY
  //{
  //  alert("Please enter a value for the password request \"User Name\" field.");
  //  theForm.pw_uname.focus();
  //  return (false);
  //}

//EMAILADDRESS:
  var str=theForm.req_email.value
  var filter=/^(\w+(?:\.\w+)*)@((?:\w+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i
    if (filter.test(str))
    testresults=true
    else{
    alert("Please input a valid password request email address!")
    return (false);
    }

//SCRIPT END
  return (true);
}

//-->
