 <br> 
<table width="950" cellpadding="0" cellspacing="0" border="0" align="center">
<tr> 
<td class="td4" nowrap width="100%"><a href="index.php"><img src="images/Home-icon.png" width="32" height="32" border="0"></a> </td>
<td> 
<table border="0" cellspacing="0" cellpadding="0">
<tr> 
<td>&nbsp; </td>
<?PHP
$SQLpage = "SELECT * from LINKS ORDER BY SP ASC, TITLE ASC";
$resultpage = @mysql_query( $SQLpage ); while( $rowpage = @mysql_fetch_array( $resultpage ) ) {
?>
<td> 
<table width="1%" border="0" cellspacing="0" cellpadding="0">
<tr> 
<td> 
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr> 
<td><span class="link4"><img src="images/transparent.gif" width="20" height="5"></span></td>
<td nowrap width="100%"> <span class="link4"><a href="<?php echo $rowpage[URL]; ?>">
<?php echo $rowpage[TITLE]; ?>
</a></span></td>
<td><img src="images/transparent.gif" width="20" height="5"></td>
</tr>
</table>
</td>
<td><img src="images/shim.jpg" width="2" height="17"></td>
</tr>
</table>
</td>
<?PHP } ?>
</tr>
</table>
</td>
<td> 
<table border="0" cellspacing="0" cellpadding="0">
<tr> 
<td>&nbsp; </td>
<?PHP
$SQLpage = "SELECT * from PAGES ORDER BY SP ASC, HEADER ASC";
$resultpage = @mysql_query( $SQLpage ); while( $rowpage = @mysql_fetch_array( $resultpage ) ) {
if ($rowxxx[HOME] != $rowpage[ID]) {
?>
<?PHP 
$link = "?page=pages&id=$rowpage[ID]";
$tmpheader = $rowpage[HEADER];
$rowpage[HEADER] = strtolower($rowpage[HEADER]);
$rowpage[HEADER] = EdURL($rowpage[HEADER]);
if ($rowxxx[MR] == Enabled) {
	if ($rowpage[HEADER] != '')
		$link = "$rowpage[HEADER].html";
}
$rowpage[HEADER] = $tmpheader;
?>
<td> 
<table width="1%" border="0" cellspacing="0" cellpadding="0">
<tr> 
<td> 
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr> 
<td><span class="link4"><img src="images/transparent.gif" width="20" height="10"></span></td>
<td nowrap width="100%"><span class="link4"><a href="<?php echo $link; ?>"> 
<?php echo $rowpage[HEADER]; ?>
</a></span></td>
<td><img src="images/transparent.gif" width="20" height="10"></td>
</tr>
</table>
</td>
<td><img src="images/shim.jpg" width="2" height="17"></td>
</tr>
</table>
</td>
<?PHP }} ?>
</tr>
</table>
</td>
<td><img src="images/transparent.gif" width="20" height="10"></td>
<td> <span class="link4"><a href="index.php?page=contact"><img src="images/Mail-icon.png" width="32" height="32"></a></span></td>
</tr>
</table>
