end javascript function after 10 seconds
<p>I found a javascript snow script.  Here is the fiddle:  <a href="http://jsfiddle.net/wj2K4/" rel="nofollow">http://jsfiddle.net/wj2K4/</a></p>

<p>(very nice)</p>

<p>Its only a gimmick and I don't want it dominating the page, so I want to turn it off after 10 or 30 seconds.</p>

<p>I reckon killing the script would be the easiest way, but I can't find a suitable command.  (or similar question on stack)</p>

<p>setTimeout() &amp; setInterval() is not what I am looking for.</p>

<p>Ideas? </p>

<p>This code is pointless but I cant post the question without it:</p>

<pre><code>function doStart() {
if (!s.excludeMobile || !isMobile) {
  if (s.freezeOnBlur) {
    s.events.add(isIE?document:window,'mousemove',doDelayedStart);
  } else {
    doDelayedStart();
  }
}
// event cleanup
s.events.remove(window, 'load', doStart);
  }
</code></pre>
