var CheckboxObserver =
{
	init : function() 
	{
		$('.checkContained').click(function(e)
		{
			$(this).find('input[type=checkbox]').each(function()
			{
				if (e.target != $(this).get(0))
				{
					$(this).attr('checked', !$(this).is(':checked'));
				}
			});
		});
	}
};

$(document).ready(function()
{
	CheckboxObserver.init();
});
