<?
    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>Rentacar - Dados Gerais</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/pop_up_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('FormsButton43' , '', 'btn', 'Layout',new Array(
	'Clicked',F_functFormsButton43Action0,'','',0),'LayoutDadosGerais',0,'FormsButton32');
	F_OM('FormsButton51' , '', 'btn', 'Layout',new Array(
	'Clicked',F_functFormsButton51Action0,'','',0),'LayoutDadosGerais',0,'FormsButton3');
	F_pageLoaded('Layout');
}
function F_functFormsButton43Action0(params) {
update_logo();
}

function F_functFormsButton51Action0(params) {
javascript:cancel_logo(document.LayoutDadosGerais.pasta.value,document.LayoutDadosGerais.logotipo.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=(dadosgeraisLayout, 761, 833))" STYLE="text-align: center;" onLoad="F_onLoaded();">
    <DIV ID="LayoutLYR"><LAYER ID="LayoutLYR" TOP=0 LEFT=0 VISIBILITY=INHERIT WIDTH=761 HEIGHT=1123 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/Dados_Gerais_NDefault.jpg" VSPACE=0 HSPACE=0 ALIGN="TOP" BORDER=0 ALT="Dados Gerais" TITLE="Dados Gerais" 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('NavigationButton1','',0);F_roll('NavigationButton1',1)" onMouseOut="F_roll('NavigationButton1',0)"><IMG ID="NavigationButton1" NAME="NavigationButton1" HEIGHT=35 WIDTH=96 SRC="../assets/images/autogen/Dados_Gerais_Hhighlighted_1.jpg" onLoad="F_loadRollover(this,'Dados_Gerais_HRhighlightedrollover_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('NavigationButton2','',0);F_roll('NavigationButton2',1)" onMouseOut="F_roll('NavigationButton2',0)"><IMG ID="NavigationButton2" NAME="NavigationButton2" 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('NavigationButton3','',0);F_roll('NavigationButton3',1)" onMouseOut="F_roll('NavigationButton3',0)"><IMG ID="NavigationButton3" NAME="NavigationButton3" 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('NavigationButton4','',0);F_roll('NavigationButton4',1)" onMouseOut="F_roll('NavigationButton4',0)"><IMG ID="NavigationButton4" NAME="NavigationButton4" 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('NavigationButton5','',0);F_roll('NavigationButton5',1)" onMouseOut="F_roll('NavigationButton5',0)"><ILAYER ID="NavigationButton5"></ILAYER><IMG ID="NavigationButton5" NAME="NavigationButton5" 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('NavigationButton6','',0);F_roll('NavigationButton6',1)" onMouseOut="F_roll('NavigationButton6',0)"><IMG ID="NavigationButton6" NAME="NavigationButton6" 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=760 NOF=LY>
        <TR VALIGN=TOP ALIGN=LEFT>
            <TD HEIGHT=833 WIDTH=760>
                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=760 HEIGHT=833 STYLE="background-color: rgb(237,237,237);" NOF="LayoutRegion3">
                    <TR ALIGN=LEFT VALIGN=TOP>
                        <TD>
                            <FORM NAME="LayoutDadosGerais" ENCTYPE="multipart/form-data" ACTION="dados_gerais2.php" METHOD=POST>
                                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=726 NOF="LayoutRegion3">
                                    <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=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><?
db_connect();

$sql = "select nomecomercial, nome, contribuinte, morada, ";
$sql = $sql." cidade, cod_postal, telefone, telemovel, cod_pais, ";
$sql = $sql." cod_regiao, fax, email, website, ";
$sql = $sql." nome_contacto, telefone_contacto, telemovel_contacto, fax_contacto, email_contacto, ";
$sql = $sql." telefone_reserva, email_reserva, logotipo, pasta, activo ";
$sql = $sql." from tr_rentacar, tbcontactos where cod_rentacar = cod_empresa ";
$sql = $sql." and tipo_empresa = 2 and cod_rentacar=".$_SESSION['cod_rentacar'];

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

if($num_row!=0) 
{
   $row            = mysql_fetch_row($result);    
   $nomecomercial  = $row[0]; 	         
   $nome           = strtoupper($row[1]);
   $nome_rentacar  = $row[1];   
   $contribuinte   = $row[2];   
   $morada         = $row[3];   
   $cidade         = $row[4];   
   $cod_postal     = $row[5];
   $telefone       = $row[6];
   $telemovel      = $row[7];
   $cod_pais       = $row[8];
   $cod_regiao     = $row[9];
   $fax            = $row[10];
   $email          = $row[11];
   $website        = $row[12];
   $nome_contacto  = $row[13];
   $telf_contacto  = $row[14];
   $telm_contacto  = $row[15];
   $fax_contacto   = $row[16];
   $email_contacto = $row[17];
   $tel_reserva    = $row[18];
   $email_reserva  = $row[19];
   $logotipo       = $row[20];
   $pasta          = $row[21];
   $activo         = $row[22];
   if ($activo == 1)
       $status = 'Activo';
   else
       $status = 'Inactivo';
}

echo '<TABLE WIDTH=700>
        <TR HEIGHT=25>
           <TD WIDTH=500>
              <B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: medium;">'.$nome.'</SPAN></B>
           </TD>
           <TD WIDTH=100>
              <P STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 13px; text-align:right; color: rgb(0,0,0);">Status:</P>
           </TD>
           <TD WIDTH=100>
              <B><P STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 13px; color: rgb(255,102,0);">'.$status.'</P></B></TD></TR></TABLE>';

echo '<input type="hidden" name="pasta" value='.$pasta.'>';
echo '<input type="hidden" name="logotipo" value='.$logotipo.'>';

db_disconnect();

?>
&nbsp;</P>
                                        </TD>
                                    </TR>
                                </TABLE>
                                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=750 NOF="LayoutRegion3">
                                    <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=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;">Dados Gerais</SPAN></B></P>
                                        </TD>
                                    </TR>
                                </TABLE>
                                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=573 NOF="LayoutRegion3">
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD WIDTH=215 HEIGHT=15><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=215 HEIGHT=1 BORDER=0 ALT=""></TD>
                                        <TD WIDTH=358><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=358 HEIGHT=1 BORDER=0 ALT=""></TD>
                                    </TR>
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD></TD>
                                        <TD WIDTH=358 CLASS="TextObject">
                                            <P STYLE="text-align: left;"><SPAN STYLE="font-size: xx-small; color: rgb(0,0,0);">Os campos a <B>negrito</B> são obrigatorios, preencha-os p.f.</SPAN></P>
                                        </TD>
                                    </TR>
                                </TABLE>
                                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 NOF="LayoutRegion3">
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD WIDTH=126 HEIGHT=5><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=126 HEIGHT=1 BORDER=0 ALT=""></TD>
                                        <TD></TD>
                                    </TR>
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD></TD>
                                        <TD WIDTH=513>
                                            <TABLE ID="Table19" BORDER=0 BORDERCOLOR="#CCCCCC" CELLSPACING=0 CELLPADDING=0 WIDTH="100%" HEIGHT=534>
                                                <TR HEIGHT=25>
                                                    <TD WIDTH=134>
                                                        <P STYLE="text-align: right;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Empresa</SPAN></B></P>
                                                    </TD>
                                                    <TD WIDTH=5>
                                                        <P>&nbsp;</P>
                                                    </TD>
                                                    <TD ALIGN=LEFT WIDTH=374>
                                                        <P><INPUT ID="ID_NomeComercial" TYPE=TEXT NAME="NomeComercial" VALUE="<? echo $nomecomercial ?>" SIZE=45 MAXLENGTH=50 class="text_objects" style="width:320px"></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=25>
                                                    <TD ALIGN=RIGHT>
                                                        <P><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Nome comercial</SPAN></B></P>
                                                    </TD>
                                                    <TD>
                                                        <P>&nbsp;</P>
                                                    </TD>
                                                    <TD>
                                                        <P><INPUT ID="ID_NomeNegocio" TYPE=TEXT NAME="NomeNegocio" VALUE="<? echo $nome_rentacar?>" SIZE=35 MAXLENGTH=30 class="text_objects"></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=25>
                                                    <TD>
                                                        <P STYLE="text-align: right;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Contribuinte</SPAN></B></P>
                                                    </TD>
                                                    <TD>
                                                        <P>&nbsp;</P>
                                                    </TD>
                                                    <TD>
                                                        <P><INPUT ID="ID_Contribuinte" TYPE=TEXT NAME="Contribuinte" VALUE="<? echo $contribuinte ?>" SIZE=15 MAXLENGTH=12 class="text_objects">&nbsp;</P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=25>
                                                    <TD>
                                                        <P STYLE="text-align: right;"><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">&nbsp;<B>Morada</B></SPAN></P>
                                                    </TD>
                                                    <TD>
                                                        <P>&nbsp;</P>
                                                    </TD>
                                                    <TD ALIGN=LEFT>
                                                        <P><INPUT ID="ID_Morada" TYPE=TEXT NAME="Morada" VALUE="<? echo $morada ?>" SIZE=45 MAXLENGTH=50 class="text_objects" style="width:320px"
></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=25>
                                                    <TD>
                                                        <P STYLE="text-align: right;"><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">&nbsp;<B>Cidade</B></SPAN></P>
                                                    </TD>
                                                    <TD>
                                                        <P>&nbsp;</P>
                                                    </TD>
                                                    <TD ALIGN=LEFT>
                                                        <P><INPUT ID="ID_Cidade" TYPE=TEXT NAME="Cidade" VALUE="<? echo $cidade ?>" SIZE=40 MAXLENGTH=35 class="text_objects"></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=25>
                                                    <TD>
                                                        <P STYLE="text-align: right;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Código Postal</SPAN></B></P>
                                                    </TD>
                                                    <TD>
                                                        <P>&nbsp;</P>
                                                    </TD>
                                                    <TD>
                                                        <P><INPUT ID="ID_CodigoPostal" TYPE=TEXT NAME="CodigoPostal" VALUE="<? echo $cod_postal  ?>" SIZE=9 MAXLENGTH=8 class="text_objects">&nbsp;</P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=25>
                                                    <TD>
                                                        <P STYLE="text-align: right;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">&nbsp;Telefone</SPAN></B></P>
                                                    </TD>
                                                    <TD>
                                                        <P>&nbsp;</P>
                                                    </TD>
                                                    <TD ALIGN=LEFT>
                                                        <P><INPUT ID="ID_Telefone" TYPE=TEXT NAME="Telefone" VALUE="<? echo $telefone ?>" SIZE=30 MAXLENGTH=25 class="text_objects"></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=25>
                                                    <TD>
                                                        <P STYLE="text-align: right;"><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Telemóvel</SPAN></P>
                                                    </TD>
                                                    <TD>
                                                        <P>&nbsp;</P>
                                                    </TD>
                                                    <TD ALIGN=LEFT>
                                                        <P><INPUT ID="Forms Edit Field10" TYPE=TEXT NAME="Telemovel" VALUE="<? echo $telemovel ?>" SIZE=30 MAXLENGTH=25 class="text_objects"></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=25>
                                                    <TD>
                                                        <P STYLE="text-align: right;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">&nbsp;País</SPAN></B></P>
                                                    </TD>
                                                    <TD>
                                                        <P>&nbsp;</P>
                                                    </TD>
                                                    <TD ALIGN=LEFT>
                                                        <P>
                                                            <SELECT ID="Forms Combo Box1" NAME="Pais" class="text_objects" style="width:197px">
<option value="">Choose a Country</option>
<?
if ($cod_pais == 'PT')
   echo '<option SELECTED value="PT">Portugal</option>';
else
   echo '<option value="PT">Portugal</option>';

if ($cod_pais == 'ES')
   echo '<option SELECTED value="ES">Spain</option>';
else
   echo '<option value="ES">Spain</option>';
?>
<option value="">------------------------------</option>
<option value="AF">Afghanistan</option>
<option value="AL">Albania</option>
<option value="DZ">Algeria</option>
<option value="AS">American Samoa</option>
<option value="AD">Andorra</option>
<option value="AO">Angola</option>
<option value="AI">Anguilla</option>
<option value="AQ">Antarctica</option>
<option value="AG">Antigua And Barbuda</option>
<option value="AR">Argentina</option>
<option value="AM">Armenia</option>
<option value="AW">Aruba</option>
<option value="AU">Australia</option>
<option value="AT">Austria</option>
<option value="AZ">Azerbaijan</option>
<option value="BS">Bahamas</option>
<option value="BH">Bahrain</option>
<option value="BD">Bangladesh</option>
<option value="BB">Barbados</option>
<option value="BY">Belarus</option>
<option value="BE">Belgium</option>
<option value="BZ">Belize</option>
<option value="BJ">Benin</option>
<option value="BM">Bermuda</option>
<option value="BT">Bhutan</option>
<option value="BO">Bolivia</option>
<option value="BA">Bosnia And Herzegowina</option>
<option value="BW">Botswana</option>
<option value="BV">Bouvet Island</option>
<option value="BR">Brazil</option>
<option value="IO">British Indian Ocean Territory</option>
<option value="BN">Brunei Darussalam</option>
<option value="BG">Bulgaria</option>
<option value="BF">Burkina Faso</option>
<option value="BI">Burundi</option>
<option value="KH">Cambodia</option>
<option value="CM">Cameroon</option>
<option value="CA">Canada</option>
<option value="CV">Cape Verde</option>
<option value="KY">Cayman Islands</option>
<option value="CF">Central African Republic</option>
<option value="TD">Chad</option>
<option value="CL">Chile</option>
<option value="CN">China</option>
<option value="CX">Christmas Island</option>
<option value="CC">Cocos (Keeling) Islands</option>
<option value="CO">Colombia</option>
<option value="KM">Comoros</option>
<option value="CG">Congo</option>
<option value="CK">Cook Islands</option>
<option value="CR">Costa Rica</option>
<option value="CI">Cote D'Ivoire</option>
<option value="HR">Croatia</option>
<option value="CU">Cuba</option>
<option value="CY">Cyprus</option>
<option value="CZ">Czech Republic</option>
<option value="DK">Denmark</option>
<option value="DJ">Djibouti</option>
<option value="DM">Dominica</option>
<option value="DO">Dominican Republic</option>
<option value="TP">East Timor</option>
<option value="EC">Ecuador</option>
<option value="EG">Egypt</option>
<option value="SV">El Salvador</option>
<option value="GQ">Equatorial Guinea</option>
<option value="ER">Eritrea</option>
<option value="EE">Estonia</option>
<option value="ET">Ethiopia</option>
<option value="FK">Falkland Islands</option>
<option value="FO">Faroe Islands</option>
<option value="FJ">Fiji</option>
<option value="FI">Finland</option>
<option value="FR">France</option>
<option value="FX">France, Metropolitan</option>
<option value="GF">French Guiana</option>
<option value="PF">French Polynesia</option>
<option value="TF">French Southern Territories</option>
<option value="GA">Gabon</option>
<option value="GM">Gambia</option>
<option value="GE">Georgia</option>
<option value="DE">Germany</option>
<option value="GH">Ghana</option>
<option value="GI">Gibraltar</option>
<option value="GR">Greece</option>
<option value="GL">Greenland</option>
<option value="GD">Grenada</option>
<option value="GP">Guadeloupe</option>
<option value="GU">Guam</option>
<option value="GT">Guatemala</option>
<option value="GN">Guinea</option>
<option value="GW">Guinea-Bissau</option>
<option value="GY">Guyana</option>
<option value="HT">Haiti</option>
<option value="HM">Heard And Mc Donald Islands</option>
<option value="HN">Honduras</option>
<option value="HK">Hong Kong</option>
<option value="HU">Hungary</option>
<option value="IS">Iceland</option>
<option value="IN">India</option>
<option value="ID">Indonesia</option>
<option value="IR">Iran</option>
<option value="IQ">Iraq</option>
<option value="IE">Ireland</option>
<option value="IL">Israel</option>
<option value="IT">Italy</option>
<option value="JM">Jamaica</option>
<option value="JP">Japan</option>
<option value="JO">Jordan</option>
<option value="KZ">Kazakhstan</option>
<option value="KE">Kenya</option>
<option value="KI">Kiribati</option>
<option value="KP">North Korea</option>
<option value="KR">South Korea</option>
<option value="KW">Kuwait</option>
<option value="KG">Kyrgyzstan</option>
<option value="LA">Lao People's Republic</option>
<option value="LV">Latvia</option>
<option value="LB">Lebanon</option>
<option value="LS">Lesotho</option>
<option value="LR">Liberia</option>
<option value="LY">Libyan Arab Jamahiriya</option>
<option value="LI">Liechtenstein</option>
<option value="LT">Lithuania</option>
<option value="LU">Luxembourg</option>
<option value="MO">Macau</option>
<option value="MK">Macedonia</option>
<option value="MG">Madagascar</option>
<option value="MW">Malawi</option>
<option value="MY">Malaysia</option>
<option value="MV">Maldives</option>
<option value="ML">Mali</option>
<option value="MT">Malta</option>
<option value="MH">Marshall Islands</option>
<option value="MQ">Martinique</option>
<option value="MR">Mauritania</option>
<option value="MU">Mauritius</option>
<option value="YT">Mayotte</option>
<option value="MX">Mexico</option>
<option value="FM">Micronesia</option>
<option value="MD">Moldova</option>
<option value="MC">Monaco</option>
<option value="MN">Mongolia</option>
<option value="MS">Montserrat</option>
<option value="MA">Morocco</option>
<option value="MZ">Mozambique</option>
<option value="MM">Myanmar</option>
<option value="NA">Namibia</option>
<option value="NR">Nauru</option>
<option value="NP">Nepal</option>
<option value="NL">Netherlands</option>
<option value="AN">Netherlands Antilles</option>
<option value="NC">New Caledonia</option>
<option value="NZ">New Zealand</option>
<option value="NI">Nicaragua</option>
<option value="NE">Niger</option>
<option value="NG">Nigeria</option>
<option value="NU">Niue</option>
<option value="NF">Norfolk Island</option>
<option value="MP">Northern Mariana Islands</option>
<option value="NO">Norway</option>
<option value="OM">Oman</option>
<option value="PK">Pakistan</option>
<option value="PW">Palau</option>
<option value="PA">Panama</option>
<option value="PG">Papua New Guinea</option>
<option value="PY">Paraguay</option>
<option value="PE">Peru</option>
<option value="PH">Philippines</option>
<option value="PN">Pitcairn</option>
<option value="PL">Poland</option>
<option value="PR">Puerto Rico</option>
<option value="QA">Qatar</option>
<option value="RE">Reunion</option>
<option value="RO">Romania</option>
<option value="RU">Russian Federation</option>
<option value="RW">Rwanda</option>
<option value="KN">Saint Kitts And Nevis</option>
<option value="LC">Saint Lucia</option>
<option value="VC">Saint Vincent And The Grenadines</option>
<option value="WS">Samoa</option>
<option value="SM">San Marino</option>
<option value="ST">Sao Tome And Principe</option>
<option value="SA">Saudi Arabia</option>
<option value="SN">Senegal</option>
<option value="SC">Seychelles</option>
<option value="SL">Sierra Leone</option>
<option value="SG">Singapore</option>
<option value="SK">Slovakia</option>
<option value="SI">Slovenia</option>
<option value="SB">Solomon Islands</option>
<option value="SO">Somalia</option>
<option value="ZA">South Africa</option>
<option value="GS">South Georgia</option>
<option value="LK">Sri Lanka</option>
<option value="SH">St Helena</option>
<option value="PM">St Pierre and Miquelon</option>
<option value="SD">Sudan</option>
<option value="SR">Suriname</option>
<option value="SJ">Svalbard</option>
<option value="SZ">Swaziland</option>
<option value="SE">Sweden</option>
<option value="CH">Switzerland</option>
<option value="SY">Syrian Arab Republic</option>
<option value="TW">Taiwan</option>
<option value="TJ">Tajikistan</option>
<option value="TZ">Tanzania</option>
<option value="TH">Thailand</option>
<option value="TG">Togo</option>
<option value="TK">Tokelau</option>
<option value="TO">Tonga</option>
<option value="TT">Trinidad And Tobago</option>
<option value="TN">Tunisia</option>
<option value="TR">Turkey</option>
<option value="TM">Turkmenistan</option>
<option value="TC">Turks And Caicos Islands</option>
<option value="TV">Tuvalu</option>
<option value="UG">Uganda</option>
<option value="UA">Ukraine</option>
<option value="AE">United Arab Emirates</option>
<option value="GB">United Kingdom</option>
<option value="UM">United States</option>
<option value="UY">Uruguay</option>
<option value="UZ">Uzbekistan</option>
<option value="VU">Vanuatu</option>
<option value="VA">Vatican City State</option>
<option value="VE">Venezuela</option>
<option value="VN">Viet Nam</option>
<option value="VG">Virgin Islands (British)</option>
<option value="VI">Virgin Islands (U.S.)</option>
<option value="WF">Wallis And Futuna Islands</option>
<option value="EH">Western Sahara</option>
<option value="YE">Yemen</option>
<option value="ZR">Zaire</option>
<option value="ZM">Zambia</option>
<option value="ZW">Zimbabwe</option>
<option value="ZZ">Other Not Shown</option>>
                                                            </SELECT>
                                                        </P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=25>
                                                    <TD>
                                                        <P STYLE="text-align: right;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Região Turística</SPAN></B></P>
                                                    </TD>
                                                    <TD>
                                                        <P>&nbsp;</P>
                                                    </TD>
                                                    <TD ALIGN=LEFT>
                                                        <P>
                                                            <SELECT ID="RegiaoTuristica" NAME="RegiaoTuristica" style="width:172px" class="text_objects">
    <OPTION VALUE="0">Select a Touristic Region</OPTION>
    <OPTION VALUE="0">Portugal</OPTION>
<?
if ($cod_regiao == 1)
   echo '<OPTION SELECTED VALUE="1">...Azores</OPTION>';
else
   echo '<OPTION VALUE="1">...Azores</OPTION>';

if ($cod_regiao == 2)
   echo '<OPTION SELECTED VALUE="2">...Alentejo</OPTION>';
else
   echo '<OPTION VALUE="2">...Alentejo</OPTION>';

if ($cod_regiao == 3)
   echo '<OPTION SELECTED VALUE="3">...Algarve</OPTION>';
else
   echo '<OPTION VALUE="3">...Algarve</OPTION>';

if ($cod_regiao == 4)
   echo '<OPTION SELECTED VALUE="4">...Beiras</OPTION>';
else
   echo '<OPTION VALUE="4">...Beiras</OPTION>';

if ($cod_regiao == 5)
   echo '<OPTION SELECTED VALUE="5">...Lisbon</OPTION>';
else
   echo '<OPTION VALUE="5">...Lisbon</OPTION>';

if ($cod_regiao == 6)
   echo '<OPTION SELECTED VALUE="6">...Madeira</OPTION>';
else
   echo '<OPTION VALUE="6">...Madeira</OPTION>';

if ($cod_regiao == 7)
   echo '<OPTION SELECTED VALUE="7">...Porto Santo</OPTION>';
else
   echo '<OPTION VALUE="7">......Porto Santo</OPTION>';

if ($cod_regiao == 8)
   echo '<OPTION SELECTED VALUE="8">...Oporto and North of Portugal</OPTION>';
else
   echo '<OPTION VALUE="8">...Oporto and North of Portugal</OPTION>';

?>
>
                                                            </SELECT>
                                                        </P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=25>
                                                    <TD>
                                                        <P STYLE="text-align: right;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">&nbsp;Fax </SPAN></B></P>
                                                    </TD>
                                                    <TD>
                                                        <P>&nbsp;</P>
                                                    </TD>
                                                    <TD ALIGN=LEFT>
                                                        <P><INPUT ID="ID_Fax" TYPE=TEXT NAME="Fax" VALUE="<? echo $fax ?>" SIZE=30 MAXLENGTH=25 class="text_objects"></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=25>
                                                    <TD>
                                                        <P STYLE="text-align: right;"><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;"><B>Emai</B>l</SPAN></P>
                                                    </TD>
                                                    <TD>
                                                        <P>&nbsp;</P>
                                                    </TD>
                                                    <TD ALIGN=LEFT>
                                                        <P><INPUT ID="ID_Email" TYPE=TEXT NAME="Email" VALUE="<? echo $email ?>" SIZE=35 MAXLENGTH=40 class="text_objects"></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=25>
                                                    <TD>
                                                        <P STYLE="text-align: right;"><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Website URL</SPAN></P>
                                                    </TD>
                                                    <TD>
                                                        <P>&nbsp;</P>
                                                    </TD>
                                                    <TD ALIGN=LEFT>
                                                        <P><INPUT ID="Forms Edit Field14" TYPE=TEXT NAME="Website" VALUE="<? echo $website ?>" SIZE=45 MAXLENGTH=50 class="text_objects" style="width:320px"
></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=25>
                                                    <TD>
                                                        <P STYLE="text-align: right;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Telefone de Reserva</SPAN></B></P>
                                                    </TD>
                                                    <TD>
                                                        <P>&nbsp;</P>
                                                    </TD>
                                                    <TD>
                                                        <P><INPUT ID="ID_TelefoneReserva" TYPE=TEXT NAME="TelefoneReserva" VALUE="<? echo $tel_reserva ?>" SIZE=30 MAXLENGTH=25 class="text_objects"></P>
                                                    </TD>
                                                </TR>
                                                <TR>
                                                    <TD>
                                                        <P STYLE="text-align: right;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Email de Reserva</SPAN></B></P>
                                                    </TD>
                                                    <TD>
                                                        <P>&nbsp;</P>
                                                    </TD>
                                                    <TD>
                                                        <P><INPUT ID="ID_EmailReserva" TYPE=TEXT NAME="EmailReserva" VALUE="<? echo $email_reserva ?>" SIZE=35 MAXLENGTH=40 class="text_objects"></P>
                                                    </TD>
                                                </TR>
                                                <TR VALIGN=MIDDLE ALIGN=LEFT HEIGHT=35>
                                                    <TD COLSPAN=3>
                                                        <P STYLE="text-align: left;"><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;"><B>Dados da pessoa para contactos</B></SPAN></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=25>
                                                    <TD>
                                                        <P STYLE="text-align: right;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Nome</SPAN></B></P>
                                                    </TD>
                                                    <TD>
                                                        <P>&nbsp;</P>
                                                    </TD>
                                                    <TD ALIGN=LEFT>
                                                        <P><INPUT ID="Forms Edit Field15" TYPE=TEXT NAME="NomeContacto" VALUE="<? echo $nome_contacto ?>" SIZE=45 MAXLENGTH=50 class="text_objects" style="width:320px"
></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=25>
                                                    <TD>
                                                        <P STYLE="text-align: right;"><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;"><B>Emai</B>l</SPAN></P>
                                                    </TD>
                                                    <TD>
                                                        <P>&nbsp;</P>
                                                    </TD>
                                                    <TD ALIGN=LEFT>
                                                        <P><INPUT ID="Forms Edit Field16" TYPE=TEXT NAME="EmailContacto" VALUE="<? echo $email_contacto ?>" SIZE=35 MAXLENGTH=40 class="text_objects"></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=25>
                                                    <TD>
                                                        <P STYLE="text-align: right;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Telefone</SPAN></B></P>
                                                    </TD>
                                                    <TD>
                                                        <P>&nbsp;</P>
                                                    </TD>
                                                    <TD ALIGN=LEFT>
                                                        <P><INPUT ID="Forms Edit Field17" TYPE=TEXT NAME="TelefoneContacto" VALUE="<? echo $telf_contacto ?>" SIZE=30 MAXLENGTH=25 class="text_objects"></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=27>
                                                    <TD>
                                                        <P STYLE="text-align: right;"><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Telemovel</SPAN></P>
                                                    </TD>
                                                    <TD>
                                                        <P>&nbsp;</P>
                                                    </TD>
                                                    <TD ALIGN=LEFT>
                                                        <P><INPUT ID="Forms Edit Field18" TYPE=TEXT NAME="TelemovelContacto" VALUE="<? echo $telm_contacto ?>" SIZE=30 MAXLENGTH=25 class="text_objects"></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=25>
                                                    <TD>
                                                        <P STYLE="text-align: right;"><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">Fax</SPAN></B></P>
                                                    </TD>
                                                    <TD>
                                                        <P>&nbsp;</P>
                                                    </TD>
                                                    <TD ALIGN=LEFT>
                                                        <P><INPUT ID="Forms Edit Field19" TYPE=TEXT NAME="FaxContacto" VALUE="<? echo $fax_contacto ?>" SIZE=30 MAXLENGTH=25 class="text_objects"></P>
                                                    </TD>
                                                </TR>
                                            </TABLE>
                                        </TD>
                                    </TR>
                                </TABLE>
                                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 NOF="LayoutRegion3">
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD WIDTH=126 HEIGHT=29><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=126 HEIGHT=1 BORDER=0 ALT=""></TD>
                                        <TD></TD>
                                    </TR>
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD></TD>
                                        <TD WIDTH=552>
                                            <TABLE ID="Table18" BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%" HEIGHT=107>
                                                <TR HEIGHT=22>
                                                    <TD VALIGN=TOP WIDTH=204>
                                                        <P><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">&nbsp;Logo da empresa:</SPAN></B></P>
                                                    </TD>
                                                    <TD VALIGN=TOP ALIGN=LEFT WIDTH=348>
                                                        <P><B><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">&nbsp; Ficheiro a carregar:</SPAN></B></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=16>
                                                    <TD ROWSPAN=2 VALIGN=TOP>
                                                        <P>&nbsp;<?
if (trim($logotipo)!='')
    {
    echo '<IMG ID="new_logo" HEIGHT=58 WIDTH=142 SRC="http://www.bravacar.pt/photo_rentacar/'.$pasta.'/'.$logotipo.'" BORDER=2 STYLE="border-color: rgb(192,192,192); border-style: solid; ">';
    }
else
    {
    echo '<IMG ID="new_logo" HEIGHT=58 WIDTH=142 SRC="http://www.bravacar.pt/photo_rentacar/no_photo.jpg" BORDER=2 STYLE="border-color: rgb(192,192,192); border-style: solid;">';
    }
?></P>
                                                    </TD>
                                                    <TD VALIGN=TOP>
                                                        <P>&nbsp;<input type=file name=path_logo class="text_objects" style="width:350px"></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=39>
                                                    <TD VALIGN=MIDDLE ALIGN=CENTER>
                                                        <P><INPUT TYPE=BUTTON NAME="FormsButton32" VALUE="Ver" ID="FormsButton43" class="text_objects"  onClick="return(F_e('FormsButton43', F_CL))">&nbsp; <INPUT TYPE=BUTTON NAME="FormsButton3" VALUE="Cancelar" ID="FormsButton51" class="text_objects" onClick="return(F_e('FormsButton51', F_CL))"></P>
                                                    </TD>
                                                </TR>
                                                <TR HEIGHT=30>
                                                    <TD>
                                                        <P><SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;">&nbsp; <B>Melhor tamanho: 142 x 58 px</B></SPAN></P>
                                                    </TD>
                                                    <TD>
                                                        <P><INPUT ID="ID_del_foto6" TYPE=CHECKBOX NAME="del_logo" VALUE="">&nbsp;<SPAN STYLE="font-family: Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif; font-size: 11px;"> <B>Apagar logo</B></SPAN></P>
                                                    </TD>
                                                </TR>
                                            </TABLE>
                                        </TD>
                                    </TR>
                                </TABLE>
                                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 NOF="LayoutRegion3">
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD WIDTH=126 HEIGHT=10><IMG SRC="../assets/images/autogen/clearpixel.gif" WIDTH=126 HEIGHT=1 BORDER=0 ALT=""></TD>
                                        <TD></TD>
                                    </TR>
                                    <TR VALIGN=TOP ALIGN=LEFT>
                                        <TD></TD>
                                        <TD WIDTH=507>
                                            <TABLE ID="Table20" BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%" HEIGHT=36>
                                                <TR>
                                                    <TD ALIGN=RIGHT WIDTH=507>
                                                        <P STYLE="text-align: center;"><INPUT TYPE=SUBMIT NAME="FormsButton1" VALUE="Guardar" ID="FormsButton48" class="text_objects">  <INPUT TYPE=RESET NAME="FormsButton2" VALUE="Cancelar" ID="FormsButton50" 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>
 