// JavaScript Document
// Member's Corner

/////////////////////////////////////////////////////////////////
/// function loginValidate
/// parameter: 
/// login    - the HTML image tag name
/// password - the context  path
///
/// check to see if any of the fields are empty
function loginValidate(login, password)
{
	if (login.value == "")
	{
		alert('Member ID is required.');
		return false;
	}
	
	if (password.value == "")
	{
		alert('Password is required.');
		return false;
	}
	
	return true;
}

/////////////////////////////////////////////////////////////////
/// function submitLoginForm
/// parameter: 
/// none
///
/// submit the login form
function submitLoginForm(login)
{
	document.login.submit();
}


