How to use DHTMLXMenu as my popup anywhere on page

hi,

In my application i am using a lot of dhtmlx objects. i want to use dhtmlx menu as the popup when i right click on my page.

i tried enclosing all components with a div tag and pass that div as the context of my xmenu. But the pproblem is that all my components dont fill the page fully and so i get my menu only on right click of any component . I dont get it while right click on an empty space. pls let me know how can i make my xmenu appear on right click anywhere on the page. Basically i dont want the default internet exploroer menu. i want my customised xmenu.

a) add next style to the page

html, body {
height:100%;
}

b) attach context menu to the body, by using
document.body.id=“some_id”;
menu.addContextZone(“some_id”)