/* called by the Header for Login pages (960) to validate entered email address
and set the Submit button to Sending... */
/* number of functions in file = 2 */


function checkEmail() {
	//validates WebEmail field is entered
	if (document.forgottenform.WebEmail.value == 0) {
		alert("Please type in your E-mail address.")
		document.forgottenform.WebEmail.focus()
		document.forgottenform.WebEmail.select()
		return false
	}
	// Sets button to Sending to stop repeat entry
	if (document.getElementById) { 
		if (!clicked) { 
			document.getElementById("Submit_button").value = "Sending..."; 
			clicked = true; 
			return true; 
		} else { 
			return false; 
		} 
	} else { 
		return true; 
	} 
}


// Sets button to Sending to stop repeat entry
function Login()  {
	if (document.getElementById) { 
		if (!clicked) { 
			document.getElementById("Login_button").value = "Sending..."; 
			clicked = true; 
			return true; 
		} else { 
			return false; 
		} 
	} else { 
		return true; 
	} 
}
	
