jQuery Tree View with Context Menu

jQuery Tree View with Context Menu

I have created Tree View with context menu in following structure

CCA
   CCA2007
            NIC2007
                  NICSubCA 2007
            TCS2007
                  TCSSubCA 2007
   CCA20011
            NIC2011
                  NICSubCA 2011
            TCS2011
                  TCSSubCA2001

This is my tree structure.For the above tree view menu i need create context menu with different menu item.

for example if user right click on CCA2007 or CCA20011
           Context menu should be displayed like
            AddCA
            Add Trutsted CA Upload
if user right click on NIC2007 or TCS 2011
           Context menu should be displayed like
                        Add SubCA
                        Edit SubCA
                        Add CDP
if user right click on NICSubCA 2007 or TCSSub2011
            Context Menu should be displayed like
                        Add CDP
                        Edit CDP
So Please help how to do it based on my requirements in Tree View with Context Menu
Thanks in advance


Regards
G.Lenin