anchor.diff:  
           function chooseStaff() {
               var id = document.getElementById("staff").value;
  -            if (id == -1) {
  +            if (id == '') {
                   clear('reporter');
  -                if(isPhysicianSame()){
  -                 clear('physician');
  -                }
  +               
               } else {
                   createAE.getResearchStaff(id, updateReporterFromStaff)
               }
           }
  +
  +        function choosePhysician(){
  +			var id = document.getElementById("physician").value;
  +			if (id == '') {
  +                clear('physician');
  +               
  +            } else {
  +                createAE.getInvestigator(id, updatePhysicianFromInvestigator)
  +            }
  +        }
   		/* IE7 fix:- null text is displayed when staff[field] is empty or null*/
           function updateReporterFromStaff(staff) {
  +			updateUserData('aeReport.reporter', staff);			
  +        }
  +        
  +        function updatePhysicianFromInvestigator(investigator) {
  +            updateUserData('aeReport.physician', investigator);
  +        }
  +        
  +        function updateUserData(prefix, user) {
               NAME_FIELDS.each(function(field) {
  -            	if(staff[field] != null) updateFieldValue('aeReport.reporter.' + field, staff[field]);
  +            	if(user[field] != null) updateFieldValue(prefix + '.' + field, user[field]);
               })
  -			if(staff['emailAddress'] != null) updateFieldValue('aeReport.reporter.' + 'contactMechanisms[e-mail]',staff['emailAddress']);
  -			if(staff['phoneNumber'] != null) updateFieldValue('aeReport.reporter.' + 'contactMechanisms[phone]',staff['phoneNumber']);
  -			if(staff['faxNumber'] != null) updateFieldValue('aeReport.reporter.' + 'contactMechanisms[fax]',staff['faxNumber']);
  +			if(user['emailAddress'] != null) updateFieldValue(prefix + '.' + 'contactMechanisms[e-mail]',user['emailAddress']);
  +			if(user['phoneNumber'] != null) updateFieldValue(prefix + '.' + 'contactMechanisms[phone]',user['phoneNumber']);
  +			if(user['faxNumber'] != null) updateFieldValue(prefix + '.' + 'contactMechanisms[fax]',user['faxNumber']);
   			
  -            updatePhysicianFromReporterIfSame()
           }
   
           function clear(person) {
  
positive.code:         </chrome:division>
  
          <chrome:division title="Treating Physician Details">
              <div class="row">
                  <div class="value">
                      <label>
                          <input type="checkbox" id="physician-same" name="physician-same" />&nbsp;Physician
                          is same as Reporter
                      </label>
                  </div>
              </div>
  
  
negative.code:             })
          }
  
  
  
          function updateFieldValue(uiField, value){
  			var f = $(uiField);
  