<!DOCTYPE html>
<HTML {$html_attrs}><HEAD><TITLE>{$pagetitle}</TITLE>
<STYLE>
/* Estilos Base */
.flash-alert {
    position: fixed;
    top: 25px;
    right: 25px;
    min-width: 250px;
    padding: 16px 20px;
    border-radius: 6px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 10000;
    
    /* Animación */
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    transform: translateX(100px); /* Aparece desde la derecha */
}

/* Color Success (Verde) */
.alert-success {
    background-color: #198754;
    border-left: 6px solid #146c43;
    color: white;
}

/* Color Info (Azul) */
.alert-info {
    background-color: #0dcaf0;
    border-left: 6px solid #0aa2c0;
    color: #000; /* Texto oscuro para mejor contraste en azul claro */
}

/* Color Warning (Amarillo/Naranja) */
.alert-warning {
    background-color: #ffc107;
    border-left: 6px solid #d3a006;
    color: #000;
}

/* Clase para activar la visualización */
.flash-visible {
    opacity: 1;
    transform: translateX(0);
}
</STYLE>

<SCRIPT>
	document.addEventListener("DOMContentLoaded", function() {
    const urlParams = new URLSearchParams(window.location.search);
    const status = urlParams.get('status'); 
    const flash = document.getElementById('flash-message');

    // Definimos las variantes en un objeto
    const variants = {
        'info': {
            text: "ℹ️ Información: Ya poseé un Movimiento de Caja en ejercicio!",
            class: 'alert-info'
        },
        'warning': {
            text: "⚠️ Atención: Movimiento de caja cerrado correctamente!",
            class: 'alert-warning'
        },
        'success': {
            text: "Ok: Apertura de movimiento de caja realizada correctamente!",
            class: 'alert-success'
        },
		'success2': {
            text: "Ok: Movimiento de caja cerrado correctamente!",
            class: 'alert-success'
        }
    };

    // Si el status existe en nuestras variantes...
    if (variants[status]) {
        const config = variants[status];

        // 1. Configurar contenido y clase
        flash.textContent = config.text;
        flash.classList.add(config.class);

        // 2. Mostrar con un pequeño delay
        setTimeout(() => {
            flash.classList.add('flash-visible');
        }, 100);

        // 3. Ocultar y limpiar URL
        setTimeout(() => {
            flash.classList.remove('flash-visible');
            
            // Limpiar la URL sin recargar la página
            window.history.replaceState({}, document.title, window.location.pathname);
            
            // Opcional: remover la clase de color al terminar para que esté limpio la próxima vez
            setTimeout(() => {
                flash.classList.remove(config.class);
            }, 500);
        }, 3100);
    }
});
</SCRIPT>

<META content=IE=7 http-equiv=X-UA-Compatible>
<META content="text/html; charset=utf-8" http-equiv=Content-Type><LINK rel=stylesheet type=text/css href="styles/default.css">{BEGIN rtlCSS}<LINK rel=stylesheet type=text/css href="styles/defaultRTL.css">{END rtlCSS}{BEGIN styleCSSFiles}<LINK rel=stylesheet type=text/css href="{$stylepath}">{END styleCSSFiles}{BEGIN pageCSSFiles}<LINK rel=stylesheet type=text/css href="{$pagestylepath}">{END pageCSSFiles}<!--[if IE]><LINK rel=stylesheet type=text/css href="styles/defaultIE.css">{BEGIN IEcssFiles}<LINK rel=stylesheet type=text/css href="{$stylepathIE}">{END IEcssFiles}<![endif]-->
<META name=GENERATOR content="MSHTML 8.00.7601.17514"></HEAD>
<BODY class="{$stylename}" {$bodyattrs}>{BEGIN body}<DIV id=flash-message class=flash-alert></DIV>{$header} 
<TABLE class=runner-toptable cellPadding=0><TR class=runner-header><TD class=runner-top colSpan=3>{BEGIN container_master}<TABLE class="runner-c runner-c-master" cellPadding=0><TR class="{$cheaderclass_master}"><TD class=runner-cl><IMG src="images/spacer.gif"></TD>
          <TD class=runner-cc></TD>
          <TD class=runner-cr><IMG src="images/spacer.gif"></TD></TR>
        <TR class="runner-row style1"><TD class=runner-cl></TD>
          <TD class=runner-cc><TABLE class=runner-hc border=0 cellPadding=0><TR>{BEGIN mastertable_block}<TD class="runner-cc runner-bl runner-b-masterinfo" {$brickclass_masterinfo}><SPAN>{$showmasterfile} <A 
                  class=runner-link {$backtomasterlink_attrs}><B>Volver a {$backtomasterlink_caption}</B> 
                  </A></SPAN></TD>
                {END mastertable_block}<TD class="runner-cc filler"></TD></TR></TABLE></TD>
          <TD class=runner-cr></TD></TR>
        <TR class="{$cfooterclass_master}"><TD class=runner-cl><IMG src="images/spacer.gif"></TD>
          <TD class=runner-cc></TD>
          <TD class=runner-cr><IMG src="images/spacer.gif"></TD></TR></TABLE>{END container_master}
      {BEGIN container_toplinks}<TABLE class="runner-c runner-c-toplinks" cellPadding=0><TR class="{$cheaderclass_toplinks}"><TD class=runner-cl><IMG src="images/spacer.gif"></TD>
          <TD class=runner-cc></TD>
          <TD class=runner-cr><IMG src="images/spacer.gif"></TD></TR>
        <TR class="runner-row style1"><TD class=runner-cl></TD>
          <TD class=runner-cc><TABLE class=runner-hc border=0 cellPadding=0><TR><TD class="runner-cc filler"></TD>
                {BEGIN asearch_link}<TD class="runner-cc runner-br runner-b-toplinks_advsearch" {$brickclass_toplinks_advsearch}><SPAN></SPAN></TD>{END asearch_link}</TR></TABLE></TD>
          <TD class=runner-cr></TD></TR>
        <TR class="{$cfooterclass_toplinks}"><TD class=runner-cl><IMG src="images/spacer.gif"></TD>
          <TD class=runner-cc></TD>
          <TD class=runner-cr><IMG src="images/spacer.gif"></TD></TR></TABLE>{END container_toplinks}
      {BEGIN container_search}<TABLE class="runner-c runner-c-search" cellPadding=0><TR class="{$cheaderclass_search}"><TD class=runner-cl><IMG src="images/spacer.gif"></TD>
          <TD class=runner-cc></TD>
          <TD class=runner-cr><IMG src="images/spacer.gif"></TD></TR>
        <TR class="runner-row style1"><TD class=runner-cl></TD>
          <TD class=runner-cc><TABLE class=runner-hc border=0 cellPadding=0><TR><TD class="runner-cc filler"><P align=center><FONT size=5><STRONG>Movimiento de 
                  Caja</STRONG></FONT></P></TD></TR></TABLE></TD>
          <TD class=runner-cr></TD></TR>
        <TR class="{$cfooterclass_search}"><TD class=runner-cl><IMG src="images/spacer.gif"></TD>
          <TD class=runner-cc></TD>
          <TD class=runner-cr><IMG src="images/spacer.gif"></TD></TR></TABLE>{END container_search}</TD></TR>
  <TR class=runner-body><TD class="runner-left {$blockclass_left}">{BEGIN container_logg}<TABLE class="runner-c runner-c-logg" cellPadding=0><TR class="{$cheaderclass_logg}"><TD class=runner-cl><IMG src="images/spacer.gif"></TD>
          <TD class=runner-cc></TD>
          <TD class=runner-cr><IMG src="images/spacer.gif"></TD></TR>
        {BEGIN security_block}<TR class="runner-row style1 runner-b-loggedas {$brickclass_loggedas}"><TD class=runner-cl></TD>
          <TD class="runner-cc runner-brickcontents"><DIV id=login_block{$id}>{BEGIN loggedas_message}<SPAN>Conectado como&nbsp;<B>{$username}</B><BR><BR></SPAN>{END loggedas_message}{BEGIN guestloginbutton}<SPAN class=runner-btnframe><SPAN class=runner-btnleft></SPAN><SPAN class=runner-btnright></SPAN><A class=runner-button href="#" {$guestloginlink_attrs}>Conectar</A> </SPAN>{END guestloginbutton}{BEGIN logoutbutton}<SPAN class=runner-btnframe><SPAN class=runner-btnleft></SPAN><SPAN class=runner-btnright></SPAN><A class=runner-button href="login.php?a=logout" {$logoutlink_attrs}>Desconectarse</A> </SPAN><!-- Permissions -->
            {END logoutbutton}{BEGIN adminarea_link}<DIV><SPAN class=runner-btnframe><SPAN class=runner-btnleft></SPAN><SPAN class=runner-btnright></SPAN><A class=runner-button href="admin_rights_list.php" {$adminarealink_attrs}>Area Admin</A> </SPAN></DIV>
            {END adminarea_link}{BEGIN changepwd_link}<DIV><SPAN class=runner-btnframe><SPAN class=runner-btnleft></SPAN><SPAN class=runner-btnright></SPAN><A class=runner-button href="changepwd.php" {$changepwdlink_attrs}>Cambiar contraseña</A> 
            </SPAN></DIV>{END changepwd_link}</DIV></TD>
          <TD class=runner-cr></TD></TR>
        {END security_block}<TR class="{$cfooterclass_logg}"><TD class=runner-cl><IMG src="images/spacer.gif"></TD>
          <TD class=runner-cc></TD>
          <TD class=runner-cr><IMG src="images/spacer.gif"></TD></TR></TABLE>{END container_logg}
      {BEGIN container_left}<TABLE class="runner-c runner-c-left" cellPadding=0><TR class="{$cheaderclass_left}"><TD class=runner-cl><IMG src="images/spacer.gif"></TD>
          <TD class=runner-cc></TD>
          <TD class=runner-cr><IMG src="images/spacer.gif"></TD></TR>
        {BEGIN searchPanel}<TR class="runner-row style1 runner-b-searchpanel {$brickclass_searchpanel}"><TD class=runner-cl></TD>
          <TD class="runner-cc runner-brickcontents"><DIV class=searchPanelContainer>{$adv_search_panel} 
            </DIV></TD>
          <TD class=runner-cr></TD></TR>
        {END searchPanel}{BEGIN menu_block}{$mainmenu}{END menu_block}<TR class="{$cfooterclass_left}"><TD class=runner-cl><IMG src="images/spacer.gif"></TD>
          <TD class=runner-cc></TD>
          <TD class=runner-cr><IMG src="images/spacer.gif"></TD></TR></TABLE>{END container_left}</TD>
    <TD class="runner-center {$blockclass_center}">{BEGIN container_recordcontrols}<TABLE class="runner-c runner-c-recordcontrols" cellPadding=0><TR class="{$cheaderclass_recordcontrols}"><TD class=runner-cl><IMG src="images/spacer.gif"></TD>
          <TD class=runner-cc></TD>
          <TD class=runner-cr><IMG src="images/spacer.gif"></TD></TR>
        <TR class="runner-row style1"><TD class=runner-cl></TD>
          <TD class=runner-cc><TABLE class=runner-hc border=0 cellPadding=0><TR>{BEGIN newrecord_controls_block}<TD class="runner-cc runner-bl runner-b-recordcontrols_new" {$brickclass_recordcontrols_new}><SPAN>{BEGIN add_link}<SPAN class=runner-btnframe><SPAN class=runner-btnleft></SPAN><SPAN class=runner-btnright></SPAN><A class=runner-button href="#" {$addlink_attrs}>Apertura de 
                  Movimiento</A> </SPAN>{END add_link}</SPAN></TD>
                {END newrecord_controls_block}<TD class="runner-cc filler"></TD></TR></TABLE></TD>
          <TD class=runner-cr></TD></TR>
        <TR class="{$cfooterclass_recordcontrols}"><TD class=runner-cl><IMG src="images/spacer.gif"></TD>
          <TD class=runner-cc></TD>
          <TD class=runner-cr><IMG src="images/spacer.gif"></TD></TR></TABLE>{END container_recordcontrols}
      {BEGIN container_message}<TABLE class="runner-c runner-c-message" cellPadding=0><TR class="{$cheaderclass_message}"><TD class=runner-cl><IMG src="images/spacer.gif"></TD>
          <TD class=runner-cc></TD>
          <TD class=runner-cr><IMG src="images/spacer.gif"></TD></TR>
        <TR class="runner-row style1"><TD class=runner-cl></TD>
          <TD class=runner-cc><TABLE class=runner-hc border=0 cellPadding=0><TR>{BEGIN message_block}<TD class="runner-cc runner-bc runner-b-message" {$brickclass_message}><SPAN><DIV class=runner-message>{$message}</DIV></SPAN></TD>{END message_block}</TR></TABLE></TD>
          <TD class=runner-cr></TD></TR>
        <TR class="{$cfooterclass_message}"><TD class=runner-cl><IMG src="images/spacer.gif"></TD>
          <TD class=runner-cc></TD>
          <TD class=runner-cr><IMG src="images/spacer.gif"></TD></TR></TABLE>{END container_message}
      {BEGIN container_grid}{BEGIN grid_block}<TABLE class="runner-c runner-c-grid runner-b-grid" cellPadding=0><THEAD>{BEGIN grid_header}<TR class="runner-toprow style1 {$gridHeader_class}">{BEGIN record_header}<TH class=runner-cl><IMG src="images/spacer.gif"></TH>
          {BEGIN edit_column}<TH class=runner-cc iEditCont="edit"><IMG src="images/icon_edit.gif"></TH>
          {END edit_column}{BEGIN movimiento_caja_dtable_column}<TH class=runner-cc></TH>
          {END movimiento_caja_dtable_column}{BEGIN monto_apertura_fieldheadercolumn}<th class="runner-cc ">{BEGIN monto_apertura_fieldheader}<a {$monto_apertura_orderlinkattrs}>
											Monto Apertura
										</a>
									{END monto_apertura_fieldheader}
									</th>
									{END monto_apertura_fieldheadercolumn}

																	{BEGIN monto_cierre_fieldheadercolumn}<th class="runner-cc ">{BEGIN monto_cierre_fieldheader}<a {$monto_cierre_orderlinkattrs}>
											Monto Cierre
										</a>
									{END monto_cierre_fieldheader}
									</th>
									{END monto_cierre_fieldheadercolumn}

																	{BEGIN iddet_movimiento_fieldheadercolumn}<th class="runner-cc ">{BEGIN iddet_movimiento_fieldheader}<a {$iddet_movimiento_orderlinkattrs}>
											Iddet Movimiento
										</a>
									{END iddet_movimiento_fieldheader}
									</th>
									{END iddet_movimiento_fieldheadercolumn}

																	{BEGIN idmovimiento1_fieldheadercolumn}<th class="runner-cc ">{BEGIN idmovimiento1_fieldheader}<a {$idmovimiento1_orderlinkattrs}>
											Idmovimiento1
										</a>
									{END idmovimiento1_fieldheader}
									</th>
									{END idmovimiento1_fieldheadercolumn}

																	{BEGIN idcuenta_fieldheadercolumn}<th class="runner-cc ">{BEGIN idcuenta_fieldheader}<a {$idcuenta_orderlinkattrs}>
											Idcuenta
										</a>
									{END idcuenta_fieldheader}
									</th>
									{END idcuenta_fieldheadercolumn}

																	{BEGIN fecha_apertura_fieldheadercolumn}<th class="runner-cc ">{BEGIN fecha_apertura_fieldheader}<a {$fecha_apertura_orderlinkattrs}>
											Fecha Apertura
										</a>
									{END fecha_apertura_fieldheader}
									</th>
									{END fecha_apertura_fieldheadercolumn}

																	{BEGIN estado1_fieldheadercolumn}<th class="runner-cc ">{BEGIN estado1_fieldheader}<a {$estado1_orderlinkattrs}>
											Estado1
										</a>
									{END estado1_fieldheader}
									</th>
									{END estado1_fieldheadercolumn}

																	{BEGIN monto_recaudado_fieldheadercolumn}<th class="runner-cc ">{BEGIN monto_recaudado_fieldheader}<a {$monto_recaudado_orderlinkattrs}>
											Monto Recaudado
										</a>
									{END monto_recaudado_fieldheader}
									</th>
									{END monto_recaudado_fieldheadercolumn}

																	{BEGIN monto_gastado_fieldheadercolumn}<th class="runner-cc ">{BEGIN monto_gastado_fieldheader}<a {$monto_gastado_orderlinkattrs}>
											Monto Gastado
										</a>
									{END monto_gastado_fieldheader}
									</th>
									{END monto_gastado_fieldheadercolumn}

																	{BEGIN fecha_cierre_fieldheadercolumn}<th class="runner-cc ">{BEGIN fecha_cierre_fieldheader}<a {$fecha_cierre_orderlinkattrs}>
											Fecha Cierre
										</a>
									{END fecha_cierre_fieldheader}
									</th>
									{END fecha_cierre_fieldheadercolumn}

																	{BEGIN idmovimiento_fieldheadercolumn}<TH class="runner-cc ">{BEGIN idmovimiento_fieldheader}<A {$idmovimiento_orderlinkattrs}>Nº </A>{END idmovimiento_fieldheader}</TH>
          {END idmovimiento_fieldheadercolumn}{BEGIN idusuario_fieldheadercolumn}<TH class="runner-cc runner-clast">{BEGIN idusuario_fieldheader}<A {$idusuario_orderlinkattrs}>Usuario </A>{END idusuario_fieldheader}</TH>
          {END idusuario_fieldheadercolumn}<TH class=runner-cr><IMG src="images/spacer.gif"></TH>
          {BEGIN endrecordheader_block}<TH class=runner-cs></TH>{END endrecordheader_block}{END record_header}</TR>{END grid_header}</THEAD>
        {BEGIN grid_row}<TR class="runner-row style1 {$rowclass}" {$rowstyle} {$rowattrs}>{BEGIN grid_record}<TD class=runner-cl {$rowstyle}></TD>
          {BEGIN edit_column}<TD class="runner-cc runner-bc" iEditCont="edit" {$rowstyle}>{BEGIN edit_link}<A {$editlink_attrs}><FONT 
            size=2><STRONG>Cerar</STRONG></FONT></A>{END edit_link}</TD>
          {END edit_column}{BEGIN movimiento_caja_dtable_column}<TD class="runner-cc runner-nowrap" {$rowstyle}>{BEGIN det_movimiento_dtable_link}<SPAN><A 
            {$det_movimiento_dtablelink_attrs}><STRONG><FONT 
            size=2>Detalle</FONT></STRONG> <SPAN dir=ltr {$det_movimiento_childnumber_attr}>{BEGIN det_movimiento_childcount}({$det_movimiento_childnumber}){END det_movimiento_childcount}</SPAN> </A>&nbsp; 
            </SPAN>{END det_movimiento_dtable_link}</TD>
          {END movimiento_caja_dtable_column}{BEGIN monto_apertura_fieldcolumn}<td class="runner-cc  {$monto_apertura_class}" {$monto_apertura_style}>{$monto_apertura_value}
	</td>
{END monto_apertura_fieldcolumn}

	{BEGIN monto_cierre_fieldcolumn}<td class="runner-cc  {$monto_cierre_class}" {$monto_cierre_style}>{$monto_cierre_value}
	</td>
{END monto_cierre_fieldcolumn}

	{BEGIN iddet_movimiento_fieldcolumn}<td class="runner-cc  {$iddet_movimiento_class}" {$iddet_movimiento_style}>{$iddet_movimiento_value}
	</td>
{END iddet_movimiento_fieldcolumn}

	{BEGIN idmovimiento1_fieldcolumn}<td class="runner-cc  {$idmovimiento1_class}" {$idmovimiento1_style}>{$idmovimiento1_value}
	</td>
{END idmovimiento1_fieldcolumn}

	{BEGIN idcuenta_fieldcolumn}<td class="runner-cc  {$idcuenta_class}" {$idcuenta_style}>{$idcuenta_value}
	</td>
{END idcuenta_fieldcolumn}

	{BEGIN fecha_apertura_fieldcolumn}<td class="runner-cc  {$fecha_apertura_class}" {$fecha_apertura_style}>{$fecha_apertura_value}
	</td>
{END fecha_apertura_fieldcolumn}

	{BEGIN estado1_fieldcolumn}<td class="runner-cc  {$estado1_class}" {$estado1_style}>{$estado1_value}
	</td>
{END estado1_fieldcolumn}

	{BEGIN monto_recaudado_fieldcolumn}<td class="runner-cc  {$monto_recaudado_class}" {$monto_recaudado_style}>{$monto_recaudado_value}
	</td>
{END monto_recaudado_fieldcolumn}

	{BEGIN monto_gastado_fieldcolumn}<td class="runner-cc  {$monto_gastado_class}" {$monto_gastado_style}>{$monto_gastado_value}
	</td>
{END monto_gastado_fieldcolumn}

	{BEGIN fecha_cierre_fieldcolumn}<td class="runner-cc  {$fecha_cierre_class}" {$fecha_cierre_style}>{$fecha_cierre_value}
	</td>
{END fecha_cierre_fieldcolumn}

	{BEGIN idmovimiento_fieldcolumn}<TD class="runner-cc  {$idmovimiento_class}" {$idmovimiento_style}><FONT size=2><P align=center>{$idmovimiento_value}</P></FONT></TD>
          {END idmovimiento_fieldcolumn}{BEGIN idusuario_fieldcolumn}<TD class="runner-cc runner-clast {$idusuario_class}" {$idusuario_style}><FONT size=2><P align=center>{$idusuario_value}</P></FONT></TD>
          {END idusuario_fieldcolumn}<TD class=runner-cr {$rowstyle}></TD>
          {BEGIN endrecord_block}<TD class=runner-cs {$endrecordblock_attrs}></TD>{END endrecord_block}{END grid_record}</TR>
        {END grid_row}{BEGIN grid_footer}<TR class="runner-bottomrow style1{$gridFooter_class}">{BEGIN record_footer}<TD class=runner-cl><IMG src="images/spacer.gif"></TD>
          {BEGIN edit_column}<TD class=runner-cc></TD>
          {END edit_column}{BEGIN movimiento_caja_dtable_column}<TD class=runner-cc></TD>
          {END movimiento_caja_dtable_column}{BEGIN monto_apertura_fieldheadercolumn}<td class="runner-cc "></td>
{END monto_apertura_fieldheadercolumn}
{BEGIN monto_cierre_fieldheadercolumn}<td class="runner-cc "></td>
{END monto_cierre_fieldheadercolumn}
{BEGIN iddet_movimiento_fieldheadercolumn}<td class="runner-cc "></td>
{END iddet_movimiento_fieldheadercolumn}
{BEGIN idmovimiento1_fieldheadercolumn}<td class="runner-cc "></td>
{END idmovimiento1_fieldheadercolumn}
{BEGIN idcuenta_fieldheadercolumn}<td class="runner-cc "></td>
{END idcuenta_fieldheadercolumn}
{BEGIN fecha_apertura_fieldheadercolumn}<td class="runner-cc "></td>
{END fecha_apertura_fieldheadercolumn}
{BEGIN estado1_fieldheadercolumn}<td class="runner-cc "></td>
{END estado1_fieldheadercolumn}
{BEGIN monto_recaudado_fieldheadercolumn}<td class="runner-cc "></td>
{END monto_recaudado_fieldheadercolumn}
{BEGIN monto_gastado_fieldheadercolumn}<td class="runner-cc "></td>
{END monto_gastado_fieldheadercolumn}
{BEGIN fecha_cierre_fieldheadercolumn}<td class="runner-cc "></td>
{END fecha_cierre_fieldheadercolumn}
{BEGIN idmovimiento_fieldheadercolumn}<TD class="runner-cc "></TD>
          {END idmovimiento_fieldheadercolumn}{BEGIN idusuario_fieldheadercolumn}<TD class="runner-cc runner-clast"></TD>
          {END idusuario_fieldheadercolumn}<TD class=runner-cr><IMG src="images/spacer.gif"></TD>
          {BEGIN endrecordfooter_block}<TD class=runner-cs></TD>{END endrecordfooter_block}{END record_footer}</TR>{END grid_footer}</TABLE>{END grid_block}{END container_grid}
      {BEGIN container_pagination}<TABLE class="runner-c runner-c-pagination" cellPadding=0><TR class="{$cheaderclass_pagination}"><TD class=runner-cl><IMG src="images/spacer.gif"></TD>
          <TD class=runner-cc></TD>
          <TD class=runner-cr><IMG src="images/spacer.gif"></TD></TR>
        <TR class="runner-row style1"><TD class=runner-cl></TD>
          <TD class=runner-cc><TABLE class=runner-hc border=0 cellPadding=0><TR>{BEGIN pagination_block}<TD class="runner-cc runner-bc runner-b-pagination" {$brickclass_pagination}><SPAN>{$pagination}</SPAN></TD>{END pagination_block}</TR></TABLE></TD>
          <TD class=runner-cr></TD></TR>
        <TR class="{$cfooterclass_pagination}"><TD class=runner-cl><IMG src="images/spacer.gif"></TD>
          <TD class=runner-cc></TD>
          <TD class=runner-cr><IMG src="images/spacer.gif"></TD></TR></TABLE>{END container_pagination}</TD>
    <TD class="runner-right {$blockclass_right}"></TD></TR>
  <TR class=runner-footer><TD class=runner-bottom 
colSpan=3><!--%%bottom%%--></TD></TR></TABLE>{$footer}{END body} </BODY></HTML>
