function validateForm(theForm)
{

	if (theForm.user.value == "")
	{
		alert("Please enter a value for the \"User Name\" field.");
		theForm.user.focus();
		return (false);
	}

	if (theForm.user.value.length > 60)
	{
		alert("Please enter at most 60 characters in the \"User Name\" field.");
		theForm.user.focus();
		return (false);
	}

	if (theForm.pw.value == "")
	{
		alert("Please enter a value for the \"Password\" field.");
		theForm.pw.focus();
		return (false);
	}

	if (theForm.pw.value.length < 3)
	{
		alert("Please enter at least 3 characters in the \"Password\" field.");
		theForm.pw.focus();
		return (false);
	}

	if (theForm.pw.value.length > 15)
	{
		alert("Please enter at most 15 characters in the \"Password\" field.");
		theForm.pw.focus();
		return (false);
	}

	return (true);
}
