package jsp;

import com.sun.jade.web.util.BreadCrumbBean;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;


public class alarms extends HttpJspBase {


    static {
    }
    public alarms( ) {
    }

    private static boolean _jspx_inited = false;

    public final void _jspx_init() throws org.apache.jasper.runtime.JspException {
    }

    public void _jspService(HttpServletRequest request, HttpServletResponse  response)
        throws java.io.IOException, ServletException {

        JspFactory _jspxFactory = null;
        PageContext pageContext = null;
        HttpSession session = null;
        ServletContext application = null;
        ServletConfig config = null;
        JspWriter out = null;
        Object page = this;
        String  _value = null;
        try {

            if (_jspx_inited == false) {
                synchronized (this) {
                    if (_jspx_inited == false) {
                        _jspx_init();
                        _jspx_inited = true;
                    }
                }
            }
            _jspxFactory = JspFactory.getDefaultFactory();
            response.setContentType("text/html;charset=UTF-8");
            pageContext = _jspxFactory.getPageContext(this, request, response,
			"", true, 8192, true);

            application = pageContext.getServletContext();
            config = pageContext.getServletConfig();
            session = pageContext.getSession();
            out = pageContext.getOut();

            // HTML // begin [file="/jsp/alarms.jsp";from=(7,6);to=(9,0)]
                out.write("\r\n\r\n");

            // end
            // HTML // begin [file="/jsp/alarms.jsp";from=(9,65);to=(10,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/jsp/alarms.jsp";from=(10,54);to=(11,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/jsp/alarms.jsp";from=(11,66);to=(12,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/jsp/alarms.jsp";from=(12,63);to=(13,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/jsp/alarms.jsp";from=(13,63);to=(14,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/jsp/alarms.jsp";from=(14,65);to=(15,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/jsp/alarms.jsp";from=(15,66);to=(16,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/jsp/alarms.jsp";from=(16,57);to=(18,0)]
                out.write("\r\n\r\n");

            // end
            // begin [file="/jsp/alarms.jsp";from=(18,0);to=(18,25)]
                /* ----  html:html ---- */
                org.apache.struts.taglib.html.HtmlTag _jspx_th_html_html_0 = new org.apache.struts.taglib.html.HtmlTag();
                _jspx_th_html_html_0.setPageContext(pageContext);
                _jspx_th_html_html_0.setParent(null);
                _jspx_th_html_html_0.setLocale(true);
                try {
                    int _jspx_eval_html_html_0 = _jspx_th_html_html_0.doStartTag();
                    if (_jspx_eval_html_html_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                        throw new JspTagException("Since tag handler class org.apache.struts.taglib.html.HtmlTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                    if (_jspx_eval_html_html_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                        do {
                        // end
                        // HTML // begin [file="/jsp/alarms.jsp";from=(18,25);to=(37,15)]
                            out.write("\r\n\r\n<script language=\"JavaScript1.2\" src=\"../js/checkbox.js\">\r\n</script>\r\n<script language=\"JavaScript1.2\" src=\"../js/util.js\">\r\n</script>\r\n\r\n\r\n<script language=\"JavaScript\">\r\n\r\n  function LinkUpForSearch(theForm) {\r\n          document.eventListForm.submitControl.value = \"Search\";\r\n          document.eventListForm.submit();\r\n  }\r\n\r\n  function validate() {\r\n    ret = numOfChecked(document.eventListForm, \"id\");\r\n    if(document.eventListForm.submitControl.value == \"Ack\") {\r\n      if (ret[0] == 0) {\r\n        alert('");

                        // end
                        // begin [file="/jsp/alarms.jsp";from=(37,15);to=(37,70)]
                            /* ----  bean:message ---- */
                            org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_0 = new org.apache.struts.taglib.bean.MessageTag();
                            _jspx_th_bean_message_0.setPageContext(pageContext);
                            _jspx_th_bean_message_0.setParent(_jspx_th_html_html_0);
                            _jspx_th_bean_message_0.setKey("note.atLeastOneAlarmToAcknowledge");
                            try {
                              int _jspx_eval_bean_message_0 = _jspx_th_bean_message_0.doStartTag();
                              if (_jspx_eval_bean_message_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                              throw new JspTagException("Since tag handler class org.apache.struts.taglib.bean.MessageTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                          if (_jspx_eval_bean_message_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                              do {
                          // end
                          // begin [file="/jsp/alarms.jsp";from=(37,15);to=(37,70)]
                          } while (_jspx_th_bean_message_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      }
                      if (_jspx_th_bean_message_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                          return;
                  } finally {
                      _jspx_th_bean_message_0.release();
                  }
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(37,70);to=(63,0)]
                  out.write("');\r\n        return false;\r\n      }   \r\n    }\r\n\r\n    return true;\r\n   }\r\n   \r\n   function sort(sortedProp, sortRule, tableIndex) {\r\n      document.eventListForm.sortedProperty.value = sortedProp;\r\n      document.eventListForm.sortRule.value   = sortRule;\r\n      document.eventListForm.submit();\r\n   }\r\n\r\n   function direction(dir) {\r\n    document.eventListForm.Direction.value = dir;\r\n    document.eventListForm.submitControl.value = \"Direction\";\r\n    document.eventListForm.submit();\r\n   }\r\n   function go() {\r\n    document.eventListForm.submitControl.value = \"Go\";\t\t\r\n    document.eventListForm.submit();\r\n   }\r\n</script>\r\n\r\n\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(63,0);to=(63,19)]
                  /* ----  app:contentState ---- */
                  com.sun.jade.web.tags.SourceContentTag _jspx_th_app_contentState_0 = new com.sun.jade.web.tags.SourceContentTag();
                  _jspx_th_app_contentState_0.setPageContext(pageContext);
                  _jspx_th_app_contentState_0.setParent(_jspx_th_html_html_0);
                  try {
                      int _jspx_eval_app_contentState_0 = _jspx_th_app_contentState_0.doStartTag();
                      if (_jspx_eval_app_contentState_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                          throw new JspTagException("Since tag handler class com.sun.jade.web.tags.SourceContentTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                      if (_jspx_eval_app_contentState_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                          do {
                          // end
                          // begin [file="/jsp/alarms.jsp";from=(63,0);to=(63,19)]
                          } while (_jspx_th_app_contentState_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      }
                      if (_jspx_th_app_contentState_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                          return;
                  } finally {
                      _jspx_th_app_contentState_0.release();
                  }
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(63,19);to=(64,0)]
                  out.write("\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(64,0);to=(64,31)]
                  /* ----  app:eventState ---- */
                  com.sun.jade.web.tags.EventStateTag _jspx_th_app_eventState_0 = new com.sun.jade.web.tags.EventStateTag();
                  _jspx_th_app_eventState_0.setPageContext(pageContext);
                  _jspx_th_app_eventState_0.setParent(_jspx_th_html_html_0);
                  _jspx_th_app_eventState_0.setMode("alarms");
                  try {
                      int _jspx_eval_app_eventState_0 = _jspx_th_app_eventState_0.doStartTag();
                      if (_jspx_eval_app_eventState_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                          throw new JspTagException("Since tag handler class com.sun.jade.web.tags.EventStateTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                      if (_jspx_eval_app_eventState_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                          do {
                          // end
                          // begin [file="/jsp/alarms.jsp";from=(64,0);to=(64,31)]
                          } while (_jspx_th_app_eventState_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      }
                      if (_jspx_th_app_eventState_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                          return;
                  } finally {
                      _jspx_th_app_eventState_0.release();
                  }
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(64,31);to=(66,0)]
                  out.write("\r\n\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(66,0);to=(66,29)]
                  /* ----  app:eventLog ---- */
                  com.sun.jade.web.tags.EventLogTag _jspx_th_app_eventLog_0 = new com.sun.jade.web.tags.EventLogTag();
                  _jspx_th_app_eventLog_0.setPageContext(pageContext);
                  _jspx_th_app_eventLog_0.setParent(_jspx_th_html_html_0);
                  _jspx_th_app_eventLog_0.setMode("alarms");
                  try {
                      int _jspx_eval_app_eventLog_0 = _jspx_th_app_eventLog_0.doStartTag();
                      if (_jspx_eval_app_eventLog_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                          throw new JspTagException("Since tag handler class com.sun.jade.web.tags.EventLogTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                      if (_jspx_eval_app_eventLog_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                          do {
                          // end
                          // begin [file="/jsp/alarms.jsp";from=(66,0);to=(66,29)]
                          } while (_jspx_th_app_eventLog_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      }
                      if (_jspx_th_app_eventLog_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                          return;
                  } finally {
                      _jspx_th_app_eventLog_0.release();
                  }
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(66,29);to=(67,0)]
                  out.write("\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(67,2);to=(74,0)]
                   
                     String sortedProperty = request.getParameter("sortedProperty");
                     String sortRule = request.getParameter("sortRule");
                     String severity = request.getParameter("Severity");
                     if(sortedProperty == null) sortedProperty = "severity";
                     if(sortRule == null) sortRule = "desc";
                     if(severity == null) severity = "all";
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(74,2);to=(77,0)]
                  out.write("\r\n\r\n\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(77,0);to=(77,17)]
                  /* ----  app:sortOption ---- */
                  com.sun.jade.web.tags.SortOptionTag _jspx_th_app_sortOption_0 = new com.sun.jade.web.tags.SortOptionTag();
                  _jspx_th_app_sortOption_0.setPageContext(pageContext);
                  _jspx_th_app_sortOption_0.setParent(_jspx_th_html_html_0);
                  try {
                      int _jspx_eval_app_sortOption_0 = _jspx_th_app_sortOption_0.doStartTag();
                      if (_jspx_eval_app_sortOption_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                          throw new JspTagException("Since tag handler class com.sun.jade.web.tags.SortOptionTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                      if (_jspx_eval_app_sortOption_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                          do {
                          // end
                          // begin [file="/jsp/alarms.jsp";from=(77,0);to=(77,17)]
                          } while (_jspx_th_app_sortOption_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      }
                      if (_jspx_th_app_sortOption_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                          return;
                  } finally {
                      _jspx_th_app_sortOption_0.release();
                  }
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(77,17);to=(78,0)]
                  out.write("\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(78,0);to=(78,75)]
                  JspRuntimeLibrary.introspecthelper(pageContext.findAttribute("sortOption"), "beanListName","events",null,null, false);
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(78,75);to=(79,0)]
                  out.write("\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(79,0);to=(79,105)]
                  JspRuntimeLibrary.introspecthelper(pageContext.findAttribute("sortOption"), "beanClassName","com.sun.jade.web.notification.Event",null,null, false);
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(79,105);to=(80,0)]
                  out.write("\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(80,0);to=(80,139)]
                  JspRuntimeLibrary.introspecthelper(pageContext.findAttribute("sortOption"), "propertyList","severity,sourceTime,isCleared,device,deviceType,topic,shortDescription",null,null, false);
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(80,139);to=(81,0)]
                  out.write("\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(81,0);to=(81,90)]
                  JspRuntimeLibrary.handleSetProperty(pageContext.findAttribute("sortOption"), "sortedProperty",sortedProperty);
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(81,90);to=(82,0)]
                  out.write("\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(82,0);to=(82,78)]
                  JspRuntimeLibrary.handleSetProperty(pageContext.findAttribute("sortOption"), "sortRule",sortRule);
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(82,78);to=(83,0)]
                  out.write("\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(83,0);to=(83,11)]
                  /* ----  app:sort ---- */
                  com.sun.jade.web.tags.SortTag _jspx_th_app_sort_0 = new com.sun.jade.web.tags.SortTag();
                  _jspx_th_app_sort_0.setPageContext(pageContext);
                  _jspx_th_app_sort_0.setParent(_jspx_th_html_html_0);
                  try {
                      int _jspx_eval_app_sort_0 = _jspx_th_app_sort_0.doStartTag();
                      if (_jspx_eval_app_sort_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                          throw new JspTagException("Since tag handler class com.sun.jade.web.tags.SortTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                      if (_jspx_eval_app_sort_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                          do {
                          // end
                          // begin [file="/jsp/alarms.jsp";from=(83,0);to=(83,11)]
                          } while (_jspx_th_app_sort_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      }
                      if (_jspx_th_app_sort_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                          return;
                  } finally {
                      _jspx_th_app_sort_0.release();
                  }
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(83,11);to=(86,0)]
                  out.write("\r\n\r\n \r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(86,2);to=(101,0)]
                   
                     String mode = com.sun.jade.web.util.ElementFinder.getMode(request);
                     String category = com.sun.jade.web.util.ElementFinder.getCategory(request);
                     String OID = com.sun.jade.web.util.ElementFinder.getOID(request);
                     String deviceType = request.getParameter("Device");
                     String topic = request.getParameter("Topic");
                     String closedAlarm    = request.getParameter("closedAlarm");
                     String openAlarm      = request.getParameter("openAlarm");
                     String ackedAlarm     = request.getParameter("ackedAlarm");
                     String unackedAlarm   = request.getParameter("unackedAlarm");
                  
                     if(closedAlarm == null) closedAlarm = (String) session.getAttribute("closedAlarmState");
                     if(openAlarm == null) openAlarm = (String) session.getAttribute("openAlarmState");
                     if(ackedAlarm == null) ackedAlarm = (String) session.getAttribute("ackedAlarmState");
                     if(unackedAlarm == null) unackedAlarm = (String) session.getAttribute("unackedAlarmState");
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(101,2);to=(103,0)]
                  out.write("\r\n\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(103,0);to=(103,32)]
                  {
                      String _jspx_qStr = "";
                      JspRuntimeLibrary.include(request, response, "header.jsp" + _jspx_qStr, out, false);
                  }
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(103,32);to=(107,2)]
                  out.write("\r\n\r\n<body bgcolor=\"#FFFFFF\" leftmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" topmargin=\"0\">\r\n\r\n  ");

              // end
              // begin [file="/jsp/alarms.jsp";from=(107,2);to=(110,16)]
                  {
                      String _jspx_qStr = "";
                      _jspx_qStr = _jspx_qStr + "?category=" + "alarms";
                      _jspx_qStr = _jspx_qStr + "&subCategory=" + severity;
                      JspRuntimeLibrary.include(request, response, "masthead.jsp" + _jspx_qStr, out, false);
                  }
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(110,16);to=(113,0)]
                  out.write("\r\n\r\n\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(113,2);to=(113,31)]
                   if("Device".equals(mode)) { 
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(113,33);to=(115,0)]
                  out.write("\r\n\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(115,0);to=(115,17)]
                  /* ----  app:breadCrumb ---- */
                  com.sun.jade.web.tags.BreadCrumbTag _jspx_th_app_breadCrumb_0 = new com.sun.jade.web.tags.BreadCrumbTag();
                  _jspx_th_app_breadCrumb_0.setPageContext(pageContext);
                  _jspx_th_app_breadCrumb_0.setParent(_jspx_th_html_html_0);
                  try {
                      int _jspx_eval_app_breadCrumb_0 = _jspx_th_app_breadCrumb_0.doStartTag();
                      if (_jspx_eval_app_breadCrumb_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                          throw new JspTagException("Since tag handler class com.sun.jade.web.tags.BreadCrumbTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                      if (_jspx_eval_app_breadCrumb_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                          do {
                          // end
                          // begin [file="/jsp/alarms.jsp";from=(115,0);to=(115,17)]
                          } while (_jspx_th_app_breadCrumb_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      }
                      if (_jspx_th_app_breadCrumb_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                          return;
                  } finally {
                      _jspx_th_app_breadCrumb_0.release();
                  }
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(115,17);to=(117,0)]
                  out.write("\r\n\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(117,2);to=(117,5)]
                   } 
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(117,7);to=(118,0)]
                  out.write("\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(118,2);to=(153,0)]
                  
                      java.util.ArrayList breadCrumb = new java.util.ArrayList();
                  
                      if("Device".equals(mode)) {
                          BreadCrumbBean bcb1 = new BreadCrumbBean();	
                          BreadCrumbBean bcb2 = new BreadCrumbBean();		
                          bcb1.setDisplayName("allDevices");
                          bcb1.setLink("/jade/jsp/alarms.jsp?useEventState=no&mode=Summary");
                          breadCrumb.add(bcb1);
                          bcb2.setDisplayName(category);
                          bcb2.setLink("/jade/jsp/alarms.jsp?useEventState=no&mode=Category&category=" + category);
                          breadCrumb.add(bcb2);
                      
                          java.util.ArrayList breadCrumb_dev = (java.util.ArrayList) pageContext.getAttribute("BreadCrumbBeanList");
                          for( int i = 0; i < breadCrumb_dev.size() - 1; i ++ ) {
                             BreadCrumbBean bcb_dev = (BreadCrumbBean)breadCrumb_dev.get(i);
                             bcb_dev.setLink("/jade/jsp/alarms.jsp?useEventState=no&mode=Device&OID=" + bcb_dev.getOidName());
                             breadCrumb.add(bcb_dev);
                          }
                          breadCrumb.add(breadCrumb_dev.get(breadCrumb_dev.size()-1));
                      } else if("Domain".equals(mode) || "Summary".equals(mode)) {
                  	BreadCrumbBean bcb1 = new BreadCrumbBean();		
                          bcb1.setDisplayName("allDevices");
                          breadCrumb.add(bcb1);
                      } else if("Category".equals(mode)) {
                  	BreadCrumbBean bcb1 = new BreadCrumbBean();	
                          BreadCrumbBean bcb2 = new BreadCrumbBean();		
                          bcb1.setDisplayName("allDevices");
                          bcb1.setLink("/jade/jsp/alarms.jsp?useEventState=no&mode=Summary");
                          breadCrumb.add(bcb1);
                          bcb2.setDisplayName(category);
                          breadCrumb.add(bcb2);
                      }
                  
                      pageContext.setAttribute("breadCrumbBeanList",breadCrumb);
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(153,2);to=(155,0)]
                  out.write("\r\n\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(155,0);to=(155,60)]
                  /* ----  component:breadCrumb ---- */
                  com.sun.jade.web.component.BreadCrumbTag _jspx_th_component_breadCrumb_0 = new com.sun.jade.web.component.BreadCrumbTag();
                  _jspx_th_component_breadCrumb_0.setPageContext(pageContext);
                  _jspx_th_component_breadCrumb_0.setParent(_jspx_th_html_html_0);
                  _jspx_th_component_breadCrumb_0.setBeanListName("breadCrumbBeanList");
                  try {
                      int _jspx_eval_component_breadCrumb_0 = _jspx_th_component_breadCrumb_0.doStartTag();
                      if (_jspx_eval_component_breadCrumb_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                          throw new JspTagException("Since tag handler class com.sun.jade.web.component.BreadCrumbTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                      if (_jspx_eval_component_breadCrumb_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                          do {
                          // end
                          // begin [file="/jsp/alarms.jsp";from=(155,0);to=(155,60)]
                          } while (_jspx_th_component_breadCrumb_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      }
                      if (_jspx_th_component_breadCrumb_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                          return;
                  } finally {
                      _jspx_th_component_breadCrumb_0.release();
                  }
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(155,60);to=(160,38)]
                  out.write("\r\n\r\n<form name=\"eventListForm\" method=POST>\r\n<input type=hidden name=\"submitControl\" value=\"\">\r\n\r\n<input type=hidden name=\"mode\" value=\"");

              // end
              // begin [file="/jsp/alarms.jsp";from=(160,41);to=(160,45)]
                  out.print(mode);
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(160,47);to=(161,42)]
                  out.write("\">\r\n<input type=hidden name=\"category\" value=\"");

              // end
              // begin [file="/jsp/alarms.jsp";from=(161,45);to=(161,53)]
                  out.print(category);
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(161,55);to=(162,37)]
                  out.write("\">\r\n<input type=hidden name=\"OID\" value=\"");

              // end
              // begin [file="/jsp/alarms.jsp";from=(162,40);to=(162,43)]
                  out.print(OID);
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(162,45);to=(163,0)]
                  out.write("\">\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(163,2);to=(163,26)]
                   if(severity != null) { 
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(163,28);to=(164,42)]
                  out.write("\r\n<input type=hidden name=\"Severity\" value=\"");

              // end
              // begin [file="/jsp/alarms.jsp";from=(164,45);to=(164,53)]
                  out.print(severity);
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(164,55);to=(165,0)]
                  out.write("\">\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(165,2);to=(165,5)]
                   } 
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(165,7);to=(166,0)]
                  out.write("\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(166,2);to=(166,28)]
                   if(deviceType != null) { 
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(166,30);to=(167,40)]
                  out.write("\r\n<input type=hidden name=\"Device\" value=\"");

              // end
              // begin [file="/jsp/alarms.jsp";from=(167,43);to=(167,53)]
                  out.print(deviceType);
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(167,55);to=(168,0)]
                  out.write("\">\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(168,2);to=(168,5)]
                   } 
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(168,7);to=(169,0)]
                  out.write("\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(169,2);to=(169,23)]
                   if(topic != null) { 
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(169,25);to=(170,39)]
                  out.write("\r\n<input type=hidden name=\"Topic\" value=\"");

              // end
              // begin [file="/jsp/alarms.jsp";from=(170,42);to=(170,47)]
                  out.print(topic);
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(170,49);to=(171,0)]
                  out.write("\">\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(171,2);to=(171,5)]
                   } 
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(171,7);to=(173,43)]
                  out.write("\r\n\r\n<input type=hidden name=\"OldNumber\" value=\"");

              // end
              // begin [file="/jsp/alarms.jsp";from=(173,43);to=(173,81)]
                  /* ----  bean:write ---- */
                  org.apache.struts.taglib.bean.WriteTag _jspx_th_bean_write_0 = new org.apache.struts.taglib.bean.WriteTag();
                  _jspx_th_bean_write_0.setPageContext(pageContext);
                  _jspx_th_bean_write_0.setParent(_jspx_th_html_html_0);
                  _jspx_th_bean_write_0.setName("currentPageNumber");
                  try {
                      int _jspx_eval_bean_write_0 = _jspx_th_bean_write_0.doStartTag();
                      if (_jspx_eval_bean_write_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                          throw new JspTagException("Since tag handler class org.apache.struts.taglib.bean.WriteTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                      if (_jspx_eval_bean_write_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                          do {
                          // end
                          // begin [file="/jsp/alarms.jsp";from=(173,43);to=(173,81)]
                          } while (_jspx_th_bean_write_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      }
                      if (_jspx_th_bean_write_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                          return;
                  } finally {
                      _jspx_th_bean_write_0.release();
                  }
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(173,81);to=(175,0)]
                  out.write("\">\r\n\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(175,2);to=(175,29)]
                   if(closedAlarm != null) { 
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(175,31);to=(176,45)]
                  out.write("\r\n<input type=hidden name=\"closedAlarm\" value=\"");

              // end
              // begin [file="/jsp/alarms.jsp";from=(176,48);to=(176,59)]
                  out.print(closedAlarm);
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(176,61);to=(177,0)]
                  out.write("\">\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(177,2);to=(177,5)]
                   } 
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(177,7);to=(178,0)]
                  out.write("\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(178,2);to=(178,27)]
                   if(openAlarm != null) { 
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(178,29);to=(179,43)]
                  out.write("\r\n<input type=hidden name=\"openAlarm\" value=\"");

              // end
              // begin [file="/jsp/alarms.jsp";from=(179,46);to=(179,55)]
                  out.print(openAlarm);
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(179,57);to=(180,0)]
                  out.write("\">\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(180,2);to=(180,5)]
                   } 
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(180,7);to=(181,0)]
                  out.write("\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(181,2);to=(181,28)]
                   if(ackedAlarm != null) { 
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(181,30);to=(182,44)]
                  out.write("\r\n<input type=hidden name=\"ackedAlarm\" value=\"");

              // end
              // begin [file="/jsp/alarms.jsp";from=(182,47);to=(182,57)]
                  out.print(ackedAlarm);
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(182,59);to=(183,0)]
                  out.write("\">\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(183,2);to=(183,5)]
                   } 
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(183,7);to=(184,0)]
                  out.write("\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(184,2);to=(184,30)]
                   if(unackedAlarm != null) { 
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(184,32);to=(185,46)]
                  out.write("\r\n<input type=hidden name=\"unackedAlarm\" value=\"");

              // end
              // begin [file="/jsp/alarms.jsp";from=(185,49);to=(185,61)]
                  out.print(unackedAlarm);
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(185,63);to=(186,0)]
                  out.write("\">\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(186,2);to=(186,5)]
                   } 
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(186,7);to=(187,0)]
                  out.write("\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(187,2);to=(187,32)]
                   if(sortedProperty != null) { 
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(187,34);to=(188,48)]
                  out.write("\r\n<input type=hidden name=\"sortedProperty\" value=\"");

              // end
              // begin [file="/jsp/alarms.jsp";from=(188,51);to=(188,65)]
                  out.print(sortedProperty);
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(188,67);to=(189,0)]
                  out.write("\">\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(189,2);to=(189,5)]
                   } 
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(189,7);to=(190,0)]
                  out.write("\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(190,2);to=(190,26)]
                   if(sortRule != null) { 
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(190,28);to=(191,42)]
                  out.write("\r\n<input type=hidden name=\"sortRule\" value=\"");

              // end
              // begin [file="/jsp/alarms.jsp";from=(191,45);to=(191,53)]
                  out.print(sortRule);
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(191,55);to=(192,0)]
                  out.write("\">\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(192,2);to=(192,5)]
                   } 
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(192,7);to=(199,0)]
                  out.write("\r\n<input type=hidden name=\"Direction\" value=\"no\">\r\n\r\n<DIV class=\"content-layout\">\r\n<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n<tr><td>\r\n\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(199,0);to=(199,33)]
                  /* ----  component:bigHorizontalSpacer ---- */
                  com.sun.jade.web.component.BigHorizontalSpacer _jspx_th_component_bigHorizontalSpacer_0 = new com.sun.jade.web.component.BigHorizontalSpacer();
                  _jspx_th_component_bigHorizontalSpacer_0.setPageContext(pageContext);
                  _jspx_th_component_bigHorizontalSpacer_0.setParent(_jspx_th_html_html_0);
                  try {
                      int _jspx_eval_component_bigHorizontalSpacer_0 = _jspx_th_component_bigHorizontalSpacer_0.doStartTag();
                      if (_jspx_eval_component_bigHorizontalSpacer_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                          throw new JspTagException("Since tag handler class com.sun.jade.web.component.BigHorizontalSpacer does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                      if (_jspx_eval_component_bigHorizontalSpacer_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                          do {
                          // end
                          // begin [file="/jsp/alarms.jsp";from=(199,0);to=(199,33)]
                          } while (_jspx_th_component_bigHorizontalSpacer_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      }
                      if (_jspx_th_component_bigHorizontalSpacer_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                          return;
                  } finally {
                      _jspx_th_component_bigHorizontalSpacer_0.release();
                  }
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(199,33);to=(200,30)]
                  out.write("\r\n<div class=\"table-title-text\">");

              // end
              // begin [file="/jsp/alarms.jsp";from=(200,30);to=(200,67)]
                  /* ----  bean:message ---- */
                  org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_1 = new org.apache.struts.taglib.bean.MessageTag();
                  _jspx_th_bean_message_1.setPageContext(pageContext);
                  _jspx_th_bean_message_1.setParent(_jspx_th_html_html_0);
                  _jspx_th_bean_message_1.setKey("title.alarmList");
                  try {
                      int _jspx_eval_bean_message_1 = _jspx_th_bean_message_1.doStartTag();
                      if (_jspx_eval_bean_message_1 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                          throw new JspTagException("Since tag handler class org.apache.struts.taglib.bean.MessageTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                      if (_jspx_eval_bean_message_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                          do {
                          // end
                          // begin [file="/jsp/alarms.jsp";from=(200,30);to=(200,67)]
                          } while (_jspx_th_bean_message_1.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      }
                      if (_jspx_th_bean_message_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                          return;
                  } finally {
                      _jspx_th_bean_message_1.release();
                  }
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(200,67);to=(201,0)]
                  out.write("</div>\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(201,0);to=(201,35)]
                  /* ----  component:smallHorizontalSpacer ---- */
                  com.sun.jade.web.component.SmallHorizontalSpacer _jspx_th_component_smallHorizontalSpacer_0 = new com.sun.jade.web.component.SmallHorizontalSpacer();
                  _jspx_th_component_smallHorizontalSpacer_0.setPageContext(pageContext);
                  _jspx_th_component_smallHorizontalSpacer_0.setParent(_jspx_th_html_html_0);
                  try {
                      int _jspx_eval_component_smallHorizontalSpacer_0 = _jspx_th_component_smallHorizontalSpacer_0.doStartTag();
                      if (_jspx_eval_component_smallHorizontalSpacer_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                          throw new JspTagException("Since tag handler class com.sun.jade.web.component.SmallHorizontalSpacer does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                      if (_jspx_eval_component_smallHorizontalSpacer_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                          do {
                          // end
                          // begin [file="/jsp/alarms.jsp";from=(201,0);to=(201,35)]
                          } while (_jspx_th_component_smallHorizontalSpacer_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      }
                      if (_jspx_th_component_smallHorizontalSpacer_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                          return;
                  } finally {
                      _jspx_th_component_smallHorizontalSpacer_0.release();
                  }
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(201,35);to=(206,0)]
                  out.write("\r\n\r\n<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n<tr>\r\n<td>\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(206,0);to=(208,102)]
                  /* ----  component:buttonGroup ---- */
                  com.sun.jade.web.component.ButtonGroupTag _jspx_th_component_buttonGroup_0 = new com.sun.jade.web.component.ButtonGroupTag();
                  _jspx_th_component_buttonGroup_0.setPageContext(pageContext);
                  _jspx_th_component_buttonGroup_0.setParent(_jspx_th_html_html_0);
                  _jspx_th_component_buttonGroup_0.setFormName("eventListForm");
                  _jspx_th_component_buttonGroup_0.setButtonNames("button.acknowledge");
                  _jspx_th_component_buttonGroup_0.setButtonValues("Ack");
                  _jspx_th_component_buttonGroup_0.setButtonChecks("no");
                  _jspx_th_component_buttonGroup_0.setControlName("submitControl");
                  _jspx_th_component_buttonGroup_0.setValidateFunction("validate");
                  _jspx_th_component_buttonGroup_0.setButtonType("mini");
                  _jspx_th_component_buttonGroup_0.setButtonGroupIndex("0");
                  try {
                      int _jspx_eval_component_buttonGroup_0 = _jspx_th_component_buttonGroup_0.doStartTag();
                      if (_jspx_eval_component_buttonGroup_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                          throw new JspTagException("Since tag handler class com.sun.jade.web.component.ButtonGroupTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                      if (_jspx_eval_component_buttonGroup_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                          do {
                          // end
                          // begin [file="/jsp/alarms.jsp";from=(206,0);to=(208,102)]
                          } while (_jspx_th_component_buttonGroup_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      }
                      if (_jspx_th_component_buttonGroup_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                          return;
                  } finally {
                      _jspx_th_component_buttonGroup_0.release();
                  }
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(208,102);to=(215,2)]
                  out.write("\r\n</td>\r\n<td>\r\n<IMG src=\"../images/dividerbar.gif\" alt=\"Divider Bar\" border=\"0\" align=\"ABSMIDDLE\">\r\n</td>\r\n\r\n<td>\r\n  ");

              // end
              // begin [file="/jsp/alarms.jsp";from=(215,4);to=(219,3)]
                  
                       String context = (String)pageContext.getAttribute("pageContext");
                       String link = "/jade/jsp/alarmFilter.jsp?" + context;
                       String scriptLink = "javascript:openNewWindow(\'" + link + "\',\'alarmFilter\',\'width=540,height=420,resizable\')"; 
                     
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(219,5);to=(221,8)]
                  out.write("\r\n\r\n<A href=");

              // end
              // begin [file="/jsp/alarms.jsp";from=(221,11);to=(221,21)]
                  out.print(scriptLink);
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(221,23);to=(224,3)]
                  out.write("><IMG src=\"../images/filter.gif\" alt=\"Open Table Filter in a New Window\" border=\"0\" align=\"ABSMIDDLE\"></A>\r\n</td>\r\n<td>\r\n   ");

              // end
              // begin [file="/jsp/alarms.jsp";from=(224,3);to=(224,48)]
                  /* ----  bean:write ---- */
                  org.apache.struts.taglib.bean.WriteTag _jspx_th_bean_write_1 = new org.apache.struts.taglib.bean.WriteTag();
                  _jspx_th_bean_write_1.setPageContext(pageContext);
                  _jspx_th_bean_write_1.setParent(_jspx_th_html_html_0);
                  _jspx_th_bean_write_1.setName("filterStr");
                  _jspx_th_bean_write_1.setFilter(false);
                  try {
                      int _jspx_eval_bean_write_1 = _jspx_th_bean_write_1.doStartTag();
                      if (_jspx_eval_bean_write_1 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                          throw new JspTagException("Since tag handler class org.apache.struts.taglib.bean.WriteTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                      if (_jspx_eval_bean_write_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                          do {
                          // end
                          // begin [file="/jsp/alarms.jsp";from=(224,3);to=(224,48)]
                          } while (_jspx_th_bean_write_1.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      }
                      if (_jspx_th_bean_write_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                          return;
                  } finally {
                      _jspx_th_bean_write_1.release();
                  }
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(224,48);to=(229,0)]
                  out.write("\t\r\n</td>\r\n</tr>\r\n</table>\r\n\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(229,0);to=(229,35)]
                  /* ----  component:smallHorizontalSpacer ---- */
                  com.sun.jade.web.component.SmallHorizontalSpacer _jspx_th_component_smallHorizontalSpacer_1 = new com.sun.jade.web.component.SmallHorizontalSpacer();
                  _jspx_th_component_smallHorizontalSpacer_1.setPageContext(pageContext);
                  _jspx_th_component_smallHorizontalSpacer_1.setParent(_jspx_th_html_html_0);
                  try {
                      int _jspx_eval_component_smallHorizontalSpacer_1 = _jspx_th_component_smallHorizontalSpacer_1.doStartTag();
                      if (_jspx_eval_component_smallHorizontalSpacer_1 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                          throw new JspTagException("Since tag handler class com.sun.jade.web.component.SmallHorizontalSpacer does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                      if (_jspx_eval_component_smallHorizontalSpacer_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                          do {
                          // end
                          // begin [file="/jsp/alarms.jsp";from=(229,0);to=(229,35)]
                          } while (_jspx_th_component_smallHorizontalSpacer_1.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      }
                      if (_jspx_th_component_smallHorizontalSpacer_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                          return;
                  } finally {
                      _jspx_th_component_smallHorizontalSpacer_1.release();
                  }
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(229,35);to=(230,0)]
                  out.write("\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(230,0);to=(239,73)]
                  /* ----  component:table ---- */
                  com.sun.jade.web.component.TableTag _jspx_th_component_table_0 = new com.sun.jade.web.component.TableTag();
                  _jspx_th_component_table_0.setPageContext(pageContext);
                  _jspx_th_component_table_0.setParent(_jspx_th_html_html_0);
                  _jspx_th_component_table_0.setPropertyList("severityIcon,date,clearIcon,device,deviceType,topic,shortDescriptionWithLinkForAlarm");
                  _jspx_th_component_table_0.setCategoryList("header.severity,header.date,header.state,header.device,header.deviceType,header.topic,header.description");
                  _jspx_th_component_table_0.setBeanListName("events");
                  _jspx_th_component_table_0.setBeanClassName("com.sun.jade.web.notification.Event");
                  _jspx_th_component_table_0.setHasSort("yes");
                  _jspx_th_component_table_0.setWidth("100%");
                  _jspx_th_component_table_0.setHasCheckbox("yes");
                  _jspx_th_component_table_0.setCheckboxName("id");
                  _jspx_th_component_table_0.setCheckboxValue("eventID");
                  _jspx_th_component_table_0.setWrap("nowrap,nowrap,nowrap,nowrap,nowrap,nowrap,nowrap");
                  _jspx_th_component_table_0.setAlign("center,left,center,left,left,left,left");
                  _jspx_th_component_table_0.setEmptyTableIndication("noAlarmsAvailable");
                  _jspx_th_component_table_0.setFormName("eventListForm");
                  _jspx_th_component_table_0.setSourcePage("javascript:sort");
                  try {
                      int _jspx_eval_component_table_0 = _jspx_th_component_table_0.doStartTag();
                      if (_jspx_eval_component_table_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                          throw new JspTagException("Since tag handler class com.sun.jade.web.component.TableTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                      if (_jspx_eval_component_table_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                          do {
                          // end
                          // begin [file="/jsp/alarms.jsp";from=(230,0);to=(239,73)]
                          } while (_jspx_th_component_table_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      }
                      if (_jspx_th_component_table_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                          return;
                  } finally {
                      _jspx_th_component_table_0.release();
                  }
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(239,73);to=(248,5)]
                  out.write("  \r\n\r\n\r\n<table border=\"0\" cellspacing=\"0\" width=\"100%\">\r\n<tr>\r\n<td align=\"center\">\r\n        <table border=\"0\" cellspacing=\"0\" cellpadding=\"4\">\r\n          <tr valign=\"middle\"> \r\n            <!-- Cell containing up button graphics -->\r\n\t    ");

              // end
              // begin [file="/jsp/alarms.jsp";from=(248,5);to=(248,45)]
                  /* ----  logic:equal ---- */
                  org.apache.struts.taglib.logic.EqualTag _jspx_th_logic_equal_0 = new org.apache.struts.taglib.logic.EqualTag();
                  _jspx_th_logic_equal_0.setPageContext(pageContext);
                  _jspx_th_logic_equal_0.setParent(_jspx_th_html_html_0);
                  _jspx_th_logic_equal_0.setName("isBack");
                  _jspx_th_logic_equal_0.setValue("true");
                  try {
                      int _jspx_eval_logic_equal_0 = _jspx_th_logic_equal_0.doStartTag();
                      if (_jspx_eval_logic_equal_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                          throw new JspTagException("Since tag handler class org.apache.struts.taglib.logic.EqualTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                      if (_jspx_eval_logic_equal_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                          do {
                          // end
                          // HTML // begin [file="/jsp/alarms.jsp";from=(248,45);to=(250,5)]
                              out.write("\r\n            <td align=\"right\"><a href='javascript:direction(\"backwardtofirst\");'><img src=\"../images/upend.gif\" width=\"19\" height=\"19\" border=\"0\" alt=\"First Page\"></a> <a href='javascript:direction(\"backward\");'><img src=\"../images/up.gif\" width=\"19\" height=\"19\" border=\"0\" alt=\"Previous Page\"></a></td>\r\n\t    ");

                          // end
                          // begin [file="/jsp/alarms.jsp";from=(250,5);to=(250,19)]
                          } while (_jspx_th_logic_equal_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      }
                      if (_jspx_th_logic_equal_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                          return;
                  } finally {
                      _jspx_th_logic_equal_0.release();
                  }
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(250,19);to=(251,12)]
                  out.write("\r\n            ");

              // end
              // begin [file="/jsp/alarms.jsp";from=(251,12);to=(251,53)]
                  /* ----  logic:equal ---- */
                  org.apache.struts.taglib.logic.EqualTag _jspx_th_logic_equal_1 = new org.apache.struts.taglib.logic.EqualTag();
                  _jspx_th_logic_equal_1.setPageContext(pageContext);
                  _jspx_th_logic_equal_1.setParent(_jspx_th_html_html_0);
                  _jspx_th_logic_equal_1.setName("isBack");
                  _jspx_th_logic_equal_1.setValue("false");
                  try {
                      int _jspx_eval_logic_equal_1 = _jspx_th_logic_equal_1.doStartTag();
                      if (_jspx_eval_logic_equal_1 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                          throw new JspTagException("Since tag handler class org.apache.struts.taglib.logic.EqualTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                      if (_jspx_eval_logic_equal_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                          do {
                          // end
                          // HTML // begin [file="/jsp/alarms.jsp";from=(251,53);to=(253,5)]
                              out.write("\r\n            <td align=\"right\"><img src=\"../images/upend_disabled.gif\" width=\"19\" height=\"19\" border=\"0\" alt=\"First Page\"></a><img src=\"../images/up_disabled.gif\" width=\"19\" height=\"19\" border=\"0\" alt=\"Previous Page\"></a></td>\r\n\t    ");

                          // end
                          // begin [file="/jsp/alarms.jsp";from=(253,5);to=(253,19)]
                          } while (_jspx_th_logic_equal_1.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      }
                      if (_jspx_th_logic_equal_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                          return;
                  } finally {
                      _jspx_th_logic_equal_1.release();
                  }
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(253,19);to=(259,78)]
                  out.write("\r\n            <td align=\"center\"> \r\n              <!-- Begin table containing text input field and Go button -->\r\n              <table border=\"0\" cellspacing=\"8\" cellpadding=\"0\">\r\n                <tr valign=\"middle\"> \r\n                  <td nowrap> <span class=\"table-vertpag-label-text\">Page:</span> \r\n                    <input type=\"text\" name=\"pageNumber\" maxlength=\"4\" value='");

              // end
              // begin [file="/jsp/alarms.jsp";from=(259,78);to=(259,116)]
                  /* ----  bean:write ---- */
                  org.apache.struts.taglib.bean.WriteTag _jspx_th_bean_write_2 = new org.apache.struts.taglib.bean.WriteTag();
                  _jspx_th_bean_write_2.setPageContext(pageContext);
                  _jspx_th_bean_write_2.setParent(_jspx_th_html_html_0);
                  _jspx_th_bean_write_2.setName("currentPageNumber");
                  try {
                      int _jspx_eval_bean_write_2 = _jspx_th_bean_write_2.doStartTag();
                      if (_jspx_eval_bean_write_2 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                          throw new JspTagException("Since tag handler class org.apache.struts.taglib.bean.WriteTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                      if (_jspx_eval_bean_write_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                          do {
                          // end
                          // begin [file="/jsp/alarms.jsp";from=(259,78);to=(259,116)]
                          } while (_jspx_th_bean_write_2.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      }
                      if (_jspx_th_bean_write_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                          return;
                  } finally {
                      _jspx_th_bean_write_2.release();
                  }
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(259,116);to=(260,62)]
                  out.write("' size=\"4\">\r\n                    <span class=\"table-vertpag-pages-text\">of ");

              // end
              // begin [file="/jsp/alarms.jsp";from=(260,62);to=(260,98)]
                  /* ----  bean:write ---- */
                  org.apache.struts.taglib.bean.WriteTag _jspx_th_bean_write_3 = new org.apache.struts.taglib.bean.WriteTag();
                  _jspx_th_bean_write_3.setPageContext(pageContext);
                  _jspx_th_bean_write_3.setParent(_jspx_th_html_html_0);
                  _jspx_th_bean_write_3.setName("totalPageNumber");
                  try {
                      int _jspx_eval_bean_write_3 = _jspx_th_bean_write_3.doStartTag();
                      if (_jspx_eval_bean_write_3 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                          throw new JspTagException("Since tag handler class org.apache.struts.taglib.bean.WriteTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                      if (_jspx_eval_bean_write_3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                          do {
                          // end
                          // begin [file="/jsp/alarms.jsp";from=(260,62);to=(260,98)]
                          } while (_jspx_th_bean_write_3.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      }
                      if (_jspx_th_bean_write_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                          return;
                  } finally {
                      _jspx_th_bean_write_3.release();
                  }
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(260,98);to=(263,20)]
                  out.write("</span> </td>\r\n                  <td>\r\n                    <!-- Begin Go button outer table -->\r\n                    ");

              // end
              // begin [file="/jsp/alarms.jsp";from=(263,20);to=(265,75)]
                  /* ----  component:buttonGroup ---- */
                  com.sun.jade.web.component.ButtonGroupTag _jspx_th_component_buttonGroup_1 = new com.sun.jade.web.component.ButtonGroupTag();
                  _jspx_th_component_buttonGroup_1.setPageContext(pageContext);
                  _jspx_th_component_buttonGroup_1.setParent(_jspx_th_html_html_0);
                  _jspx_th_component_buttonGroup_1.setFormName("null");
                  _jspx_th_component_buttonGroup_1.setButtonNames("button.go");
                  _jspx_th_component_buttonGroup_1.setButtonValues("javascript:go()");
                  _jspx_th_component_buttonGroup_1.setButtonChecks("no");
                  _jspx_th_component_buttonGroup_1.setControlName("null");
                  _jspx_th_component_buttonGroup_1.setButtonType("regular");
                  _jspx_th_component_buttonGroup_1.setButtonGroupIndex("1");
                  try {
                      int _jspx_eval_component_buttonGroup_1 = _jspx_th_component_buttonGroup_1.doStartTag();
                      if (_jspx_eval_component_buttonGroup_1 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                          throw new JspTagException("Since tag handler class com.sun.jade.web.component.ButtonGroupTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                      if (_jspx_eval_component_buttonGroup_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                          do {
                          // end
                          // begin [file="/jsp/alarms.jsp";from=(263,20);to=(265,75)]
                          } while (_jspx_th_component_buttonGroup_1.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      }
                      if (_jspx_th_component_buttonGroup_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                          return;
                  } finally {
                      _jspx_th_component_buttonGroup_1.release();
                  }
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(265,75);to=(273,5)]
                  out.write("\r\n                    <!-- End Go button outer table -->\r\n                  </td>\r\n                </tr>\r\n              </table>\r\n              <!-- End table containing text input field and Go button -->\r\n            </td>\r\n            <!-- Cell containing down button graphics -->\r\n\t    ");

              // end
              // begin [file="/jsp/alarms.jsp";from=(273,5);to=(273,48)]
                  /* ----  logic:equal ---- */
                  org.apache.struts.taglib.logic.EqualTag _jspx_th_logic_equal_2 = new org.apache.struts.taglib.logic.EqualTag();
                  _jspx_th_logic_equal_2.setPageContext(pageContext);
                  _jspx_th_logic_equal_2.setParent(_jspx_th_html_html_0);
                  _jspx_th_logic_equal_2.setName("isForward");
                  _jspx_th_logic_equal_2.setValue("true");
                  try {
                      int _jspx_eval_logic_equal_2 = _jspx_th_logic_equal_2.doStartTag();
                      if (_jspx_eval_logic_equal_2 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                          throw new JspTagException("Since tag handler class org.apache.struts.taglib.logic.EqualTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                      if (_jspx_eval_logic_equal_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                          do {
                          // end
                          // HTML // begin [file="/jsp/alarms.jsp";from=(273,48);to=(275,5)]
                              out.write("\r\n            <td align=\"left\"><a href='javascript:direction(\"forward\");'><img src=\"../images/downPagination.gif\" width=\"19\" height=\"19\" border=\"0\" alt=\"Next Page\"></a> <a href='javascript:direction(\"forwardtolast\");'><img src=\"../images/downend.gif\" width=\"19\" height=\"19\" border=\"0\" alt=\"Last Page\"></a></td>\r\n\t    ");

                          // end
                          // begin [file="/jsp/alarms.jsp";from=(275,5);to=(275,19)]
                          } while (_jspx_th_logic_equal_2.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      }
                      if (_jspx_th_logic_equal_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                          return;
                  } finally {
                      _jspx_th_logic_equal_2.release();
                  }
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(275,19);to=(276,12)]
                  out.write("\r\n            ");

              // end
              // begin [file="/jsp/alarms.jsp";from=(276,12);to=(276,56)]
                  /* ----  logic:equal ---- */
                  org.apache.struts.taglib.logic.EqualTag _jspx_th_logic_equal_3 = new org.apache.struts.taglib.logic.EqualTag();
                  _jspx_th_logic_equal_3.setPageContext(pageContext);
                  _jspx_th_logic_equal_3.setParent(_jspx_th_html_html_0);
                  _jspx_th_logic_equal_3.setName("isForward");
                  _jspx_th_logic_equal_3.setValue("false");
                  try {
                      int _jspx_eval_logic_equal_3 = _jspx_th_logic_equal_3.doStartTag();
                      if (_jspx_eval_logic_equal_3 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                          throw new JspTagException("Since tag handler class org.apache.struts.taglib.logic.EqualTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                      if (_jspx_eval_logic_equal_3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                          do {
                          // end
                          // HTML // begin [file="/jsp/alarms.jsp";from=(276,56);to=(278,5)]
                              out.write("\r\n            <td align=\"left\"><img src=\"../images/down_disabled.gif\" width=\"19\" height=\"19\" border=\"0\" alt=\"Next Page\"></a><img src=\"../images/downend_disabled.gif\" width=\"19\" height=\"19\" border=\"0\" alt=\"Last Page\"></a></td>\r\n\t    ");

                          // end
                          // begin [file="/jsp/alarms.jsp";from=(278,5);to=(278,19)]
                          } while (_jspx_th_logic_equal_3.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      }
                      if (_jspx_th_logic_equal_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                          return;
                  } finally {
                      _jspx_th_logic_equal_3.release();
                  }
              // end
              // HTML // begin [file="/jsp/alarms.jsp";from=(278,19);to=(291,0)]
                  out.write("\r\n          </tr>\r\n        </table>\r\n</td>\r\n</tr>\r\n</table>      \r\n\r\n</td></tr>\r\n</table>\r\n</DIV>\r\n\r\n</form>\r\n</body>\r\n");

              // end
              // begin [file="/jsp/alarms.jsp";from=(291,0);to=(291,12)]
              } while (_jspx_th_html_html_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
          }
          if (_jspx_th_html_html_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
              return;
      } finally {
          _jspx_th_html_html_0.release();
      }
  // end
  // HTML // begin [file="/jsp/alarms.jsp";from=(291,12);to=(293,0)]
      out.write("\r\n\r\n");

  // end

} catch (Throwable t) {
    if (out != null && out.getBufferSize() != 0)
        out.clearBuffer();
    if (pageContext != null) pageContext.handlePageException(t);
} finally {
    if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
}
}
}
