</td>
</tr>
<tr>
  <td colspan="3">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
	{if $hidespacer neq "yes"}
      <tr valign="top">
	<td class="contentback" height="30"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="3">&nbsp;</td>
      </tr>
	{/if}
      <tr valign="top">
	<td class="lines" height="2"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="2"></td>
      </tr>
      <tr valign="middle">
	<td height="26">
	  <table border="0" cellpadding="0" cellspacing="0" width="100%">
	    <tr align="left">
		  <td>
		    <table border="0" cellpadding="0" cellspacing="0">
				<tr>
	      <td class="welcome" width="15" height="26"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1">&nbsp;</td>
	      <td class="welcome" width="300">{$gwtitle} {$gwversion}</td>
	      <td class="lines" width="1"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td>
				</tr>
			</table>
		  </td>
		  <td align="right">
		    <table border="0" cellpadding="0" cellspacing="0">
				<tr>
{if $show_navi_images eq 4}
               <td class="lines" width="1"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td>
               <td class="user" align="center" valign="middle">&nbsp;&nbsp;<a target="_top" href="{$rooturl}index.php?view=logout&{$SESSION}" class="logout"> {$username}: {$logout}</a>&nbsp;&nbsp;</td>
{/if}
               <td class="lines" width="1"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td>
	      <td class="user" align="middle" width="100">
		{if $mimframe}
		<iframe src="{$rooturl}modules/general/mim_status.php?{$SESSION}" width="150" height="20" marginheight="0" marginwidth="0" frameborder="0"></iframe>
		{else}
		<a class="navlink" href="javascript:openWin('{$rooturl}modules/general/mim.php?{$SESSION}',570,400)">MIM ({$mimnew|default:'0'}/{$mimcount|default:'0'})</a>
		{/if}
          </td><td></td>
		{if $show_webmail_iframe}
	      <td class="user" align="middle" width="100">
		<iframe src="{$rooturl}modules/webmail2/fetchmail_small.php?{$SESSION}" width="150" height="20" marginheight="0" marginwidth="0" frameborder="0"></iframe>
	      </td>
		{/if}
				</tr>
			</table>
		  </td>


	    </tr>
	  </table>
	</td>
      </tr>
      <tr valign="top">
	<td class="lines" height="1"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td>
      </tr>
    </table>
  </td>	
</tr>
</table>
{if $jsnotify and $jsnotifyarray}
<script type="text/javascript">
alertNotify();
</script>
{/if}
</body>
</html>
