var TITEMS = [ 
 ["Technical Analysis functions library for .NET", "index.htm", "1",
  ["Trend Indicators", "trend_indicators.htm", "1",
   ["Advance/Decline Line", "AdvanceDeclineLine.htm", "11"],
   ["Aroon Down", "AroonDown.htm", "11"],
   ["Aroon Oscillator", "AroonOscillator.htm", "11"],
   ["Aroon Up", "AroonUp.htm", "11"],
   ["Bill Williams Profitunity", "BillWilliamsProfitunity.htm", "11"],
   ["DEMA", "DEMA.htm", "11"],
   ["Exponential Moving Average", "ExpMovAvg.htm", "11"],
   ["Exponential Moving Average Difference", "ExpMovAvgDiff.htm", "11"],
   ["Exponential Moving Average Factor", "ExpMovAvgFactor.htm", "11"],
   ["Exponential Moving Average Factor Difference", "ExpMovAvgFactorDiff.htm", "11"],
   ["Line Weighted Moving Average", "LineWeightedMovAvg.htm", "11"],
   ["Line Weighted Moving Average Difference", "LineWeightedMovAvgDiff.htm", "11"],
   ["MACD", "MACD.htm", "11"],
   ["Moving Average", "MovAvg.htm", "11"],
   ["Moving Average Difference", "MovAvgDiff.htm", "11"],
   ["Nicoski", "Nicoski.htm", "11"],
   ["Positive Negative Changes Difference", "PositiveNegativeChangesDiff.htm", "11"],
   ["Qstick Indicator", "QstickIndicator.htm", "11"],
   ["TEMA", "TEMA.htm", "11"]
  ],
  ["Volatility Indicators", "volatility_indicators.htm", "1",
   ["Average True Range", "AverageTrueRange.htm", "11"],
   ["Bollinger Band", "BollingerBand.htm", "11"],
   ["Bollinger Band Percent", "BollingerBandPercent.htm", "11"],
   ["Breadth Advance/Decline", "BreadthAdvanceDecline.htm", "11"],
   ["Bollinger Band Width", "BollingerBandWidth.htm", "11"],
   ["True Range", "TrueRange.htm", "11"],
   ["Volatility", "Volatility.htm", "11"],
   ["Volatility Chaikin", "VolatilityChaikin.htm", "11"]
  ],
  ["Momentum Indicators", "momentum_indicators.htm", "1",
   ["Acceleration", "Acceleration.htm", "11"],
   ["Accumulation/Distribution", "AccumulationDistribution.htm", "11"],
   ["Balance Of Power", "BalanceOfPower.htm", "11"],
   ["CCI", "CCI.htm", "11"],
   ["Fosback Unchanged Issues", "FosbackUnchangedIssues.htm", "11"],
   ["Hughes Breadth Index", "HughesBreadthIndex.htm", "11"],
   ["McClellan Oscillator", "McClellanOscillator.htm", "11"],
   ["McClellan Summation Index", "McClellanSumIndex.htm", "11"],
   ["Momentum", "Momentum.htm", "11"],
   ["Morris Daily Pressure", "MorrisDailyPressure.htm", "11"],
   ["OBV Oscillator", "OBVOscillator.htm", "11"],
   ["OBV with Average Volume", "OBVwithAverageVolume.htm", "11"],
   ["On Balance Volume", "OnBalanceVolume.htm", "11"],
   ["Performance", "Performance.htm", "11"],
   ["Price Oscillator Percent Difference", "PriceOscillatorPercentDiff.htm", "11"],
   ["Price Oscillator Points Difference", "PriceOscillatorPointsDiff.htm", "11"],
   ["RSI", "RSI.htm", "11"],
   ["Stochastic Oscillator", "StochasticOscillator.htm", "11"],
   ["Weighted Close", "WeightedClose.htm", "11"],
   ["Wilder RSI", "WilderRSI.htm", "11"],
   ["Williams R", "WilliamsR.htm", "11"]
  ],
  ["Market Strength Indicators", "market_strength_indicators.htm", "1",
   ["Average Of Volume ROC", "AverageOfVolumeROC.htm", "11"],
   ["Chaikin A/D Oscillator", "ChaikinADOscillator.htm", "11"],
   ["Chaikin Money Flow", "ChaikinMoneyFlow.htm", "11"],
   ["Ease Of Movement", "EaseOfMovement.htm", "11"],
   ["Market Facilitation Index", "MarketFacilitationIndex.htm", "11"],
   ["Volume Oscillator Percent Difference", "VolumeOscillatorPercentDiff.htm", "11"],
   ["Volume Oscillator Points Difference", "VolumeOscillatorPointsDiff.htm", "11"]
  ],
  ["Support and Resistance Indicators", "support_and_resistance_indicators.htm", "1",
   ["Envelope", "Envelope.htm", "11"]
  ],
  ["Additional Functions", "additional_functions.htm", "1",
   ["Basic Functions", "basic_functions.htm", "1",
    ["Average Changes", "AverageChanges.htm", "11"],
    ["Average Negative Changes", "AverageNegativeChanges.htm", "11"],
    ["Average Positive Changes", "AveragePositiveChanges.htm", "11"],
    ["Change", "Change.htm", "11"],
    ["Cumulative Sum", "CumulativeSum.htm", "11"],
    ["High Value", "HighValue.htm", "11"],
    ["Low Value", "LowValue.htm", "11"],
    ["Mean", "Mean.htm", "11"],
    ["Median Price", "MedianPrice.htm", "11"],
    ["Negative Changes", "NegativeChanges.htm", "11"],
    ["Negative Changes Sum", "NegativeChangesSum.htm", "11"],
    ["Percent Change", "PercentChange.htm", "11"],
    ["Positive Changes", "PositiveChanges.htm", "11"],
    ["Positive Changes Sum", "PositiveChangesSum.htm", "11"],
    ["Sum Lag", "SumLag.htm", "11"],
    ["Typical Price", "TypicalPrice.htm", "11"]
   ],
   ["Statistical Functions", "statistical_functions.htm", "1",
    ["Correlation Coefficient", "CorrelationCoefficient.htm", "11"],
    ["Covariance", "Covariance.htm", "11"],
    ["Standard Deviation", "StandardDeviation.htm", "11"],
    ["Variance", "Variance.htm", "11"]
   ]
  ],
  ["All Functions", "all_functions.htm", "11"]
 ],
 ["Order TA4.NET", "order_ta4_net.htm", "11"],
 ["System requirements", "system_requirements.htm", "11"],
 ["Contacts", "contacts.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;
}

