function validateForm(theForm) {
  // check to see if username was entered
  if (theForm.attribute3.value == "") {
    alert("Please enter Your First Name");
    return (false);
  }

  // check to see if username was entered
  if (theForm.attribute4.value == "") {
    alert("Please enter Your Last Name");
    return (false);
  }



  // check to see if username was entered
  if (theForm.attribute5.value == "") {
    alert("Please enter Your City");
    return (false);
  }


  // check to see if email was entered
  if (theForm.email.value == "") {
    alert("Please enter an e-mail address.\n " + "We need it to reply.");
    return (false);
  }


  // check for valid e-mail address

  if (theForm.email.value.indexOf("@")<1 ||
    theForm.email.value.indexOf(".")==-1 ||
    theForm.email.value.indexOf(",")!=-1 ||
    theForm.email.value.indexOf(" ")!=-1 ||
    theForm.email.value.length<6) {
    alert("Please enter a valid E-mail address.\n" +
    "Example: myname@domainname.com");
    return false
  }

if (theForm.email.value != theForm.emailconfirm.value) {
	alert("Please confirm E-Mail Address.");
	return (false);
}

return (true);

}

