anchor.diff:  <tags:includeScriptaculous/>
   	<script language="JavaScript" type="text/JavaScript">
   	
  -	function toggle(in_id,out_id,out_second_id)
  +	function toggle(in_id,out_id,out_second_id,out_third_id,out_fourth_id)
   	{
  +		
   		if ($(out_id).style.display != "none" ){
   			Effect.Shrink(out_id);
   		}
   		if ($(out_second_id).style.display != "none" ){
   			Effect.Shrink(out_second_id);
   		}
  +		if ($(out_third_id).style.display != "none" ){
  +			Effect.Shrink(out_third_id);
  +		}	
  +		if ($(out_fourth_id).style.display != "none" ){
  +			Effect.Shrink(out_fourth_id);
  +		}			
   		Effect.toggle(in_id, 'appear');
   		$('type').value = in_id;
   	}
  
positive.code:     	<input id="routine_ae_report_file" type="file" name="routineAdverseEventReportFile" />
  		<input id="type" type="hidden" name="type" />
  		</div>
      	
  
   </jsp:attribute>
      </tags:tabForm>    
  </body>
  
negative.code: 		if (  $('type').value == "routineAeReports"){
  			$('routineAeReport').style.display = ""
  		}
  		if (  $('type').value == "investigator"){
  			$('investigator').style.display = ""
  		}	
  		if (  $('type').value == "researchStaff"){
  			$('researchStaff').style.display = ""
  		}			
  	}
  	
  	
  	Event.observe(window, "load", function() {
  		
  		showIf()
  		Event.observe("study_button","click",function() { toggle('study','participant','routineAeReport','investigator','researchStaff') })
  		Event.observe("participant_button","click",function() { toggle('participant','study','routineAeReport','investigator','researchStaff') })
  		Event.observe("routine_ae_report_button","click",function() { toggle('routineAeReport','study','participant','investigator','researchStaff') })
  	 	Event.observe("investigator_button","click",function() { toggle('investigator','study','participant','routineAeReport','researchStaff') })
  	 	Event.observe("research_staff_button","click",function() { toggle('researchStaff','investigator','study','participant','routineAeReport') })
  	 	
  		       
      	}           
  