title: "element.dispatchEvent is not a function" js error caught in firebug of FF3.0
body: <p>i am getting the following error while loading my index page in FF3.0. Sorry, i am unable to paste the script here as it is 2030 lines of code.</p>
  
  <blockquote>
    <p>element.dispatchEvent is not a function</p>
  </blockquote>
  
  <p>On expansion it gives me below things,</p>
  
  <blockquote>
    <p>fire()()prototype.js?1 (line 3972)</p>
    
    <p>_methodized()()prototype.js?1 (line 246)</p>
    
    <p>fireContentLoadedEvent()prototype.js?1 (line 4006)</p>
    
    <p>[Break on this error] element.dispatchEvent(event);</p>
  </blockquote>
  
  <p><code>element.dispatchEvent(event);</code> is in line 3972 of prototype.js. I am including prototype.js along with 10s of other js files in my index page.</p>
  
  <p>Has anybody came across this kind of error? Please somebody explain me why this error is showing up.</p>