anchor.diff:  <% content_for :javascript do  %>
  +  
  +	$("#space_filter").show();
  +	
  +	$("input#public").click(function(){
  +	  $("#public_spaces").slideToggle("slow");
  +	});
  +	
  +	$("input#private").click(function(){
  +    $("#private_spaces").slideToggle("slow");
  +  });
  +	
  +	$("#space_name_filter").keyup(function(){
  +	  var filter_text = this.value.toLowerCase();
  +    $("div.space_item").each(function() {
  +        if($(this).attr("name").toLowerCase().search(filter_text)>=0){
  +          $(this).css({ display:"inline"})
  +      }else{
  +          $(this).hide();
  +      }
  +      });
  +	});
  +
     $(".space_item").hover(
   	  function () {
   		    var route = "div#" + $(this).attr("name");
  
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>