Need to add a fade out effect to a hiding box with javascript/jquery
<p>I have a notification div which dissapears after 5 seconds. How to add a fade out effect that the disappearing would be smooth and nice.</p>

<p>My code now: </p>

<pre><code>&lt;script type="text/javascript"&gt;
setTimeout(function(){
   document.getElementById('notification').style.display = 'none';
}, 5000);  
//5secs
&lt;/script&gt;
</code></pre>
