1) Set the pressed item on each page idividually using the following parameter:

var pressedItem = -2;
The toggle mode. Sets an index of an item that will be highlighted by default.
-2 - the toggle mode is disabled;
-1 - the toggle mode is enabled, but no items highlighted by default;
0,1,2,3,... - index of highlighted item in a top-level menu. See more info about indexes here.

- delete var pressedItem=1; parameter from your data file
- set correct parameter on each page before you call data file, for
example:

2) Set the pressed item/subitem using dm_ext_setPressedItem () function.

function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion, parentOpen)
Sets a current pressed item.menuInd - index of a dynamic menu on a page, >= 0.submenuInd - index of a submenu, >= 0.itemInd - index of an item, >=0.recursion = true/false - highlight parent items.parentOpen = true/false - open all submenus to show the selected item
See more info about indexes here.

For example lets highlight "Samples" item in the upper menu. To do it you should call dm_ext_setPressedItem () function with the following parameters:dm_ext_setPressedItem (1,0,2,1,0); Highlight "Samples" item.