
var tocID = "0";
var previousLevel = 1;

// Add new TOCItem to tocItems
function add(level, title, url, target) {
	if (level > previousLevel) tocID = getTOCIDFirstChild(tocID);
	else if (level == previousLevel) tocID = getNextTOCID(tocID);
		else tocID = getNextParentTOCID(tocID, previousLevel - level);
	tocItems.addTOCItem(tocID, title, url, target);
	previousLevel = level;
}

add(1,"Home online","http://www.xs4all.nl/~wstudios","_top");
add(1,"WAssociate 3.4.4","wassociate.html","");
add(2,"Introduction","wassociate.html#Introduction","");
add(2,"Need to know","wassociate.html#NeedToKnow","");
add(2,"Download and installation","wassociate.html#Installation","");
add(2,"Associations","associations.html","");
add(3,"Introduction","associations.html#Intro","");
add(3,"Extensions","associations.html#Extensions","");
add(3,"File types","associations.html#FileTypes","");
add(3,"Classes","associations.html#Classes","");
add(3,"HKEY_CLASSES_ROOT","associations.html#HKEY_CLASSES_ROOT","");
add(3,"Applications","associations.html#Applications","");
add(3,"Editing associations","associations.html#Editing","");
add(3,"Action","associations.html#Action","");
add(4,"Open action","associations.html#open","");
add(4,"File type Unknown","associations.html#Unknown","");
add(4,"Order","associations.html#Order","");
add(3,"Documentation","associations.html#Doc","");
add(2,"Using WAssociate","use.html","");
add(3,"Introduction","use.html#Intro","");
add(3,"Starting WAssociate","use.html#Start","");
add(3,"Backup","use.html#Backup","");
add(3,"Creating an association","use.html#Create","");
add(3,"Actions and commands","use.html#Cmds","");
add(3,"Default open action","use.html#Open","");
add(3,"Command lines","use.html#Long","");
add(3,"Personal applications","use.html#Applications","");
add(3,"Look around","use.html#Look","");
add(3,"Beyond the obvious","use.html#Obvious","");
add(2,"Examples","examples.html","");
add(3,"A simple association","examples.html#Associate_txt","");
add(4,"Backup?","examples.html#DidBackup","");
add(4,"The file type of extension .txt","examples.html#FileTypeTXT","");
add(4,"Adding an alternative editor","examples.html#AltEditor","");
add(4,"Launch it","examples.html#Launch","");
add(4,"Undo it","examples.html#Undo","");
add(3,"Associations with all files","examples.html#Associate_All","");
add(4,"Selecting file type *","examples.html#TypeAll","");
add(4,"Creating action WAssociate","examples.html#CreateAction","");
add(4,"Try it out","examples.html#TryIt","");
add(4,"Undo it","examples.html#UndoALL","");
add(3,"Finally","examples.html#Finally","");
add(2,"Updates","comments.html","");
add(2,"What's new?","whatsnew.html","");
add(2,"French documentation version 2.5","french/index.html","_top");

