title: Failed to execute 'removeChild' on 'Node'
body: <p>I'm using <a href="http://alexgorbatchev.com/SyntaxHighlighter/" rel="noreferrer">http://alexgorbatchev.com/SyntaxHighlighter/</a> to highlight code on my website but sometimes in my log im getting Javascript errors like this :</p>
  <blockquote>
  <p>Uncaught NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is no longer a child of this node. Perhaps it was moved in a 'blur' event handler?</p>
  <p>Uncaught NotFoundError: An attempt was made to reference a Node in a context where it does not exist.</p>
  </blockquote>
  <pre><code>// set up handler for lost focus
  attachEvent(textarea, 'blur', function(e)
  {
     textarea.parentNode.removeChild(textarea);
     removeClass(highlighterDiv, 'source');
  });
  </code></pre>
  <p>Here is the attachEvent() function code :</p>
  <pre><code>function attachEvent(obj, type, func, scope)
  {
      function handler(e)
      {
          e = e || window.event;
          
          if (!e.target)
          {
              e.target = e.srcElement;
              e.preventDefault = function()
              {
                  this.returnValue = false;
              };
          }
              
          func.call(scope || window, e);
      };
      
      if (obj.attachEvent) 
      {
          obj.attachEvent('on' + type, handler);
      }
      else 
      {
          obj.addEventListener(type, handler, false);
      }
  };
  </code></pre>
  <p>Can anyone help getting this fixed ?</p>