<!-- Begin
function validate_getpassword() {

	if (trimString(document.get_password_form.email.value) == "")
	{
		alert("Please tell us your email address.");
		return;
	}
	
	if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(trimString(get_password_form.email.value))){
		}
		else {
		alert("The email address you entered is invalid. Please re-enter it.")
	  return;
	  }
	

	if (trimString(document.get_password_form.antispam.value) == "")
	{
		alert("Please enter the antispam code.");
		return;
	}


	var valid_antispam_characters = "0123456789AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz0123456789";
	
	var antispam_ok = "yes";
	var temp;
	for (var i=0; i<document.get_password_form.antispam.value.length; i++) {
	temp = "" + document.get_password_form.antispam.value.substring(i, i+1);
	if (valid_antispam_characters.indexOf(temp) == "-1") antispam_ok = "no";
	}
	if (antispam_ok == "no") {
		alert("Invalid antispam code. Please re-enter the antispam code.");
	return;
	}

	document.getElementById('get_password_form_submit').innerHTML = "<span class=\"errormessage\">Request processing, please wait ...</span>";
 document.get_password_form.submit()
}


//  End -->
