$section = 0;
for ($n = $help_info[3], $cnt = count($doc); $n < $cnt; $n++) {
$section++;
$help_info = get_info($doc, $n);
echo "<b>$chapter.$section - $help_info[0]</b>" .
html_tag( 'ul', $help_info[1] );
$section = 0;
for ($n = $help_info[3], $cnt = count($doc); $n < $cnt; $n++) {
$section++;
$help_info = get_info($doc, $n);
echo "<b>$chapter.$section - $help_info[0]</b>" .
html_tag( 'ul', $help_info[1] );