var TITEMS = [ 
 ["Drive Vaccine PC Restore Plus", null, "1",
  ["Drive Vaccine Client", null, "1",
   ["Introduction", null, "2",
    ["About Drive Vaccine PC Restore Plus", "source/index.htm", "11"],
    ["Comparison to other restore solutions", "source/comparison.htm", "11"],
    ["Key features", "source/features.htm", "11"],
    ["Program components", "source/components.htm", "11"]
   ],
   ["Setup", null, "1",
    ["System requirements", "source/requirements.htm", "11"],
    ["Installation", "source/install.htm", "11"],
    ["Activation", "source/activation.htm", "11"],
    ["Advanced setup", "source/advanced.htm", "11"],
    ["Deployment", "source/deployment.htm", "11"]
   ],
   ["Application Console", null, "1",
    ["General Section", "source/general.htm", "11"],
    ["Restore settings", null, "1",
     ["Baseline information", "source/baseline information.htm", "11"],
     ["Restore baseline settings", "source/restore settings.htm", "11"],
     ["Disable restore", "source/disable_restore.htm", "11"]
    ],
    ["Program settings", null, "1",
     ["Change password", "source/change_password.htm", "11"],
     ["Program settings", "source/settings.htm", "11"],
     ["Network settings", "source/network.htm", "11"]
    ]
   ],
   ["Subconsole Operations", "source/subconsole.htm", "11"],
   ["Command-line switches", "source/cmd.htm", "11"],
   ["Exemption drive (Freeze space)", "source/freeze.htm", "11"],
   ["User support", null, "2",
    ["Support options", "source/support1.htm", "11"],
    ["F.A.Q.", "source/faq.htm", "11"],
    ["Knowledge base", "source/knowledge base.htm", "11"],
    ["Help desk", "source/help desk.htm", "11"]
   ],
   ["Uninstall Drive Vaccine PC Restore Plus", "source/uninstall.htm", "11"]
  ],
  ["Drive Vaccine RMC", null, "1",
   ["Installation", null, "1",
    ["System requirements", "source/rmc-reqs.htm", "11"],
    ["Installation", "source/rmc-install.htm", "11"]
   ],
   ["Operating guide", null, "1",
    ["Entering the RMC", "source/rmc-login.htm", "11"],
    ["Operating the RMC", "source/rmc-oper.htm", "11"],
    ["RMC", null, "1",
     ["Administrators", "source/rmc-admins.htm", "11"],
     ["Groups", "source/rmc-groups.htm", "11"],
     ["Schedule tasks", "source/rmc-sched.htm", "11"],
     ["Change password", "source/rmc-pass.htm", "11"]
    ],
    ["RMC commands", "source/rmc-com.htm", "11"]
   ],
   ["Uninstalling", "source/rmc-uninstall.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;
}


