function validate(){
  var errors = "";
  var vfocus = "";
  

  vName = /^\w{1,}/;
  if (!(vName.test(document.rfi.Name.value))) {
	errors += "> Name: Required Field.<br />";
	document.rfi.Name.style.backgroundColor="#FF9900";
  } else { document.rfi.Name.style.backgroundColor="#ffffff";}


  vEM = /^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,3}|[0-9]{1,3})(\]?)$/;
  if(!(vEM.test(document.rfi.EmailFrom.value))) {
  	errors += "> Email: Required Field.<br />";
	document.rfi.EmailFrom.style.backgroundColor="#FF9900";
  } else { document.rfi.EmailFrom.style.backgroundColor="#ffffff"; }

  //Print Out the Errors or Submit Form for Processing
  if (errors) {
	var aerrors=errors;
	errors="";
    document.getElementById("error").style.display = "block";
	document.getElementById("error").innerHTML = "<p><strong>ERROR(s):</strong><br />"+aerrors+"<br /><br />Please correct all highlighted fields and resubmit.</p>";
	return false;
  }
  else {
	//alert("no errors found");    	
	document.getElementById("error").style.display = "none";
	return true;
  }
}
