<!--
Copyright by Thomas Bley 2002-2003
thomas.bley@simple-groupware.de

http://www.simple-groupware.de
-->
<html>
<head>
	<title>Webmail by Thomas Bley - Simple Groupware Solutions - more.groupware</title>
    <meta http-equiv="content-type" content="text/html; charset={$charset}">
	<meta http-equiv="refresh" content="{$waittime}; URL={$rooturl}modules/webmail2/index2.php?account=0&reload={if $saveto eq "draft"}draft{else}sent{/if}&{$SESSION}">
	<link rel="SHORTCUT ICON" href="{$imgpathmaster}/favicon.ico">
	<link rel="icon" href="{$imgpathmaster}/favicon.ico" type="image/ico">

<style type="text/css">
{literal}
<!--
body {scrollbar-face-color: #E4E4E4; scrollbar-shadow-color: #000000;scrollbar-highlight-color: #FFFFFF; scrollbar-3dlight-color: #999999;scrollbar-darkshadow-color: #999999; scrollbar-track-color: #F3F3F3;scrollbar-arrow-color: #000000;
  BORDER-LEFT:#434343 1px solid;
}
td {  font-family: Arial, Helvetica,sans-serif; font-size: 10pt; font-variant: normal; text-transform: none; color: #000000}
a:hover {  color: #CC0000; text-decoration: underline}
.styletextfield { font-family: Arial, Helvetica, sans-serif; font-size: 10pt; font-style: normal; line-height: normal; font-weight: normal; font-variant: normal; text-transform: none; text-decoration: none; width: 350px}
.submit {
    background:#D1D1D1;
    color:#333333;
    font-size:8pt;
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-weight:bold;
}
-->
{/literal}
</style>
<script>

var my_url = '{$rooturl}modules/webmail2/index2.php?account=0&reload={if $saveto eq "draft"}draft{else}sent{/if}&{$SESSION}';
setTimeout('navigate_to_inbox()',{$waittime}000);

{literal}

function navigate_to_inbox() {
  document.location=my_url;
}

function return_height() {
  Browser = navigator.appName;
  if (navigator.appName.substring(0,9) == "Microsoft") Browser = 'MSIE';
  if (Browser != 'MSIE') {
      return (innerHeight-4);
    } else {
      return (document.body.clientHeight-2);
      }
}
{/literal}
</script>

</head>

<body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0" link="#1F4687" vlink="#1F4687" alink="#1F4687" bgcolor="#F3F3F3">

<center>

<table border="0" cellpadding="0" cellspacing="0" height="100%" width="98%"><tr><td>
<script>
document.write('<img src="templates/default/media/spacer.gif" width="1" height="'+return_height()+'">');
</script>
</td><td valign="top" align="center">

<img src="templates/default/media/spacer.gif" alt="" width="1" height="5" border="0"><br>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#D1D1D1"><td>
&nbsp;<font color="#4E4E4E"><b> {$username} - {$hashmap.sendmail_write_a_new_email}</b></font>
</td></tr></table>

<br>

<table height="88%" border="0" cellpadding="0" cellspacing="0"><tr><td>
<table width='550' border='0' cellspacing='0' cellpadding='1' bgcolor='#999999'><tr><td>
  <table width='100%' border='0' cellspacing='0' cellpadding='1' bgcolor='#DFDFDF'>
  <tr>
	<td align="center" valign="middle">
		<img src="templates/default/media/spacer.gif" alt="" width="1" height="5" border="0"><br>
		{$message|smarty:nodefaults}<br>
		<img src="templates/default/media/spacer.gif" alt="" width="1" height="5" border="0"><br>
		<b>{$to2}</b>
		<img src="templates/default/media/spacer.gif" alt="" width="1" height="5" border="0"><br>
    </td>
  </tr>
  </table>
</td></tr></table><br><br>
</td></tr></table>
</td></tr>
</table>

</center>

</body>
</html>
