anchor.diff:              'treeContextMenuViewInfo/engage',
               function (menuItem) {
                   var selectedNode = getSelectedNode();
  +
                   if (selectedNode == null) {
                       alert('Please select a tree node.');
                       return;
                   }
  +
                   var mainTabContainer = dojo.widget.byId('mainTabContainer');
                   var infoTab = dojo.widget.byId('infoTab');
  +
                   mainTabContainer.selectTab(infoTab);
               }
           );
  
positive.code:             'treeContextMenuViewStats/engage',
              function (menuItem) {
                  var selectedNode = getSelectedNode();
                  if (selectedNode == null) {
                      alert('Please select a tree node.');
                      return;
                  }
                  var mainTabContainer = dojo.widget.byId('mainTabContainer');
                  var statsTab = dojo.widget.byId('statsTab');
                  mainTabContainer.selectTab(statsTab);
              }
          );
  
negative.code: </style>
  
  <script>
      /**
       * Global vars 
       */
      var _selectedNode = null;  // Selected tree node
      var _attribValueID = null; // ID of the attribute to update in the Attributes table
      var _attribValue = null;   // Value of the attribute to update in the Attributes tabl
  
      /**
       * Get selected node 
       */
      function getSelectedNode() {
          var tree = dojo.widget.byId('jmxTree');
          var selectedNode = tree.selector.selectedNode;
  
          return selectedNode;
      }
  
      /**
      * Set the mouse pointer (NOT USED)
      */
      function setPointer(cursor) {
         if (document.all) {
              // Solution 1
              // for (var i = 0; i < document.all.length; i++) {
              //     document.all(i).style.cursor = cursor;
              // }
          
              // Solution 2
              // document.all('mainLayout').style.cursor = cursor;
              // document.getElementById('mainLayout').style.cursor = cursor;
  
              // $('mainLayout').style.cursor = cursor;
              // $('rootfragment').style.cursor = cursor;
              dojo.byId("mainLayout").style.cursor = cursor;
              dojo.byId("rootfragment").style.cursor = cursor;
          }
      }
  
      /**
       * Dojo init stuff 
       */
      dojo.addOnLoad (function() {
          var treeController = dojo.widget.byId('treeController');
  
          /**
  