{addedValueMacros.rolodexHitLink(on rolodexHitLink (hitNumber, hitKeyValue, title, totalHits, currentPageNumber, windowWidth, delim="|", ellipsis=" ... ")}
See http://www2.dabbelklick.de/products/sealifecat/ for a live example. The navigation report definition there is
{addedValueMacros.rolodexHitLink (hitNumber, hitKeyValue,"Page " + string(hitnumber) + " " + objectSLName, totalHits, short(parameter(currentPageNumber)), 7)}
This macro is tailored to the needs of Search Navigation Reports in search reports, it produces a horizontal menu of page number links, attempting to gracefully handle the end points and case where there are too many pages to show gracefully.