<?
    session_start();
    if (!(isset($_SESSION['cod_rentacar'])))
       header("location: login.php");
    else
       include('main.php');
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Stop Sales</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META NAME="Generator" CONTENT="NetObjects Fusion 8 for Windows">
<link rel="stylesheet" href="../assets/clases.css" type="text/css" />
<script language="javascript" src="../assets/functions.js"></script>
<script language="javascript" src="../assets/help_functions.js"></script>
<SCRIPT>
<!--
var F_A,F_B,F_CH,F_CL,F_DB,F_E,F_F,F_L,F_MT,F_MV,F_R,F_SE,F_SU,F_U,F_HR,F_MU,F_MD;
function F_e(){} function F_n(){} function F_onLoaded(){}
function F_loadRollover(){} function F_roll(){}
//-->
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript1.2">
<!--
document.write("<SCRIPT SRC=\"../assets/script.js\"><\/SCRIPT>");
document.write("<SCRIPT SRC=\"../assets/effects.js\"><\/SCRIPT>");
//-->
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript1.2" SRC="../assets/rollover.js"></SCRIPT>
<SCRIPT>
<!--
function F_doLoaded() {
	document.main = new F_cMain();
	document.objectModel = new Object();
	F_OM('Layout','LayoutLYR', 'doc', '', new Array());
	F_OM('FormsButton59' , '', 'btn', 'Layout',new Array(
	'Clicked',F_functFormsButton59Action0,'','',0),'LayoutStopSales',0,'btSave');
	F_pageLoaded('Layout');
}
function F_functFormsButton59Action0(params) {
valida_dispon()
}

//-->
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/css" HREF="../html/style.css">
<LINK REL=STYLESHEET TYPE="text/css" HREF="../html/site.css">
<STYLE>
</STYLE><NOLAYER>
<STYLE ID="NOF_STYLE_SHEET">
<!--
DIV#LayoutLYR { position:relative; top:0; left:0; z-index: 1; visibility:inherit; }

DIV#NavigationBar1_1LYR { 
position:absolute; visibility:hidden; top:0; left:0; z-index:1;
}
-->
</STYLE>

</NOLAYER>
</HEAD>
<BODY NOF="(MB=(DefaultMasterBorder, 213, 77, 0, 0), L=(stopsalesLayout, 761, 470))" STYLE="text-align: center;" onLoad="F_onLoaded();">
    <DIV ID="LayoutLYR"><LAYER ID="LayoutLYR" TOP=0 LEFT=0 VISIBILITY=INHERIT WIDTH=761 HEIGHT=760 Z-INDEX=1>
    <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 NOF=LY>
        <TR VALIGN=TOP ALIGN=LEFT>
            <TD WIDTH=761>
                <TABLE ID="Table1" BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%" HEIGHT=213>
                    <TR HEIGHT=41>
                        <TD WIDTH=761 STYLE="background-color: rgb(255,255,255);">
                            <P>
                                <TABLE WIDTH=760 BORDER=0 CELLSPACING=0 CELLPADDING=0 ALIGN=LEFT NOF=TE>
                                    <TR>
                                        <TD>
                                            <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=760 HEIGHT=41 NOF="LayoutRegion1">
                                                <TR ALIGN=LEFT VALIGN=TOP>
                                                    <TD>
                                                        <TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH=736 NOF="LayoutRegion1">
                                                            <TR VALIGN=TOP ALIGN=LEFT>
                                                                <TD>
                                                                    <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=425 NOF="LayoutRegion1">
                                                                        <TR VALIGN=TOP ALIGN=LEFT>
                                                                            <TD WIDTH=409 HEIGHT=16><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=409 HEIGHT=1 BORDER=0 ALT=""></TD>
                                                                            <TD></TD>
                                                                        </TR>
                                                                        <TR VALIGN=TOP ALIGN=LEFT>
                                                                            <TD HEIGHT=15></TD>
                                                                            <TD WIDTH=16><IMG ID="Picture2" HEIGHT=15 WIDTH=16 SRC="../assets/images/ihhomicon1.jpg" BORDER=0 ALT="ihhomicon" TITLE="ihhomicon"></TD>
                                                                        </TR>
                                                                    </TABLE>
                                                                </TD>
                                                                <TD>
                                                                    <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=56 NOF="LayoutRegion1">
                                                                        <TR VALIGN=TOP ALIGN=LEFT>
                                                                            <TD WIDTH=2 HEIGHT=17><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=2 HEIGHT=1 BORDER=0 ALT=""></TD>
                                                                            <TD WIDTH=54><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=54 HEIGHT=1 BORDER=0 ALT=""></TD>
                                                                        </TR>
                                                                        <TR VALIGN=TOP ALIGN=LEFT>
                                                                            <TD></TD>
                                                                            <TD WIDTH=54 CLASS="TextObject">
                                                                                <P><B><U><SPAN STYLE="font-size: 10px;">Home</SPAN></U></B></P>
                                                                            </TD>
                                                                        </TR>
                                                                    </TABLE>
                                                                </TD>
                                                                <TD>
                                                                    <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=21 NOF="LayoutRegion1">
                                                                        <TR VALIGN=TOP ALIGN=LEFT>
                                                                            <TD WIDTH=5 HEIGHT=16><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=5 HEIGHT=1 BORDER=0 ALT=""></TD>
                                                                            <TD></TD>
                                                                        </TR>
                                                                        <TR VALIGN=TOP ALIGN=LEFT>
                                                                            <TD HEIGHT=15></TD>
                                                                            <TD WIDTH=16><IMG ID="Picture3" HEIGHT=15 WIDTH=16 SRC="../assets/images/ihemail1.jpg" BORDER=0 ALT="ihemail" TITLE="ihemail"></TD>
                                                                        </TR>
                                                                    </TABLE>
                                                                </TD>
                                                                <TD>
                                                                    <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=78 NOF="LayoutRegion1">
                                                                        <TR VALIGN=TOP ALIGN=LEFT>
                                                                            <TD WIDTH=2 HEIGHT=17><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=2 HEIGHT=1 BORDER=0 ALT=""></TD>
                                                                            <TD WIDTH=76><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=76 HEIGHT=1 BORDER=0 ALT=""></TD>
                                                                        </TR>
                                                                        <TR VALIGN=TOP ALIGN=LEFT>
                                                                            <TD></TD>
                                                                            <TD WIDTH=76 CLASS="TextObject">
                                                                                <P><B><U><SPAN STYLE="font-size: 10px;">Contacte-nos</SPAN></U></B></P>
                                                                            </TD>
                                                                        </TR>
                                                                    </TABLE>
                                                                </TD>
                                                                <TD>
                                                                    <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=30 NOF="LayoutRegion1">
                                                                        <TR VALIGN=TOP ALIGN=LEFT>
                                                                            <TD WIDTH=13 HEIGHT=15><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=13 HEIGHT=1 BORDER=0 ALT=""></TD>
                                                                            <TD></TD>
                                                                        </TR>
                                                                        <TR VALIGN=TOP ALIGN=LEFT>
                                                                            <TD HEIGHT=17></TD>
                                                                            <TD WIDTH=17><IMG ID="Picture7" HEIGHT=17 WIDTH=17 SRC="../assets/images/ihgobutton031.jpg" BORDER=0 ALT="ihgobutton03" TITLE="ihgobutton03"></TD>
                                                                        </TR>
                                                                    </TABLE>
                                                                </TD>
                                                                <TD>
                                                                    <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=44 NOF="LayoutRegion1">
                                                                        <TR VALIGN=TOP ALIGN=LEFT>
                                                                            <TD WIDTH=6 HEIGHT=17><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=6 HEIGHT=1 BORDER=0 ALT=""></TD>
                                                                            <TD WIDTH=38><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=38 HEIGHT=1 BORDER=0 ALT=""></TD>
                                                                        </TR>
                                                                        <TR VALIGN=TOP ALIGN=LEFT>
                                                                            <TD></TD>
                                                                            <TD WIDTH=38 CLASS="TextObject">
                                                                                <P><B><U><SPAN STYLE="color: rgb(51,102,204);">Ajuda</SPAN></U></B></P>
                                                                            </TD>
                                                                        </TR>
                                                                    </TABLE>
                                                                </TD>
                                                                <TD>
                                                                    <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=29 NOF="LayoutRegion1">
                                                                        <TR VALIGN=TOP ALIGN=LEFT>
                                                                            <TD WIDTH=22 HEIGHT=21><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=22 HEIGHT=1 BORDER=0 ALT=""></TD>
                                                                            <TD></TD>
                                                                        </TR>
                                                                        <TR VALIGN=TOP ALIGN=LEFT>
                                                                            <TD HEIGHT=5></TD>
                                                                            <TD WIDTH=7><IMG ID="Picture8" HEIGHT=5 WIDTH=7 SRC="../assets/images/ihbullet.jpg" BORDER=0 ALT="ihbullet" TITLE="ihbullet"></TD>
                                                                        </TR>
                                                                    </TABLE>
                                                                </TD>
                                                                <TD>
                                                                    <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=53 NOF="LayoutRegion1">
                                                                        <TR VALIGN=TOP ALIGN=LEFT>
                                                                            <TD WIDTH=4 HEIGHT=17><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=4 HEIGHT=1 BORDER=0 ALT=""></TD>
                                                                            <TD WIDTH=49><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=49 HEIGHT=1 BORDER=0 ALT=""></TD>
                                                                        </TR>
                                                                        <TR VALIGN=TOP ALIGN=LEFT>
                                                                            <TD></TD>
                                                                            <TD WIDTH=49 CLASS="TextObject">
                                                                                <P><B><SPAN STYLE="font-size: 10px;" class="link_azul"><A HREF="./logout.php">Sair</A></SPAN></B>&nbsp;</P>
                                                                            </TD>
                                                                        </TR>
                                                                    </TABLE>
                                                                </TD>
                                                            </TR>
                                                        </TABLE>
                                                    </TD>
                                                </TR>
                                            </TABLE>
                                        </TD>
                                    </TR>
                                </TABLE>
                            </P>
                        </TD>
                    </TR>
                    <TR HEIGHT=137>
                        <TD>
                            <P><IMG ID="Banner2" HEIGHT=137 WIDTH=760 SRC="../assets/images/autogen/Stop_Sales_NDefault.jpg" VSPACE=0 HSPACE=0 ALIGN="TOP" BORDER=0 ALT="Stop Sales" TITLE="Stop Sales" NOF=B_H></P>
                        </TD>
                    </TR>
                    <TR HEIGHT=35>
                        <TD VALIGN=MIDDLE STYLE="background-color: rgb(255,255,255); background-image: url('../assets/images/ihnavbg1.jpg');">
                            <H1>
                                <TABLE WIDTH="100%" BORDER=0 CELLSPACING=0 CELLPADDING=0 NOF=TE>
                                    <TR>
                                        <TD ALIGN="CENTER">
                                            <TABLE ID="NavigationBar1" BORDER=0 CELLSPACING=0 CELLPADDING=0 NOF=NB_UYHPNY020 WIDTH=576>
                                                <TR VALIGN=TOP ALIGN=LEFT>
                                                    <TD WIDTH=96><A HREF="../html/dados_gerais.php" style="cursor:hand; text-decoration:none;" onMouseOver="F_loadRollover('NavigationButton7','',0);F_roll('NavigationButton7',1)" onMouseOut="F_roll('NavigationButton7',0)"><IMG ID="NavigationButton7" NAME="NavigationButton7" HEIGHT=35 WIDTH=96 SRC="../assets/images/autogen/Dados_Gerais_Nregular_1.jpg" onLoad="F_loadRollover(this,'Dados_Gerais_NRregularrollover_1.jpg',0)" BORDER=0 ALT="Dados Gerais" TITLE="Dados Gerais"></A></TD>
                                                    <TD WIDTH=96><A HREF="../html/balcoes.php" style="cursor:hand; text-decoration:none;" onMouseOver="F_loadRollover('NavigationButton8','',0);F_roll('NavigationButton8',1)" onMouseOut="F_roll('NavigationButton8',0)"><IMG ID="NavigationButton8" NAME="NavigationButton8" HEIGHT=35 WIDTH=96 SRC="../assets/images/autogen/Balcoes_Nregular_1.jpg" onLoad="F_loadRollover(this,'Balcoes_NRregularrollover_1.jpg',0)" BORDER=0 ALT="Balcões" TITLE="Balcões"></A></TD>
                                                    <TD WIDTH=96><A HREF="../html/grupos.php" style="cursor:hand; text-decoration:none;" onMouseOver="F_loadRollover('NavigationButton9','',0);F_roll('NavigationButton9',1)" onMouseOut="F_roll('NavigationButton9',0)"><IMG ID="NavigationButton9" NAME="NavigationButton9" HEIGHT=35 WIDTH=96 SRC="../assets/images/autogen/Grupos_Nregular_1.jpg" onLoad="F_loadRollover(this,'Grupos_NRregularrollover_1.jpg',0)" BORDER=0 ALT="Grupos" TITLE="Grupos"></A></TD>
                                                    <TD WIDTH=96><A HREF="../html/extras.php" style="cursor:hand; text-decoration:none;" onMouseOver="F_loadRollover('NavigationButton10','',0);F_roll('NavigationButton10',1)" onMouseOut="F_roll('NavigationButton10',0)"><IMG ID="NavigationButton10" NAME="NavigationButton10" HEIGHT=35 WIDTH=96 SRC="../assets/images/autogen/Extras_Nregular_1.jpg" onLoad="F_loadRollover(this,'Extras_NRregularrollover_1.jpg',0)" BORDER=0 ALT="Extras" TITLE="Extras"></A></TD>
                                                    <TD WIDTH=96><A HREF="../html/tarifas.php" style="cursor:hand; text-decoration:none;" onMouseOver="F_loadRollover('NavigationButton11','',0);F_roll('NavigationButton11',1)" onMouseOut="F_roll('NavigationButton11',0)"><ILAYER ID="NavigationButton11"></ILAYER><IMG ID="NavigationButton11" NAME="NavigationButton11" HEIGHT=35 WIDTH=96 SRC="../assets/images/autogen/Tarifas_Nregular_1.jpg" onLoad="F_loadRollover(this,'Tarifas_NRregularrollover_1.jpg',new Array('NavigationBar1_1', 'vertical', 'slideBottom', 0, 35))" BORDER=0 ALT="Tarifas" TITLE="Tarifas"></A></TD>
                                                    <TD WIDTH=96 HEIGHT=35><A HREF="../html/stop_sales.php" style="cursor:hand; text-decoration:none;" onMouseOver="F_loadRollover('NavigationButton12','',0);F_roll('NavigationButton12',1)" onMouseOut="F_roll('NavigationButton12',0)"><IMG ID="NavigationButton12" NAME="NavigationButton12" HEIGHT=35 WIDTH=96 SRC="../assets/images/autogen/Stop_Sales_Hhighlighted_1.jpg" onLoad="F_loadRollover(this,'Stop_Sales_HRhighlightedrollover_1.jpg',0)" BORDER=0 ALT="Stop Sales" TITLE="Stop Sales"></A></TD>
                                                </TR>
                                            </TABLE>
                                        </TD>
                                    </TR>
                                </TABLE>
                        </TD>
                    </TR>
                    <TR HEIGHT=0>
                        <TD STYLE="background-color: rgb(255,255,255); background-image: url('../assets/images/ihtop31.gif');">
                            <P></P>
                        </TD>
                    </TR>
                </TABLE>
            </TD>
        </TR>
    </TABLE>
    <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=760 NOF=LY>
        <TR VALIGN=TOP ALIGN=LEFT>
            <TD HEIGHT=470 WIDTH=760>
                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=760 HEIGHT=470 STYLE="background-color: rgb(237,237,237);" NOF="LayoutRegion8">
                    <TR ALIGN=LEFT VALIGN=TOP>
                        <TD>
                            <FORM NAME="LayoutStopSales" ACTION="stop_sales2.php" METHOD=POST>
                                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=502 NOF="LayoutRegion8">
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD WIDTH=26 HEIGHT=28><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=26 HEIGHT=1 BORDER=0 ALT=""></TD>
                                        <TD WIDTH=476><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=476 HEIGHT=1 BORDER=0 ALT=""></TD>
                                    </TR>
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD></TD>
                                        <TD WIDTH=476 CLASS="TextObject">
                                            <P><?
db_connect();

$sql = "select nome, pasta from tr_rentacar where cod_rentacar = ".$_SESSION['cod_rentacar'];
$result = mysql_query($sql);
$num_row = mysql_num_rows($result);

if($num_row!=0) 
{   
   $row   = mysql_fetch_row($result);
   $nome  = strtoupper($row[0]); 
   $pasta = $row[1];

   echo '<B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: medium;">'.$nome.'</SPAN></B>';
}

?>
&nbsp;</P>
                                        </TD>
                                    </TR>
                                </TABLE>
                                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=751 NOF="LayoutRegion8">
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD WIDTH=10 HEIGHT=7><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=10 HEIGHT=1 BORDER=0 ALT=""></TD>
                                        <TD WIDTH=741><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=741 HEIGHT=1 BORDER=0 ALT=""></TD>
                                    </TR>
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD></TD>
                                        <TD WIDTH=741 CLASS="TextObject">
                                            <P STYLE="text-align: center;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 18px;">Periodo de não disponibilidade</SPAN></B></P>
                                        </TD>
                                    </TR>
                                </TABLE>
                                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=624 NOF="LayoutRegion8">
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD WIDTH=111 HEIGHT=13><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=111 HEIGHT=1 BORDER=0 ALT=""></TD>
                                        <TD WIDTH=513><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=513 HEIGHT=1 BORDER=0 ALT=""></TD>
                                    </TR>
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD></TD>
                                        <TD WIDTH=513 CLASS="TextObject">
                                            <P><?

function Format_Data($Data) 
{ 
    $date_array = explode("-",$Data);
     
    $var_year  = $date_array[0]; 
    $var_month = $date_array[1]; 
    $var_day  = $date_array[2]; 

    $format_data   = date("d/m/Y", mktime(0,0,0,$var_month,$var_day,$var_year)); 
    return($format_data);  
} 

$sql = "select a.codigo, b.cod_grupo, b.descricao, a.data_inicio, a.data_fim ";
$sql = $sql." from tr_rentacar_dispon a, tr_rentacar_grupos b ";
$sql = $sql." where a.cod_rentacar = b.cod_rentacar ";
$sql = $sql." and a.cod_grupo = b.cod_grupo ";
$sql = $sql." and a.cod_rentacar=".$_SESSION['cod_rentacar'];
$sql = $sql." order by b.cod_grupo, a.data_inicio";

$result = mysql_query($sql);
$num_row = mysql_num_rows($result);

if($num_row!=0) 
{
   echo '<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=514 HEIGHT=24>
          <TR HEIGHT=25>
            <TD WIDTH=290 ALIGN=LEFT>
                <B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 14px;">Altere ou apague seus periodos aqui</SPAN></B>
            </TD>          

            <TD WIDTH=224 ALIGN=RIGHT>
                <B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">
                Formato da Data: dd/mm/yyyy&nbsp;</SPAN></B>
            </TD>
          </TR></TABLE>';

   echo '<table BORDER=1 CELLSPACING=0 CELLPADDING=0 WIDTH=514>';
   echo '<tr class="text_objects" height="23px" STYLE="background-color: rgb(255,251,236);">';
   echo '<td align="center" width="50px"><b>Alterar</b></td>';
   echo '<td align="center" width="50px"><b>Apagar</b></td>';
   echo '<td width="234px">&nbsp;<b>Grupo</b></td>';
   echo '<td align="center" width="90px"><b>Desde</b></td>';
   echo '<td align="center" width="90px"><b>Até</b></td></tr>'; 
   
   while($row = mysql_fetch_row($result))
   {      
      $codigo      = $row[0];      
      $descricao   = "'".$row[1].' - '.$row[2]."'";
      $data_inicio = $row[3];
      $data_fim    = $row[4];
      
      $data_inicio  = Format_Data($data_inicio);
      $data_fim     = Format_Data($data_fim);

      $mod_check   = 'mod_check'.$codigo;
      $del_check   = 'del_check'.$codigo;
      $description = 'description'.$codigo;
      $date_from   = 'date_from'.$codigo;
      $date_to     = 'date_to'.$codigo;
      
      echo '<tr height="23px"><td align="center"><input type="checkbox" name='.$mod_check.' class="text_objects"></td>';
      echo '<td align="center"><input type="checkbox" name='.$del_check.' class="text_objects"></td>';
      echo '<td align="left">&nbsp;<input type="text" name='.$description.' value='.$descricao.' style="width:220px" class="text_objects" disabled></td>';
      echo '<td align="center"><input type="text" name='.$date_from.' value='.$data_inicio.' SIZE=9 MAXLENGTH=10 class="text_objects"></td>';
      echo '<td align="center"><input type="text" name='.$date_to.' value='.$data_fim.' SIZE=9 MAXLENGTH=10 class="text_objects"></td></tr>';

   }
   echo '</table>';
}

$sql = "select cod_grupo, descricao from tr_rentacar_grupos ";
$sql = $sql." where cod_rentacar=".$_SESSION['cod_rentacar'];

$result1  = mysql_query($sql);
$num_row1 = mysql_num_rows($result1);

$result2  = mysql_query($sql);
$num_row2 = mysql_num_rows($result2);

$result3  = mysql_query($sql);
$num_row3 = mysql_num_rows($result3);

$result4  = mysql_query($sql);
$num_row4 = mysql_num_rows($result4);

$result5  = mysql_query($sql);
$num_row5 = mysql_num_rows($result5);

$result6  = mysql_query($sql);
$num_row6 = mysql_num_rows($result6);

$result7  = mysql_query($sql);
$num_row7 = mysql_num_rows($result7);

$result8  = mysql_query($sql);
$num_row8 = mysql_num_rows($result8);

$result9  = mysql_query($sql);
$num_row9 = mysql_num_rows($result9);

$result10  = mysql_query($sql);
$num_row10 = mysql_num_rows($result10);

db_disconnect();

?>
&nbsp;</P>
                                        </TD>
                                    </TR>
                                </TABLE>
                                <TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH=624 NOF="LayoutRegion8">
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD>
                                            <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=318 NOF="LayoutRegion8">
                                                <TR VALIGN=TOP ALIGN=LEFT>
                                                    <TD WIDTH=111 HEIGHT=8><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=111 HEIGHT=1 BORDER=0 ALT=""></TD>
                                                    <TD WIDTH=207><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=207 HEIGHT=1 BORDER=0 ALT=""></TD>
                                                </TR>
                                                <TR VALIGN=TOP ALIGN=LEFT>
                                                    <TD></TD>
                                                    <TD WIDTH=207 CLASS="TextObject">
                                                        <P><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 14px; color: rgb(0,0,0);">Insira um novo periodo aqui</SPAN></B></P>
                                                    </TD>
                                                </TR>
                                            </TABLE>
                                        </TD>
                                        <TD>
                                            <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=306 NOF="LayoutRegion8">
                                                <TR VALIGN=TOP ALIGN=LEFT>
                                                    <TD WIDTH=125 HEIGHT=12><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=125 HEIGHT=1 BORDER=0 ALT=""></TD>
                                                    <TD WIDTH=181><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=181 HEIGHT=1 BORDER=0 ALT=""></TD>
                                                </TR>
                                                <TR VALIGN=TOP ALIGN=LEFT>
                                                    <TD></TD>
                                                    <TD WIDTH=181 CLASS="TextObject">
                                                        <P><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Formato da Data: dd/mm/yyyy</SPAN></B></P>
                                                    </TD>
                                                </TR>
                                            </TABLE>
                                        </TD>
                                    </TR>
                                </TABLE>
                                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 NOF="LayoutRegion8">
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD WIDTH=111 HEIGHT=3><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=111 HEIGHT=1 BORDER=0 ALT=""></TD>
                                        <TD></TD>
                                    </TR>
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD></TD>
                                        <TD WIDTH=514>
                                            <TABLE ID="Table34" BORDER=1 CELLSPACING=0 CELLPADDING=0 WIDTH="100%" HEIGHT=285>
                                                <TR HEIGHT=18>
                                                    <TD WIDTH=43 STYLE="background-color: rgb(255,251,236);">
                                                        <P STYLE="text-align: center;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Linha</SPAN></B></P>
                                                    </TD>
                                                    <TD ALIGN=CENTER WIDTH=47 STYLE="background-color: rgb(255,251,236);">
                                                        <P><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Novo</SPAN></B></P>
                                                    </TD>
                                                    <TD WIDTH=251 STYLE="background-color: rgb(255,251,236);">
                                                        <P>&nbsp;<B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Grupo</SPAN></B></P>
                                                    </TD>
                                                    <TD ALIGN=CENTER WIDTH=81 STYLE="background-color: rgb(255,251,236);">
                                                        <P><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Desde</SPAN></B></P>
                                                    </TD>
                                                    <TD ALIGN=CENTER WIDTH=80 STYLE="background-color: rgb(255,251,236);">
                                                        <P><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Até</SPAN></B></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=24>
                                                    <TD>
                                                        <P STYLE="text-align: center;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">1</SPAN></B></P>
                                                    </TD>
                                                    <TD ALIGN=CENTER>
                                                        <P><INPUT ID="FormsCheckbox18" TYPE=CHECKBOX NAME="new_check1" VALUE="" class="text_objects">&nbsp;</P>
                                                    </TD>
                                                    <TD STYLE="padding-left: 3pt;">
                                                        <P>
                                                            <SELECT ID="FormsComboBox5" NAME="new_group1" class="text_objects" style="width:230px">
<option value=0 selected>Escolha um grupo</option>
<option value=-1>Escolha todos os grupos</option>
<?
if($num_row1!=0) 
{   
   while($row = mysql_fetch_row($result1))
   {      
      $grupo       = "'".$row[0]."'";
      $desc_grupo  = $row[0].' - '.$row[1];          
      echo '<option value='.$grupo.'>'.$desc_grupo.'</option>'; 
   }
}
?>>
                                                            </SELECT>
                                                        </P>
                                                    </TD>
                                                    <TD ALIGN=CENTER>
                                                        <P><INPUT ID="FormsEditField33" TYPE=TEXT NAME="new_date_from1" VALUE="" SIZE=9 MAXLENGTH=10 class="text_objects"></P>
                                                    </TD>
                                                    <TD ALIGN=CENTER>
                                                        <P><INPUT ID="FormsEditField34" TYPE=TEXT NAME="new_date_to1" VALUE="" SIZE=9 MAXLENGTH=10 class="text_objects"></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=24>
                                                    <TD>
                                                        <P STYLE="text-align: center;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">2</SPAN></B></P>
                                                    </TD>
                                                    <TD>
                                                        <P STYLE="text-align: center;"><INPUT ID="FormsCheckbox19" TYPE=CHECKBOX NAME="new_check2" VALUE="" class="text_objects">&nbsp;</P>
                                                    </TD>
                                                    <TD STYLE="padding-left: 3pt;">
                                                        <P>
                                                            <SELECT ID="FormsComboBox6" NAME="new_group2" class="text_objects" style="width:230px">
<option value=0 selected>Escolha um grupo</option>
<option value=-1>Escolha todos os grupos</option>
<?
if($num_row2!=0) 
{   
   while($row = mysql_fetch_row($result2))
   {      
      $grupo       = "'".$row[0]."'";
      $desc_grupo  = $row[0].' - '.$row[1];          
      echo '<option value='.$grupo.'>'.$desc_grupo.'</option>'; 
   }
}
?>>
                                                            </SELECT>
                                                        </P>
                                                    </TD>
                                                    <TD ALIGN=CENTER>
                                                        <P><INPUT ID="FormsEditField35" TYPE=TEXT NAME="new_date_from2" VALUE="" SIZE=9 MAXLENGTH=10 class="text_objects"></P>
                                                    </TD>
                                                    <TD ALIGN=CENTER>
                                                        <P><INPUT ID="FormsEditField44" TYPE=TEXT NAME="new_date_to2" VALUE="" SIZE=9 MAXLENGTH=10 class="text_objects"></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=24>
                                                    <TD>
                                                        <P STYLE="text-align: center;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">3</SPAN></B></P>
                                                    </TD>
                                                    <TD>
                                                        <P STYLE="text-align: center;"><INPUT ID="FormsCheckbox20" TYPE=CHECKBOX NAME="new_check3" VALUE="" class="text_objects">&nbsp;</P>
                                                    </TD>
                                                    <TD STYLE="padding-left: 3pt;">
                                                        <P>
                                                            <SELECT ID="FormsComboBox7" NAME="new_group3" class="text_objects" style="width:230px">
<option value=0 selected>Escolha um grupo</option>
<option value=-1>Escolha todos os grupos</option>
<?
if($num_row3!=0) 
{   
   while($row = mysql_fetch_row($result3))
   {      
      $grupo       = "'".$row[0]."'";
      $desc_grupo  = $row[0].' - '.$row[1];          
      echo '<option value='.$grupo.'>'.$desc_grupo.'</option>'; 
   }
}
?>>
                                                            </SELECT>
                                                        </P>
                                                    </TD>
                                                    <TD ALIGN=CENTER>
                                                        <P><INPUT ID="FormsEditField36" TYPE=TEXT NAME="new_date_from3" VALUE="" SIZE=9 MAXLENGTH=10 class="text_objects"></P>
                                                    </TD>
                                                    <TD ALIGN=CENTER>
                                                        <P><INPUT ID="FormsEditField45" TYPE=TEXT NAME="new_date_to3" VALUE="" SIZE=9 MAXLENGTH=10 class="text_objects"></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=24>
                                                    <TD>
                                                        <P STYLE="text-align: center;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">4</SPAN></B></P>
                                                    </TD>
                                                    <TD>
                                                        <P STYLE="text-align: center;"><INPUT ID="FormsCheckbox21" TYPE=CHECKBOX NAME="new_check4" VALUE="" class="text_objects">&nbsp;</P>
                                                    </TD>
                                                    <TD STYLE="padding-left: 3pt;">
                                                        <P>
                                                            <SELECT ID="FormsComboBox8" NAME="new_group4" class="text_objects" style="width:230px">
<option value=0 selected>Escolha um grupo</option>
<option value=-1>Escolha todos os grupos</option>
<?
if($num_row4!=0) 
{   
   while($row = mysql_fetch_row($result4))
   {      
      $grupo       = "'".$row[0]."'";
      $desc_grupo  = $row[0].' - '.$row[1];          
      echo '<option value='.$grupo.'>'.$desc_grupo.'</option>'; 
   }
}
?>>
                                                            </SELECT>
                                                        </P>
                                                    </TD>
                                                    <TD ALIGN=CENTER>
                                                        <P><INPUT ID="FormsEditField37" TYPE=TEXT NAME="new_date_from4" VALUE="" SIZE=9 MAXLENGTH=10 class="text_objects"></P>
                                                    </TD>
                                                    <TD ALIGN=CENTER>
                                                        <P><INPUT ID="FormsEditField46" TYPE=TEXT NAME="new_date_to4" VALUE="" SIZE=9 MAXLENGTH=10 class="text_objects"></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=24>
                                                    <TD>
                                                        <P STYLE="text-align: center;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">5</SPAN></B></P>
                                                    </TD>
                                                    <TD>
                                                        <P STYLE="text-align: center;"><INPUT ID="FormsCheckbox22" TYPE=CHECKBOX NAME="new_check5" VALUE="" class="text_objects">&nbsp;</P>
                                                    </TD>
                                                    <TD STYLE="padding-left: 3pt;">
                                                        <P>
                                                            <SELECT ID="FormsComboBox9" NAME="new_group5" class="text_objects" style="width:230px">
<option value=0 selected>Escolha um grupo</option>
<option value=-1>Escolha todos os grupos</option>
<?
if($num_row5!=0) 
{   
   while($row = mysql_fetch_row($result5))
   {      
      $grupo       = "'".$row[0]."'";
      $desc_grupo  = $row[0].' - '.$row[1];          
      echo '<option value='.$grupo.'>'.$desc_grupo.'</option>'; 
   }
}
?>>
                                                            </SELECT>
                                                        </P>
                                                    </TD>
                                                    <TD ALIGN=CENTER>
                                                        <P><INPUT ID="FormsEditField38" TYPE=TEXT NAME="new_date_from5" VALUE="" SIZE=9 MAXLENGTH=10 class="text_objects"></P>
                                                    </TD>
                                                    <TD ALIGN=CENTER>
                                                        <P><INPUT ID="FormsEditField47" TYPE=TEXT NAME="new_date_to5" VALUE="" SIZE=9 MAXLENGTH=10 class="text_objects"></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=24>
                                                    <TD>
                                                        <P STYLE="text-align: center;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">6</SPAN></B></P>
                                                    </TD>
                                                    <TD>
                                                        <P STYLE="text-align: center;"><INPUT ID="FormsCheckbox23" TYPE=CHECKBOX NAME="new_check6" VALUE="" class="text_objects">&nbsp;</P>
                                                    </TD>
                                                    <TD STYLE="padding-left: 3pt;">
                                                        <P>
                                                            <SELECT ID="FormsComboBox10" NAME="new_group6" class="text_objects" style="width:230px">
<option value=0 selected>Escolha um grupo</option>
<option value=-1>Escolha todos os grupos</option>
<?
if($num_row6!=0) 
{   
   while($row = mysql_fetch_row($result6))
   {      
      $grupo       = "'".$row[0]."'";
      $desc_grupo  = $row[0].' - '.$row[1];          
      echo '<option value='.$grupo.'>'.$desc_grupo.'</option>'; 
   }
}
?>>
                                                            </SELECT>
                                                        </P>
                                                    </TD>
                                                    <TD ALIGN=CENTER>
                                                        <P><INPUT ID="FormsEditField39" TYPE=TEXT NAME="new_date_from6" VALUE="" SIZE=9 MAXLENGTH=10 class="text_objects"></P>
                                                    </TD>
                                                    <TD ALIGN=CENTER>
                                                        <P><INPUT ID="FormsEditField48" TYPE=TEXT NAME="new_date_to6" VALUE="" SIZE=9 MAXLENGTH=10 class="text_objects"></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=24>
                                                    <TD>
                                                        <P STYLE="text-align: center;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">7</SPAN></B></P>
                                                    </TD>
                                                    <TD>
                                                        <P STYLE="text-align: center;"><INPUT ID="FormsCheckbox24" TYPE=CHECKBOX NAME="new_check7" VALUE="" class="text_objects">&nbsp;</P>
                                                    </TD>
                                                    <TD STYLE="padding-left: 3pt;">
                                                        <P>
                                                            <SELECT ID="FormsComboBox11" NAME="new_group7" class="text_objects" style="width:230px">
<option value=0 selected>Escolha um grupo</option>
<option value=-1>Escolha todos os grupos</option>
<?
if($num_row7!=0) 
{   
   while($row = mysql_fetch_row($result7))
   {      
      $grupo       = "'".$row[0]."'";
      $desc_grupo  = $row[0].' - '.$row[1];          
      echo '<option value='.$grupo.'>'.$desc_grupo.'</option>'; 
   }
}
?>>
                                                            </SELECT>
                                                        </P>
                                                    </TD>
                                                    <TD ALIGN=CENTER>
                                                        <P><INPUT ID="FormsEditField40" TYPE=TEXT NAME="new_date_from7" VALUE="" SIZE=9 MAXLENGTH=10 class="text_objects"></P>
                                                    </TD>
                                                    <TD ALIGN=CENTER>
                                                        <P><INPUT ID="FormsEditField49" TYPE=TEXT NAME="new_date_to7" VALUE="" SIZE=9 MAXLENGTH=10 class="text_objects"></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=24>
                                                    <TD>
                                                        <P STYLE="text-align: center;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">8</SPAN></B></P>
                                                    </TD>
                                                    <TD>
                                                        <P STYLE="text-align: center;"><INPUT ID="FormsCheckbox25" TYPE=CHECKBOX NAME="new_check8" VALUE="" class="text_objects">&nbsp;</P>
                                                    </TD>
                                                    <TD STYLE="padding-left: 3pt;">
                                                        <P>
                                                            <SELECT ID="FormsComboBox12" NAME="new_group8" class="text_objects" style="width:230px">
<option value=0 selected>Escolha um grupo</option>
<option value=-1>Escolha todos os grupos</option>
<?
if($num_row8!=0) 
{   
   while($row = mysql_fetch_row($result8))
   {      
      $grupo       = "'".$row[0]."'";
      $desc_grupo  = $row[0].' - '.$row[1];          
      echo '<option value='.$grupo.'>'.$desc_grupo.'</option>'; 
   }
}
?>>
                                                            </SELECT>
                                                        </P>
                                                    </TD>
                                                    <TD ALIGN=CENTER>
                                                        <P><INPUT ID="FormsEditField41" TYPE=TEXT NAME="new_date_from8" VALUE="" SIZE=9 MAXLENGTH=10 class="text_objects"></P>
                                                    </TD>
                                                    <TD ALIGN=CENTER>
                                                        <P><INPUT ID="FormsEditField50" TYPE=TEXT NAME="new_date_to8" VALUE="" SIZE=9 MAXLENGTH=10 class="text_objects"></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=24>
                                                    <TD>
                                                        <P STYLE="text-align: center;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">9</SPAN></B></P>
                                                    </TD>
                                                    <TD>
                                                        <P STYLE="text-align: center;"><INPUT ID="FormsCheckbox26" TYPE=CHECKBOX NAME="new_check9" VALUE="" class="text_objects">&nbsp;</P>
                                                    </TD>
                                                    <TD STYLE="padding-left: 3pt;">
                                                        <P>
                                                            <SELECT ID="FormsComboBox13" NAME="new_group9" class="text_objects" style="width:230px">
<option value=0 selected>Escolha um grupo</option>
<option value=-1>Escolha todos os grupos</option>
<?
if($num_row9!=0) 
{   
   while($row = mysql_fetch_row($result9))
   {      
      $grupo       = "'".$row[0]."'";
      $desc_grupo  = $row[0].' - '.$row[1];          
      echo '<option value='.$grupo.'>'.$desc_grupo.'</option>'; 
   }
}
?>>
                                                            </SELECT>
                                                        </P>
                                                    </TD>
                                                    <TD ALIGN=CENTER>
                                                        <P><INPUT ID="FormsEditField42" TYPE=TEXT NAME="new_date_from9" VALUE="" SIZE=9 MAXLENGTH=10 class="text_objects"></P>
                                                    </TD>
                                                    <TD ALIGN=CENTER>
                                                        <P><INPUT ID="FormsEditField51" TYPE=TEXT NAME="new_date_to9" VALUE="" SIZE=9 MAXLENGTH=10 class="text_objects"></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=24>
                                                    <TD>
                                                        <P STYLE="text-align: center;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">10</SPAN></B></P>
                                                    </TD>
                                                    <TD>
                                                        <P STYLE="text-align: center;"><INPUT ID="FormsCheckbox27" TYPE=CHECKBOX NAME="new_check10" VALUE="" class="text_objects">&nbsp;</P>
                                                    </TD>
                                                    <TD STYLE="padding-left: 3pt;">
                                                        <P>
                                                            <SELECT ID="FormsComboBox14" NAME="new_group10" class="text_objects" style="width:230px">
<option value=0 selected>Escolha um grupo</option>
<option value=-1>Escolha todos os grupos</option>
<?
if($num_row10!=0) 
{   
   while($row = mysql_fetch_row($result10))
   {      
      $grupo       = "'".$row[0]."'";
      $desc_grupo  = $row[0].' - '.$row[1];          
      echo '<option value='.$grupo.'>'.$desc_grupo.'</option>'; 
   }
}
?>>
                                                            </SELECT>
                                                        </P>
                                                    </TD>
                                                    <TD ALIGN=CENTER>
                                                        <P><INPUT ID="FormsEditField43" TYPE=TEXT NAME="new_date_from10" VALUE="" SIZE=9 MAXLENGTH=10 class="text_objects"></P>
                                                    </TD>
                                                    <TD ALIGN=CENTER>
                                                        <P><INPUT ID="FormsEditField52" TYPE=TEXT NAME="new_date_to10" VALUE="" SIZE=9 MAXLENGTH=10 class="text_objects"></P>
                                                    </TD>
                                                </TR>
                                            </TABLE>
                                        </TD>
                                    </TR>
                                </TABLE>
                                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 NOF="LayoutRegion8">
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD WIDTH=10 HEIGHT=15><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=10 HEIGHT=1 BORDER=0 ALT=""></TD>
                                        <TD></TD>
                                    </TR>
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD></TD>
                                        <TD WIDTH=740>
                                            <TABLE ID="Table33" BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%" HEIGHT=24>
                                                <TR>
                                                    <TD WIDTH=740>
                                                        <P STYLE="text-align: center;"><INPUT TYPE=BUTTON NAME="btSave" VALUE="Guardar" ID="FormsButton59" class="text_objects" onClick="return(F_e('FormsButton59', F_CL))">&nbsp; <INPUT TYPE=RESET NAME="btCancel" VALUE="Cancelar" ID="FormsButton60" class="text_objects"></P>
                                                    </TD>
                                                </TR>
                                            </TABLE>
                                        </TD>
                                    </TR>
                                </TABLE>
                            </FORM>
                        </TD>
                    </TR>
                </TABLE>
            </TD>
        </TR>
        <TR VALIGN=TOP ALIGN=LEFT>
            <TD HEIGHT=77 WIDTH=760>
                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=760 HEIGHT=77 STYLE="background-color: rgb(0,51,102);" NOF="LayoutRegion6">
                    <TR ALIGN=LEFT VALIGN=TOP>
                        <TD>
                            <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=567 NOF="LayoutRegion6">
                                <TR VALIGN=TOP ALIGN=LEFT>
                                    <TD WIDTH=215 HEIGHT=32><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=215 HEIGHT=1 BORDER=0 ALT=""></TD>
                                    <TD WIDTH=352><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=352 HEIGHT=1 BORDER=0 ALT=""></TD>
                                </TR>
                                <TR VALIGN=TOP ALIGN=LEFT>
                                    <TD></TD>
                                    <TD WIDTH=352 CLASS="TextObject">
                                        <P STYLE="text-align: center;"><B><SPAN STYLE="color: rgb(255,255,255);">Copyright Bravacar 2006</SPAN></B></P>
                                    </TD>
                                </TR>
                            </TABLE>
                        </TD>
                    </TR>
                </TABLE>
            </TD>
        </TR>
    </TABLE>
    </LAYER></DIV>
    <SCRIPT language="javascript">
    var C_MENU_BORDER = 0;
    var C_MENU_SPACING = 0;
    var C_MENU_BGCOLOR = "";
    var C_MENU_AUTO_CLOSE = false;
    new NOF_Menu(
    new NOF_Main_Menu(new NOF_Menu_Item('NavigationBar1_1', 'vertical', 'slideBottom', 0, 35, 
 new NOF_Menu_Button('../html/precosgrupos.php','../assets/images/autogen/Precos_Nregular_1.jpg','../assets/images/autogen/Precos_NRregularrollover_1.jpg'),new NOF_Menu_Button('../html/gruposextras.php','../assets/images/autogen/Extras_Nregular_1.jpg','../assets/images/autogen/Extras_NRregularrollover_1.jpg')))
    );
    </SCRIPT>
</BODY>
</HTML>
 