title: IE errors with jQuery & timeout
body: <p>In a jquery hover event I use the following code to drop down a menu: </p>
  
  <pre><code>clearTimeout(hTimeout);
  $('#lowermenu').queue('fx', []);
  $('#menucenter .current').removeClass('current');
  $(this).children('a').addClass('current');        
  dTimeout = setTimeout(function($item){slidelower($item)}, 200, $(this)); // This is the bad line
  
  function slidelower($li)
  {
      $li.addClass('dropping');
      $lowermenu = $li.children('ul').clone();
      $('#lowermenu:not(:animated)').empty().append($lowermenu).slideDown();
      $('#lowermenu &gt; ul &gt; li:not(:animated)').hover(function()
      {                      
          $(this).children('ul:hidden').css('top', 'auto').slideDown();
      }, function()
      {
          $(this).children('ul:visible').slideUp();
      });
  }
  </code></pre>
  
  <p>I get the following error:</p>
  
  <p>Webpage error details</p>
  
  <p>User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.3; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; OfficeLiveConnector.1.3; OfficeLivePatch.0.0)
  Timestamp: Sat, 14 Nov 2009 11:12:46 UTC</p>
  
  <p>Message: 'undefined' is null or not an object</p>
  
  <p>Line: 81</p>
  
  <p>Char: 25</p>
  
  <p>Code: 0</p>
  
  <p>URI: [the url was here]</p>
  
  <p>I suspect that it's caused by the setTimeout - I am passing in a third parameter as an argument for the anonymous function. That anonymous function calls a function with a closure.</p>
  
  <p>Can anyone help?</p>