// JavaScript Document

function checkForgotPassword(theForm)
{

	if (! isValidEmailStrict(theForm.email_address.value))
	{
		alert("You must enter a valid email address.");
		theForm.email_address.focus();
		return false;
	}
	
	return true;
}

function checkLogin(theForm)
{


	if (theForm.Email.value == "")
	{
		alert("The \"Email Address\" field is required.");
		theForm.Email.focus();
		return false;
	}
	
	if(!isValidEmailStrict(theForm.Email.value))
	{
		alert("You must enter a valid Email Address.");
		theForm.Email.focus();
		return false;
	}
	
	if (theForm.password.value == "")
	{
		alert("The \"Password\" field is required.");
		theForm.password.focus();
		return false;
	}
	
	return true;
}
