<?
    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>Extras por Grupo</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/car_func.js"></script>
<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('ID_new_tarifa1' , '', 'sel', 'Layout',new Array(
	'Change',F_functID_new_tarifa1Action0,'','',0),'LayoutGruposExtras',0,'new_tarifa1');
	F_OM('FormsButton63' , '', 'btn', 'Layout',new Array(
	'Clicked',F_functFormsButton63Action0,'','',0),'LayoutGruposExtras',0,'btSave');
	F_OM('FormsComboBox6' , '', 'sel', 'Layout',new Array(
	'Change',F_functFormsComboBox6Action0,'','',0),'LayoutGruposExtras',0,'new_tarifa2');
	F_OM('FormsComboBox15' , '', 'sel', 'Layout',new Array(
	'Change',F_functFormsComboBox15Action0,'','',0),'LayoutGruposExtras',0,'new_tarifa3');
	F_OM('FormsComboBox18' , '', 'sel', 'Layout',new Array(
	'Change',F_functFormsComboBox18Action0,'','',0),'LayoutGruposExtras',0,'new_tarifa4');
	F_OM('FormsComboBox21' , '', 'sel', 'Layout',new Array(
	'Change',F_functFormsComboBox21Action0,'','',0),'LayoutGruposExtras',0,'new_tarifa5');
	F_OM('FormsComboBox24' , '', 'sel', 'Layout',new Array(
	'Change',F_functFormsComboBox24Action0,'','',0),'LayoutGruposExtras',0,'new_tarifa6');
	F_pageLoaded('Layout');
}
function F_functID_new_tarifa1Action0(params) {
javascript:change_grupo1(document.LayoutGruposExtras.new_tarifa1.value,document.LayoutGruposExtras.registos.value);
}

function F_functFormsButton63Action0(params) {
valida_grupos_extras()
}

function F_functFormsComboBox6Action0(params) {
javascript:change_grupo2(document.LayoutGruposExtras.new_tarifa2.value,document.LayoutGruposExtras.registos.value);
}

function F_functFormsComboBox15Action0(params) {
javascript:change_grupo3(document.LayoutGruposExtras.new_tarifa3.value,document.LayoutGruposExtras.registos.value);
}

function F_functFormsComboBox18Action0(params) {
javascript:change_grupo4(document.LayoutGruposExtras.new_tarifa4.value,document.LayoutGruposExtras.registos.value);
}

function F_functFormsComboBox21Action0(params) {
javascript:change_grupo5(document.LayoutGruposExtras.new_tarifa5.value,document.LayoutGruposExtras.registos.value);
}

function F_functFormsComboBox24Action0(params) {
javascript:change_grupo6(document.LayoutGruposExtras.new_tarifa6.value,document.LayoutGruposExtras.registos.value);
}

//-->
</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=(gruposextrasLayout, 761, 552))" STYLE="text-align: center; background-color: rgb(255,255,255);" onLoad="F_onLoaded();">
    <DIV ID="LayoutLYR"><LAYER ID="LayoutLYR" TOP=0 LEFT=0 VISIBILITY=INHERIT WIDTH=761 HEIGHT=842 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/Extras_por_Grupo_NDefault.jpg" VSPACE=0 HSPACE=0 ALIGN="TOP" BORDER=0 ALT="Extras por Grupo" TITLE="Extras por Grupo" 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_Hhighlighted_1.jpg" onLoad="F_loadRollover(this,'Tarifas_HRhighlightedrollover_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_Nregular_1.jpg" onLoad="F_loadRollover(this,'Stop_Sales_NRregularrollover_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=761 NOF=LY>
        <TR VALIGN=TOP ALIGN=LEFT>
            <TD WIDTH=1 HEIGHT=1><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=1 HEIGHT=1 BORDER=0 ALT=""></TD>
            <TD WIDTH=759 HEIGHT=1><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=759 HEIGHT=1 BORDER=0 ALT=""></TD>
            <TD WIDTH=1 HEIGHT=1><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=1 HEIGHT=1 BORDER=0 ALT=""></TD>
        </TR>
        <TR VALIGN=TOP ALIGN=LEFT>
            <TD HEIGHT=552></TD>
            <TD COLSPAN=2 WIDTH=760>
                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=760 HEIGHT=552 STYLE="background-color: rgb(237,237,237);" NOF="ID_LayoutGruposExtras">
                    <TR ALIGN=LEFT VALIGN=TOP>
                        <TD>
                            <FORM NAME="LayoutGruposExtras" ACTION="gruposextras2.php" METHOD=POST>
                                <INPUT TYPE=HIDDEN NAME="registos" VALUE=""><INPUT TYPE=HIDDEN NAME="registos1" VALUE="">
                                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=501 NOF="ID_LayoutGruposExtras">
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD WIDTH=25 HEIGHT=28><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=25 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=749 NOF="ID_LayoutGruposExtras">
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD WIDTH=9 HEIGHT=7><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=9 HEIGHT=1 BORDER=0 ALT=""></TD>
                                        <TD WIDTH=740><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=740 HEIGHT=1 BORDER=0 ALT=""></TD>
                                    </TR>
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD></TD>
                                        <TD WIDTH=740 CLASS="TextObject">
                                            <P STYLE="text-align: center;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 18px;">Extras por Grupo</SPAN></B></P>
                                        </TD>
                                    </TR>
                                </TABLE>
                                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=727 NOF="ID_LayoutGruposExtras">
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD WIDTH=27 HEIGHT=13><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=27 HEIGHT=1 BORDER=0 ALT=""></TD>
                                        <TD WIDTH=700><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=700 HEIGHT=1 BORDER=0 ALT=""></TD>
                                    </TR>
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD></TD>
                                        <TD WIDTH=700 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.cod_interno, b.cod_tarifa, b.descricao, c.cod_grupo, c.descricao, a.cod_extra, ";
$sql = $sql." a.incluido, a.preco, b.data_inicio, b.data_fim ";
$sql = $sql." from tr_rentacar_extras_values a, tr_rentacar_tarifas b, tr_rentacar_grupos c ";
$sql = $sql." where a.cod_rentacar = ".$_SESSION['cod_rentacar'];
$sql = $sql." and b.cod_rentacar   = ".$_SESSION['cod_rentacar'];
$sql = $sql." and c.cod_rentacar   = ".$_SESSION['cod_rentacar'];
$sql = $sql." and a.cod_grupo      = c.cod_grupo ";
$sql = $sql." and a.cod_tarifa     = b.cod_tarifa ";
$sql = $sql." order by b.data_inicio, a.cod_grupo, a.cod_extra ";

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

if($num_row!=0) 
{
    echo '<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=700>
          <TR HEIGHT=25>
            <TD STYLE="text-align: left;">
                <B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 14px;">Altere ou apague seus extras por grupo aqui</SPAN></B>
            </TD>
          </TR></TABLE>';
   
   $cod_tarifa_ant = '';
   $cod_grupo_ant  = '';
   while($row = mysql_fetch_row($result))
   {      
      $codigo         = $row[0];
      $cod_tarifa     = $row[1];
      $desc_tarifa    = $row[2];
      $cod_grupo      = "'".$row[3]."'";
      $desc_grupo     = $row[3].' - '.$row[4];
      $cod_extra      = "'".$row[5]."'";
      $incluido       = $row[6];
      $preco          = $row[7];
      $inicio         = Format_Data($row[8]);
      $fim            = Format_Data($row[9]);      
      $descricao      = $desc_tarifa.' - From: '.$inicio.' to: '.$fim;
      
      $mod_check      = 'mod_check'.$codigo;
      $del_check      = 'del_check'.$codigo;
      $text_tarifa    = 'text_tarifa'.$codigo;
      $text_grupo     = 'text_grupo'.$codigo;
      $text_cod_extra = 'text_cod_extra'.$codigo;
      $inc_check      = 'inc_check'.$codigo;
      $num_preco      = 'num_preco'.$codigo;
      
      if ($cod_tarifa_ant != $cod_tarifa)
      {
         if ($cod_tarifa_ant != '')
             echo '</TABLE><BR>';

         $cod_tarifa_ant = $cod_tarifa;                
         echo '<TABLE BORDER=1 CELLSPACING=0 CELLPADDING=0 WIDTH=700>
                 <TR HEIGHT=25>
                    <TD STYLE="text-align: center;" STYLE="background-color: rgb(3,109,183);" >
                        <B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px; color: rgb(255,255,255);">Tarifa: '.$descricao.'</SPAN></B>
                    </TD>
                 </TR></TABLE>';
         
         echo '<TABLE BORDER=1 CELLSPACING=0 CELLPADDING=0 WIDTH=700>
                 <TR HEIGHT=18>
                    <TD WIDTH=55 STYLE="background-color: rgb(255,251,236);" ALIGN=CENTER>
                       <B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">
                       Alterar</SPAN></B>
                    </TD>
                    <TD WIDTH=55 STYLE="background-color: rgb(255,251,236);" ALIGN=CENTER>
                       <B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">
                       Apagar</SPAN></B>
                    </TD>
                    <TD WIDTH=200 STYLE="background-color: rgb(255,251,236); padding-left: 4pt;">
                       <B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">
                       Grupo</SPAN></B>
                    </TD>
                    <TD WIDTH=250 STYLE="background-color: rgb(255,251,236); padding-left: 4pt;">
                       <B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">
                       Extra</SPAN></B>
                    </TD>
                    <TD WIDTH=60 STYLE="background-color: rgb(255,251,236);" ALIGN=CENTER>
                       <B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">
                       Incluido</SPAN></B>
                    </TD>
                    <TD WIDTH=80 STYLE="background-color: rgb(255,251,236); padding-left: 4pt;">
                       <B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">
                       Preço</SPAN></B>
                    </TD>
                 </TR>';
      }

      echo '<TR HEIGHT=25>
               <TD ALIGN=CENTER>
                   <INPUT TYPE=CHECKBOX NAME='.$mod_check.' VALUE="">
               </TD>
               <TD ALIGN=CENTER>
                   <INPUT TYPE=CHECKBOX NAME='.$del_check.' VALUE="">
               </TD>
               <TD>
                   <B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px; padding-left: 4pt;">'.$desc_grupo.'</SPAN></B>
               </TD>
               <TD STYLE="padding-left: 4pt;">
                   <SELECT NAME='.$text_cod_extra.' class="text_objects" style="width:230px">
                      <option value=0>Select an extra</option>';
                         $sql = "SELECT cod_extra, desc_extra ";                          
                         $sql = $sql." FROM tr_rentacar_extras ";
                         $sql = $sql." where cod_rentacar=".$_SESSION['cod_rentacar'];
  
                         $result2  = mysql_query($sql);
                         $num_row2 = mysql_num_rows($result2);  
                         if($num_row2!=0) 
                         {   
                            while($row2 = mysql_fetch_row($result2))
                            {      
                               $extra       = "'".$row2[0]."'";
                               $desc_extra  = $row2[1];                               
                               if ($cod_extra == $extra)
                                   echo '<option value='.$extra.' selected>'.$desc_extra.'</option>'; 
                               else
                                   echo '<option value='.$extra.'>'.$desc_extra.'</option>'; 
                            }
                         }
               
                   echo '</SELECT>
               </TD>
               <TD ALIGN=CENTER>
                   <INPUT TYPE=CHECKBOX NAME='.$inc_check.' VALUE=""'; if ($incluido == 1) echo 'CHECKED'; echo '>
               </TD>
               <TD ALIGN=CENTER>
                   <INPUT TYPE=TEXT NAME='.$num_preco.' VALUE='.$preco.' SIZE=8 MAXLENGTH=18 class="text_objects" style="text-align:right">
               </TD>
            </TR>';
   }   
   echo '</TABLE>';
}

function ConvertToJSArray_tarifa($PArray , $ArrayName, $filas)
{
   $Row = $filas;
   $Col = 2;

   ?>
   <SCRIPT LANGUAGE = 'JAVASCRIPT' >
      <?=$ArrayName?> = new Array(<?=$Row?>);
      for (i=0; i < <?=$Row?>; i++) 
      { 
      <?=$ArrayName?>[i] = new Array(<?=$Col?>);
      for (j=0; j < <?=$Col?>; j++) 
          <?=$ArrayName?>[i][j] = " ";
      }
      
   <? 
      for ($i=0;$i<$Row;$i++) 
      {
          for ($j=0;$j<$Col;$j++) 
          {
	       $str = $PArray[$i][$j];
              ?> 
	       <?=$ArrayName?>[<?=$i?>][<?=$j?>] = "<?=$str?>"
          <?
          }
      }
   ?> 
   document.LayoutGruposExtras.registos1.value = <?=$Row?>;  
   </SCRIPT>

   <?

}

function ConvertToJSArray2D($PArray , $ArrayName, $filas)
{
   $Row = $filas;
   $Col = 3;

   ?>
   <SCRIPT LANGUAGE = 'JAVASCRIPT' >
      <?=$ArrayName?> = new Array(<?=$Row?>);
      for (i=0; i < <?=$Row?>; i++) 
      { 
      <?=$ArrayName?>[i] = new Array(<?=$Col?>);
      for (j=0; j < <?=$Col?>; j++) 
          <?=$ArrayName?>[i][j] = " ";
      }
      
   <? 
      for ($i=0;$i<$Row;$i++) 
      {
          for ($j=0;$j<$Col;$j++) 
          {
	       $str = $PArray[$i][$j];
              ?> 
	       <?=$ArrayName?>[<?=$i?>][<?=$j?>] = "<?=$str?>"
          <?
          }
      }
   ?> 
   document.LayoutGruposExtras.registos.value = <?=$Row?>;

   </SCRIPT>

   <?

}

function create_new_tarifas($Row)
{
   ?>
   <SCRIPT LANGUAGE = 'JAVASCRIPT' >
       new_tarifas(<?=$Row?>);
   </SCRIPT>
   <?
}

$sql = "select a.cod_tarifa, a.cod_grupo, b.descricao from tr_rentacar_tarifas_precos a, tr_rentacar_grupos b ";
$sql = $sql." where b.cod_rentacar=".$_SESSION['cod_rentacar'];
$sql = $sql." and a.cod_rentacar = b.cod_rentacar ";
$sql = $sql." and a.cod_grupo = b.cod_grupo ";
$sql = $sql." GROUP BY a.cod_tarifa, a.cod_grupo, b.descricao ";
$sql = $sql." ORDER BY a.cod_tarifa, a.cod_grupo ";

$result = mysql_query($sql) or die("select fails");      
$filas  = mysql_num_rows($result);   

$i = 0;	
while ($row = mysql_fetch_row($result))
{     
   $tabela_grupos[$i][0] = $row[0];
   $tabela_grupos[$i][1] = $row[1];
   $tabela_grupos[$i][2] = $row[1].' - '.$row[2];
   $i = $i + 1;
}  

if ($i > 0)
{
    ConvertToJSArray2D($tabela_grupos, 'tb_grupos', $filas);
}

$sql = "select cod_tarifa, descricao, data_inicio, data_fim from tr_rentacar_tarifas ";
$sql = $sql." where cod_rentacar=".$_SESSION['cod_rentacar'];
$sql = $sql." order by data_inicio ";

$result = mysql_query($sql) or die("select fails");      
$filas1 = mysql_num_rows($result);   

$i = 0;	
while ($row = mysql_fetch_row($result))
{
   $inicio = Format_Data($row[2]);
   $fim    = Format_Data($row[3]);  
   $tabela_tarifas[$i][0] = $row[0];
   $tabela_tarifas[$i][1] = $row[1].' - From: '.$inicio.' to: '.$fim;
   $i = $i + 1;
}  

if ($i > 0)
{
    ConvertToJSArray_tarifa($tabela_tarifas, 'tb_tarifas', $filas1);
}

$sql = "select cod_extra, desc_extra from tr_rentacar_extras ";
$sql = $sql." where cod_rentacar=".$_SESSION['cod_rentacar'];

$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);

?>
&nbsp;</P>
                                        </TD>
                                    </TR>
                                </TABLE>
                                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=287 NOF="ID_LayoutGruposExtras">
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD WIDTH=28 HEIGHT=18><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=28 HEIGHT=1 BORDER=0 ALT=""></TD>
                                        <TD WIDTH=259><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=259 HEIGHT=1 BORDER=0 ALT=""></TD>
                                    </TR>
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD></TD>
                                        <TD WIDTH=259 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 extra por <SPAN STYLE="color: rgb(0,0,204);"></SPAN>grupo aqui</SPAN></B></P>
                                        </TD>
                                    </TR>
                                </TABLE>
                                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 NOF="ID_LayoutGruposExtras">
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD WIDTH=27 HEIGHT=3><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=27 HEIGHT=1 BORDER=0 ALT=""></TD>
                                        <TD></TD>
                                    </TR>
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD></TD>
                                        <TD WIDTH=700>
                                            <TABLE ID="Table37" BORDER=1 CELLSPACING=0 CELLPADDING=0 WIDTH="100%" HEIGHT=48>
                                                <TR HEIGHT=24>
                                                    <TD WIDTH=39 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 WIDTH=41 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;">Novo</SPAN></B></P>
                                                    </TD>
                                                    <TD WIDTH=61 STYLE="background-color: rgb(255,251,236); padding-left: 4pt;">
                                                        <P><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Tarifa: </SPAN></B></P>
                                                    </TD>
                                                    <TD WIDTH=276 STYLE="padding-left: 4pt;">
                                                        <P>
                                                            <SELECT ID="ID_new_tarifa1" NAME="new_tarifa1" class="text_objects" style="width:270px" onChange="return(F_e('ID_new_tarifa1', F_CH))">
                                                                <OPTION VALUE="0" SELECTED>Escolha uma tarifa</OPTION>
                                                            </SELECT>
                                                        </P>
                                                    </TD>
                                                    <TD WIDTH=64 STYLE="background-color: rgb(255,251,236);">
                                                        <P STYLE="padding-left: 4pt;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Grupo:</SPAN></B></P>
                                                    </TD>
                                                    <TD COLSPAN=3 STYLE="padding-left: 4pt;">
                                                        <P><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">
                                                            <SELECT ID="ID_new_grupo1" NAME="new_grupo1" class="text_objects" style="width:191px">
                                                                <OPTION VALUE="0" SELECTED>Escolha um grupo</OPTION>
                                                            </SELECT>
                                                            </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="FormsCheckbox3" TYPE=CHECKBOX NAME="new_check1" VALUE="">&nbsp;</P>
                                                    </TD>
                                                    <TD STYLE="padding-left: 4pt;">
                                                        <P><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Extra:</SPAN></B></P>
                                                    </TD>
                                                    <TD STYLE="padding-left: 4pt;">
                                                        <P>
                                                            <SELECT ID="FormsComboBox5" NAME="new_extra1" class="text_objects" style="width:230px">
<option value=0 selected>Escolha um extra</option>
<?
if($num_row3!=0) 
{   
   while($row3 = mysql_fetch_row($result3))
   {      
      $extra       = "'".$row3[0]."'";
      $desc_extra  = $row3[1];          
      echo '<option value='.$extra.'>'.$desc_extra.'</option>'; 
   }
}
?>>
                                                            </SELECT>
                                                        </P>
                                                    </TD>
                                                    <TD ALIGN=CENTER>
                                                        <P STYLE="text-align: left; padding-left: 4pt;"><B>Incluido:</B></P>
                                                    </TD>
                                                    <TD ALIGN=CENTER WIDTH=61>
                                                        <P><INPUT ID="FormsCheckbox4" TYPE=CHECKBOX NAME="new_incluido1" VALUE="">&nbsp;</P>
                                                    </TD>
                                                    <TD WIDTH=63>
                                                        <P STYLE="padding-left: 4pt;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Preço:</SPAN></B></P>
                                                    </TD>
                                                    <TD ALIGN=CENTER WIDTH=77>
                                                        <P><INPUT ID="FormsEditField13" TYPE=TEXT NAME="new_preco1" VALUE="" SIZE=8 MAXLENGTH=18 class="text_objects" style="text-align:right"></P>
                                                    </TD>
                                                </TR>
                                            </TABLE>
                                        </TD>
                                    </TR>
                                </TABLE>
                                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 NOF="ID_LayoutGruposExtras">
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD WIDTH=27 HEIGHT=6><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=27 HEIGHT=1 BORDER=0 ALT=""></TD>
                                        <TD></TD>
                                    </TR>
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD></TD>
                                        <TD WIDTH=700>
                                            <TABLE ID="Table39" BORDER=1 CELLSPACING=0 CELLPADDING=0 WIDTH="100%" HEIGHT=48>
                                                <TR HEIGHT=24>
                                                    <TD WIDTH=39 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 WIDTH=41 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;">Novo</SPAN></B></P>
                                                    </TD>
                                                    <TD WIDTH=61 STYLE="background-color: rgb(255,251,236); padding-left: 4pt;">
                                                        <P><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Tarifa: </SPAN></B></P>
                                                    </TD>
                                                    <TD WIDTH=276 STYLE="padding-left: 4pt;">
                                                        <P>
                                                            <SELECT ID="FormsComboBox6" NAME="new_tarifa2" class="text_objects" style="width:270px" onChange="return(F_e('FormsComboBox6', F_CH))">
                                                                <OPTION VALUE="0" SELECTED>Escolha uma tarifa</OPTION>
                                                            </SELECT>
                                                        </P>
                                                    </TD>
                                                    <TD WIDTH=64 STYLE="background-color: rgb(255,251,236);">
                                                        <P STYLE="padding-left: 4pt;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Grupo:</SPAN></B></P>
                                                    </TD>
                                                    <TD COLSPAN=3 STYLE="padding-left: 4pt;">
                                                        <P><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">
                                                            <SELECT ID="FormsComboBox7" NAME="new_grupo2" class="text_objects" style="width:191px">
                                                                <OPTION VALUE="0" SELECTED>Escolha um grupo</OPTION>
                                                            </SELECT>
                                                            </SPAN></B></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=24>
                                                    <TD STYLE="background-color: rgb(237,237,237);">
                                                        <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 ALIGN=CENTER>
                                                        <P><INPUT ID="FormsCheckbox5" TYPE=CHECKBOX NAME="new_check2" VALUE="">&nbsp;</P>
                                                    </TD>
                                                    <TD STYLE="padding-left: 4pt;">
                                                        <P><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Extra:</SPAN></B></P>
                                                    </TD>
                                                    <TD STYLE="padding-left: 4pt;">
                                                        <P>
                                                            <SELECT ID="FormsComboBox8" NAME="new_extra2" class="text_objects" style="width:230px">
<option value=0 selected>Escolha um extra</option>
<?
if($num_row4!=0) 
{   
   while($row4 = mysql_fetch_row($result4))
   {      
      $extra       = "'".$row4[0]."'";
      $desc_extra  = $row4[1];          
      echo '<option value='.$extra.'>'.$desc_extra.'</option>'; 
   }
}
?>>
                                                            </SELECT>
                                                        </P>
                                                    </TD>
                                                    <TD ALIGN=CENTER>
                                                        <P STYLE="text-align: left; padding-left: 4pt;"><B>Incluido:</B></P>
                                                    </TD>
                                                    <TD ALIGN=CENTER WIDTH=61>
                                                        <P><INPUT ID="FormsCheckbox6" TYPE=CHECKBOX NAME="new_incluido2" VALUE="">&nbsp;</P>
                                                    </TD>
                                                    <TD WIDTH=63>
                                                        <P STYLE="padding-left: 4pt;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Preço:</SPAN></B></P>
                                                    </TD>
                                                    <TD ALIGN=CENTER WIDTH=77>
                                                        <P><INPUT ID="FormsEditField14" TYPE=TEXT NAME="new_preco2" VALUE="" SIZE=8 MAXLENGTH=18 class="text_objects" style="text-align:right"></P>
                                                    </TD>
                                                </TR>
                                            </TABLE>
                                        </TD>
                                    </TR>
                                </TABLE>
                                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 NOF="ID_LayoutGruposExtras">
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD WIDTH=27 HEIGHT=6><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=27 HEIGHT=1 BORDER=0 ALT=""></TD>
                                        <TD></TD>
                                    </TR>
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD></TD>
                                        <TD WIDTH=700>
                                            <TABLE ID="Table42" BORDER=1 CELLSPACING=0 CELLPADDING=0 WIDTH="100%" HEIGHT=48>
                                                <TR HEIGHT=24>
                                                    <TD WIDTH=39 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 WIDTH=41 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;">Novo</SPAN></B></P>
                                                    </TD>
                                                    <TD WIDTH=61 STYLE="background-color: rgb(255,251,236); padding-left: 4pt;">
                                                        <P><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Tarifa: </SPAN></B></P>
                                                    </TD>
                                                    <TD WIDTH=276 STYLE="padding-left: 4pt;">
                                                        <P>
                                                            <SELECT ID="FormsComboBox15" NAME="new_tarifa3" class="text_objects" style="width:270px" onChange="return(F_e('FormsComboBox15', F_CH))">
                                                                <OPTION VALUE="0" SELECTED>Escolha uma tarifa</OPTION>
                                                            </SELECT>
                                                        </P>
                                                    </TD>
                                                    <TD WIDTH=64 STYLE="background-color: rgb(255,251,236);">
                                                        <P STYLE="padding-left: 4pt;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Grupo:</SPAN></B></P>
                                                    </TD>
                                                    <TD COLSPAN=3 STYLE="padding-left: 4pt;">
                                                        <P><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">
                                                            <SELECT ID="FormsComboBox16" NAME="new_grupo3" class="text_objects" style="width:191px">
                                                                <OPTION VALUE="0" SELECTED>Escolha um grupo</OPTION>
                                                            </SELECT>
                                                            </SPAN></B></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=24>
                                                    <TD STYLE="background-color: rgb(237,237,237);">
                                                        <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 ALIGN=CENTER>
                                                        <P><INPUT ID="FormsCheckbox11" TYPE=CHECKBOX NAME="new_check3" VALUE="">&nbsp;</P>
                                                    </TD>
                                                    <TD STYLE="padding-left: 4pt;">
                                                        <P><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Extra:</SPAN></B></P>
                                                    </TD>
                                                    <TD STYLE="padding-left: 4pt;">
                                                        <P>
                                                            <SELECT ID="FormsComboBox17" NAME="new_extra3" class="text_objects" style="width:230px">
<option value=0 selected>Escolha um extra</option>
<?
if($num_row5!=0) 
{   
   while($row5 = mysql_fetch_row($result5))
   {      
      $extra       = "'".$row5[0]."'";
      $desc_extra  = $row5[1];          
      echo '<option value='.$extra.'>'.$desc_extra.'</option>'; 
   }
}
?>>
                                                            </SELECT>
                                                        </P>
                                                    </TD>
                                                    <TD ALIGN=CENTER>
                                                        <P STYLE="text-align: left; padding-left: 4pt;"><B>Incluido:</B></P>
                                                    </TD>
                                                    <TD ALIGN=CENTER WIDTH=61>
                                                        <P><INPUT ID="FormsCheckbox12" TYPE=CHECKBOX NAME="new_incluido3" VALUE="">&nbsp;</P>
                                                    </TD>
                                                    <TD WIDTH=63>
                                                        <P STYLE="padding-left: 4pt;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Preço:</SPAN></B></P>
                                                    </TD>
                                                    <TD ALIGN=CENTER WIDTH=77>
                                                        <P><INPUT ID="FormsEditField17" TYPE=TEXT NAME="new_preco3" VALUE="" SIZE=8 MAXLENGTH=18 class="text_objects" style="text-align:right"></P>
                                                    </TD>
                                                </TR>
                                            </TABLE>
                                        </TD>
                                    </TR>
                                </TABLE>
                                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 NOF="ID_LayoutGruposExtras">
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD WIDTH=27 HEIGHT=6><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=27 HEIGHT=1 BORDER=0 ALT=""></TD>
                                        <TD></TD>
                                    </TR>
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD></TD>
                                        <TD WIDTH=700>
                                            <TABLE ID="Table43" BORDER=1 CELLSPACING=0 CELLPADDING=0 WIDTH="100%" HEIGHT=48>
                                                <TR HEIGHT=24>
                                                    <TD WIDTH=39 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 WIDTH=41 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;">Novo</SPAN></B></P>
                                                    </TD>
                                                    <TD WIDTH=61 STYLE="background-color: rgb(255,251,236); padding-left: 4pt;">
                                                        <P><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Tarifa: </SPAN></B></P>
                                                    </TD>
                                                    <TD WIDTH=276 STYLE="padding-left: 4pt;">
                                                        <P>
                                                            <SELECT ID="FormsComboBox18" NAME="new_tarifa4" class="text_objects" style="width:270px" onChange="return(F_e('FormsComboBox18', F_CH))">
                                                                <OPTION VALUE="0" SELECTED>Escolha uma tarifa</OPTION>
                                                            </SELECT>
                                                        </P>
                                                    </TD>
                                                    <TD WIDTH=64 STYLE="background-color: rgb(255,251,236);">
                                                        <P STYLE="padding-left: 4pt;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Grupo:</SPAN></B></P>
                                                    </TD>
                                                    <TD COLSPAN=3 STYLE="padding-left: 4pt;">
                                                        <P><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">
                                                            <SELECT ID="FormsComboBox19" NAME="new_grupo4" class="text_objects" style="width:191px">
                                                                <OPTION VALUE="0" SELECTED>Escolha um grupo</OPTION>
                                                            </SELECT>
                                                            </SPAN></B></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=24>
                                                    <TD STYLE="background-color: rgb(237,237,237);">
                                                        <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 ALIGN=CENTER>
                                                        <P><INPUT ID="FormsCheckbox13" TYPE=CHECKBOX NAME="new_check4" VALUE="">&nbsp;</P>
                                                    </TD>
                                                    <TD STYLE="padding-left: 4pt;">
                                                        <P><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Extra:</SPAN></B></P>
                                                    </TD>
                                                    <TD STYLE="padding-left: 4pt;">
                                                        <P>
                                                            <SELECT ID="FormsComboBox20" NAME="new_extra4" class="text_objects" style="width:230px">
<option value=0 selected>Escolha um extra</option>
<?
if($num_row6!=0) 
{   
   while($row6 = mysql_fetch_row($result6))
   {      
      $extra       = "'".$row6[0]."'";
      $desc_extra  = $row6[1];          
      echo '<option value='.$extra.'>'.$desc_extra.'</option>'; 
   }
}
?>>
                                                            </SELECT>
                                                        </P>
                                                    </TD>
                                                    <TD ALIGN=CENTER>
                                                        <P STYLE="text-align: left; padding-left: 4pt;"><B>Incluido:</B></P>
                                                    </TD>
                                                    <TD ALIGN=CENTER WIDTH=61>
                                                        <P><INPUT ID="FormsCheckbox14" TYPE=CHECKBOX NAME="new_incluido4" VALUE="">&nbsp;</P>
                                                    </TD>
                                                    <TD WIDTH=63>
                                                        <P STYLE="padding-left: 4pt;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Preço:</SPAN></B></P>
                                                    </TD>
                                                    <TD ALIGN=CENTER WIDTH=77>
                                                        <P><INPUT ID="FormsEditField18" TYPE=TEXT NAME="new_preco4" VALUE="" SIZE=8 MAXLENGTH=18 class="text_objects" style="text-align:right"></P>
                                                    </TD>
                                                </TR>
                                            </TABLE>
                                        </TD>
                                    </TR>
                                </TABLE>
                                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 NOF="ID_LayoutGruposExtras">
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD WIDTH=27 HEIGHT=6><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=27 HEIGHT=1 BORDER=0 ALT=""></TD>
                                        <TD></TD>
                                    </TR>
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD></TD>
                                        <TD WIDTH=700>
                                            <TABLE ID="Table44" BORDER=1 CELLSPACING=0 CELLPADDING=0 WIDTH="100%" HEIGHT=48>
                                                <TR HEIGHT=24>
                                                    <TD WIDTH=39 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 WIDTH=41 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;">Novo</SPAN></B></P>
                                                    </TD>
                                                    <TD WIDTH=61 STYLE="background-color: rgb(255,251,236); padding-left: 4pt;">
                                                        <P><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Tarifa: </SPAN></B></P>
                                                    </TD>
                                                    <TD WIDTH=276 STYLE="padding-left: 4pt;">
                                                        <P>
                                                            <SELECT ID="FormsComboBox21" NAME="new_tarifa5" class="text_objects" style="width:270px" onChange="return(F_e('FormsComboBox21', F_CH))">
                                                                <OPTION VALUE="0" SELECTED>Escolha uma tarifa</OPTION>
                                                            </SELECT>
                                                        </P>
                                                    </TD>
                                                    <TD WIDTH=64 STYLE="background-color: rgb(255,251,236);">
                                                        <P STYLE="padding-left: 4pt;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Grupo:</SPAN></B></P>
                                                    </TD>
                                                    <TD COLSPAN=3 STYLE="padding-left: 4pt;">
                                                        <P><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">
                                                            <SELECT ID="FormsComboBox22" NAME="new_grupo5" class="text_objects" style="width:191px">
                                                                <OPTION VALUE="0" SELECTED>Escolha um grupo</OPTION>
                                                            </SELECT>
                                                            </SPAN></B></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=24>
                                                    <TD STYLE="background-color: rgb(237,237,237);">
                                                        <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 ALIGN=CENTER>
                                                        <P><INPUT ID="FormsCheckbox15" TYPE=CHECKBOX NAME="new_check5" VALUE="">&nbsp;</P>
                                                    </TD>
                                                    <TD STYLE="padding-left: 4pt;">
                                                        <P><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Extra:</SPAN></B></P>
                                                    </TD>
                                                    <TD STYLE="padding-left: 4pt;">
                                                        <P>
                                                            <SELECT ID="FormsComboBox23" NAME="new_extra5" class="text_objects" style="width:230px">
<option value=0 selected>Escolha um extra</option>
<?
if($num_row7!=0) 
{   
   while($row7 = mysql_fetch_row($result7))
   {      
      $extra       = "'".$row7[0]."'";
      $desc_extra  = $row7[1];          
      echo '<option value='.$extra.'>'.$desc_extra.'</option>'; 
   }
}
?>>
                                                            </SELECT>
                                                        </P>
                                                    </TD>
                                                    <TD ALIGN=CENTER>
                                                        <P STYLE="text-align: left; padding-left: 4pt;"><B>Incluido:</B></P>
                                                    </TD>
                                                    <TD ALIGN=CENTER WIDTH=61>
                                                        <P><INPUT ID="FormsCheckbox16" TYPE=CHECKBOX NAME="new_incluido5" VALUE="">&nbsp;</P>
                                                    </TD>
                                                    <TD WIDTH=63>
                                                        <P STYLE="padding-left: 4pt;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Preço:</SPAN></B></P>
                                                    </TD>
                                                    <TD ALIGN=CENTER WIDTH=77>
                                                        <P><INPUT ID="FormsEditField19" TYPE=TEXT NAME="new_preco5" VALUE="" SIZE=8 MAXLENGTH=18 class="text_objects" style="text-align:right"></P>
                                                    </TD>
                                                </TR>
                                            </TABLE>
                                        </TD>
                                    </TR>
                                </TABLE>
                                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 NOF="ID_LayoutGruposExtras">
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD WIDTH=27 HEIGHT=6><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=27 HEIGHT=1 BORDER=0 ALT=""></TD>
                                        <TD></TD>
                                    </TR>
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD></TD>
                                        <TD WIDTH=700>
                                            <TABLE ID="Table45" BORDER=1 CELLSPACING=0 CELLPADDING=0 WIDTH="100%" HEIGHT=48>
                                                <TR HEIGHT=24>
                                                    <TD WIDTH=39 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 WIDTH=41 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;">Novo</SPAN></B></P>
                                                    </TD>
                                                    <TD WIDTH=61 STYLE="background-color: rgb(255,251,236); padding-left: 4pt;">
                                                        <P><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Tarifa: </SPAN></B></P>
                                                    </TD>
                                                    <TD WIDTH=276 STYLE="padding-left: 4pt;">
                                                        <P>
                                                            <SELECT ID="FormsComboBox24" NAME="new_tarifa6" class="text_objects" style="width:270px" onChange="return(F_e('FormsComboBox24', F_CH))">
                                                                <OPTION VALUE="0" SELECTED>Escolha uma tarifa</OPTION>
                                                            </SELECT>
                                                        </P>
                                                    </TD>
                                                    <TD WIDTH=64 STYLE="background-color: rgb(255,251,236);">
                                                        <P STYLE="padding-left: 4pt;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Grupo:</SPAN></B></P>
                                                    </TD>
                                                    <TD COLSPAN=3 STYLE="padding-left: 4pt;">
                                                        <P><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">
                                                            <SELECT ID="FormsComboBox25" NAME="new_grupo6" class="text_objects" style="width:191px">
                                                                <OPTION VALUE="0" SELECTED>Escolha um grupo</OPTION>
                                                            </SELECT>
                                                            </SPAN></B></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=24>
                                                    <TD STYLE="background-color: rgb(237,237,237);">
                                                        <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 ALIGN=CENTER>
                                                        <P><INPUT ID="FormsCheckbox17" TYPE=CHECKBOX NAME="new_check6" VALUE="">&nbsp;</P>
                                                    </TD>
                                                    <TD STYLE="padding-left: 4pt;">
                                                        <P><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Extra:</SPAN></B></P>
                                                    </TD>
                                                    <TD STYLE="padding-left: 4pt;">
                                                        <P>
                                                            <SELECT ID="FormsComboBox26" NAME="new_extra6" class="text_objects" style="width:230px">
<option value=0 selected>Escolha um extra</option>
<?
if($num_row8!=0) 
{   
   while($row8 = mysql_fetch_row($result8))
   {      
      $extra       = "'".$row8[0]."'";
      $desc_extra  = $row8[1];          
      echo '<option value='.$extra.'>'.$desc_extra.'</option>'; 
   }
}
?>>
                                                            </SELECT>
                                                        </P>
                                                    </TD>
                                                    <TD ALIGN=CENTER>
                                                        <P STYLE="text-align: left; padding-left: 4pt;"><B>Incluido:</B></P>
                                                    </TD>
                                                    <TD ALIGN=CENTER WIDTH=61>
                                                        <P><INPUT ID="FormsCheckbox18" TYPE=CHECKBOX NAME="new_incluido6" VALUE="">&nbsp;</P>
                                                    </TD>
                                                    <TD WIDTH=63>
                                                        <P STYLE="padding-left: 4pt;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Preço:</SPAN></B></P>
                                                    </TD>
                                                    <TD ALIGN=CENTER WIDTH=77>
                                                        <P><INPUT ID="FormsEditField20" TYPE=TEXT NAME="new_preco6" VALUE="" SIZE=8 MAXLENGTH=18 class="text_objects" style="text-align:right"></P>
                                                    </TD>
                                                </TR>
                                            </TABLE>
                                        </TD>
                                    </TR>
                                </TABLE>
                                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=727 NOF="ID_LayoutGruposExtras">
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD WIDTH=27 HEIGHT=3><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=27 HEIGHT=1 BORDER=0 ALT=""></TD>
                                        <TD WIDTH=700><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=700 HEIGHT=1 BORDER=0 ALT=""></TD>
                                    </TR>
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD></TD>
                                        <TD WIDTH=700 CLASS="TextObject">
                                            <P><?
   create_new_tarifas($filas1)
?>&nbsp;</P>
                                        </TD>
                                    </TR>
                                </TABLE>
                                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 NOF="ID_LayoutGruposExtras">
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD WIDTH=143 HEIGHT=5><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=143 HEIGHT=1 BORDER=0 ALT=""></TD>
                                        <TD></TD>
                                    </TR>
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD></TD>
                                        <TD WIDTH=470>
                                            <TABLE ID="Table38" BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%" HEIGHT=23>
                                                <TR>
                                                    <TD WIDTH=234>
                                                        <P STYLE="text-align: right;"><INPUT TYPE=BUTTON NAME="btSave" VALUE="Guardar" ID="FormsButton63" class="text_objects" onClick="return(F_e('FormsButton63', F_CL))">&nbsp; </P>
                                                    </TD>
                                                    <TD WIDTH=236>
                                                        <P><INPUT TYPE=RESET NAME="btCancel" VALUE="Cancelar" ID="FormsButton64" class="text_objects"></P>
                                                    </TD>
                                                </TR>
                                            </TABLE>
                                        </TD>
                                    </TR>
                                </TABLE>
                            </FORM>
                        </TD>
                    </TR>
                </TABLE>
            </TD>
        </TR>
        <TR VALIGN=TOP ALIGN=LEFT>
            <TD HEIGHT=77 COLSPAN=2 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>
            <TD></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>
 