I've managed to cobble together a few decent accordion widgets, thanks to the help of the SP book JQUERY: Novice to Ninja. However, when I tried to graduate to accordioning tabular data, things kinda fell apart.

I still made it work, but only to a degree. I cannot figure out how to make any open rows close when you click on another. Can anyone nudge me in the right direction?