	 $(document).ready(function() {
		$("input").focus(function () {
			if ($(this).val() == $(this).attr("title")) {
				$(this).val("");
			}
		}).blur(function () {
			if ($(this).val() == "") {
				$(this).val($(this).attr("title"));
			}
		});
		$("textarea").focus(function () {
			if ($(this).val() == $(this).attr("title")) {
				$(this).val("");
			}
		}).blur(function () {
			if ($(this).val() == "") {
				$(this).val($(this).attr("title"));
			}
		});
		$("#invia").click(function(){
			var valid = '';
			var email = $("#email").val();

			if (!email.match(/^([a-z0-9._-]+@[a-z0-9._-]+\.[a-z]{2,4}$)/i)) {
				$("#email").css({'color': '#fff', 'background-color': 'red'});
				valid += "no";
			} else {
				$("#email").css({'color': '#5F5F5F', 'background-color': '#EBE9EB'});
			}
			if (valid != '') {
				return false;			
			}
		});
	 });

