Required library edition:
Required library file: dhtmlxlayout.js / dhtmlxaccordion.js
attaches dhtmlxMenu to the cell, returns menu object
Attaching to the layout's cell:
var dhxMenu = dhxLayout.cells("a").attachMenu // returns menu object
Attaching to the accordion's cell:
var dhxMenu = dhxAcc.cells(id).attachMenu // returns menu object