getElementByid in Javascript when element ID contains Dollar sign
<p>getElementById() does not appear to find the element when the ID contains a dollar sign. Is there a way around this in pure Javascript? I have no control over the element ID's as these are generated by a "page builder" and I cannot use jQuery in this application.</p>

<p>Example: </p>

<pre><code>&lt;div id="win0divFRED$0"&gt;
</code></pre>

<h2>    </h2>

<pre><code>var orig = document.getElementById("win0divFRED$0");
</code></pre>

<p>Many Thanks,<br>
John</p>
