anchor.diff:    <%= f.submit(action==:edit ? "Update" : "Create") -%>
     or <%= link_to 'Cancel', (@assay.id ? assay_path(@assay.id) : assays_path) -%>
   </p>
  +
  +<script type="text/javascript">
  +	function showTitle(text){
  +    var elem = document.getElementById("full_study_title");
  +		elem.style.display = '';
  +		elem.innerHTML = text;
  +	}
  +	
  +	function hideTitle(){
  +		var elem = document.getElementById("full_study_title");
  +		elem.style.display = 'none';
  +	}
  +</script>
positive.code:       <%= f.label :description -%><br/>
        <%= f.text_area :description,:cols=>50,:rows=>10 -%>
      </p>
  
      <p>
        <%= f.label :study -%><br/>
        <%
          studies=Study.find(:all,:joins=>:investigation,:conditions=>["project_id IN (?)",current_user.person.projects])
        -%>
        <%= f.select("study_id", studies.collect {|s| [ truncate(s.title, :length => 64), s.id ] }, { :include_blank => "Not specified" }) -%>
      </p>
    </div>
  </center>
  
  
  
  
negative.code: <%= f.error_messages -%>
  
  
  <div style="width: 60%;">
      <% if !@assay.study.nil? -%>      
        <p>
          <%= label_tag "Associated study: " -%>
  