<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML>
<HEAD>
<meta name="GENERATOR" content="Microsoft&reg; HTML Help Workshop 4.1">
<!-- Sitemap 1.0 -->
<%@write_section = lambda do |page| %>
<UL>
	<%page.pages.each do |child|%>
		<%next if child.hide%>
		<LI> <OBJECT type="text/sitemap">
			<param name="Name" value="<%=CGI.escapeHTML child.title%>">
			<param name="Local" value="<%=FileUtils.win_path( @html_path / child.html_path ).gsub('&','%26')%>">
			<%if child.sublink?
				%><param name="ImageNumber" value="17"><%
			elsif child.leaf?
				%><param name="ImageNumber" value="11"><%
			end%>
			</OBJECT>
		<%@write_section[child] unless child.pages.empty?%>
	<%end%>
</UL>
<%end%>
</HEAD><BODY>

<%@write_section[@bundle.toc]%>

</BODY></HTML>

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML>
<HEAD>
<meta name="GENERATOR" content="Microsoft&reg; HTML Help Workshop 4.1">
<!-- Sitemap 1.0 -->
<%@write_section = lambda do |page| %>
<UL>
	<%page.pages.each do |child|%>
		<%next if child.hide%>
		<LI> <OBJECT type="text/sitemap">
			<param name="Name" value="<%=CGI.escapeHTML child.title%>">
			<param name="Local" value="<%=FileUtils.win_path( @html_path / child.html_path ).gsub('&','%26')%>">
			<%if child.icon?
				%><param name="ImageNumber" value="<%=child.icon%>"><%
			elsif child.sublink?
				%><param name="ImageNumber" value="17"><%
			elsif child.leaf?
				%><param name="ImageNumber" value="11"><%
			end%>
			</OBJECT>
		<%@write_section[child] unless child.pages.empty?%>
	<%end%>
</UL>
<%end%>
</HEAD><BODY>

<%@write_section[@bundle.toc]%>

</BODY></HTML>

Use custom icon if specified
Use custom icon if specified
