function MM_openBrWindow(theURL,winName,features) { //v2.0
  		window.open(theURL,winName,features);
		}
	
	monName = new Array ("January","February","March","April","May","June","July","August","September","October","November","December")
		now = new Date
	




// Form validation 

function validateForm () {

// create a string variable to keep track of error messages
	error_string = "";
	

// Text field validation 
	//alert(document.submitForm.firstname.value);
	if (document.submitForm.firstname.value == "") {
		error_string += "You must include your first name.\n"
		//alert(error_string);
	}
	if (document.submitForm.lastname.value == "") {
		error_string += "You must include your last name.\n"
		//alert(error_string);
	}
	if (document.submitForm.address1.value == "") {
		error_string += "You must include your address.\n"
		//alert(error_string);
	}
	if (document.submitForm.city.value == "") {
		error_string += "You must include your city.\n"
		//alert(error_string);
	}
	if (document.submitForm.state.value == "") {
		error_string += "You must select your state.\n"
		//alert(error_string);
	}

	if (document.submitForm.zip.value == "") {
		error_string += "You must include your postal code.\n"
		//alert(error_string);
	}
	
	if (document.submitForm.country.value == "") {
		error_string += "You must select your country.\n"
		//alert(error_string);
	}

	if (document.submitForm.tel.value == "") {
		error_string += "You must include your phone number.\n"
		//alert(error_string);
	}

	if (document.submitForm._FROMEMAIL.value == "") {
		error_string += "You must include your email address.\n"
		//alert(error_string);
	}
			
	
	

// Check email address ... must have an @, not the first character, must have no spaces
	at_sign = document.submitForm._FROMEMAIL.value.indexOf('@');
	spaces = document.submitForm._FROMEMAIL.value.indexOf(' ');
	if (document.submitForm._FROMEMAIL.value != "") {
		if ((at_sign == "-1") || (at_sign == "0") || (spaces != "-1")) {
			error_string += "A valid email address is necessary to receive a response to your request.\n"
			//alert(error_string);
		}
	}	
	

// Finally, check to see if there are any error messages ... yes, do not submit ... no, submit
	if (error_string == "") {
		//alert(error_string);
		return true;
	} else {
		error_string = "You need to correct the following items in your form:\n\n" + error_string;
		alert(error_string);
		return false;
	}

// end of validateForm
}
