var TITEMS = [ 
 ["Opinio 6 Documentation", "index.html", "1",
  ["Getting started", "getting_started.html", "1",
   ["About", "about.html", "11"],
   ["Survey quick start", "quick_start.html", "11"],
   ["The user interface", "user_interface.html", "11"]
  ],
  ["Organizing surveys and polls", "organizing_surveys.html", "1",
   ["Folders", "folders.html", "11"],
   ["Create new survey", "newsurvey.html", "11"],
   ["Create new poll", "newpoll.html", "11"],
   ["Importing surveys and polls", "import_survey.html", "11"],
   ["Exporting surveys and polls", "export_survey.html", "11"],
   ["Copying surveys and polls", "copy_survey.html", "11"],
   ["Renaming surveys and polls", "rename_survey.html", "11"],
   ["Deleting surveys and polls", "ch02s08.html", "11"]
  ],
  ["Design a survey", "design_survey.html", "1",
   ["Survey administration", "survey_admin.html", "11"],
   ["Questions", "questions.html", "1",
    ["Creating questions", "create_question.html", "1",
     ["Question types", "question_types.html", "1",
      ["Rating", "rating.html", "11"],
      ["Numeric", "numeric.html", "11"],
      ["Multiple Choice", "multiple_Choice.html", "11"],
      ["Dropdown list", "dropdown_list.html", "11"],
      ["Matrix", "matrix.html", "1",
       ["Creating new matrix", "new_matrix.html", "11"],
       ["Editing of matrix cells", "edit_matrix_cells.html", "11"],
       ["Big matrix navigation", "matrix_map.html", "11"],
       ["Quick editing of matrix cells", "quick_matrix_edit.html", "11"],
       ["Cell groups", "edit_matrix_groups.html", "11"]
      ],
      ["In-text elements", "in_text_elements.html", "1",
       ["In-text element: text", "intext_text.html", "11"],
       ["In-text element: numeric", "intext_numeric.html", "11"],
       ["In-text element: dropdown", "intext_dropdown.html", "11"],
       ["In-text element: checkbox", "intext_checkbox.html", "11"]
      ],
      ["Open ended question", "open_ended.html", "11"],
      ["No type question", "no_type.html", "11"]
     ],
     ["Navigation", "question_navigation.html", "11"],
     ["Plugin validators", "plugin_validators.html", "11"]
    ],
    ["Organizing questions", "organize_questions.html", "1",
     ["Question overview", "question_overview.html", "11"],
     ["Sections", "sections.html", "11"],
     ["Text between questions", "section_text.html", "11"]
    ],
    ["Add question to library", "add_to_lib.html", "11"],
    ["Copy question from library", "copy_from_lib.html", "11"],
    ["Branching", "branch_conditions.html", "1",
     ["Branching overview", "branching_overview.html", "11"],
     ["Branching types", "branching_type.html", "11"],
     ["Branching setup", "branching_setup.html", "11"],
     ["Exclude questions", "branching_exclude_questions.html", "11"]
    ]
   ],
   ["Piping", "piping.html", "1",
    ["Piping overview", "piping_list.html", "11"],
    ["Question response piping", "ch03s03s02.html", "11"],
    ["Invitee data piping", "ch03s03s03.html", "11"],
    ["Fixed value piping", "ch03s03s04.html", "11"],
    ["Survey URL parameter piping", "ch03s03s05.html", "11"]
   ],
   ["Survey preview", "survey_preview.html", "11"],
   ["Quota management", "quota_management.html", "11"],
   ["Survey look and feel", "survey_look_and_feel_main.html", "1",
    ["Survey look and feel", "survey_look_and_feel.html", "11"],
    ["Survey texts", "survey_texts.html", "11"],
    ["Survey buttons", "survey_buttons.html", "11"],
    ["Survey upload texts", "survey_upload_texts.html", "11"],
    ["Save and return texts", "survey_savereturn_texts.html", "11"],
    ["Login texts", "survey_login_texts.html", "11"],
    ["Quick question text edit", "quick_question_text_edit.html", "11"],
    ["Custom question numbers", "display_numbers.html", "11"]
   ],
   ["Survey setup", "survey_setup.html", "1",
    ["Security and privacy", "survey_security.html", "11"],
    ["Survey behavior", "survey_behavior.html", "11"],
    ["Start and stop dates", "start_stop_dates.html", "11"],
    ["Reload survey", "reload_survey.html", "11"]
   ],
   ["Translations", "translations.html", "1",
    ["Add language", "add_language.html", "11"],
    ["Edit language settings", "change_language.html", "11"],
    ["Translate survey", "translate.html", "11"]
   ],
   ["Survey collaboration", "survey_collaboration.html", "1",
    ["Survey comments", "survey_comments.html", "11"],
    ["Question comments", "question_comments.html", "11"]
   ]
  ],
  ["Publish survey", "publish_surveys.html", "1",
   ["Invitations", "invitations.html", "1",
    ["Add/Edit invitation", "invitation.html", "11"],
    ["Add invitees", "addInvitees.html", "11"],
    ["Export invitees", "export_invitees.html", "11"],
    ["Invitation list", "invitation_list.html", "11"],
    ["Invitee data format", "invitee_format.html", "11"],
    ["Manage Invitees", "invitees.html", "11"],
    ["Invitation details", "invitation_detail.html", "11"]
   ],
   ["Phone interviews", "phone_interviews.html", "11"],
   ["Print survey", "print_survey.html", "11"]
  ],
  ["Design a poll", "design_poll.html", "1",
   ["Poll administration", "poll_admin.html", "11"],
   ["Questions", "questions_poll.html", "1",
    ["Creating questions", "create_question_poll.html", "11"],
    ["Organizing questions", "organize_questions_poll.html", "11"],
    ["Add question to library", "add_to_lib_poll.html", "11"],
    ["Copy question from library", "copy_from_lib_poll.html", "11"]
   ],
   ["Piping", "piping_poll.html", "11"],
   ["Poll preview", "poll_preview.html", "11"],
   ["Poll look and feel", "poll_look_and_feel_main.html", "1",
    ["Poll look and feel", "poll_look_and_feel.html", "11"],
    ["Poll texts", "poll_texts.html", "11"],
    ["Poll buttons", "poll_buttons.html", "11"],
    ["Quick question text edit for polls", "quick_question_text_edit_poll.html", "11"],
    ["Quick poll chart edit", "quick_chart_edit_poll.html", "11"],
    ["Custom question numbers", "display_numbers_poll.html", "11"]
   ],
   ["Poll setup", "poll_setup.html", "1",
    ["Poll behavior", "poll_behavior.html", "11"],
    ["Start and stop dates", "start_stop_dates_poll.html", "11"],
    ["Convert to survey", "convert_to_survey.html", "11"],
    ["Reload poll", "reload_poll.html", "11"]
   ],
   ["Translations", "translations_poll.html", "11"],
   ["Poll collaboration", "poll_collaboration.html", "11"]
  ],
  ["Publish poll", "publish_polls.html", "1",
   ["Publish poll", "ch06s01.html", "11"]
  ],
  ["Reports and data analysis", "reports_and_data.html", "1",
   ["Manage responses", "single_responses.html", "11"],
   ["Delete responses", "delete_responses.html", "11"],
   ["Reports", "reports.html", "1",
    ["New report", "new_report.html", "11"],
    ["Copy report", "copy_report.html", "11"],
    ["Rename report", "rename_report.html", "11"],
    ["Report summary", "report_summary.html", "11"],
    ["Report structure", "report_structure.html", "1",
     ["Elements", "elements.html", "1",
      ["Chart attributes", "elements_advanced.html", "11"],
      ["Invalid elements", "elements_invalid.html", "11"]
     ]
    ],
    ["Text and labels", "report_texts.html", "1",
     ["General report texts", "general_report_texts.html", "11"],
     ["General report labels", "general_report_labels.html", "11"],
     ["Response value labels", "response_value_labels.html", "11"],
     ["Statistics labels", "statistics_labels.html", "11"]
    ],
    ["Look and feel", "report_look_and_feel.html", "11"],
    ["Report filters", "filters.html", "1",
     ["Invalid filters", "filters_invalid.html", "11"]
    ],
    ["Report settings", "report_options.html", "11"],
    ["Data export settings", "raw_data_settings.html", "11"]
   ],
   ["Auto-creating reports", "auto_reports.html", "11"]
  ],
  ["Publish your reports (portals)", "report_portals.html", "1",
   ["Report portals", "report_portals_intro.html", "11"],
   ["Creating a portal", "report_portals_create.html", "11"],
   ["Portal zones", "report_portal_zones.html", "11"],
   ["Portal security", "report_portal_security.html", "11"],
   ["Report portal list", "report_portal_list.html", "11"]
  ],
  ["Panel Management", "panel_management.html", "1",
   ["Designing panel", "panel_design.html", "1",
    ["Panel categories", "panel_categories.html", "11"],
    ["Panel attributes", "panel_attributes.html", "11"],
    ["Profile form", "panel_profile_form.html", "11"]
   ],
   ["Panelists", "panelists.html", "1",
    ["Panel portal", "panel_portal.html", "1",
     ["Panel portal integration", "panel_portal_integration.html", "11"]
    ],
    ["Panelist administration", "panelists_admin.html", "11"]
   ],
   ["Sample definitions", "sample_definitions.html", "1",
    ["Edit sample definition", "edit_sample_definition.html", "11"]
   ]
  ],
  ["Reusable resources", "resources.html", "1",
   ["Dropdown lists", "dropdown_bank.html", "11"],
   ["Invitee lists", "invitation_bank.html", "11"],
   ["Question library", "questionLibrary.html", "11"],
   ["Headers and footers", "header_bank.html", "11"],
   ["CSS files", "reusable_css_files.html", "11"],
   ["Images", "reusable_images.html", "11"],
   ["HTML files", "reusable_html_files.html", "11"],
   ["Files", "reusable_files.html", "11"]
  ],
  ["My profile", "my_profile.html", "1",
   ["User preferences", "user_preferences.html", "11"],
   ["Permissions", "permissions.html", "11"]
  ],
  ["Administrators guide", "administrator_guide.html", "1",
   ["Setup", "setup.html", "1",
    ["Plugin setup", "plugin.html", "11"],
    ["License setup", "license_setup.html", "11"],
    ["System status", "system_status.html", "11"]
   ],
   ["User management", "user_management.html", "1",
    ["Create a new user", "new_user.html", "11"],
    ["User list", "user_list.html", "11"],
    ["User groups", "user_groups.html", "11"],
    ["Permissions", "add_permissions.html", "11"],
    ["New permission", "new_permission.html", "11"]
   ],
   ["Performance hints", "performance_hints.html", "11"],
   ["The Opinio log file", "log_file.html", "11"],
   ["Application maintenance", "maintenance.html", "11"],
   ["Email report appender", "email_report_app.html", "11"]
  ],
  ["Appendix", "appendix.html", "1",
   ["Pre-population format", "prepopulation_format.html", "11"],
   ["Color codes", "color_codes.html", "11"],
   ["Html help", "html_help.html", "11"],
   ["Language encoding", "language_encoding.html", "11"],
   ["Other languages in PDF reports", "Other_languages_in_PDF_reports.html", "11"],
   ["Translate Opinio", "new_language.html", "11"],
   ["Create your own plugin", "writing_plugins.html", "1",
    ["Introduction to plugins", "plugin_introduction.html", "11"],
    ["Plugin architecture", "plugin_architecture.html", "11"],
    ["The event bus", "plugin_bus.html", "11"],
    ["Plugin setup", "plugin_setup.html", "11"],
    ["Plugin functions", "plugin_function.html", "11"],
    ["Plugin interfaces", "plugin_interfaces.html", "11"],
    ["Plugin screens look and feel", "plugin_look_feel.html", "11"],
    ["The plugin api", "plugin_api.html", "11"],
    ["The properties", "plugin_properties.html", "11"],
    ["Compiling the plugin", "compiling_plugins.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;
}

