Improper table nesting and double-declaration of the script section, try<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="{LANG_DIR}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
<meta http-equiv="Pragma" content="no-cache" />
<title>{TITLE}</title>
{META}
<link rel="stylesheet" href="themes/pink/style.css" type="text/css" />
<script type="text/javascript" src="scripts.js"></script>
<!-- $Id: template.html,v 1.6 2005/12/04 03:22:35 donnoman Exp $ -->
</head>
<body>
{CUSTOM_HEADER}
<table width="790px" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="5" background="themes/pink/images/border_left.gif"><img src="images/border_left.gif" width="5" height="2"></td>
<td width="33" background="themes/pink/images/left.gif"><img src="themes/pink/images/left.gif" width="33" height="12"></td>
<td valign="top" style="background-color:#edebf9;">
<table width="100%" border="0" cellspacing="0" cellpadding="10">
<tr>
<td align="center"><h3>{GAL_DESCRIPTION}</h3>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<script type="text/javascript">
<!--
google_ad_client = "pub-0652110030323747";
google_ad_width = 468;
google_ad_height = 15;
google_ad_format = "468x15_0ads_al_s";
google_ad_channel ="";
google_color_border = "F9DFF9";
google_color_bg = "F9DFF9";
google_color_link = "0099FF";
google_color_url = "008000";
google_color_text = "000000";
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</td>
</tr>
</table>
<br />
{SYS_MENU} <br />
{SUB_MENU} </td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="10" cellspacing="0">
<tr>
<td align="left" valign="top">
{ADMIN_MENU}
{GALLERY} </td>
</tr>
</table>
</td>
<td width="33" background="themes/pink/images/right.gif"><img src="../images/right.gif" width="33" height="13"></td>
<td width="5" background="themes/pink/images/border_left.gif"><img src="images/border_left.gif" width="5" height="2"></td>
</tr>
</table>
{CUSTOM_FOOTER}{VANITY}
</body>
</html>
instead for a start.