anchor.diff:        <% end %>
       }
     }
  +  function showAddress(response) {
  +    if (!response || response.Status.code != 200) {
  +        alert("Status Code:" + response.Status.code);
  +          } else {
  +        place = response.Placemark[0];
  +        $('nearest_address').innerHTML = "nearest street address: " + place.address;
  +    }
  +  }
   </script>
   
   Total records: <%= Location.count(:conditions => {:user_id => @user_id}) %>
  
positive.code:       <% if location == @locations.first %>
        tinyIcon.image = "<%= url_for "images/gmaps/mm_20_red.png"%>";
        scale = 1.1;
        <% else %>
        tinyIcon.image = "<%= url_for "images/gmaps/mm_20_blue.png"%>";
        scale = 1.0 - (<%=i < 4 ? i+1 : 4%>*0.1);
  
negative.code: <%= params[:id] %> <%= params[:lat] %> <%= params[:long] %> 
  - most recent communication was 
  <%= time_ago_in_words(@locations.first.created_at) %> ago.
  <br/>
  <span id="nearest_address" />
  </p>
  
  <!-- Google Maps -->
  