Confused on adding simple cookie to my jquery to hide spash screen div if already viewed in session
===

I'm new to jquery and wrote this simple script for a splash screen (just a div z-index 999 over index page).  upon click, I have it set to fade out the div. I'm stuck on adding the script to place a cookie so that if visitor navigates site and returns to the index page, the splash div will not display again in that session.  I assume the cookie, if found, will trigger the div #splash  to display:none.

Can anybody help? Iv read similar posts but they were more advanced scripts so I got confused.

This is my current jquery:

    <script src="http://code.jquery.com/jquery-latest.js"></script>
    <script src="jquery.cookie.js"></script>
    <script>
    $(document).ready(function() {
    $('#centered a').click(function() {
      $('#splash').fadeOut(800);
        });
          });
    </script>

