
function toggle() {
	if (this.checked) {
		$('#' + this.name).show();
	} else {
		$('#' + this.name).hide();
	}
}

$(function() {
	$('.form-toggle input').each(toggle).click(toggle);
});