I wanted a way to add a banner to our Summon 1.0 site to give folks a heads-up that we will be switching to the 2.0 interface soon. But mostly I want folks to have a chance to play with the new search. I wrote a simple banner that is injected with JavaScript on page load that includes a close button. If a patron clicks the close button, the script will set a cookie called "noPreview" that will prevent the preview banner from showing up for 7 days.
This is probably the last script I'll write for Summon 1.0. That makes me kind of sad.
The cookie functions are verbetim from the master, ppk: http://www.quirksmode.org/js/cookies.html
If you are in the civilized world, you'll need to have some sort of How We Use Cookies notice if you use this script.