anchor.diff:    $(document).ready(function(){
   
     SocialStream.Repository.init();
  +
  +  $('.attachment_tile_thumb a').tooltip();
  +  $('.attachment_tile_text a').tooltip({ placement: 'bottom'});
   
     $('#<%= dom_id(document) %> .attachment_tile_tipsy a').tipsy({
     delayIn: 0,
  
positive.code:     <%= link_to truncate_name(document.title, :length => 15),
                  document,
                  :alt => document.title,
                  :path => document %>
    </div>
  </div>
  
negative.code: <div class="attachment_tile" id="<%= dom_id(document) %>">
  <% %>
    <div class="attachment_tile_thumb">
      <%= link_to "", document, :class => icon_class_for(document), :alt => document.title, :title => document.title, :rel=> 'tooltip' %>
    </div>
  
    <div class="attachment_tile_tipsy">
  