var TITEMS = [ 
 ["Help Title", "Title.htm", "11"],
 ["Getting Started", "GettingStarted.htm", "1",
  ["Workspace", "Workspace.html", "11"],
  ["Connect To Server", "ConnectToServer.html", "1",
   ["Establish Connection To Server", "ConnectToServer.html", "11"],
   ["SSH Connection", "SSHConnection.htm", "11"],
   ["Server Properties", "ServerProperties.htm", "11"]
  ],
  ["Connect To Database", "ConnectToDatabase.html", "1",
   ["Database Properties", "DatabaseProperties.htm", "11"],
   ["Establish Connection To Database", "ConnectToDatabase.html", "11"]
  ]
 ],
 ["Operating System Tuning", "OperatingSystemTuning.html", "1",
  ["Processor Utilization", "ProcessorUtilization.htm", "11"],
  ["Top Processes", "TopProcesses.htm", "11"],
  ["Process Count", "ProcessCount.htm", "11"],
  ["Memory Utilization", "MemoryUtilization.htm", "11"],
  ["Physical Disk Reads", "PhysicalDiskReads.htm", "11"],
  ["Physical Disk Writes", "PhysicalDiskWrites.htm", "11"],
  ["Free Logical Disk Space", "FreeLogicalDiskSpace.htm", "11"]
 ],
 ["Database Sessions", "DatabaseSessions.htm", "1",
  ["Sessions", "Sessions.htm", "11"],
  ["Current Sessions", "CurrentSessions.htm", "11"],
  ["System Sessions", "SystemSessions.htm", "11"],
  ["Jobs And Sessions", "JobsAndSessions.htm", "11"]
 ],
 ["Database Tuning", "DatabaseTuning.htm", "1",
  ["Alert Log", null, "1",
   ["Monitoring Alert Log", "AlertLog.htm", "11"]
  ],
  ["Clients", null, "1",
   ["Sessions", "ClientsSessions.htm", "11"],
   ["License", "ClientsLicense.htm", "11"]
  ],
  ["SQL Tuning", null, "1",
   ["Top 15 Disk Reads", "SQLTuning.htm", "11"],
   ["Top 15 Buffer Gets", "SQLTuning.htm", "11"],
   ["Top 15 Executions", "SQLTuning.htm", "11"],
   ["Top 15 Rows Processed", "SQLTuning.htm", "11"],
   ["Top 15 Sorts", "SQLTuning.htm", "11"],
   ["Top 15 Elapsed Time", "SQLTuning.htm", "11"],
   ["Top 15 CPU Time", "SQLTuning.htm", "11"],
   ["Top 15 Disk Reads per Execution", "SQLTuning.htm", "11"],
   ["Top 15 Buffer Gets per Execution", "SQLTuning.htm", "11"],
   ["Top 15 Buffer Gets per Rows Processed", "SQLTuning.htm", "11"]
  ],
  ["I/O", null, "1",
   ["Physical I/O", "IOPhysicalIO.htm", "11"],
   ["Logical I/O", "IOLogicalIO.htm", "11"],
   ["Redo Log I/O", "IORedoLogIO.htm", "11"]
  ],
  ["Load", null, "1",
   ["Transactions", "LoadTransactions.htm", "11"],
   ["Commits and Rollbacks", "LoadCommitsAndRollbacks.htm", "11"],
   ["Hard and Soft Parses", "LoadHardAndSoftParses.htm", "11"]
  ],
  ["SGA", null, "1",
   ["Free SGA Memory", "SGAFreeSGAMemory.htm", "11"]
  ],
  ["Tablespace", null, "1",
   ["Percentage Free", "TablespacePercentageFree.htm", "11"],
   ["MB Free", "TablespaceMBFree.htm", "11"],
   ["Fragmentation", "TablespaceFragmentation.htm", "11"]
  ],
  ["Undostat", null, "11"],
  ["Wait Events", null, "1",
   ["Buffer Busy Waits", "WaitEventsBufferBusyWaits.htm", "11"],
   ["DB File Read", "WaitEventsDBFileReadWaits.htm", "11"],
   ["Log File", "WaitEventsLogFileWaits.htm", "11"],
   ["Log Buffer Space", "WaitEventsLogBufferSpaceWaits.htm", "11"],
   ["Direct Path Read and Write", "WaitEventsDirectPathReadAndWriteWaits.htm", "11"],
   ["Latch Free", "WaitEventsLatchFreeWaitEvents.htm", "11"]
  ],
  ["Multi-Thread Server", null, "11"],
  ["Session Tuning", null, "1",
   ["Session Details", "SessionDetails.htm", "11"],
   ["Session Statistics", "SessionStatistics.htm", "11"]
  ]
 ],
 ["Database Locks", "DatabaseLocks.htm", "1",
  ["Blocking Locks", "BlockingLocks.html", "11"],
  ["All Locks", "AllLocks.html", "11"]
 ],
 ["Database SQL Editor", "DatabaseSQLEditor.htm", "1",
  ["Basic Steps", "SQLEditorBasicSteps.htm", "11"],
  ["Login As", "LoginAs.html", "11"]
 ],
 ["Background", "Background.html", "1",
  ["Add graph to background", "AddGraphBackground.html", "11"]
 ],
 ["Reports", null, "1",
  ["Analyze REC file", "AnalyzeRecFile.htm", "11"]
 ],
 ["Application settings", null, "1",
  ["Application Settings", "ApplicationSettings.htm", "11"],
  ["Alarm Settings", "SetGraphAlarm.htm", "11"],
  ["Internet Update", "CheckInternet.htm", "11"]
 ]
];


var FITEMS = arr_flatten(TITEMS);

function arr_flatten (x) {
   var y = []; if (x == null) return y;
   for (var i=0; i<x.length; i++) {
      if (typeof(x[i]) == "object") {
         var flat = arr_flatten(x[i]);
         for (var j=0; j<flat.length; j++)
             y[y.length]=flat[j];
      } else {
         if ((i%3==0))
          y[y.length]=x[i+1];
      }
   }
   return y;
}


