<div id="header" class="<?php print $TEXT_DIRECTION; ?>">
<table width="100%" border="0" cellspacing="0" cellpadding="1" bgcolor="#003399">
   <tr>
      <td>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" background="<?php print $PGV_IMAGE_DIR; ?>/cabeza.jpg" height="40">
              <tr>
                <td width="10"><img src="<?php print $PGV_IMAGE_DIR; ?>/pixel.gif" width="1" height="1" alt="" /></td>
                <td valign="middle"><font color="#FFFFFF" size="5" face="Verdana, Arial, Helvetica, sans-serif"><?php global $GEDCOMS, $GEDCOM; print PrintReady($GEDCOMS[$GEDCOM]["title"]); ?></font></td>
                <td align="<?php print $TEXT_DIRECTION=="rtl"?"left":"right" ?>">
               	<form action="search.php" method="get">
				<input type="hidden" name="action" value="general" />
				<input type="text" class="formbut" size="15" maxlength="40" name="query" value="<?php if ($action=="general") print $query; ?>" />
				<input type="submit" value="<?php print $pgv_lang["search"]?>" />
				</form>
				</td>
				<td width="10"><img src="<?php print $PGV_IMAGE_DIR; ?>/pixel.gif" width="1" height="1" alt="" /></td>
              </tr></table>
			  <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#84beff" background="<?php print $PGV_IMAGE_DIR; ?>/barra.gif">
              <tr>
                <td width="10"><img src="<?php print $PGV_IMAGE_DIR; ?>/pixel.gif" width="1" height="18" alt="" /></td>
                <td><div id="favdate" align="<?php print $TEXT_DIRECTION=="rtl"?"right":"left" ?>" class="blanco"><?php print_theme_dropdown(1); ?></div><?php print_user_links(); ?></td>
				<td valign="top"></td>
                <td><div align="center"><?php print_lang_form(1); ?></div></td>
				<td><div id="favdate" align="<?php print $TEXT_DIRECTION=="rtl"?"left":"right" ?>" class="blanco"><?php print_favorite_selector(1); ?><?php print get_changed_date(date("j", time()-(isset($_SESSION["timediff"])?$_SESSION["timediff"]:0))." ".date("M", time()-(isset($_SESSION["timediff"])?$_SESSION["timediff"]:0))." ".date("Y", time()-(isset($_SESSION["timediff"])?$_SESSION["timediff"]:0))); ?>


                </div></td><td width="10"><img src="<?php print $PGV_IMAGE_DIR; ?>/pixel.gif" width="1" height="1" alt="" /></td></tr></table>

