anchor.diff:   		},
    		refreshRPCrlOptionsAndShowDetails:function(newRPId, fetchOnlyDetails){
    	 		//will refresh the options of reporting period.
  - 	 		createAE.refreshReportingPeriodAndGetDetails(newRPId, fetchOnlyDetails, function(ajaxOutput){
  + 	 		captureAE.refreshReportingPeriodAndGetDetails(newRPId, fetchOnlyDetails, function(ajaxOutput){
    	 	 		this.rpCtrl.options.length = 1;
    	 	 		ajaxOutput.objectContent.each(function(rp){
    	 	 	 		 this.addOptionToSelectBox(this.rpCtrl,rp.name, rp.id);
  
positive.code:  	 		}.bind(this));
   		},
   		deleteAdverseEvent:function(indx){
   	 		createAE.deleteAdverseEvent(indx, function(ajaxOutput){
   	 	 		$('ae-section-' + indx).remove();
   	 		}.bind(this));
   	 	
  
negative.code:  <tags:includeScriptaculous />
   <tags:includePrototypeWindow />
   <tags:stylesheetLink name="ae"/>
   <tags:dwrJavascriptLink objects="captureAE,createStudy"/>
   <tags:stylesheetLink name="aeTermQuery_box" />
  
  <style type="text/css"> 
  