title: Problem with setTimeout and anonymous function in Javascript
body: <p>Why this doesn't work in Firebug console:</p>
  
  <pre><code>function(s,e) {
  setTimeout(function(){grvClosingDocs.Refresh();CBPDocFlow.PerformCallback();},100)
  }
  </code></pre>
  
  <p>While this does:</p>
  
  <pre><code>setTimeout(function(){grvClosingDocs.Refresh();CBPDocFlow.PerformCallback();},100)
  </code></pre>