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="#FF0000";
  } else { document.rfi.name.style.backgroundColor="#ffffff";}
  
  vCompany = /^\w{1,}/;
  if (!(vCompany.test(document.rfi.company.value))) {
	errors += "> Company: Required Field.<br />";
	document.rfi.company.style.backgroundColor="#FF0000";
  } else { document.rfi.company.style.backgroundColor="#ffffff";}
  
  vStreet = /^\w{1,}/;
  if (!(vStreet.test(document.rfi.street1.value))) {
	errors += "> Street Address 1: Required Field.<br />";
	document.rfi.street1.style.backgroundColor="#FF0000";
  } else { document.rfi.street1.style.backgroundColor="#ffffff";}
  
  vCity = /^\w{1,}/;
  if (!(vCity.test(document.rfi.city.value))) {
	errors += "> City: Required Field.<br />";
	document.rfi.city.style.backgroundColor="#FF0000";
  } else { document.rfi.city.style.backgroundColor="#ffffff";}
  
  vState = /^\w{1,}/;
  if (!(vState.test(document.rfi.state.value))) {
	errors += "> State: Required Field.<br />";
	document.rfi.state.style.backgroundColor="#FF0000";
  } else { document.rfi.state.style.backgroundColor="#ffffff";}
  
  vZip = /^\w{1,}/;
  if (!(vZip.test(document.rfi.zip.value))) {
	errors += "> Zip: Required Field.<br />";
	document.rfi.zip.style.backgroundColor="#FF0000";
  } else { document.rfi.zip.style.backgroundColor="#ffffff";}
  
  vPhone = /^\w{1,}/;
  if (!(vPhone.test(document.rfi.phone.value))) {
	errors += "> Phone: Required Field.<br />";
	document.rfi.phone.style.backgroundColor="#FF0000";
  } else { document.rfi.phone.style.backgroundColor="#ffffff";}


  vEM = /^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,3}|[0-9]{1,3})(\]?)$/;
  if(!(vEM.test(document.rfi.email.value))) {
  	errors += "> Email: Required Field.<br />";
	document.rfi.email.style.backgroundColor="#FF0000";
  } else { document.rfi.email.style.backgroundColor="#ffffff"; }
  
  vMessage = /^\w{1,}/;
  if (!(vMessage.test(document.rfi.message.value))) {
	errors += "> Message: Required Field.<br />";
	document.rfi.message.style.backgroundColor="#FF0000";
  } else { document.rfi.message.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;
  }
}

