function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function checkFields() {
missinginfo = "";
if (document.form.name.value == "") {
missinginfo += "\n     -  Name";
}
if(document.form.subject.value == "") {
missinginfo += "\n     -  Subject";
}
if(document.form.comments.value == "") {
missinginfo += "\n     -  Comments";
}

if (missinginfo != "") {
missinginfo ="_____________________________\n" +
"You failed to correctly fill in your:\n" +
missinginfo + "\n_____________________________" +
"\nPlease re-enter and submit again!";
alert(missinginfo);
return false;
}
else return true;
}

function Validator(theForm){

a=Validator.arguments;
for(i=1; i<a.length; i++){
	if (theForm[Validator.arguments[i]].value == ""){
		alert("Please fill all required fields.");
		theForm[Validator.arguments[i]].className += 'missing_field'
		theForm[Validator.arguments[i]].focus();
		return (false);
	}
}
if (theForm.Email.value.length < 2){
	alert("Please enter a valid value for the\"Email\" field.");
	theForm.Email.focus();
	return (false);
}

return (true);
}




