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 events extends HttpJspBase {


    static {
    }
    public events( ) {
    }

    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/events.jsp";from=(7,6);to=(9,0)]
                out.write("\r\n\r\n");

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

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

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

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

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

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

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

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

            // end
            // begin [file="/jsp/events.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/events.jsp";from=(18,25);to=(52,0)]
                            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 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\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/events.jsp";from=(52,0);to=(52,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/events.jsp";from=(52,0);to=(52,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/events.jsp";from=(52,19);to=(53,0)]
                  out.write("\r\n");

              // end
              // begin [file="/jsp/events.jsp";from=(53,0);to=(53,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("events");
                  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/events.jsp";from=(53,0);to=(53,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/events.jsp";from=(53,31);to=(55,0)]
                  out.write("\r\n\r\n");

              // end
              // begin [file="/jsp/events.jsp";from=(55,0);to=(55,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("events");
                  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/events.jsp";from=(55,0);to=(55,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/events.jsp";from=(55,29);to=(56,0)]
                  out.write("\r\n");

              // end
              // begin [file="/jsp/events.jsp";from=(56,2);to=(64,0)]
                   
                     String sortedProperty = request.getParameter("sortedProperty");
                     String sortRule = request.getParameter("sortRule");
                     String severity = request.getParameter("Severity");
                     if(sortedProperty == null) sortedProperty = "sourceTime";
                     if(sortRule == null) sortRule = "desc";
                     if(severity == null) severity = "all";
                  
              // end
              // HTML // begin [file="/jsp/events.jsp";from=(64,2);to=(66,0)]
                  out.write("\r\n\r\n");

              // end
              // begin [file="/jsp/events.jsp";from=(66,0);to=(66,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/events.jsp";from=(66,0);to=(66,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/events.jsp";from=(66,17);to=(67,0)]
                  out.write("\r\n");

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

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

              // end
              // begin [file="/jsp/events.jsp";from=(69,0);to=(69,120)]
                  JspRuntimeLibrary.introspecthelper(pageContext.findAttribute("sortOption"), "propertyList","sourceTime,device,deviceType,topic,shortDescription",null,null, false);
              // end
              // HTML // begin [file="/jsp/events.jsp";from=(69,120);to=(70,0)]
                  out.write("\r\n");

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

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

              // end
              // begin [file="/jsp/events.jsp";from=(72,0);to=(72,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/events.jsp";from=(72,0);to=(72,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/events.jsp";from=(72,11);to=(74,0)]
                  out.write("\r\n\r\n");

              // end
              // begin [file="/jsp/events.jsp";from=(74,2);to=(80,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");
              // end
              // HTML // begin [file="/jsp/events.jsp";from=(80,2);to=(83,0)]
                  out.write("\r\n\r\n \r\n");

              // end
              // begin [file="/jsp/events.jsp";from=(83,0);to=(83,32)]
                  {
                      String _jspx_qStr = "";
                      JspRuntimeLibrary.include(request, response, "header.jsp" + _jspx_qStr, out, false);
                  }
              // end
              // HTML // begin [file="/jsp/events.jsp";from=(83,32);to=(87,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/events.jsp";from=(87,2);to=(90,16)]
                  {
                      String _jspx_qStr = "";
                      _jspx_qStr = _jspx_qStr + "?category=" + "logs";
                      _jspx_qStr = _jspx_qStr + "&subCategory=" + severity;
                      JspRuntimeLibrary.include(request, response, "masthead.jsp" + _jspx_qStr, out, false);
                  }
              // end
              // HTML // begin [file="/jsp/events.jsp";from=(90,16);to=(93,0)]
                  out.write("\r\n\r\n\r\n");

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

              // end
              // begin [file="/jsp/events.jsp";from=(95,0);to=(95,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/events.jsp";from=(95,0);to=(95,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/events.jsp";from=(95,17);to=(97,0)]
                  out.write("\r\n\r\n");

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

              // end
              // begin [file="/jsp/events.jsp";from=(99,2);to=(134,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/events.jsp?useEventState=no&mode=Summary");
                          breadCrumb.add(bcb1);
                          bcb2.setDisplayName(category);
                          bcb2.setLink("/jade/jsp/events.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/events.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/events.jsp?useEventState=no&mode=Summary");
                          breadCrumb.add(bcb1);
                          bcb2.setDisplayName(category);
                          breadCrumb.add(bcb2);
                      }
                  
                      pageContext.setAttribute("breadCrumbBeanList",breadCrumb);
              // end
              // HTML // begin [file="/jsp/events.jsp";from=(134,2);to=(136,0)]
                  out.write("\r\n\r\n");

              // end
              // begin [file="/jsp/events.jsp";from=(136,0);to=(136,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/events.jsp";from=(136,0);to=(136,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/events.jsp";from=(136,60);to=(141,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/events.jsp";from=(141,41);to=(141,45)]
                  out.print(mode);
              // end
              // HTML // begin [file="/jsp/events.jsp";from=(141,47);to=(142,42)]
                  out.write("\">\r\n<input type=hidden name=\"category\" value=\"");

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

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

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

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

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

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

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

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

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

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

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

              // end
              // begin [file="/jsp/events.jsp";from=(154,43);to=(154,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/events.jsp";from=(154,43);to=(154,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/events.jsp";from=(154,81);to=(156,0)]
                  out.write("\">\r\n\r\n");

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

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

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

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

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

              // end
              // begin [file="/jsp/events.jsp";from=(161,2);to=(161,5)]
                   } 
              // end
              // HTML // begin [file="/jsp/events.jsp";from=(161,7);to=(169,0)]
                  out.write("\r\n<input type=hidden name=\"Direction\" value=\"no\">\r\n\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/events.jsp";from=(169,0);to=(169,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/events.jsp";from=(169,0);to=(169,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/events.jsp";from=(169,33);to=(170,30)]
                  out.write("\r\n<div class=\"table-title-text\">");

              // end
              // begin [file="/jsp/events.jsp";from=(170,30);to=(170,67)]
                  /* ----  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("title.eventList");
                  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/events.jsp";from=(170,30);to=(170,67)]
                          } 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/events.jsp";from=(170,67);to=(171,0)]
                  out.write("</div>\r\n");

              // end
              // begin [file="/jsp/events.jsp";from=(171,0);to=(171,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/events.jsp";from=(171,0);to=(171,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/events.jsp";from=(171,35);to=(176,2)]
                  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/events.jsp";from=(176,4);to=(180,3)]
                       
                       String context = (String)pageContext.getAttribute("pageContext");
                       String link = "/jade/jsp/eventFilter.jsp?" + context;
                       String scriptLink = "javascript:openNewWindow(\'" + link + "\',\'eventFilter\',\'width=540,height=250,resizable\')"; 
                     
              // end
              // HTML // begin [file="/jsp/events.jsp";from=(180,5);to=(182,8)]
                  out.write("\r\n\r\n<A href=");

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

              // end
              // begin [file="/jsp/events.jsp";from=(185,3);to=(185,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/events.jsp";from=(185,3);to=(185,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/events.jsp";from=(185,48);to=(190,0)]
                  out.write("\t\r\n</td>\r\n</tr>\r\n</table>\r\n\r\n");

              // end
              // begin [file="/jsp/events.jsp";from=(190,0);to=(190,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/events.jsp";from=(190,0);to=(190,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/events.jsp";from=(190,35);to=(191,0)]
                  out.write("\r\n");

              // end
              // begin [file="/jsp/events.jsp";from=(191,0);to=(200,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("date,device,deviceType,topic,shortDescriptionWithLinkForEvent");
                  _jspx_th_component_table_0.setCategoryList("header.date,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("no");
                  _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");
                  _jspx_th_component_table_0.setAlign("left,left,left,left,left");
                  _jspx_th_component_table_0.setEmptyTableIndication("noEventsAvailable");
                  _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/events.jsp";from=(191,0);to=(200,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/events.jsp";from=(200,73);to=(209,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/events.jsp";from=(209,5);to=(209,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/events.jsp";from=(209,45);to=(211,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/events.jsp";from=(211,5);to=(211,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/events.jsp";from=(211,19);to=(212,12)]
                  out.write("\r\n            ");

              // end
              // begin [file="/jsp/events.jsp";from=(212,12);to=(212,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/events.jsp";from=(212,53);to=(214,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/events.jsp";from=(214,5);to=(214,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/events.jsp";from=(214,19);to=(220,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/events.jsp";from=(220,78);to=(220,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/events.jsp";from=(220,78);to=(220,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/events.jsp";from=(220,116);to=(221,62)]
                  out.write("' size=\"4\">\r\n                    <span class=\"table-vertpag-pages-text\">of ");

              // end
              // begin [file="/jsp/events.jsp";from=(221,62);to=(221,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/events.jsp";from=(221,62);to=(221,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/events.jsp";from=(221,98);to=(224,20)]
                  out.write("</span> </td>\r\n                  <td>\r\n                    <!-- Begin Go button outer table -->\r\n                    ");

              // end
              // begin [file="/jsp/events.jsp";from=(224,20);to=(226,74)]
                  /* ----  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("null");
                  _jspx_th_component_buttonGroup_0.setButtonNames("button.go");
                  _jspx_th_component_buttonGroup_0.setButtonValues("javascript:go()");
                  _jspx_th_component_buttonGroup_0.setButtonChecks("no");
                  _jspx_th_component_buttonGroup_0.setControlName("null");
                  _jspx_th_component_buttonGroup_0.setButtonType("regular");
                  _jspx_th_component_buttonGroup_0.setButtonGroupIndex("1");
                  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/events.jsp";from=(224,20);to=(226,74)]
                          } 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/events.jsp";from=(226,74);to=(234,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/events.jsp";from=(234,5);to=(234,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/events.jsp";from=(234,48);to=(236,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/events.jsp";from=(236,5);to=(236,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/events.jsp";from=(236,19);to=(237,12)]
                  out.write("\r\n            ");

              // end
              // begin [file="/jsp/events.jsp";from=(237,12);to=(237,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/events.jsp";from=(237,56);to=(239,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/events.jsp";from=(239,5);to=(239,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/events.jsp";from=(239,19);to=(252,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/events.jsp";from=(252,0);to=(252,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/events.jsp";from=(252,12);to=(254,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);
}
}
}
