// --------------------------------------------------------------------------------------------------------------------------------
// --------------------------------------------------------------------------------------------------------------------------------
// behaviours - Shows and hides tabs;
// depends: 	jQuery library;
// author:		nr;
// --------------------------------------------------------------------------------------------------------------------------------
// --------------------------------------------------------------------------------------------------------------------------------

(function termsAndConditionsValidation() {
	
	$('form #termsAndConditionsValidation').click(function(e) {
		var $target = $(e.target);
		if($target.is(':checkbox')) {
			if($target.is(':checked')) {
				$(this).find('.button').removeClass("btnDisabled").children().children('input').attr('disabled', false);
				
			}
			else {
				$(this).find('.button').addClass("btnDisabled").children().children('input').attr('disabled', true);
			}
		}
	});
	
	
})();

// --------------------------------------------------------------------------------------------------------------------------------
// --- end of file --- 
// -------------------------------------------------------------------------------------------------------------------------------
