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

http://www.simple-groupware.de
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<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|default:86400}; URL={$rooturl}modules/webmail2/fetchmail_small.php?{$SESSION}" />

	<link rel="SHORTCUT ICON" href="{$imgpathmaster}/favicon.ico">
	<link rel="icon" href="{$imgpathmaster}/favicon.ico" type="image/ico">
    <link rel="stylesheet" type="text/css" href="{$rooturl}modules/general/templates/{$theme}/css/{$skin}" />
</head>

<script>

var session='{$SESSION}';
var rooturl='{$rooturl}';

{literal}

function fetchmails() {
  if (top.frames["rightframe"]) {
    top.rightframe.location="fetchmail.php?action=indexer&new=yes&"+session;
  } else {
    top.location=rooturl+"/modules/webmail2/index.php?rightframe=fetchmail.php&"+session;
  }
}

function showmails() {
  if (top.frames["rightframe"]) {
    top.rightframe.location="index2.php?"+session;
  } else {
    top.location=rooturl+"/modules/webmail2/index.php?"+session;
  }
}

{/literal}

</script>

<body>

<table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%">
<tr><td nowrap class="user" align="center">
  {$body|smarty:nodefaults}
</td></tr>
</table>


</body>
</html>
