Hide div using cookie if page has been already loaded today?
Hi,
First, I am absolute javascipt newbie so please threat me like that..

))
I need the following functionality to my webpage:
Let's say I have a div with some unique ID on my page.
Now, what I need is to show this div on my page only the first time visitor opens a page, and then not show it every next time he/she opens it for next 24h.
So I need to set a cookie that hides div from page if it has already been shown to visitor, for next 24h, so that the content of this div will be shown to each unique visitor only once for a day.
Thanks in advance...

Nikola