Welcome to our community, Jane
Presently Breadcrumbs are only available in version 7 of
RoboHelp. And then, only if you are generating an uncompiled format
such as WebHelp or FlashHelp.
What RoboHelp does is to analyze the Table of Contents (TOC)
structure. The breadcrumbs you see in the topics reflect where in
the TOC the topic exists.
The JavaScript you are seeing is a result of RoboHelp's
doing. Part of the process of generating WebHelp output takes each
topic and injects JavaScript code that causes different things to
happen. Based on the settings in effect at the time the generation
took place.
You would be hard pressed to roll your own JavaScript similar
to what RoboHelp creates. It's a pretty complicated puzzle and maze
of different routines and variables all packaged neatly so it
works.
Hopefully this comes close to providing the answer you were
hoping for.
Cheers... Rick