var TITEMS = [ 
 ["Overview", "introduce.html", "11"],
 ["System Requirements", "systemrequest.html", "11"],
 ["Fax Broadcast Suggestions", "Suggestions.html", "10"],
 ["Beginner Guide", "gettingstart.html", "2",
  ["Step 1: Install Modem", "installmodem.html", "9"],
  ["Step 2: Setup Wizard and Options", "configwizard.html", "11"],
  ["Step 3: Create New Fax For Broadcasting", "sendfaxwizard.html", "11"],
  ["Step 4: Manage Recipient List", "RecipientList.html", "11"],
  ["Step 5: Broadcast Fax", "sendingfax.html", "11"]
 ],
 ["Frequently Asked Questions", "FAQs.html", "1",
  ["How to import recipients", "recipients.html", "10"],
  ["How to install multiple fax modems?", "multi-modems.html", "10"],
  ["How can I improve fax reliability?", "faxreliability.html", "11"],
  ["How to increase the fax quality(especially faxing PDF files)?", "PDF_quality.html", "11"],
  ["How to register the Joyfax Broadcast?", "Register.html#reg", "11"]
 ],
 ["Registering Joyfax Broadcast", "Register.html", "11"],
 ["License Agreement", "license.html", "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;
}

