If hover then wait, else continue
<p>I use jquery 1.3.2.  I try to write simple jquery to the ajax cart implemented on my website.
There are functions <code>ajaxCartOpenCart()</code> - opens cart block (simply unhides it) and <code>ajaxCartCloseCart()</code>.</p>

<p>I added simple code that after adding to the cart, unhides cart block, waits for 4 seconds and closes cart block.</p>

<pre><code>ajaxCartOpenCart();
setTimeout(function() {
  ajaxCartCloseCart()
}, 4000);
</code></pre>

<p>The problem: I need to create a condition that says - if during this time of 4 sec. a mouse enters <code>#cart-block</code>, then don't close it and wait until mouse leaves. Else count 4 sec and close cart.</p>

<p>Thank you very much for help.</p>
