returns top menu object
var top = $$("somemenu").getTopMenu();
Can be used to access top menu object from the sub-menu