anchor.diff:  
   <% @page_title = "Spaces"-%>
   
  -<h3>Private Spaces</h3>
  +<div id="space_filter" style="display:none">
  +	Space filter: <%=text_field_tag 'space_name_filter'%>
  + <%= check_box_tag "public","public",true%><%= label_tag "public"%>  <%= check_box_tag "private","private",true%><%= label_tag "private" %>
  +</div>
   
   <div id = "private_spaces">
  +
  +  <h3>Private Spaces</h3>
  +
   	<% for space in @private_spaces %>
   	  <% unless space.authorizes?(:read, :to => current_agent) %>
   	    <div class="space_item unautorized" name="<%=space.permalink%>">
  
positive.code:       }
      );
    
  	/* TODO with Antonio Tapiador */ 
    $(".unautorized form").submit(function(){
  	  var route = $(this).attr("action");
      $.post(route,
  
negative.code: 	<% end %>
  </div>
  
  <div id = "public_spaces">
  
    <h3>Public Spaces</h3>
  
    <% for space in @public_spaces %>
      <div class="space_item" name="<%=space.permalink%>"><%=link_logo (space, :size=> 48, :title => space.name, :alt => space.name)%></div>
    <% end %>
  </div>
  
  <div id="lightbox_content" style="display:none"></div>