 document.querySelector('.select-second-representative').className = 'select-second-representative';

        document.querySelector('.select-second-representative').disabled = 'disabled';

        updateMessage('Select First Representative');

        for (var i = 0; i < frames.length; i++) {
          document.getElementById(frames[i]).contentWindow.jQuery('a.representative-summary:first').trigger('click');
        }
      }

      function selectSecondRepresentative () {

        document.querySelector('