A quick google found
domCollapse, which looks quite simple to implement. I was a bit worried that if javascript is disabled then you wouldn't be able to see the hidden content but, it seems that all the content is displayed if that is the case.
I think it would definitely be better than using frames, which the majority of people on here would advise you against. You could always dynamically link in content using PHP, ASP or something similar.