$(document).ready(function(){
	
	function show_hide_recipient_table(obj){

		if (obj.attr('checked')) 
			$("#recipients_table").show();
		else
			$("#recipients_table").hide();
	}
	
	show_hide_recipient_table($("#different_recipient"));
	
	$("#different_recipient").click(function(event){
		show_hide_recipient_table($(this));
		
      });
	

});

