code: function maketoc(element, enableSections)
  {
  	enableSections = (enableSections != null) ? enableSections : true;
  	var tmp = crawlDom(document.body, 2, 4, [], 30, enableSections);
  	
  	if (tmp.childNodes.length > 0)
  	{
  		element.appendChild(tmp);
  	}
  }
docs: Creates a table of contents inside the given element.