<!-- ---------------------------------------------- -->
<!-- SCRIPT  -->
<!-- ---------------------------------------------- -->

	function contactus_Validator(theForm) {
		var re_not_isAlphaNum = new RegExp("[^a-zA-Z0-9 ]");
		
		if (theForm.elements['firstName'].value == "") {
			alert("Missing FIRST NAME");
			theForm.elements['firstName'].focus();
			return (false);
		}

		if (theForm.elements['lastName'].value == "") {
			alert("Missing LAST NAME");
			theForm.elements['lastName'].focus();
			return (false);
		}
		if (theForm.elements['country'].value == "0") {
			alert("Missing COUNTRY");
			theForm.elements['country'].focus();
			return (false);
		}
		
		if ((!(theForm.elements['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['email'].value=="")) {  
			alert("E-MAIL ADDRESS not valid");
			theForm.elements['email'].focus();
			return (false);
		}
		if (theForm.elements['comments'].value == "") {
			alert("Missing COMMENTS");
			theForm.elements['comments'].focus();
			return (false);
		}

		if (theForm.privacy_accepted[1].checked) {
			alert("PLEASE NOTE!\n\nTo send your message is necessary to read and approve the privacy statement.");
			//Aggwin = window.open('../company/privacy.php','Privacy','toolbar=no,width=520,height=400,directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no'); 
			theForm.elements['privacy_accepted'][1].focus();
			return (false);
		}
		
				
		return (true);
	}



	function toggleVisibility(){
		me = document.getElementById("waiting_large");
		if (me.style.visibility=="hidden"){
			me.style.visibility="visible";
			}
		else {
			me.style.visibility="hidden";
			}
	}
		
	


<!-- ---------------------------------------------- -->
<!-- FINE SCRIPT  -->
<!-- ---------------------------------------------- -->

