Chuck,
How about:
if ( $Globals['mostrecent'] == "yes" && $Globals['recentdefault'] == "no" ) {
$output .= "$tbopen";
$output .= "$<tr>";
$output .= "$<tb>";
display_gallery("latest");
$output .= "$</tb>";
$output .= "$</tr>";
$output .= "$tbclose";
$output .= "<br />";
}
Warm regards
Nikos