anchor.diff:            <label>Longitude</label>
             <%= text_field_tag "lng", params[:lng] %>
           </p>
  -        <%= submit_tag "Lookup" %>
  -        <input type="button" value="Clear" onclick="clear_box()">
  -        
         </span>
     <% end %>
   </div>
  
positive.code:     any legislative district geographies:
      <a class="api" href="http://congress.mcommons.com/districts/lookup.xml?lat=64.835054&lng=147.646528">http://congress.mcommons.com/districts/lookup.xml?lat=64.835054&amp;lng=147.646528</a>
      <script src='http://pastie.org/337847.js'></script>
    </p>
negative.code: 
  <script type="text/javascript">	
    var geocoder = new GClientGeocoder();
  
    document.observe('dom:loaded', function() {
      var address_input = $('address');
      
      $('address_form').observe('submit', function(event) {
        var address = address_input.value;
        geocoder.getLatLng(
          address,
          function(point) {
            if (!point) {
              alert(address + " not found");
            } else {
              $('lat').value = point.lat();
              $('lng').value = point.lng(); 
              $('lat_lng_form').request(); 
            }
          }
        );
        Event.stop(event);
      });
  
      $('clear').observe('click', function() {
        address_input.value = '';
        address_input.focus();
      });
  
      address_input.focus();
    });
  </script>
  
  <div id="geo-box">
    <form id="address_form"> <!-- Handled by js. Not submitted. -->
      <span id="address_span">
        <p>
          <label>Address</label>  
          <input type="text" id="address" name="address"/>
        </p>
        <input type="submit" value="Lookup">
        <input type="button" id="clear" value="Clear">
    </span>
    </form>
    <% form_remote_tag :html => { :id => "lat_lng_form" } do %>
        <span id="lat_lng" style="display:none;">
          <p>
            <label>Latitude</label>
  