function show_group_type_note(new_group_type)
{
	
	if (group_type == 2 && new_group_type != 2)
	{
		$('#group_type_confirmation_members').css('display', 'block');
	} else {
		$('#group_type_confirmation_members').css('display', 'none');
	}
	
	if (group_type == 0 && new_group_type == 1)
	{
		$('#group_type_confirmation').html('You are about to change your group type from Private to Managed. All posts will be public for reading, but you or another administrator will have to approve new members before they can post.');
		$('#group_type_confirmation').css('display', '');
	} else
	if (group_type == 0 && new_group_type == 2)
	{
		$('#group_type_confirmation').html('You are about to change your group type from Private to Public. That means that now anyone will be able to read and post to this group.');
		$('#group_type_confirmation').css('display', '');
	} else
	if (group_type == 1 && new_group_type == 0)
	{
		$('#group_type_confirmation').html('You are about to change your group type from Managed to Private. Private groups are invitation only, meaning you have to manually add users to the group in order to read or post to the discussions. Private groups show up in Group searches by default, but you can keep people from seeing your discussion in the Group Options.');
		$('#group_type_confirmation').css('display', '');
	} else
	if (group_type == 1 && new_group_type == 2)
	{
		$('#group_type_confirmation').html('You are about to change your group type from Managed to Public. That means that anyone will be able to read and post to this group.');
		$('#group_type_confirmation').css('display', '');
	} else
	if (group_type == 2 && new_group_type == 0)
	{
		$('#group_type_confirmation').html('You are about to change your group type from Public to Private. Private groups are invitation only, meaning you have to manually add users to the group in order to read or post to the discussions.');
		$('#group_type_confirmation').css('display', '');
	} else
	if (group_type == 2 && new_group_type == 1)
	{
		$('#group_type_confirmation').html('You are about to change your group type from Public to Managed. All posts will be public for reading, but you or another administrator will have to approve new members before they can post.');
		$('#group_type_confirmation').css('display', '');
	} else
	{
		$('#group_type_confirmation').html('');
		$('#group_type_confirmation').css('display', 'none');
	}
}


