$(document).ready(function() {
	$("input#horodatage").click(function() {
		if (($(this).is(':checked')) && (confirm("En cochant cette case vous confirmez votre acceptation de nos conditions generales.")))
			$(this).attr('checked', true);
		else
			$(this).attr('checked', false);
	});

	$("input#signature").click(function() {
		if (($(this).is(':checked')) && (confirm("En cochant cette case vous déclarez avoir pris connaissance du contrat que vous vous apprêtez à signer.")))
			$(this).attr('checked', true);
		else
			$(this).attr('checked', false);
	});
});
