anchor.diff:            <%= select_tag :model_ids, options_from_collection_for_select([], :id, :title), {:multiple=>true, :style=>"display:none;"} -%>
   
             <br/>
  -
  +          <%= check_box_tag :include_other_project_models, nil, false, {:onchange=>"toggle_model_list();",:style=>"margin-top:0.5em;"} -%> Associate Models from other projects?
           </div>
   		<br/>
           <%= link_to_function (image("new") + " Associate with this #{resource_text}"), "addSelectedModel(); return(false);", :id=>"add_model_link", :class=>"block_link" %>
  
positive.code: </div>
  
  <script type="text/javascript">
  
  <% models = resource.is_a?(Publication) ? resource.related_models : resource.model_masters %>
  <% models.each do |model| -%>
  
negative.code: <%
     resource_text ||= text_for_resource(resource)
     all_models=authorised_models.sort{|a, b| a.title<=>b.title}
     project_models=authorised_models(current_user.person.projects).sort_by &:title
      select_truncate_length=120
      associated_models = resource.is_a?(Publication) ? resource.related_models : resource.models
  -%>
  