// JavaScript Document
function ValidateAndSubmit(frm)
{
	if((index=ValidateFormByID(frm))!=EMPTY)
	{
		alert("Please type a valid User ID and Password before trying to logging in...");
		frm.elements[index].focus();
		return false;
	}
	else
		return true;
	
	/*	
	if (!isEmailAddress('txtEmailAddress'))
	{
		alert("The email address entered is not valid, please type a valid email address.");
		obj = document.getElementById('txtEmailAddress');
		obj.focus();
		return false;
	}
	*/			
}