{if $smarty.request.showExtendedToc}
	{assign var="start_id" value="0"}
	{assign var="show_root" value="true"}
{else}
	{assign var="start_id" value="1"}
{/if}
<table border="0" align="center">
<tr><td>
	<div align="center">
	To build the entire Table of Contents for this site, <a href="./?pg=admin/toc/execute-build&doBuildToc=true">click here</a>.<br>
	(Building the Table of Contents may take a few moments, please be patient.)<br>
	<br>
	</div>
	<div>
	<u>The current Table of Contents</u>: {if $start_id gt 0}(<a href="./?pg={$page.name}&showExtendedToc=true">Click here</a> to see the extended TOC){/if}<br>
	<br>
	{toc_display start_id=$start_id level_indent="&nbsp; &nbsp; &nbsp; &nbsp;" show_root=$show_root}
		{literal}
		{$toc_indent}<a href="./?pg={$toc_pageName}" onmouseover="window.status='{$toc_description}'; return true;" onmouseout="window.status='';">{$toc_title}</a> (id:{$toc_id})<br>
		{/literal}
	{/toc_display}
	</div>
</td></tr>
</table>