if you put a "rel" inside any element (either a or img in my case), the overlay functionality in the jquery library interprets a click on that element as an invocation of the overlay, defined by a div element with id matching what's in the rel. So, above, a click on the <a rel="1486">1</a> element will make visible the div whose id is 1486.
The problem I'm having is that if I click on another 'a' element, the first div with id 1486 doesn't get hidden, that's why I need, in the script, to show and hide these various div's depending which 'a' link is clicked.