Like air said, why re-invent the wheel?
I over-simplified what I said, earlier. Load the library, give the nav elements (depending how deep the nav is) the same class name, and at the bottom of the page put your jQuery document ready declaration. Inside the declaration, use jQuery to give all elements with that class name "click" event handlers that will $(this).show(), $(this).hide(), or $(this).toggle().
EDIT: Actually, now that I think about it, give all of them .toggle() and (if you want) default one of them to .show(). Of course, this will allow the user to "expand" more than one item at a time. If you want it so that only one can be expanded at any given time, then you can make a function that will set ALL to .hide(), then open only the one with that unique ID.
If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
* The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".
Last edited by WolfShade; 01-17-2013 at 04:58 PM..