<script>
function gotolink(u,sec_id,subsec_id,page_id)
{
	document.getElementById("subsecid").value=subsec_id;
	document.getElementById("pageid").value=page_id;
	document.searchfrm.action = u;
	document.searchfrm.secid.value = sec_id;
	document.searchfrm.submit();
}
</script>
<link rel="stylesheet" href="./static/js/sitemap/sitemap.css" type="text/css">
<form name="searchfrm" id="searchfrm" action="<?php echo $page_name?>" method="post" enctype="multipart/form-data">
<input type="hidden" name="secid" id="secid" value="" />
<input type="hidden" name="subsecid" id="subsecid" value="" />
<input type="hidden" name="pageid" id="pageid" value="" />
<table width="99%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="left"><span class="td"><a href="index.php" class="bnav">Home</a> &raquo; Sitemap</span></td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                </tr>
              <tr>
                <td><h2>Sitemap</h2></td>
                </tr>
              <tr>
                <td><h3 style="color:red"><?php echo $error_msg;?></h3></td>
                </tr>
              <tr>
                <td>
                  <?php echo $sitemaphtml?>
                </td>
              </tr>
              <tr>
                <td>&nbsp;</td>
              </tr>
              <tr>
                <td align="center">&nbsp;</td>
              </tr>
              <tr>
                <td>&nbsp;</td>
              </tr>
              <tr>
                <td align="center">&nbsp;</td>
              </tr>
              </table>
</form>
<script type="text/javascript" src="./static/js/sitemap/jquery.js"></script>
<script type="text/javascript" src="./static/js/sitemap/ddaccordion.js"></script>
<script type="text/javascript">
ddaccordion.init({
	headerclass: "submenuheader", //Shared CSS class name of headers group
	contentclass: "submenu", //Shared CSS class name of contents group
	revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click", "clickgo", or "mouseover"
	mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
	collapseprev: true, //Collapse previous content (so only one open at any time)? true/false 
	defaultexpanded: [], //index of content(s) open by default [index1, index2, etc] [] denotes no content
	onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
	animatedefault: false, //Should contents open by default be animated into view?
	persiststate: false, //persist state of opened contents within browser session?
	toggleclass: ["", ""], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
	togglehtml: ["suffix", "<img src='./static/js/sitemap/plus.gif' class='statusicon' />", "<img src='./static/js/sitemap/minus.gif' class='statusicon' />"], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
	animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
	oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
		//do nothing
	},
	onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
		//do nothing
	}
})

</script><style type="text/css">
.submenu{display: none}
a.hiddenajaxlink{display: none}
</style>