// JavaScript Document

function checkForgotPassword(theForm)
{
	//alert("GOT HERE!");
	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)
{

	//alert("GOT HERE");
	if (theForm.email_address.value == "")
	{
		alert("The \"Email Address\" field is required!");
		theForm.email_address.focus();
		return false;
	}
	
	if(!isValidEmailStrict(theForm.email_address.value))
	{
		alert("You must enter a valid Email Address!");
		theForm.email_address.focus();
		return false;
	}
	
	if (theForm.password.value == "")
	{
		alert("The \"Password\" field is required!");
		theForm.password.focus();
		return false;
	}
	
	return true;
}