<?php
if ($gaPage['colour'] == 'orange'){
	$imageFilename = 'SafeforLifeOrange.png';
} else if ($gaPage['colour'] == 'purple'){
	$imageFilename = 'SafeforLifePurple.png';
} else {
	$imageFilename = 'SafeforLifeGreen.png';
}
?>
<body onload="<?php echo $gaPage['onload']; ?> return true;" onunload="">
<div id="overcoat">
<div id="HeaderMenuLayer1"><img src="<?php echo $gaPage['root_directory']; ?>/images/<?php echo $imageFilename; ?>" width="999" height="143" /></div>
<div id="HeaderMenuLayer2">
  <table width="100%" border="0">
    <tr>
<?php
	if ($_SESSION['LoggedIn'] == 0){
?>
      <td width="33%"><a href="<?php echo $gaPage['root_directory']; ?>/pages/memberlogin.php"><img src="<?php echo $gaPage['root_directory']; ?>/images/nav_btn_memlogin.png" alt="Member Login" width="109" height="50" border="0" /></a></td>
      <td width="33%"><a href="<?php echo $gaPage['root_directory']; ?>/pages/register.php"><img src="<?php echo $gaPage['root_directory']; ?>/images/nav_btn_newrego.png" alt="New Registration" width="106" height="50" border="0" /></a></td>
      <td width="33%"><a href="<?php echo $gaPage['root_directory']; ?>/pages/vetlogin.php"><img src="<?php echo $gaPage['root_directory']; ?>/images/nav_btn_vetlogin.png" alt="Vet/Pound Login" width="108" height="50" border="0" /></a></td>
<?php
	}
	else {
?>
	<td width="25%">
			<a href="<?php echo $gaPage['root_directory']; ?>/pages/index.php" class="foot-links"><img src="<?php echo $gaPage['root_directory']; ?>/images/nav_btn_home.png" alt="Home" width="93" height="50" border="0" /></a>
	</td>
	<td width="25%">
		<a href="<?php echo $gaPage['root_directory']; ?>/pages/register.php" class="foot-links"><img src="<?php echo $gaPage['root_directory']; ?>/images/nav_btn_newrego.png" alt="New Registration" width="106" height="50" border="0" /></a>
		
		<?php if ($_SESSION['cookieid'] != '' and $_SESSION['VetID'] != ''){ ?> 
			<?php /*pending item in cart*/ ?>
		<?php }else{ ?>
			
		<?php } ?>
	</td>
	<td width="25%">
			<a href="<?php echo $gaPage['root_directory']; ?>/pages/myaccount.php" class="foot-links"><img src="<?php echo $gaPage['root_directory']; ?>/images/nav_btn_account.png" alt="My Account" width="103" height="50" border="0" /></a>
	</td>
	<td width="25%">
			<a href="<?php echo $gaPage['root_directory']; ?>/pages/logout.php" class="foot-links"><img src="<?php echo $gaPage['root_directory']; ?>/images/nav_btn_logout.png" alt="Logout" width="107" height="50" border="0" /></a>
	</td>
<?php
	}
?>
    </tr>
  </table>
</div>
<div id="pagecontent">
<table width="100%" border="0">
<tr>