$(document).ready(function() {
		$("#formZapytanie").validate();
		
		$('#check1').change(toggleInput);
		$('#check2').change(toggleInput2);
		$('.unactiv2').attr('disabled', true);
		$('.unactiv').attr('disabled', true);
		$('#check1').removeAttr('checked');
		$('#check2').removeAttr('checked');
		
		function toggleInput() {
		    if ($(this).is(':checked')) {
				$('.unactiv').removeAttr('disabled');
		       
		    } else {
				$('.unactiv').attr('disabled', true); 
		    }   
		}
	
		function toggleInput2() {
		    if ($(this).is(':checked')) {
		        $('.unactiv2').removeAttr('disabled');
		    } else {
				 $('.unactiv2').attr('disabled', true);
		    }   
		}
	});
