anchor.diff:  
   
           <% if @surveys.public_methods.include?("page_count") %>
  -          <!-- only do the page links if the collection supports it -->
  -      <%#= render :partial => "layouts/paginate", :locals => { :collection => @surveys } -%>
           <% end %>
   
  -    <%#= render :partial => "assets/resource_list", :locals => { :collection => @surveys, :authorization_for_showing_already_done=>true } %>
           <div class="tabber">
             <% @survey_hash.each_key do |key| -%>
               <div class="tabbertab">
  
positive.code: 
      </div>
    </div>
    <%# form_tag(:action => "grid_view") do -%>
  
    <%#= submit_tag 'Show grid view',:id => "grid_button" %>
    <%# end -%>
  
  
negative.code: <% @survey_search_query="Enter search terms" unless @survey_search_query -%>
  
  <ul class="sectionIcons">
  	<!-- might be able to upload user surveys in future -->
    <!--<li><%#= icon "new", new_survey_path, "Upload New Survey", nil, "Upload New Survey" %></li>-->
    <!-- <li><%#= icon "view-all", all_files_path, nil, nil, "View All Files" %></li> -->
  </ul>
  <div class="show_basic" style="padding-right: 2em;">
    <div id="survey_selector">
      <% form_tag(:action => "search_variables") do -%>
  <!-- jquery grid experiment-->
        <%# form_tag(:action => "grid_view") do -%>
  
          <%= hidden_field_tag "page", 1 -%>
          <%= hidden_field_tag "per_page", 10 -%>
  		<% if !logged_in? -%>
          <h2>Welcome, guest.  Please select some surveys and search for variables of interest to your research.  You can browse the metadata and see what is inside the MethodBox but only <%= link_to "registered users", signup_url, :onclick=>"if(#{REGISTRATION_CLOSED}==true){alert('registration is not currently open')};return false" -%> can add variables to their cart and download them.</h2><br/>		
  <% else -%>
          <h2>Select some surveys, enter a search term and click the button to find some variables</h2><br/>
  		<% end -%>
          <div style="position: relative;background-color:#ACCBE0;padding-top:5px;padding-bottom:5px;padding-left:5px;width:100%;height:60px;">
            <div style="position: absolute; ;top:1em;left:1em"><%= text_field_tag :survey_search_query, @survey_search_query,:onclick=>"javascript:$('survey_search_query').select();" %>
              <%= submit_tag 'Search selected surveys',:id => "search_button" %>
            </div>
  <!-- jquery grid experiment -->
      <%#= submit_to_remote 'submit', 'JQ Grid', {:url=>{:controller => "variables", :action=> "grid_view"}} -%>
  		<% if logged_in? -%>
            <div id="cart_button" style="position: absolute; top:1em; right:1em;">
              <%= render :partial => "cart_button" -%>
            </div>
  		<% end -%>
            <div style="position: absolute; bottom:1em; left:1em;">Select:
              <%= link_to_function 'All', "$$('input.survey_checkbox').each(function(checkbox){selectDatasets(checkbox, true);})" %>
              ,&nbsp
  