anchor.diff:          Effect.Appear('extra_organism_details');
         }
       }
  -    function clearTable1(){
  -        var table1_elements = new Array();
  -        table1_elements = ["specimen_medium","specimen_culture_format","specimen_temperature","specimen_ph","specimen_confluency","specimen_passage","specimen_viability","specimen_purity"];
  -        for(var i=0; i<table1_elements.length;i++)
  -        {
  -           document.getElementById(table1_elements[i]).value="";
  -        }
   
  -    }
  -    function clearTable2() {
  -       $('specimen_sex').selectedIndex = 0;
  -       document.getElementById("specimen_age").value="";
  -       document.getElementById("specimen_born").value="";
  -     }
   
       function check_show_which_fields(){
           if($F('specimen_culture_growth_type_id')){
  
positive.code:         }else{
             div1.style.display = 'none';
             div2.style.display='none';
            // clearTable1();
            // clearTable2();
  
          }
         }
  
negative.code:       <div id="extra_organism_details" style="display:none;">
          <div class="association_step">
            <b>Step 2</b> - Select method of culture growth (optional)<br/><br/>
            <%= select_tag "specimen[culture_growth_type_id]",culture_growth_options ,{:onchange=>"check_show_which_fields();return(false);"}-%>
            <br/>
           <div id="fields_for_cultured_cell_line_and_primary_cell_culture" style="display:none;">
             <table id="table1" border="1" cellpadding="10" >
  