<%-- a slightly tricky bit of code that generates javascript "callback" handlers for us. Required parameters: id: name of the callback handler we wish to generate. target: name of the "target" function we need to trigger. We emit a new javascript function named 'id' that tries to successively call window.document.target() on openers. --%> <% String id = request.getParameter("id"); %> <% String target = request.getParameter("target"); %>