 
    function showAddress(address) {
      var inPoly = false;
      var inKCMO = false;
      if (geocoder) {
        geocoder.getLatLng(
          address,
          function(point) {
            if (!point) {
              alert(address + " not found");
            } else {
              map.setCenter(point, 11);
              var marker = new GMarker(point);
              map.addOverlay(marker);
              
              $("#message").empty();
              
              inPoly = polygon1.containsLatLng(point);
              if (inPoly == true) {
              	inKCMO = true;
              	strDistrict = "1"
              	$('#message').append("This address is in  the <i>1st District</i>.  Your Councilmembers are<br /> <b>Bill Skaggs: (816) 513-1619 <br />Deb Hermann: (816) 513-1624</b><br /> ");
				$('#message').append("<input type=\"hidden\" name=\"district\" id=\"district\" value=\"1\" />");
              	//marker.openInfoWindowHtml(address + "<br>1st District");
              }
              
              inPoly = polygon2.containsLatLng(point);
              if (inPoly == true) {
              	inKCMO = true;
              	strDistrict = "2"
              	$('#message').append("This address is in  the <i>2nd District</i>.  Your Councilmembers are<br /> <b>Ed Ford: (816) 513-1601<br /> Russ Johnson:  (816) 513-1622</b><br />  ");
				$('#message').append("<input type=\"hidden\" name=\"district\" id=\"district\" value=\"2\" />")
              	//marker.openInfoWindowHtml(address + "<br>2nd District");
              }
              
              inPoly = polygon3.containsLatLng(point);
              if (inPoly == true) {
              	inKCMO = true;
              	strDistrict = "3"
              	$('#message').append("This address is in  the <i>3rd District</i>.  Your Councilmembers are<br /> <b>Sharon Sanders-Brooks: (816) 513-1608 <br />Melba Curls:  (816) 513-1605</b><br /> ");
				$('#message').append("<input type=\"hidden\" name=\"district\" id=\"district\" value=\"3\" />")
              	//marker.openInfoWindowHtml(address + "<br>Third District");
              }
              
              inPoly = polygon4.containsLatLng(point);
              if (inPoly == true) {
              	inKCMO = true;
              	//marker.openInfoWindowHtml(address + "<br>Fourth District");
				strDistrict = "4"
    			$('#message').append("This address is in  the <i>4th District</i>. Your Councilmembers are <br /><b>Beth Gottstein: (816) 513-1616<br />  Jan Marcason: (816) 513-1617</b><br /> ");
				$('#message').append("<input type=\"hidden\" name=\"district\" id=\"district\" value=\"4\" />")
              }
              
              inPoly = polygon5.containsLatLng(point);
              if (inPoly == true) {
              	inKCMO = true;
              	strDistrict = "5"
              	$('#message').append("This address is in  the <i>5th District</i>. Your Councilmembers are <br /><b>Cindy Circo: (816) 513-1633 <br />  Terry Riley: (816) 513-1629</b><br/> ");
				$('#message').append("<input type=\"hidden\" name=\"district\" id=\"district\" value=\"5\" />")
              	//marker.openInfoWindowHtml(address + "<br>Fifth District");
              }
              
              inPoly = polygon6.containsLatLng(point);
              if (inPoly == true) {
              	inKCMO = true;
              	strDistrict = "6"
              	$('#message').append("This address is in  the </i>6th District</i>. Your Councilmembers are <br /><b>Cathy Jolly:  (816) 513-1602 <br />  John Sharp: (816) 513-1615</b><br /> ");
				$('#message').append("<input type=\"hidden\" name=\"district\" id=\"district\" value=\"6\" />")
              	//marker.openInfoWindowHtml(address + "<br>6 District");
              }
              
              if (inKCMO == false) {
              	//marker.openInfoWindowHtml(address + "<br><i>Address was not found in any KCMO council district</i>");
              	//alert(address + " was not found in any KCMO council district");
              	strDistrict = "0";
              	$('#message').append(address + " does not appear to be in the KCMO City Limits.  Please try again or <a href=\"/about/\">contact us for help</a>.");
              }
			  //show message box
			  $("#message").show();
			  //if in city limits show next buttom
			  if (inKCMO == true) {
				  $('#message').append("FAX for both councilmembers: (816) 513-1612. ");
				  $('#message').append("<br /> <br/>Mayor Mark Funkhouser: (816) 513-3500 or FAX (816) 513-3518. ");
				  $('#message').append("<br />City Manager Wayne Cauthen: (816) 513-1408 or FAX: (816) 513-1363. ");
				  $('#message').append("<br /> <br /><input type=\"submit\" name=\"submit\" value=\"Click here to send everyone an email\"");
				  }
              //marker.openInfoWindowHtml(address);
            $("#district").attr("value",strDistrict);
            }
          }
        );
      }
    }
