print "<A HREF=\"#\" onClick=\"marktos($ctr, $ct, 1);return false\" onMouseOver=\"return setStatus('Toggle marks at and above this point')\"><IMG SRC=\"$html_url/icons/mark_up.gif\" HEIGHT=12 WIDTH=12 BORDER=0></A> ";
print "<A HREF=\"#\" onClick=\"marktos($ctr, $ct, 0);return false\" onMouseOver=\"return setStatus('Toggle marks at and below this point')\"><IMG SRC=\"$html_url/icons/mark_down.gif\" HEIGHT=12 WIDTH=12 BORDER=0></A> ";
print "<TD><A HREF=\"javascript:subact('properties', '$num', '$name2')\" onMouseOver=\"return setStatus('Set properties for this subtopic (rename)')\"><IMG SRC=\"$html_url/icons/properties_icon.gif\" HEIGHT=25 WIDTH=25 BORDER=1></A></TD>" if !$link;
print "<TD><A HREF=\"javascript:subact('properties', '$num', '$name2')\" onMouseOver=\"return setStatus('Set properties for this link (rename, link URL)')\"><IMG SRC=\"$html_url/icons/properties_icon.gif\" HEIGHT=25 WIDTH=25 BORDER=1></A></TD>" if $link;
print "<A HREF=\"#\" onClick=\"marktom($ctr, $ct, 1);return false\" onMouseOver=\"return setStatus('Toggle marks at and above this point')\"><IMG SRC=\"$html_url/icons/mark_up.gif\" HEIGHT=12 WIDTH=12 BORDER=0></A> ";
print "<A HREF=\"#\" onClick=\"marktom($ctr, $ct, 0);return false\" onMouseOver=\"return setStatus('Toggle marks at and below this point')\"><IMG SRC=\"$html_url/icons/mark_down.gif\" HEIGHT=12 WIDTH=12 BORDER=0></A> ";
print "<TD><A HREF=\"javascript:msgact('delete', '$num', 'message number $counter, by $postby on $ts')\" onMouseOver=\"return setStatus('Delete this message')\"><IMG SRC=\"$html_url/icons/delete_icon.gif\" HEIGHT=25 WIDTH=25 BORDER=1></A></TD>";