// JavaScript Document
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function checkPwrd(P1, P2) {
if (P1 == P2){
	if (P1.length >= 6 && P1.length <= 20) {
		var nums = " 0123456789";
		for (i=0; i<=P1.length; i++) {
			if (nums.indexOf(P1.charAt(i)) >= 1) {
				return (true);
			}
		}
		alert("Password must contain at least one number!  Please re-enter.");
		return (false);
	}
	else {
	alert("Password length must be a minimum of 6 and a maximum of 20!  Please re-enter.");
	return (false);
	}
}
alert("Password is not equal to Confirm Password!  They must be the same.  Please re-enter.");
return (false);
}
//  End -->
