How do I change an onmouseover event using Javascript?
<p>I have an HTML span which changes it's class onmouseover and onmouseout:</p>

<pre><code>&lt;span id="someSpan" class="static" onmouseover="this.className='active'" onmouseout="this.className='static'"&gt;Some Text&lt;/span&gt;
</code></pre>

<p>I want to be able to enable and disable (change) the onmouseover and onmouseout events using a Javascript function called elsewhere on the page. Is this Possible?</p>
