function validMail(formMail) {

		if ( formMail.firstname.value == "" ) {
			alert("Please enter your FIRST NAME in the field where the cursor has been placed.");
			formMail.firstname.focus();
			return false;
		}

		if ( formMail.lastname.value == "" ) {
			alert("Please enter your LAST NAME in the field where the cursor has been placed.");
			formMail.lastname.focus();
			return false;
		}

		if ( formMail.email.value == "" ) {
			alert("Please enter your E-MAIL ADDRESS in the field where the cursor has been placed.");
			formMail.email.focus();
			return false;
		}


	invalidMailChars = "~`!#$%^&*()+={[}]|\"':;?/><,"
	atPosit = formMail.email.value.indexOf("@",1)
	dotPosit = formMail.email.value.indexOf(".",atPosit)
	goodMail = true

		for ( i=0; i<invalidMailChars.length; i++ ) {
			badMailChar = invalidMailChars.charAt(i)

			if ( formMail.email.value.indexOf(badMailChar,0) > -1 ) {
				goodMail = false
			}
		}


		if ( atPosit == -1 ) {
			goodMail = false
		}

		if ( formMail.email.value.indexOf("@",atPosit+1) != -1 ) {
			goodMail = false
		}

		if ( dotPosit == -1 ) {
			goodMail = false
		}

		if ( dotPosit+3 > formMail.email.value.length ) {
			goodMail = false
		}

		if ( goodMail == false ) {
			alert("Please check your E-MAIL ADDRESS for errors.")
			formMail.email.focus();
			return false
		}

		return true;

	}

