Delay execution of jquery error function
<p>I use the error function below to hide external images which do not seem to load. 
However images are hidden very easily and I think it is because the function executes to fast. Is there a way in Jquery to delay the function two seconds?</p>

<pre><code>$(".display li img").error(function () {
    $(this).parent().parent().hide("fast");
    pos3 = $(this).attr("id"); 
    reportrefcam();
});
</code></pre>
