// ------------------------------------------------------------
// 
// ------------------------------------------------------------
$(document).ready(
	function ()
	{
		$("#retrieve-id").submit(handleRetrieveIdSubmit);
	}
);

function handleRetrieveIdSubmit ()
{
	var isValid = true;

	$("li.error", $(this)).hide();
	
	if (
		$("li.name input.text", $(this)).val() == "" ||
		$("li.school-name input.text", $(this)).val() == "" ||
		$("li.child-name input.text", $(this)).val() == ""
	)
	{
		$("li.error", $(this)).show();
	
		isValid = false;
	};
	
	return isValid;
};
