<!--
	function submitForm(){
		var validate = validateForm();
		if(validate != true){
			alert(validate);return false;
			
		}else{
			document.projectmailer.submit();
		}
	}

	function removeSpaceEmail(){
		if(document.projectmailer.tEmail.value.indexOf(" ") > -1)
			alert("Your email address can not contain spaces!");
	}

	function validateForm(){
		if(document.projectmailer.tFirstNames.value == ""){
			document.projectmailer.tFirstNames.focus();
			return " Please fill in your first name!";
		}else if(document.projectmailer.tLastName.value == ""){
			document.projectmailer.tLastName.focus();
			return " Please fill in your surename!";

		}else if(isReady(document.projectmailer.tEmail.value) == false){
				document.projectmailer.tEmail.focus();
				return " Your email address ("+document.projectmailer.tEmail.value+") is not valid! Please fill in a valid email address!";
		}else if(document.projectmailer.tAccept.checked == false){
			document.projectmailer.tAccept.focus();
			return " Please check Agree if you would like to recieve information from Mediter!";
		}else{
			return true;
		}
	}

//-->

