<script language="JavaScript">
<!--
   // alert before session end
   var remainingseconds=@@@REMAININGSECONDS@@@;
   var msg="Dear @@@USEREMAIL@@@,<br><br>\n"+
           "You have been idle for a long time. "+
           "If no more action is taken, "+
           "this session will be ended within 60 seconds.";
   setTimeout("timeoutwarning()", (remainingseconds-65)*1000);

   function timeoutwarning () {
      var hWnd = window.open("","timeoutwarning","width=400,height=140,resizable=no,scrollbars=no");
      hWnd.document.write('<html><head><title>Warning! Open WebMail Session Timeout</title></head><body>\n');
      hWnd.document.write('<center><table width="90%" cellspacing="0" cellpadding="0" border="0"><tr><td><font size="-1" color="#dd0000"><b>\n');
      hWnd.document.write(msg);
      hWnd.document.write('</b></font></td></tr></table><br>\n');
      hWnd.document.write('<input type="button" NAME="OK" value=" ok " onclick="window.close();"/>\n');
      hWnd.document.write('<br><br>\n');
      hWnd.document.write('<script language="JavaScript">\n');
      hWnd.document.write('setTimeout("close()", 60*1000);\n');
      hWnd.document.write('</script>\n');
      hWnd.document.write('</body></html>\n');
      hWnd.focus();
   }

//-->
</script>

<p align="center"><font size="-1"><BR>
<a href="/openwebmail/openwebmail.html" target="_blank">Open WebMail</a> version @@@VERSION@@@<BR>
</FONT></P></BODY></HTML>
