		<ul>
		<%
				'sqllar="select * from PClass where gb='ch' and id<>66 and ParentID=0 order by Orders asc"
				sqllar="select * from PClass where gb='ch' and ParentID=0 order by Orders asc"
				set rs = conn.execute ( sqllar )
				if rs.bof and rs.eof then
				else
				ab = 0
				do while not rs.eof 
		%>
		<%
				sql="select * from pclass where ParentID="&rs("ID")&" order by orders asc"
				set rsmid = conn.execute ( sql )
				if rsmid.bof and rsmid.eof then
		%>
		<li><a href="product.asp?action=1&Parentid=<%=rs("ID")%>"><%= rs("classname") %></a></li>
		<% else %>
		<li><a href="javascript:;"><%= rs("classname") %></a>
		<ul>
		<%
				do while not rsmid.eof
						sql3="select * from pclass where ParentID="&rsmid("ID")&" order by orders asc"
						set rs3=conn.execute ( sql3 )
						if rs3.bof and rs3.eof then
		%>
		<li><a href="product.asp?action=1&Parentid=<%=rsmid("ID")%>"><%= rsmid("classname") %></a></li>
						<%
						else
						%>
		<li><a href="javascript:;"><%= rsmid("classname") %></a>
		<ul>
						<%
						do while not rs3.eof 
						%>
						<li><a href="product.asp?action=1&Parentid=<%=rs3("ID")%>"><%= rs3("classname") %></a></li>
						<%
						rs3.movenext
						loop
						%>
		</ul>
		</li>
		<% 
						end if
				rsmid.movenext
				loop
				
		 %>
		</ul>
		</li>
		 
		<%
				end if
				rsmid.close
				set rsmid = nothing
		%>
		
		<%
		rs.movenext
		ab = ab + 1
		loop
		end if
		rs.close
		set rs = nothing
		%>
		</ul> 
