anchor.diff: +<%= javascript_include_tag 'survey_checkbox.js' -%>
   <%#= stylesheet_link_tag 'survey_ul_2'%>
   <%# unless key.nil? -%>
   <%#*<div width="100%">%>
  
positive.code: <%#*<ul class="survey">%>
    <ul>
    <% @survey_hash[key].each do |item| -%>
      <li>
        <b class="spiffy"><b class="spiffy1"><b></b></b><b class="spiffy2"><b></b></b><b class="spiffy3"></b><b class="spiffy4"></b><b class="spiffy5"></b></b>
        <div class="survey_box">
  <div>
          <p style="padding-left:5px;">
            <%= image_tag("folds/unfold.png", :onclick=>"hideOrShowThisDiv(#{item.id.to_s})", :title=>"Hide or show datasets for this survey") -%><%= check_box_tag item.title + "_survey_ids[]", item.id,false,:onclick=>"selectAllDatasetsForYear(#{item.id})", :title=> "Select/Unselect all datasets for this survey", :class=>'survey_checkbox', :id=>"#{item.id.to_s + '_survey_check'}"  %><%= link_to(item.title, survey_path(item)) -%>
  
negative.code: <div id="<%= item.id.to_s + "_div"-%>" style="display:none;">
          <% item.datasets.each do |dataset| -%>
            <p style="padding-left:5px;white-space: normal;">
              <%= check_box_tag "entry_ids[]", dataset.id,(selected.include?(dataset) && {:checked => 'checked'}),:onclick=>"checkSelectAllStatus(#{item.id.to_s},#{dataset.id.to_s})", :class=>'survey_checkbox', :id=>"#{item.id.to_s + '_' + dataset.id.to_s + '_survey_check'}"  %>
              <%= link_to(dataset.name , dataset_path(dataset)) -%><br/><%= dataset.description-%>
            </p>
  <%= javascript_tag "addDataset(#{item.id.to_s}, #{dataset.id.to_s})"-%>
            <%#*<br/>%>
          <% end -%>
  </div>
    <%#*</ul>%>
  
        </div>
        <b class="spiffy" id="<%= item.id.to_s + "_spiffy_bottom"-%>"><b class="spiffy5" id="<%= item.id.to_s + "_spiffy_bottom_5"-%>"></b><b class="spiffy4" id="<%= item.id.to_s + "_spiffy_bottom_4"-%>"></b><b class="spiffy3" id="<%= item.id.to_s + "_spiffy_bottom_3"-%>"></b><b class="spiffy2" id="<%= item.id.to_s + "_spiffy_bottom_2"-%>"><b></b></b><b class="spiffy1" id="<%= item.id.to_s + "_spiffy_bottom_1"-%>"><b></b></b></b>
      </li>
    <% end -%>
  <%#= javascript_tag "$$('b.spiffy *').each(function(spiffy) { { spiffy.setStyle({'background-color':'green'})} });" -%>
  </ul>
  </div>