var TITEMS = [ 
 ["Introduction", "source/Introduction.htm", "1",
  ["Overview", "source/Overview.htm", "11"],
  ["What's New", "source/What'sNew.htm", "11"],
  ["Features", "source/Features.htm", "11"],
  ["Compare Versions", "source/CompareVersions.htm", "11"],
  ["Technical Support", "source/Technical Support.htm", "11"],
  ["System Requirements", "source/SystemRequirements.htm", "11"],
  ["License Agreement", "source/License Agreement.htm", "11"],
  ["Acknowledgements", "source/Acknowledgements.htm", "11"],
  ["Abbreviations", "source/Abbreviations.htm", "11"]
 ],
 ["Getting Started", null, "1",
  ["EasySize Wizard", "source/EasySizeWizard.htm", "11"],
  ["The Servo Sizing Process", "source/TheServoSizingProcess.htm", "11"],
  ["Common Tasks", "source/CommonTasks.htm", "1",
   ["Insert New Axis", "source/InsertNewAxis.htm", "11"],
   ["Copy Axis", "source/CopyAxis.htm", "11"],
   ["Delete Axis", "source/DeleteAxis.htm", "11"],
   ["Create New Sequence", "source/CreateNewSequence.htm", "11"],
   ["Save Sequence", "source/SaveSequence.htm", "11"],
   ["Open Sequence", "source/OpenSequence.htm", "11"],
   ["Import Sequence from ASCII File", "source/ImportSequence.htm", "11"],
   ["Export Sequence to ASCII File", "source/ExportSequence.htm", "11"],
   ["System Check", "source/SystemCheck.htm", "11"],
   ["Apply Filters to a Database", "source/Filters.htm", "11"],
   ["Create a Bill of Material", "source/CreateBillOfMaterial.htm", "11"],
   ["Charts", "source/Charts.htm", "11"],
   ["Printing", "source/Printing.htm", "11"],
   ["Shortcuts", "source/Shortcuts.htm", "11"],
   ["Features Enabled/Disabled List", "source/FeaturesEnabledDisabledList.htm", "11"]
  ]
 ],
 ["System Power", "source/SystemPower.htm", "1",
  ["System Supply Power", "source/SystemSupplyPower.htm", "11"],
  ["Energy Cost Model", "source/EnergyCostModel.htm", "11"],
  ["Power Summary Table", "source/Power Summary Table.htm", "11"],
  ["Component Power Flow", "source/ComponentPowerFlow.htm", "11"],
  ["Power Flow Configuration", "source/PowerFlowConfiguration.htm", "11"],
  ["Guidelines for Sizing Cables, Filters and Fuses", "source/GuidelinesSizingCableFiltersFuses.htm", "11"],
  ["Sample 1 - Single Supply, Multiple Bleeder, Floating Bus", null, "1",
   ["Single Supply, Multiple Bleeder, Floating Bus", "source/SystemPower - Sample 1.htm", "11"],
   ["Power Flow Configuration", "source/Sample 1 - Configure Power.htm", "11"]
  ],
  ["Sample 2 - Multiple Supply, Single Internal Bleeder, Floating Bus", null, "1",
   ["Multiple Supply, Single Internal Bleeder, Floating Bus", "source/SystemPower - Sample 2.htm", "11"],
   ["Power Flow Configuration", "source/Sample 2 - Configure Power.htm", "11"]
  ],
  ["Sample 3 - Infeed Module, Single Module, Regenerative Regulated Bus", "source/SystemPower - Sample 3.htm", "1",
   ["Infeed Module, Single Supply, Regenerative Regulated Bus", "source/SystemPower - Sample 3.htm", "11"],
   ["Power Flow Configuration", "source/Sample 3 - Configure Power.htm", "11"]
  ]
 ],
 ["Axis", null, "1",
  ["Motion Profiles &amp; Sequence", null, "1",
   ["Motion Profile", "source/MotionProfile.htm", "11"],
   ["Cycle Time", "source/CycleTime.htm", "11"],
   ["Sequence", "source/Sequence.htm", "1",
    ["Sequence", "source/Sequence.htm", "11"],
    ["Configure Profiles", "source/ConfigureProfiles.htm", "11"],
    ["Move", "source/Move.htm", "11"],
    ["Segment", "source/Segment.htm", "11"],
    ["Thrust Formula", "source/ThrustFormula.htm", "11"],
    ["Thrust Proportional to Speed", "source/ThrustFormulaProportionalToSpeed.htm", "11"]
   ]
  ],
  ["Templates", "source/Templates.htm", "1",
   ["Rotary Knife", "source/RotaryKnife.htm", "11"],
   ["Flying Shear", "source/FlyingShear.htm", "11"],
   ["Cut to Length", "source/CutToLength.htm", "11"]
  ],
  ["Drive Mechanics", "source/DriveMechanics.htm", "1",
   ["Rotary", "source/Rotary.htm", "11"],
   ["Belt &amp; Pulley", "source/BeltAndPulley.htm", "11"],
   ["Conveyor", "source/Conveyor.htm", "11"],
   ["Dual Stage Conveyor", "source/DualStageConveyor.htm", "11"],
   ["Ball Screw", "source/BallScrew.htm", "11"],
   ["Rack &amp; Pinion", "source/RackAndPinion.htm", "11"],
   ["Dual Stage Rack &amp; Conveyor", "source/DualStageRackAndConveyor.htm", "11"],
   ["Pin Roller", "source/PinRoller.htm", "11"],
   ["Winder Center Driven", "source/WinderCenter.htm", "11"],
   ["Winder Surface Driven", "source/WinderSurface.htm", "11"],
   ["Slider Crank", "source/SliderCrank.htm", "11"],
   ["Linear Motor", "source/LinearMotorDriveMechanics.htm", "11"]
  ],
  ["Transformation", null, "1",
   ["Transformation", "source/Transformation.htm", "11"],
   ["Output Torque vs Input Speed", "source/TransformationOutputTorqueVsInputSpeed.htm", "11"],
   ["Gears", "source/Gears.htm", "11"]
  ],
  ["Gearbox", null, "1",
   ["Gearbox", "source/Gearbox.htm", "11"],
   ["Output Torque vs Input Speed", "source/GearboxTorqueVsRpm.htm", "11"],
   ["Efficiency vs Input Speed", "source/GearboxEfficiencyVsRpm.htm", "11"],
   ["Gearbox Life", "source/GearboxLife.htm", "11"],
   ["Shaft Loads", "source/ShaftLoads.htm", "11"],
   ["Margins", "source/GearboxLimits.htm", "11"]
  ],
  ["Belts", null, "1",
   ["Belt Forces", "source/BeltForces.htm", "11"]
  ],
  ["Motor and Drive", "source/DriveAndMotor.htm", "1",
   ["Motor", null, "1",
    ["Rotary Motor", null, "1",
     ["Motor", "source/Motor.htm", "11"],
     ["Torque vs Speed", "source/MotorTorqueVsRpm.htm", "11"],
     ["Torque vs Current", "source/MotorTorqueVsCurrent.htm", "11"],
     ["Margins", "source/RotaryMotorLimits.htm", "11"]
    ],
    ["Gear Motor", null, "1",
     ["Torque vs Speed", "source/GearMotorTorqueVsRpm.htm", "11"]
    ],
    ["Linear Motor", null, "1",
     ["Motor", "source/LinearMotor.htm", "11"],
     ["Force vs Speed", "source/MotorForceVsSpeed.htm", "11"],
     ["Force vs Current", "source/MotorForceVsCurrent.htm", "11"],
     ["Margins", "source/LinearMotorLimits.htm", "11"]
    ],
    ["Motor Models", "source/MotorModels.htm", "11"]
   ],
   ["Drive", null, "1",
    ["Drive Configurations", "source/DriveLayout.htm", "11"],
    ["Inverter", "source/Inverter.htm", "11"],
    ["Inverter Margins for Rotary Motors", "source/InverterLimitsForRotaryMotors.htm", "11"],
    ["Inverter Margins for Linear Motors", "source/InverterLimitsForLinearMotors.htm", "11"]
   ],
   ["Environmental Conditions", "source/EnvironmentalConditions.htm", "11"],
   ["Overload Monitoring", "source/OverloadMonitoring.htm", "11"]
  ]
 ],
 ["Infeed Module", null, "1",
  ["Infeed Module", "source/InfeedModuleLayout.htm", "11"],
  ["Margins", "source/InfeedModuleLimits.htm", "11"]
 ],
 ["Bleeder Module", null, "1",
  ["Bleeder Module", "source/BleederModule.htm", "11"],
  ["Margins", "source/BleederModuleLimits.htm", "11"]
 ],
 ["Capacitor Module", null, "1",
  ["Capacitor Module", "source/CapacitorModule.htm", "11"]
 ],
 ["Databases", "source/Databases.htm", "1",
  ["Database Updates", "source/DatabaseUpdates.htm", "11"],
  ["Bleeder Module", null, "1",
   ["Bleeder Module Database", "source/BleederModuleDatabase.htm", "11"],
   ["Add / Edit Bleeder Module Database", "source/AddEditBleederModuleDatabase.htm", "11"]
  ],
  ["Capacitor Module", null, "1",
   ["Capacitor Module Database", "source/CapacitorModuleDatabase.htm", "11"],
   ["Add / Edit Capacitor Module Database", "source/AddEditCapacitorModuleDatabase.htm", "11"]
  ],
  ["Coupling", null, "1",
   ["Coupling Database", "source/CouplingDatabase.htm", "11"],
   ["Add / Edit Coupling Database", "source/AddEditCouplingDatabase.htm", "11"]
  ],
  ["Drive", null, "1",
   ["Drive Database", "source/DriveDatabase.htm", "11"],
   ["Add / Edit Drive Database", "source/AddEditDriveDatabase.htm", "11"]
  ],
  ["Gear Motor", null, "1",
   ["Gear Motor Database", "source/GearMotorDatabase.htm", "11"],
   ["Add / Edit Gear Motor Database", "source/AddEditGearMotorDatabase.htm", "11"]
  ],
  ["Gearbox", null, "1",
   ["Gearbox Database", "source/GearboxDatabase.htm", "11"],
   ["Add/Edit Gearbox Database", "source/AddEditGearboxDatabase.htm", "11"]
  ],
  ["Infeed Module", null, "1",
   ["Infeed Module Database", "source/InfeedModuleDatabase.htm", "11"],
   ["Add / Edit Infeed Module Database", "source/AddEditInfeedModuleDatabase.htm", "11"]
  ],
  ["Motor", null, "1",
   ["Motor Database", "source/MotorDatabase.htm", "11"],
   ["Add / Edit Motor Database", "source/AddEditMotorDatabase.htm", "11"]
  ],
  ["Vendors", "source/Vendors.htm", "11"],
  ["Filters", "source/Filters.htm", "11"]
 ],
 ["System Check", null, "1",
  ["System Check", "source/SystemCheck.htm", "11"],
  ["Check List", "source/SystemCheck.htm#CheckList", "11"]
 ],
 ["Analysis Tools", "source/AnalysisTools.htm", "1",
  ["Ratio Analysis", "source/RatioAnalysis.htm", "11"],
  ["Inertia and Thrust Breakdown", "source/InertiaAndThrustBreakdown.htm", "11"],
  ["E-Stop", "source/E-Stop.htm", "11"],
  ["Bus Discharge", "source/BusDischarge.htm", "11"]
 ],
 ["Inertia &amp; Mass Calculator", null, "1",
  ["Inertia &amp; Mass Calculator", "source/InertiaMassCalculator.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;
}


