	// -------------------------------------------------------------------
	// --- CHECK FORM ---
	// -------------------------------------------------------------------
	function Form_Validator(theForm) {	
		if (theForm.privacy_accepted[1].checked) {
			alert("PLEASE NOTE!\n\nTo send your message is necessary to read and approve the privacy statement.");
			window.open('../privacy/privacy.html','Privacy','toolbar=no,width=520,height=400,directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no');
			theForm.description.focus();
			return (false);
		}
		
		if (theForm.elements['item_field[firstname]'].value == "") {
		    alert("Invalid NAME");
		    theForm.elements['item_field[firstname]'].focus();
		    return (false);
		}
		if (theForm.elements['item_field[lastname]'].value == "") {
		    alert("Invalid SURNAME");
		    theForm.elements['item_field[lastname]'].focus();
		    return (false);
		}
		if ((!(theForm.elements['item_field[email]'].value.search(/^\w+((\+\w+)|(-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.([A-Za-z0-9])([A-Za-z0-9]?)([A-Za-z0-9]?)$/)!= -1)) || (theForm.elements['item_field[email]'].value=="")) {  
		  	alert("Invalid EMAIL");
		    theForm.elements['item_field[email]'].focus();
		  	return (false);
		}  
		if (theForm.description.value == "") {
		    alert("Missing COMMENTS");
		    theForm.description.focus();
		    return (false);
		} 
		
		theForm.elements['okForm'].value = 1;
		return (true);
	}
	// -------------------------------------------------------------------

	
	// -------------------------------------------------------------------
	// --- OPEN POP-UP ---
	// -------------------------------------------------------------------
	function map(img_name) {
		AggWin = window.open("maps.php?img_name="+img_name,"Map","toolbar=no,width=500,height=400,directories=no,status=no,scrollbars=no,resize=no,menubar=no");
		return;
	}	
	// -------------------------------------------------------------------
