<div id="header" class="<?php print $TEXT_DIRECTION; ?>">
<table class="header_table" width="100%" cellpadding="0" cellspacing="0"><tr><td>
<table width="100%">
	<tr>
		<td><img src="<?php print $THEME_DIR;?>header.jpg" alt="" /></td>
		<td>
			<table width="100%">
			<tr>
			<td>
				<form action="search.php" method="get">
					<input type="hidden" name="action" value="general" />
					<a href="<?php print $HOME_SITE_URL; ?>"><?php print $HOME_SITE_TEXT; ?></a><br />
					<input type="text" name="query" size="15" value="<?php print $pgv_lang['search']?>" onfocus="if (this.value == '<?php print $pgv_lang['search']?>') this.value='';" onblur="if (this.value == '') this.value='<?php print $pgv_lang['search']?>';" />
					<input type="submit" name="search" value=" &gt; " /><br />
					<a href="index.php?command=gedcom"><?php print PrintReady($GEDCOMS[$GEDCOM]["title"]); ?></a>
				</form>
			</td>
			<td align="center">
				<?php print_user_links(); ?>
				<?php print_favorite_selector(); ?>
			</td>
			</tr>
			</table>
		</td>
	</tr>
</table>
</td>
</tr>
