
// Will dynamically check a box in the given form; the substring should be chosen to match a single box.
function checkBoxInForm(form_id, checkbox_substring)
{
	$("#" + form_id + " fieldset label").each(function(){
		if($(this).text().toLowerCase().search(checkbox_substring) > -1)
		{
			$("#" + $(this).attr("for")).attr("checked", true);
		}

	});
}

