anchor.diff:  <% if logged_in? -%>
         <div style="position: absolute; bottom:1em; right:1em;">
           <%= submit_to_remote '_submit', 'Add selected variables to cart', {:url=>{:action=> "add_to_cart"}, :before => "Form.getInputs(this.form, null,'submit')[0].value = 'add';Element.show('spinner')",:success => "Element.hide('spinner')"} -%>
  -  <%#= submit_tag'Add selected variables to cart', :name=>"_submit",:src=>'/images/famfamfam_silk/cart_add.png', :onclick => "Form.getInputs(this.form, null,'submit')[0].value = 'add';" -%>
         </div>
   <% end -%>
  -
  +<!-- This code used to be used for linking variables together, might be used again-->
         <!-- <div style="position: absolute; bottom:1em; right:1em;"> -->
           <%#= text_field_tag :link_variables_text, @link_reason %>
           <%#= submit_to_remote '_submit', 'Group selected variables', {:url=>{:action=> "add_to_cart"}, :before => "Form.getInputs(this.form, null,'submit')[0].value = 'link';Element.show('spinner')",:success => "Element.hide('spinner')"} -%>
  
positive.code:     </div>
      <div id="table_container" class="faux_table_container">
        <%= render :partial => "table", :locals=>{:sorted_variables => @sorted_variables} -%>
        <%#= render :partial => "add_variables_div" -%>
      </div>
    </div>
  <% end -%>
  
negative.code:         <%= link_to_function 'Invert selection', "$$('input.variable_checkbox').each(function(checkbox) { if (checkbox.checked == true) {checkbox.checked = false;} else {checkbox.checked = true; } });" %>
  
        </div>
  <% if logged_in? -%>
        <div id="cart_button" style="position: absolute; top:1em; right:1em;">
          <%= render :partial => "cart_button" -%>
        </div>
  <% end -%>
      </div>
      <br/>
      <br/>
  