所以把以下行中的:
if ChildCount>0 then
%>
<tr id="a<%= rs("id")%>" style="display:yes"><td class="<%= ListType%>" nowrap></td><td ><% ListSort(rs("id")) %></td></tr>
<%
display:yes改成 display:none 就可以了