Is this placement of the setCookie going to work? I'm not sure where I need to put it.
<div align="right"><font face="Arial, Helvetica, sans-serif"><b>Total:</b></font></div>
</td>
<td width="23%" height="19">
<? if(IsSet($TotalWithTax)){$Total = $TotalWithTax;} echo "$".$Total; setcookie('total', $Total);?>
</td>