function F_valid_pass(min_len,pp){
var good=true,
found,
i;
pp=(String(pp)).toUpperCase();
min_len=1*min_len;
if(min_len!=0 && pp.length<4){
alert("Passwords must have at least FOUR characters");
good=false}
if(good&&pp.length>0){
for(found=false,i=0;i<pp.length;i++)if(pp.charAt(i)>="0"&&pp.charAt(i)<="9")found=true;
if(!found){
alert("Must have at least one number (0-9) in a password");
good=false}
if(good){
for(found=false,i=0;i<pp.length;i++)if(pp.charAt(i)>="A"&&pp.charAt(i)<="Z")found=true;
if(!found){
alert("Must have at least one alphabetic letter (a-z) in a password");
good=false}
}
}
return(good)}
