function loginForIntakeAssessment(username, password)
{
	var userJSON;

	userJSON = doLogin(username, password);

	if (!userJSON)
	{
		$('loginErrors').update('Server error.  Please try again or contact the administrator.');
		return false;
	}
	
	if (userJSON.isValid)
	{
		if (userJSON.landingPage == null)
		{
			location.replace(daDomain + "/Intake-and-Assessment/Agency-Center/");
			return false;
		}
		else
		{
			location.replace(daDomain + userJSON.landingPage);
			return false;
		}
	}
	else
	{
		$('loginErrors').update('Invalid username & password.');
		return false;
	}
}