title: fade out div after x seconds with jquery
body: <p>I do a fade in div that is not displayed when I load the page:</p>
  
  <pre><code>    $('#overlay').fadeIn('fast');
      $('#box').fadeIn('slow');
  </code></pre>
  
  <p>I would do this instructions after x seconds, doing a fadeOut of the div:</p>
  
  <pre><code>$('#overlay').fadeOut('fast');
  $('#box').hide();
  </code></pre>
  
  <p>How can I do it?
  Actually fadeOut is done on button click.</p>
  
  <p>The script is here: <a href="http://clouderize.it/cookie-localstorage/a.php">http://clouderize.it/cookie-localstorage/a.php</a> 
  The div that appear when I click on another image will disappear after x seconds.
  Thanks a lot.</p>