How to hide div after N seconds?
<p>How to hide div after N seconds of the past after last pressing any key ?</p>

<pre><code>&lt;body onkeydown="KeyDown(event);" &gt;

&lt;div id="helpmenu"&gt;&lt;/div&gt;
&lt;script&gt;
function KeyDown(event) {
    $('#helpmenu').show();
}
&lt;/script&gt;
&lt;/body&gt;
</code></pre>

<p>If I cannot press any key during 5 seconds: $('#helpmenu').hide()</p>
