var TITEMS = [ 
 ["Help System.", null, "1",
  ["What's new", "whatsnew.htm", "11"],
  ["What is it", "whatis.htm", "17"],
  ["System Requirements", "systemrequirements.htm", "17"],
  ["Before You Begin", null, "1",
   ["What is Whois", "what_is_whois.htm", "11"]
  ],
  ["Work With the Program", null, "1",
   ["Query window", "query_window.htm", "11"]
  ],
  ["Contacts", null, "1",
   ["Company", "company.htm", "15"],
   ["Support", "support.htm", "11"],
   ["Report a bug", "reportabug.htm", "24"]
  ],
  ["License Agreement and Registration", null, "1",
   ["END-USER LICENSE AGREEMENT FOR THIS SOFTWARE", "end_userlicenseagreementforthissoftware.htm", "11"],
   ["Distribution of Evaluation Version", "distributionofevaluationversion.htm", "11"],
   ["Why Register?", "whyregister.htm", "11"],
   ["Unregistered version limitations", "unregisteredversionlimitations.htm", "11"],
   ["Register Online", "registeronline.htm", "11"],
   ["Enter Registration Code", "enterregistrationcode.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;
}


