
			$('input[type="checkbox"]').each (function () {
				this.checked = true;
			});
		} else {
			$('input[type="checkbox"]').each (function () {
				this.checked = false;
			});
		}
	});
	
	// make the name lowercase
	$('#name-input').blur (function () {
		$(this).val ($(this).val ().toLowerCase ());
	});
});
</script>

<style>
label {
	display: inline-block;
	width: 95%;
	height: 29px;
	line-height: 29px;
}
td {
	padding-top: 0px !important;
	padding-bottom: 0px !important;
}
</style>