<div id="header" class="<?php print $TEXT_DIRECTION; ?>">
<table width="99%">
	<tr>
		<td><img src="<?php print $THEME_DIR;?>header.png" width="484" height="86" 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; " />
				</form>
				<?php print_lang_form(); ?>
			</td>
			<td valign="bottom">&nbsp;&nbsp;<?php print_theme_dropdown(); ?></td>	
			<td align="center">
				<?php print_gedcom_title_link(); ?><br />
				<?php print_user_links(); ?>
				<?php print_favorite_selector(); ?>
			</td>
			</tr>
			</table>
		</td>
	</tr>
</table>
