//Check that the form is not submitted with blank fields
function checkForm () 
{

	if (document.login.txtUserName.value=="")
	{
		alert("Please enter your username to log in.");
		document.login.txtUserName.focus();
		return false;
	}
	
	if (document.login.txtPasswd.value=="")
	{
		alert("Please enter your password to log in");
		document.login.txtPasswd.focus();
		return false;
	}
	
	return true;
}

function checkProjForm () 
{
	if (document.addFacil.lstFacil.value=="empty")
	{
		alert("Please enter facilitator's name.");
		document.addFacil.lstFacil.focus();
		return false;
	}
	
	return true;
}
