<%BEGINNODATA%>
document.writeln("<TR><TD BGCOLOR=#f7f7e7 COLSPAN=5><CENTER><FONT FACE=\"ARIAL\" SIZE=2><I>No outstanding alerts to report</I></FONT></CENTER></TD></TR>");
<%ENDNODATA%>
<HTML><HEAD><META http-equiv="Content-Type" content="text/html"><TITLE><%USER%>: All outstanding alerts</TITLE>
<SCRIPT LANGUAGE="JavaScript">
<!--
var oldsev  = 0;
var oldnode = " ";
var oldname = " ";
var ttime   = " ";
var tmsg    = " ";

function PrintResults () {
  if (oldsev >= 100) {
     color     = "flag_gry";
     colortype = "Node down";
  } else {
    if (oldsev == 25) {
       color     = "flag_red";
       colortype = "Alert";
    } else {
      if (oldsev > 15) {
         color     = "flag_yel";
         colortype = "Warning";
      } else {
        color     = "flag_gre";
        colortype = "Clear";
      }
    }
  }

  document.writeln("<TR><TD BGCOLOR=#f7f7e7 VALIGN=\"top\"><IMG SRC=\""+color+".gif\" ALT=\""+colortype+"\" WIDTH=18 HEIGHT=24></TD>");
  document.write("<TD BGCOLOR=#f7f7e7 VALIGN=\"top\" NOWRAP><A NAME=\""+oldnode+"\"><FONT FACE=\"ARIAL\" SIZE=2>"+oldnode+"</FONT></A></TD>");
  document.write("<TD BGCOLOR=#f7f7e7 VALIGN=\"top\" NOWRAP><FONT FACE=\"ARIAL\" SIZE=2>"+oldname+"</FONT></TD>");
  document.write("<TD BGCOLOR=#f7f7e7 NOWRAP><FONT FACE=\"ARIAL\" SIZE=2>"+ttime+"</FONT></TD>");
  document.writeln("<TD BGCOLOR=#f7f7e7 NOWRAP><FONT FACE=\"ARIAL\" SIZE=2>"+tmsg+"</FONT></TD></TR>");
}

function ProcessRecord(sev, node, name, timestamp, message) {
  if (oldnode != node)  {
     if (oldnode != " ") {
        PrintResults();
     }
     oldsev   = sev;
     oldnode  = node;
     oldname  = " ";
  }

  if (oldname != name)  {
     if (oldname != " ") {
        PrintResults();
     }
     oldsev   = sev;
     oldname  = name;
     ttime    = " ";
     tmsg     = " ";
  }

  if (ttime == " ") {
     ttime = timestamp;
  } else {
    ttime = ttime + "<BR>" + timestamp;
  }

  if (tmsg == " ") {
     tmsg = message;
  } else {
    tmsg = tmsg + "<BR>" + message;
  }
}
// Hide -->
</SCRIPT>
</HEAD>
<BODY BGCOLOR="white">
<IMG align=top height=72 src="oem.gif" width=320><BR CLEAR="all">
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%"><TR>
  <TD align="left" bgColor=#336666 height=21 vAlign="top" width=9><IMG height=1 src="space.gif" width=1></TD>
  <TD align="left" bgColor=#336666 height=21 vAlign="top" width=20><IMG height=1 src="space.gif" width=1></TD>
  <TD align="left" bgColor=#336666 height=21><FONT color=#ffffff face="Arial, Helvetica, sans-serif" color=#ffffff size="+2"><B><%USER%>: All outstanding alerts</B></FONT></TD>
  <TD bgColor=#336666 height=21 align="right"><FONT color=#ffffff face="Arial, Helvetica, sans-serif" color=#ffffff><B><%CURRENTDATE%></B></FONT>&nbsp;</TD>
  <TD align="left" background="rhshadow.gif" vAlign="top" width=5><IMG height=1 src="space.gif" width=7></TD>
</TR><TR>
  <TD align="left" bgColor=#336666 height=16 vAlign=top width=9><IMG height=1 src="space.gif" width=1></TD>
  <TD align="left" bgColor=#336666 height=16 vAlign=top width=11><IMG height=1 src="space.gif" width=1></TD>
  <TD align="left" background="bot.gif" bgColor=#ffffff height=16 vAlign=top colspan=2><IMG align=top height=16 src="toparch.gif" width=26></TD>
  <TD align="left" height=16 vAlign="top" width=5><IMG height=8 src="rend.gif" width=8></TD>
</TR><TR>
  <TD align="right" height=8 vAlign="top" width=9><IMG height=8 src="lend.gif" width=10></TD>
  <TD align="right" background="bot.gif" height=8 vAlign=top width=11><IMG height=1 src="space.gif" width=1></TD>
  <TD align="left" bgColor=#ffffff height=8 vAlign=top width=2100 colspan=2><IMG height=8 src="archcorn.gif" width=6></TD>
  <TD align="right" height=8 vAlign=top width=5><IMG height=1 src="space.gif" width=1></TD>
</TR></TABLE><P>
<CENTER><TABLE BORDER cellPadding=4>
<TH BGCOLOR=#cccc99><FONT FACE="ARIAL" COLOR="#336699" SIZE=2><B>Sev</B></FONT></TH>
<TH BGCOLOR=#cccc99><FONT FACE="ARIAL" COLOR="#336699" SIZE=2><B>Database Name</B></FONT></TH>
<TH BGCOLOR=#cccc99><FONT FACE="ARIAL" COLOR="#336699" SIZE=2><B>Active events</B></FONT></TH>
<TH BGCOLOR=#cccc99><FONT FACE="ARIAL" COLOR="#336699" SIZE=2><B>Timestamp</B></FONT></TH>
<TH BGCOLOR=#cccc99><FONT FACE="ARIAL" COLOR="#336699" SIZE=2><B>Message</B></FONT></TH>
<SCRIPT>
<!--
<%BEGINDETAIL%>
ProcessRecord(<%1%>,"<%2%>","<%3%>","<%4%>","<%5%>");
<%ENDDETAIL%>
if (oldnode != " ") { PrintResults(); }
// Hide -->
</SCRIPT>
</TABLE></CENTER>

<P><TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
<TR><TD background="space.gif" align="left" vAlign="bottom" width=2100><IMG height=1 src="space.gif" width=1></TD><TD background="space.gif" align="left" vAlign="top"    width=60><DIV align=right><IMG height=18 src="btailtop.gif" width=45></DIV></TD><TD align="left" background="rhshadow.gif" height=18 vAlign=center width=5><IMG height=1 src="space.gif" width=1></TD></TR>
<TR><TD align="left" bgColor=#336666 height=15 vAlign="center"><IMG height=1 src="space.gif" width=1></TD><TD align="left" bgColor=#336666 height=15 vAlign="center" width=60><IMG height=1 src="space.gif" width=1></TD><TD align="left" background="rhshadow.gif" height=15 vAlign=center width=5><IMG height=1 src="space.gif" width=1></TD></TR>
<TR><TD align="left" background="bot.gif" vAlign="top"><IMG height=8 src="lend.gif" width=10></TD><TD align="left" background="bot.gif" height=10 vAlign=top width=60>&nbsp;</TD><TD align="left" vAlign="top" width=5><IMG height=10 src="rend.gif"></TD></TR>
</TABLE>
<TABLE><TR><TD><A HREF="index.htm"><B>HOME</B></A></TD><TD><B>&lt;</B></TD><TD><A HREF="setup.htm"><B>SETUP</B></A></TD></TR></TABLE>
</BODY></HTML>
