$(document).ready(function(){
	
	// check to see if on this page load, the box is checked . . . 
	// as in the case of error during submission
	var initialPrivacyChecked = $("#sf-private").attr("checked");
	if(initialPrivacyChecked) {
		$("#privacyMsg").show();
	}


	// now add a listening in the event that the checkbox
	// value is toggled by the user
	$("#sf-private").click(function() {
		var privacyChecked = $("#sf-private").attr("checked");
		if(privacyChecked) {
			$("#privacyMsg").slideDown();
		} else {
			$("#privacyMsg").slideUp();
		}
	});
	 
	
	


});


