﻿var TITEMS = [ 
 ["Introduction", "introduction.htm", "11"],
 ["Vidéos de démonstrations", "videos.htm", "11"],
 ["Procédure d'installation", "pre-requis.htm", "1",
  ["Pré-requis", "pre-requis.htm", "11"],
  ["Test TAPI Compatipility Check", "check_tapi_compatib1.htm", "11"],
  ["Obtenir une licence", "obtenirlicence.htm", "11"],
  ["Installation standalone", "installation.htm", "11"],
  ["Installation administrative", "admininstallation.htm", "11"],
  ["Configuration Tool", "configurationtool.htm", "11"]
 ],
 ["Procédure de configuration", "configparametres.htm", "1",
  ["Paramètres", "configparametres.htm", "11"],
  ["Popup Automatique", "configautopopup.htm", "11"],
  ["Boutons et menus", "boutonsmenus.htm", "11",
   ["Détails des propriétés", "elementpropertiesdetails.htm", "11"]],
  ["Translation", "configtraductionnumerotel.htm", "11"],
  ["Comment traduire l'application", "modificationfichierlangue.htm", "11"]
 ],
 ["Fonctionnement/Utilisation du programme", "commentcelafonctionne.htm", "1",
  ["Général", "commentcelafonctionne.htm", "11"],
  ["Fonctions", "fonctions.htm", "11"],
  ["Zones", "zones.htm", "11"],
  ["Réception d'un appel", "receptionappel.htm", "11"],
  ["Appeler un contact", "appelercontact.htm", "11"]
 ],
 ["Moteur de recherche", "commentfairerecherche.htm", "1",
  ["Comment faire une recherche", "commentfairerecherche.htm", "11"],
  ["Résultats d'une recherche", "resultatsrecherche.htm", "11"]
 ],
 ["Journal de Bord", "journalbord.htm", "11"],
 ["Licence", "licence.htm", "11"],
 ["Add-on", "mscrmdialerinstall.htm", "1",
  ["CTI for MSCRM Integration Dialer", "mscrmdialerinstall.htm", "1",
	["Installation", "mscrmdialerinstall.htm", "11"],
  ["Personnalisation MSCRM 4.0", "mscrmdialercusto.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;
}


