 
    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 1st District. <br /> Your Councilmembers are <b>Bill Skaggs and Deb Hermann</b>.<br /> ");
              	//marker.openInfoWindowHtml(address + "<br>1st District");
              }
              
              inPoly = polygon2.containsLatLng(point);
              if (inPoly == true) {
              	inKCMO = true;
              	strDistrict = "2"
              	$('#message').append("This address is in  the 2nd District. <br /> Your Councilmembers are <b>Ed Ford and Russ Johnson</b>.<br />  ");
              	//marker.openInfoWindowHtml(address + "<br>2nd District");
              }
              
              inPoly = polygon3.containsLatLng(point);
              if (inPoly == true) {
              	inKCMO = true;
              	strDistrict = "3"
              	$('#message').append("This address is in  the 3rd District. <br /> Your Councilmembers are <b>Sharon Sanders-Brooks and Melba Curls</b>.<br /> ");
              	//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 4th District. <br /> Your Councilmembers are <b>Beth Gottstein and Jan Marcason</b>.<br /> ");
              }
              
              inPoly = polygon5.containsLatLng(point);
              if (inPoly == true) {
              	inKCMO = true;
              	strDistrict = "5"
              	$('#message').append("This address is in  the 5th District. <br /> Your Councilmembers are Cindy Circo and Terry Riley. ");
              	//marker.openInfoWindowHtml(address + "<br>Fifth District");
              }
              
              inPoly = polygon6.containsLatLng(point);
              if (inPoly == true) {
              	inKCMO = true;
              	strDistrict = "6"
              	$('#message').append("This address is in  the 6th District. <br /> Your Councilmembers are Cathy Jolly and John Sharp. ");
              	//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) {
	
				  }
              //marker.openInfoWindowHtml(address);
            $("#district").attr("value",strDistrict);


            }
          }
        );
      }
    }

