  function toggleView(objId)
    {
      objElement = document.getElementById(objId);
      if (objElement.style.visibility == "hidden")
        {
          objElement.style.visibility = "visible";
          objElement.style.zIndex = "10";
        }
      else
        {
          objElement.style.visibility = "hidden";
          objElement.style.zIndex = "1";
        }
      if (navigator.appName == "Netscape")
        {
          objElement.style.left = "95px";
        }
      else
        {
          objElement.style.left = "55px";
        }
    }
    
  function show(objId)
    {
      objElement = document.getElementById(objId);
      objElement.style.visibility = "visible";
      objElement.style.zIndex = "10";
      if (navigator.appName == "Netscape")
        {
          objElement.style.left = "91px";
        }
      else
        {
          objElement.style.left = "51px";
        }
    }
    
  function hide(objId)
    {
      objElement = document.getElementById(objId);
      objElement.style.visibility = "hidden";
      objElement.style.zIndex = "1";
      if (navigator.appName == "Netscape")
        {
          objElement.style.left = "95px";
        }
      else
        {
          objElement.style.left = "55px";
        }
    }
    
		
  function validateForm()
    {
      var atty =  document.sendmail.attorney.value;
      var name =  document.sendmail.customername.value;
      var email = document.sendmail.customeremail.value;
      var subject = document.sendmail.subject.value;
      var message = document.sendmail.message.value;
      if (atty == "")
        {
          alert("Please select an attorney to send your message to.");
          document.sendmail.attorney.focus();
          return false;
        }
      else if (email == "")
        {
          alert("Please enter your email address.");
          document.sendmail.customeremail.focus();
          return false; 
        }
      else if (email.indexOf("@") == -1)
        {
          alert("Email address does not contain the @ symbol.");
          document.sendmail.customeremail.focus();
          return false;
        }
      else if (email.indexOf(".") == -1)
        {
          alert("Email address does not end with an acceptable extension.");
          document.sendmail.customeremail.focus();
          return false;
        }
      else if (name == "")
        {
          alert("Please enter your name.");
          document.sendmail.customername.focus();
          return false; 
        }
      else if (message == "" || message == "Enter your message...")
        {
          alert("Please enter the text of your message.");
          document.sendmail.message.focus();
          return false;
        }
      else
        {
          return true;
        }
    }

