; i++) {
          document.getElementById(frames[i]).contentWindow.jQuery('a.representative-summary:nth-child(1)').trigger('click');
        }
      }

      function updateMessage (text) {
        document.getElementById('message').innerText = text;
      }

    </script>

  </body>
</html>
