ajax "busy" indicator but only for longer requests
<p>Is it possible to specify time after which I can show busy indicator?</p>

<p>My code for busy indicator is quite simple:</p>

<pre><code>jQuery.ajaxSetup( {
    beforeSend:function ()
    {
        jQuery( "#busy-indicator" ).show();
    }, complete:function ()
    {
        jQuery( "#busy-indicator" ).hide();
    }
} );
</code></pre>

<p>But often Ajax request is faster then appearing indicator, therefore I'd like to show it for request which take lets say at least 1 second, is it possible? Or Do you have idea how to do it?</p>
