var tocTab = new Array();
var nextitem = 0;
var nCols = 1;
var colTab = new Array();
var prevlev = -1;
colTab[0] = 1;
colTab[1] = 1;
function AddTab(level, title, ref, help)
{
	if(level<=prevlev)
	{
		while(prevlev>level)
			colTab[prevlev--]=1;
		colTab[level]++;
	}
	else
	{
		while(level>nCols)
			colTab[++nCols]=1;
		prevlev=level;
	}
	var levstr="";
	for(var i=1; i<=level; i++)
		levstr+="."+colTab[i];
	if(levstr=="")
		levstr=".0";
	tocTab[nextitem++] = new Array (levstr.substr(1), title, ref, help);
}
AddTab(0, "ResourcePlanner Help", "introduction.htm");
AddTab(1, "Introduction", "introduction.htm");
AddTab(2, "Resources", "introduction.htm#resource");
AddTab(2, "Jobs", "introduction.htm#job");
AddTab(2, "Documents", "introduction.htm#document");
AddTab(2, "Regular tasks", "introduction.htm#regular");
AddTab(2, "Contacts", "introduction.htm#contact");
AddTab(2, "Views", "introduction.htm#view");
AddTab(2, "Access levels", "introduction.htm#user");
AddTab(2, "Reports", "introduction.htm#report");
AddTab(2, "Customization", "introduction.htm#custom");
AddTab(2, "Logging in", "introduction.htm#login");
AddTab(1, "Main menu", "mainmenu.htm");
AddTab(2, "Resource View", "mainmenu.htm#resource", "resourceview");
AddTab(2, "Task View", "mainmenu.htm#task", "taskview");
AddTab(2, "Reports", "report.htm", "report");
AddTab(3, "Running", "report.htm#running", "running");
AddTab(3, "Editing", "report.htm#editing", "editreport");
AddTab(3, "Columns", "report.htm#columns", "column");
AddTab(2, "Admin", "mainmenu.htm#record");
AddTab(3, "Quick tasks", "quicktask.htm", "quick");
AddTab(3, "Resources", "resource.htm", "resource");
AddTab(3, "Resource Groups", "resourcegroup.htm", "resourcegroup");
AddTab(3, "Tasks", "task.htm", "task");
AddTab(3, "Task Groups", "taskgroup.htm", "taskgroup");
AddTab(3, "Jobs", "job.htm", "job");
AddTab(3, "Bookings", "booking.htm", "booking");
AddTab(3, "Contacts", "contact.htm", "contact");
AddTab(3, "Contact types", "contacttype.htm", "contacttype");
AddTab(2, "System", "mainmenu.htm#admin");
AddTab(3, "Settings", "settings.htm", "settings");
AddTab(4, "Time related", "settings.htm#time");
AddTab(4, "Display related", "settings.htm#display");
AddTab(4, "Contact related", "settings.htm#user");
AddTab(4, "Options", "settings.htm#option");
AddTab(3, "Analysis", "analysis.htm", "analysis");
AddTab(3, "Document types", "doctype.htm", "doctype");
AddTab(3, "Color keys", "colorkey.htm", "colorkey");
AddTab(3, "Documents", "document.htm", "document");
AddTab(3, "Filters", "filter.htm", "filter");
AddTab(3, "Backup", "backup.htm", "backup");
AddTab(3, "Restore", "backup.htm#restore", "restore");
AddTab(2, "Logout", "mainmenu.htm#logout");
AddTab(1, "Setting up a new plan", "setup.htm");
AddTab(2, "Creating the plan", "setup.htm#create");
AddTab(2, "Admin menu tasks", "setup.htm#admin");
AddTab(2, "Record menu tasks", "setup.htm#record");
AddTab(1, "Setting up a new server", "server.htm");
AddTab(2, "Setting up a Linux server", "server.htm#linux");
AddTab(2, "Setting up a Microsoft Windows server with Apache", "server.htm#windows");
AddTab(2, "Setting up a Microsoft Windows server with IIS", "server.htm#windowsiis");
AddTab(2, "Creating a new plan", "server.htm#create");
AddTab(2, "Configuring ResourcePlanner", "server.htm#config");
AddTab(2, "Customizing ResourcePlanner", "server.htm#custom");
AddTab(1, "Support", "support.htm");
