I am looking for a treeview jquery code with a future to save the state of expanded nodes!

I am looking for a treeview jquery code with a future to save the state of expanded nodes!

Hi
I am looking foe a jquery script that creates a treeview menu! I have found couple but I need one with the ability to save the notes states!   So if I expand the node called categories and found 3 links under it
Manage
          Categories
                       Add
                       Edit
                       Delete
Reports

So when I expand categories then I click on edit. I want the nodes to stay expanded exactly where are they now open not to reset!

Is there any such a thing in jquery?

Thanks