title: What in the world is this JavaScript doing?
body: <h3>History</h3>
  <p>I'm tasked with building a new ActiveX control to replace an old one -- but I don't have the code for the old one so I have to reverse engineer this a bit -- and that's not a huge deal. But, I was given this code snippet of JavaScript which is calling an entry point of this ActiveX control.</p>
  <h3>Questions</h3>
  <p>However, I don't quite understand it fully, so that's where I'm hoping you all can help.</p>
  <ul>
  <li>What exactly happens to the <code>&amp;lt;</code> and <code>&amp;gt;</code>, are they encoded when sent to the ActiveX object?</li>
  <li>What is the <code>%printContent</code> performing? Is that just one of their JavaScript functions?</li>
  </ul>
  <h3>Code</h3>
  <pre><code>o.setDirectory(&quot;&amp;lt;%printContent(util.Utility.getFormattedLocation(), false)%&amp;gt;&quot;)
  </code></pre>