$(document).ready(function(){
	$('form.joinForm').change(function(){
		$('.hiddenBox input').each(function(){
			if($(this).is(':checked')) {
				$('label[for="' + $(this).attr('id') + '"]').addClass('active');
			} else {
				$('label[for="' + $(this).attr('id') + '"]').removeClass('active');
			}
		});
	});
	
	$('.hiddenBox input').each(function(){
		if($(this).is(':checked')) {
			$('label[for="' + $(this).attr('id') + '"]').addClass('active');
		} else {
			$(this).removeClass('active');
		}
	});
		
	
});
