$(document).ready(function() {
	$("#formularz-pytania").validate({
		rules: {
			emailfrom: {
				required: true,
				email: true
			}
		},
		messages: {
			emailfrom: {
				required: "Proszę wpisać adres email.",
				email: "Proszę wpisać adres email."
			}
		}
//              ,
//		errorPlacement: function(error, element) {
//			error.appendTo(element.parent("td").parent("tr").prev("tr").find("td.error"));
//		}
	});
});
