var TITEMS = [ 
 ["Introduction", "source/Introduction/Intro.htm", "1",
  ["Installation & Setup", "source/Introduction/Setup.htm", "11"],
  ["Distribution", "source/Introduction/Distribution.htm", "11"],
  ["Chart Overview", "source/Introduction/Overview.htm", "11"],
  ["Features Overview", "source/Introduction/FeaturesList.htm", "11"],
  ["Compare Versions", "source/Introduction/CompareVersions.htm", "11"],
  ["Technical Support", "source/Introduction/TechSupport.htm", "11"],
  ["System Requirements", "source/Introduction/SystemReqmts.htm", "11"],
  ["License Agreement", "source/Introduction/EULA.htm", "11"]
 ],
 ["Features", null, "1",
  ["Date/Time", "source/Introduction/DateTime.htm", "11"],
  ["Error Logging", "source/Introduction/ErrLogEvent.htm", "11"],
  ["Interpolation", "source/Introduction/Interpolation.htm", "11"],
  ["Legend", "source/Introduction/Legend.htm", "11"],
  ["NULL Datapoints", "source/Introduction/NULLDatapoints.htm", "11"],
  ["Number Formatting", "source/Introduction/NumberFormatting.htm", "11"],
  ["Panning", "source/Introduction/Panning.htm", "11"],
  ["Sample Step", "source/Introduction/SampleStep.htm", "11"],
  ["Toolbar", "source/Introduction/Toolbar.htm", "11"],
  ["Trending", "source/Introduction/Trending.htm", "11"],
  ["Y-Scale Stacking", "source/Introduction/YStacking.htm", "11"]
 ],
 ["Properties", "source/Properties/Properties.htm", "1",
  ["AbsMaxXValue", "source/Properties/Prop_AbsMaxXValue.htm", "11"],
  ["AbsMaxYValue", "source/Properties/Prop_AbsMaxYValue.htm", "11"],
  ["AbsMinXValue", "source/Properties/Prop_AbsMinXValue.htm", "11"],
  ["AbsMinYValue", "source/Properties/Prop_AbsMinYValue.htm", "11"],
  ["BackColor", "source/Properties/Prop_BackColor.htm", "11"],
  ["Border", "source/Properties/Prop_Border.htm", "11"],
  ["ChartData", "source/Properties/Prop_ChartData.htm", "11"],
  ["Column", "source/Properties/Prop_Column.htm", "11"],
  ["Crosshairs", "source/Properties/Prop_Crosshairs.htm", "11"],
  ["Data", "source/Properties/Prop_Data.htm", "11"],
  ["Gradient", "source/Properties/Prop_Gradient.htm", "11"],
  ["Legend", "source/Properties/Prop_Legend.htm", "11"],
  ["LogEvent", "source/Properties/Prop_LogEvent.htm", "11"],
  ["MaxXValue", "source/Properties/Prop_MaxXValue.htm", "11"],
  ["MaxYValue", "source/Properties/Prop_MaxYValue.htm", "11"],
  ["MinXValue", "source/Properties/Prop_MinXValue.htm", "11"],
  ["MinYValue", "source/Properties/Prop_MinYValue.htm", "11"],
  ["NumProfiles", "source/Properties/Prop_NumProfiles.htm", "11"],
  ["NumXScales", "source/Properties/Prop_NumXScales.htm", "11"],
  ["NumYScales", "source/Properties/Prop_NumYScales.htm", "11"],
  ["NumYStacks", "source/Properties/Prop_NumYStacks.htm", "11"],
  ["OverrideExportDataButton", "source/Properties/Prop_OverrideExportDataButton.htm", "11"],
  ["OverridePrintButton", "source/Properties/Prop_OverridePrintButton.htm", "11"],
  ["OverrideSaveImageButton", "source/Properties/Prop_OverrideSaveImageButton.htm", "11"],
  ["Plot", "source/Properties/Prop_Plot.htm", "11"],
  ["PrintSettings", "source/Properties/Prop_PrintSettings.htm", "11"],
  ["Profile", "source/Properties/Prop_Profile.htm", "11"],
  ["ProfileData", "source/Properties/Prop_ProfileData.htm", "11"],
  ["ProfileXData", "source/Properties/Prop_ProfileXData.htm", "11"],
  ["ProfileYCoordinate", "source/Properties/Prop_ProfileYCoordinate.htm", "11"],
  ["ProfileYData", "source/Properties/Prop_ProfileYData.htm", "11"],
  ["Row", "source/Properties/Prop_Row.htm", "11"],
  ["Scrollbars", "source/Properties/Prop_Scrollbar.htm", "11"],
  ["Title", "source/Properties/Prop_Title.htm", "11"],
  ["Toolbar", "source/Properties/Prop_Toolbar.htm", "11"],
  ["Trend", "source/Properties/Prop_Trend.htm", "11"],
  ["XAxis", "source/Properties/Prop_XAxis.htm", "11"],
  ["XCoordinate", "source/Properties/Prop_XCoordinate.htm", "11"],
  ["YAxis", "source/Properties/Prop_YAxis.htm", "11"],
  ["YCoordinate", "source/Properties/Prop_YCoordinate.htm", "11"],
  ["YStack", "source/Properties/Prop_YStack.htm", "11"],
  ["YStacking", "source/Properties/Prop_YStacking.htm", "11"],
  ["ZoomWindowColor", "source/Properties/Prop_ZoomWindowColor.htm", "11"]
 ],
 ["Classes", null, "1",
  ["Crosshairs Class", "source/Properties/Prop_CrosshairsClass.htm", "11"],
  ["Gradient Class", "source/Properties/Prop_GradientClass.htm", "11"],
  ["Legend Class", "source/Properties/Prop_LegendClass.htm", "11"],
  ["Line Class", "source/Properties/Prop_LineClass.htm", "11"],
  ["LogEvent Class", "source/Properties/Prop_LogEventClass.htm", "11"],
  ["Plot Class", "source/Properties/Prop_PlotClass.htm", "11"],
  ["PrintSettings Class", "source/Properties/Prop_PrintSettingsClass.htm", "11"],
  ["Profile Class", "source/Properties/Prop_ProfileClass.htm", "11"],
  ["Scale Class", "source/Properties/Prop_ScaleClass.htm", "11"],
  ["Scrollbar Class", "source/Properties/Prop_ScrollbarClass.htm", "11"],
  ["Title Class", "source/Properties/Prop_TitleClass.htm", "11"],
  ["Toolbar Class", "source/Properties/Prop_ToolbarClass.htm", "11"],
  ["ToolbarButton Class", "source/Properties/Prop_ToolbarButtonClass.htm", "11"],
  ["Trend Class", "source/Properties/Prop_TrendClass.htm", "11"],
  ["YScale Class", "source/Properties/Prop_YScaleClass.htm", "11"],
  ["YStack Class", "source/Properties/Prop_YStackClass.htm", "11"]
 ],
 ["Methods", "source/Methods/Methods.htm", "1",
  ["ClearChartData", "source/Methods/Method_ClearChartData.htm", "11"],
  ["GetChartImage", "source/Methods/Method_GetChartImage.htm", "11"],
  ["GetVersionMajor", "source/Methods/Method_GetVersionMajor.htm", "11"],
  ["GetVersionMinor", "source/Methods/Method_GetVersionMinor.htm", "11"],
  ["GetVersionString", "source/Methods/Method_GetVersionString.htm", "11"],
  ["GetYStackIndex", "source/Methods/Method_GetYStackIndex.htm", "11"],
  ["PageSetup", "source/Methods/Method_PageSetup.htm", "11"],
  ["PrintChart", "source/Methods/Method_PrintChart.htm", "11"],
  ["PrintPreview", "source/Methods/Method_PrintPreview.htm", "11"],
  ["Redraw", "source/Methods/Method_Redraw.htm", "11"],
  ["Refresh", "source/Methods/Method_Refresh.htm", "11"],
  ["RestoreDefaults", "source/Methods/Method_RestoreDefaults.htm", "11"],
  ["SaveChartDataToFile", "source/Methods/Method_SaveChartDataToFile.htm", "11"],
  ["SaveChartDataToClipboard", "source/Methods/Method_SaveChartDataToClip.htm", "11"],
  ["SaveChartImageToBMP", "source/Methods/Method_SaveImageToBitmap.htm", "11"],
  ["SaveChartImageToClipboard", "source/Methods/Method_SaveImageToClip.htm", "11"],
  ["SaveChartImageToEMF", "source/Methods/Method_SaveImageToEMF.htm", "11"],
  ["SaveChartImageToEXIF", "source/Methods/Method_SaveImageToEXIF.htm", "11"],
  ["SaveChartImageToGIF", "source/Methods/Method_SaveImageToGIF.htm", "11"],
  ["SaveChartImageToJPEG", "source/Methods/Method_SaveImageToJPEG.htm", "11"],
  ["SaveChartImageToPNG", "source/Methods/Method_SaveImageToPNG.htm", "11"],
  ["SaveChartImageToTIFF", "source/Methods/Method_SaveImageToTIFF.htm", "11"],
  ["SaveChartImageToWMF", "source/Methods/Method_SaveImageToWMF.htm", "11"],
  ["SetCrosshairsMode", "source/Methods/Method_SetCrosshairsMode.htm", "11"],
  ["SetCrosshairsPosition", "source/Methods/Method_SetCrosshairsPosition.htm", "11"],
  ["SetNULLData", "source/Methods/Method_SetNULLData.htm", "11"],
  ["SetPanMode", "source/Methods/Method_SetPanMode.htm", "11"],
  ["SetZoomMode", "source/Methods/Method_SetZoomMode.htm", "11"],
  ["SetZoomOutAll", "source/Methods/Method_SetZoomOutAll.htm", "11"],
  ["SetZoomWindow", "source/Methods/Method_SetZoomWindow.htm", "11"],
  ["ShowAboutBox", "source/Methods/Method_ShowAboutBox.htm", "11"]
 ],
 ["Events", "source/Events/Events.htm", "1",
  ["Click", "source/Events/Event_Click.htm", "11"],
  ["CrossHairsLeave", "source/Events/Event_CrossHairsLeave.htm", "11"],
  ["CrossHairsMove", "source/Events/Event_CrossHairsMove.htm", "11"],
  ["CrossHairsNotSelected", "source/Events/Event_CrossHairsNotSelected.htm", "11"],
  ["CrossHairsSelected", "source/Events/Event_CrossHairsSelected.htm", "11"],
  ["DoubleClick", "source/Events/Event_DoubleClick.htm", "11"],
  ["DrawGridLines", "source/Events/Event_DrawGridLines.htm", "11"],
  ["DrawProfile", "source/Events/Event_DrawProfile.htm", "11"],
  ["DrawProfilesDone", "source/Events/Event_DrawProfilesDone.htm", "11"],
  ["ExportDataButtonSelected", "source/Events/Event_ExportDataButtonSelected.htm", "11"],
  ["LegendClick", "source/Events/Event_LegendClick.htm", "11"],
  ["LegendDoubleClick", "source/Events/Event_LegendDoubleClick.htm", "11"],
  ["LegendMouseDown", "source/Events/Event_LegendMouseDown.htm", "11"],
  ["LegendMouseMove", "source/Events/Event_LegendMouseMove.htm", "11"],
  ["LegendMouseUp", "source/Events/Event_LegendMouseUp.htm", "11"],
  ["PageSetupButtonSelected", "source/Events/Event_PageSetupButtonSelected.htm", "11"],
  ["PlotClick", "source/Events/Event_PlotClick.htm", "11"],
  ["PlotDoubleClick", "source/Events/Event_PlotDoubleClick.htm", "11"],
  ["PlotMouseDown", "source/Events/Event_PlotMouseDown.htm", "11"],
  ["PlotMouseMove", "source/Events/Event_PlotMouseMove.htm", "11"],
  ["PlotMouseUp", "source/Events/Event_PlotMouseUp.htm", "11"],
  ["PrintButtonSelected", "source/Events/Event_PrintButtonSelected.htm", "11"],
  ["PrintPreviewButtonSelected", "source/Events/Event_PrintPreviewButtonSelected.htm", "11"],
  ["SaveImageButtonSelected", "source/Events/Event_SaveImageButtonSelected.htm", "11"],
  ["XScaleClick", "source/Events/Event_XScaleClick.htm", "11"],
  ["XScaleDoubleClick", "source/Events/Event_XScaleDoubleClick.htm", "11"],
  ["XScaleMouseDown", "source/Events/Event_XScaleMouseDown.htm", "11"],
  ["XScaleMouseMove", "source/Events/Event_XScaleMouseMove.htm", "11"],
  ["XScaleMouseUp", "source/Events/Event_XScaleMouseUp.htm", "11"],
  ["XScroll", "source/Events/Event_XScroll.htm", "11"],
  ["YScaleClick", "source/Events/Event_YScaleClick.htm", "11"],
  ["YScaleDoubleClick", "source/Events/Event_YScaleDoubleClick.htm", "11"],
  ["YScaleMouseDown", "source/Events/Event_YScaleMouseDown.htm", "11"],
  ["YScaleMouseMove", "source/Events/Event_YScaleMouseMove.htm", "11"],
  ["YScaleMouseUp", "source/Events/Event_YScaleMouseUp.htm", "11"],
  ["YScroll", "source/Events/Event_YScroll.htm", "11"],
  ["ZoomInComplete", "source/Events/Event_ZoomInComplete.htm", "11"],
  ["ZoomInSelected", "source/Events/Event_ZoomInSelected.htm", "11"],
  ["ZoomOutAllComplete", "source/Events/Event_ZoomOutAllComplete.htm", "11"],
  ["ZoomOutAllSelected", "source/Events/Event_ZoomOutAllSelected.htm", "11"],
  ["ZoomOutComplete", "source/Events/Event_ZoomOutComplete.htm", "11"],
  ["ZoomOutSelected", "source/Events/Event_ZoomOutSelected.htm", "11"]
 ],
 ["Samples", "source/Samples/Samples.htm", "1",
  ["Sample 1 - Basic", "source/Samples/Sample1.htm", "11"],
  ["Sample 2 - Trending", "source/Samples/Sample2.htm", "11"],
  ["Sample 3 - Null Data Points", "source/Samples/Sample3.htm", "11"],
  ["Sample 4 - Y Stacking", "source/Samples/Sample4.htm", "11"],
  ["Sample 5 - Scale Factors", "source/Samples/Sample5.htm", "11"],
  ["Sample 6 - Bar Charting", "source/Samples/Sample6.htm", "11"],
  ["Sample 7 - Profile Fill", "source/Samples/Sample7.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;
}


