
function Validate()
{
	var u = document.getElementById("UserName");
	var p = document.getElementById("Password");
	var t = document.getElementById("ThePassword");
	
	if (u.value.length < 1)
	{
		alert("Username was not entered.  Please check this and try again");
		u.focus();
		return false;
	}
	
	if (p.value.length < 1)
	{
		alert("Password was not entered.  Please check this and try again");
		u.focus();
		return false;			
	}	
	
	t.value = calcMD5(p.value);
	p.value = "";	
	return true;	

}




