private boolean _jspx_meth_fmt_param_0(
     javax.servlet.jsp.tagext.Tag _jspx_th_fmt_message_1,
     javax.servlet.jsp.PageContext pageContext)
     throws Throwable {
   JspWriter out = pageContext.getOut();
   /* ----  fmt:param ---- */
   org.apache.taglibs.standard.tag.el.fmt.ParamTag _jspx_th_fmt_param_0 =
       (org.apache.taglibs.standard.tag.el.fmt.ParamTag)
           _jspx_tagPool_fmt_param.get(org.apache.taglibs.standard.tag.el.fmt.ParamTag.class);
   _jspx_th_fmt_param_0.setPageContext(pageContext);
   _jspx_th_fmt_param_0.setParent(_jspx_th_fmt_message_1);
   int _jspx_eval_fmt_param_0 = _jspx_th_fmt_param_0.doStartTag();
   if (_jspx_eval_fmt_param_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     if (_jspx_eval_fmt_param_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
       javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody();
       out = _bc;
       _jspx_th_fmt_param_0.setBodyContent(_bc);
       _jspx_th_fmt_param_0.doInitBody();
     }
     do {
       if (_jspx_meth_c_out_1(_jspx_th_fmt_param_0, pageContext)) return true;
       int evalDoAfterBody = _jspx_th_fmt_param_0.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
     if (_jspx_eval_fmt_param_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
       out = pageContext.popBody();
   }
   if (_jspx_th_fmt_param_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return true;
   _jspx_tagPool_fmt_param.reuse(_jspx_th_fmt_param_0);
   return false;
 }
 private boolean _jspx_meth_html_form_0(
     javax.servlet.jsp.tagext.Tag _jspx_th_html_html_0, javax.servlet.jsp.PageContext pageContext)
     throws Throwable {
   JspWriter out = pageContext.getOut();
   /* ----  html:form ---- */
   org.apache.struts.taglib.html.FormTag _jspx_th_html_form_0 =
       (org.apache.struts.taglib.html.FormTag)
           _jspx_tagPool_html_form_action.get(org.apache.struts.taglib.html.FormTag.class);
   _jspx_th_html_form_0.setPageContext(pageContext);
   _jspx_th_html_form_0.setParent(_jspx_th_html_html_0);
   _jspx_th_html_form_0.setAction("/admin/destpath/savetargetinterval.do");
   int _jspx_eval_html_form_0 = _jspx_th_html_form_0.doStartTag();
   if (_jspx_eval_html_form_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     do {
       out.write("\n\n    ");
       out.write("\n    ");
       out.write("\n\n");
       out.write("\n\n");
       out.write("\n\n\n");
       if (_jspx_meth_html_hidden_0(_jspx_th_html_form_0, pageContext)) return true;
       out.write("\n    ");
       out.write("<br/>");
       out.write("<br/>\n    ");
       out.write("<table width=\"400\" border=\"0\">\n        ");
       out.write("<tr class=\"tableRowLight\">\n            ");
       out.write("<!-- Prompt -->\n            ");
       out.write("<td class=\"tableText\" width=\"50%\">\n                ");
       if (_jspx_meth_fmt_message_1(_jspx_th_html_form_0, pageContext)) return true;
       out.write("\n            ");
       out.write("</td>\n\n            ");
       out.write("<!-- Selection -->\n            ");
       out.write("<td class=\"tableText\" width=\"50%\">\n                ");
       if (_jspx_meth_html_select_0(_jspx_th_html_form_0, pageContext)) return true;
       out.write("\n            ");
       out.write("</td>\n        ");
       out.write("</tr>\n        ");
       out.write("<tr>");
       out.write("<td colspan=\"2\">&nbsp;");
       out.write("</td>");
       out.write("</tr>\n\n        ");
       out.write("<!-- Buttons -->\n        ");
       out.write("<tr>");
       out.write("<td colspan=\"2\" align=\"center\">\n            ");
       out.write("\n            ");
       if (_jspx_meth_html_submit_0(_jspx_th_html_form_0, pageContext)) return true;
       out.write("\n            &nbsp;&nbsp;&nbsp;&nbsp;\n            ");
       if (_jspx_meth_html_cancel_0(_jspx_th_html_form_0, pageContext)) return true;
       out.write("\n        ");
       out.write("</td>");
       out.write("</tr>\n    ");
       out.write("</table>\n");
       out.write("\n\n");
       int evalDoAfterBody = _jspx_th_html_form_0.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
   }
   if (_jspx_th_html_form_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return true;
   _jspx_tagPool_html_form_action.reuse(_jspx_th_html_form_0);
   return false;
 }
 private boolean _jspx_meth_c_otherwise_2(
     javax.servlet.jsp.tagext.Tag _jspx_th_c_choose_2,
     javax.servlet.jsp.PageContext pageContext,
     int[] _jspx_push_body_count_c_forEach_0)
     throws Throwable {
   JspWriter out = pageContext.getOut();
   /* ----  c:otherwise ---- */
   org.apache.taglibs.standard.tag.common.core.OtherwiseTag _jspx_th_c_otherwise_2 =
       (org.apache.taglibs.standard.tag.common.core.OtherwiseTag)
           _jspx_tagPool_c_otherwise.get(
               org.apache.taglibs.standard.tag.common.core.OtherwiseTag.class);
   _jspx_th_c_otherwise_2.setPageContext(pageContext);
   _jspx_th_c_otherwise_2.setParent(_jspx_th_c_choose_2);
   int _jspx_eval_c_otherwise_2 = _jspx_th_c_otherwise_2.doStartTag();
   if (_jspx_eval_c_otherwise_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     do {
       out.write("\n\t\t\t\t\t\t\t\t\t");
       out.write("<span class=\"error\">");
       if (_jspx_meth_fmt_message_11(
           _jspx_th_c_otherwise_2, pageContext, _jspx_push_body_count_c_forEach_0)) return true;
       out.write("</span>\n\t\t\t\t\t\t\t\t");
       int evalDoAfterBody = _jspx_th_c_otherwise_2.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
   }
   if (_jspx_th_c_otherwise_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return true;
   _jspx_tagPool_c_otherwise.reuse(_jspx_th_c_otherwise_2);
   return false;
 }
 private boolean _jspx_meth_html_html_0(javax.servlet.jsp.PageContext pageContext)
     throws Throwable {
   JspWriter out = pageContext.getOut();
   /* ----  html:html ---- */
   org.apache.struts.taglib.html.HtmlTag _jspx_th_html_html_0 =
       (org.apache.struts.taglib.html.HtmlTag)
           _jspx_tagPool_html_html.get(org.apache.struts.taglib.html.HtmlTag.class);
   _jspx_th_html_html_0.setPageContext(pageContext);
   _jspx_th_html_html_0.setParent(null);
   int _jspx_eval_html_html_0 = _jspx_th_html_html_0.doStartTag();
   if (_jspx_eval_html_html_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     do {
       out.write("\n");
       out.write("<head>\n    ");
       out.write("<title>");
       if (_jspx_meth_fmt_message_0(_jspx_th_html_html_0, pageContext)) return true;
       out.write("</title>\n    ");
       out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"");
       if (_jspx_meth_c_out_0(_jspx_th_html_html_0, pageContext)) return true;
       out.write("css/default.css\" />\n\n");
       out.write("</head>\n");
       out.write("<body>\n\n");
       if (_jspx_meth_html_form_0(_jspx_th_html_html_0, pageContext)) return true;
       out.write("\n\n");
       out.write("</body>\n");
       int evalDoAfterBody = _jspx_th_html_html_0.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
   }
   if (_jspx_th_html_html_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return true;
   _jspx_tagPool_html_html.reuse(_jspx_th_html_html_0);
   return false;
 }
 private boolean _jspx_meth_fmt_formatNumber_2(
     javax.servlet.jsp.tagext.Tag _jspx_th_c_if_1,
     javax.servlet.jsp.PageContext pageContext,
     int[] _jspx_push_body_count_c_forEach_0)
     throws Throwable {
   JspWriter out = pageContext.getOut();
   /* ----  fmt:formatNumber ---- */
   org.apache.taglibs.standard.tag.el.fmt.FormatNumberTag _jspx_th_fmt_formatNumber_2 =
       (org.apache.taglibs.standard.tag.el.fmt.FormatNumberTag)
           _jspx_tagPool_fmt_formatNumber_value_type_minFractionDigits_maxFractionDigits_nobody
               .get(org.apache.taglibs.standard.tag.el.fmt.FormatNumberTag.class);
   _jspx_th_fmt_formatNumber_2.setPageContext(pageContext);
   _jspx_th_fmt_formatNumber_2.setParent(_jspx_th_c_if_1);
   _jspx_th_fmt_formatNumber_2.setValue(
       "${qgresItem.queryResult.totalProcessingTimeInNanos / 1000000000.}");
   _jspx_th_fmt_formatNumber_2.setType("number");
   _jspx_th_fmt_formatNumber_2.setMaxFractionDigits("3");
   _jspx_th_fmt_formatNumber_2.setMinFractionDigits("3");
   int _jspx_eval_fmt_formatNumber_2 = _jspx_th_fmt_formatNumber_2.doStartTag();
   if (_jspx_th_fmt_formatNumber_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
     return true;
   _jspx_tagPool_fmt_formatNumber_value_type_minFractionDigits_maxFractionDigits_nobody.reuse(
       _jspx_th_fmt_formatNumber_2);
   return false;
 }
 private boolean _jspx_meth_c_when_2(
     javax.servlet.jsp.tagext.Tag _jspx_th_c_choose_2,
     javax.servlet.jsp.PageContext pageContext,
     int[] _jspx_push_body_count_c_forEach_0)
     throws Throwable {
   JspWriter out = pageContext.getOut();
   /* ----  c:when ---- */
   org.apache.taglibs.standard.tag.el.core.WhenTag _jspx_th_c_when_2 =
       (org.apache.taglibs.standard.tag.el.core.WhenTag)
           _jspx_tagPool_c_when_test.get(org.apache.taglibs.standard.tag.el.core.WhenTag.class);
   _jspx_th_c_when_2.setPageContext(pageContext);
   _jspx_th_c_when_2.setParent(_jspx_th_c_choose_2);
   _jspx_th_c_when_2.setTest("${empty resultitem.queryResult.columnResultsInError}");
   int _jspx_eval_c_when_2 = _jspx_th_c_when_2.doStartTag();
   if (_jspx_eval_c_when_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     do {
       out.write("\n\t                \t\t\t\t");
       if (_jspx_meth_fmt_message_10(
           _jspx_th_c_when_2, pageContext, _jspx_push_body_count_c_forEach_0)) return true;
       out.write("\n\t                    \t\t");
       int evalDoAfterBody = _jspx_th_c_when_2.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
   }
   if (_jspx_th_c_when_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return true;
   _jspx_tagPool_c_when_test.reuse(_jspx_th_c_when_2);
   return false;
 }
 private boolean _jspx_meth_html_select_0(
     javax.servlet.jsp.tagext.Tag _jspx_th_html_form_0, javax.servlet.jsp.PageContext pageContext)
     throws Throwable {
   JspWriter out = pageContext.getOut();
   /* ----  html:select ---- */
   org.apache.struts.taglib.html.SelectTag _jspx_th_html_select_0 =
       (org.apache.struts.taglib.html.SelectTag)
           _jspx_tagPool_html_select_property.get(org.apache.struts.taglib.html.SelectTag.class);
   _jspx_th_html_select_0.setPageContext(pageContext);
   _jspx_th_html_select_0.setParent(_jspx_th_html_form_0);
   _jspx_th_html_select_0.setProperty("interval");
   int _jspx_eval_html_select_0 = _jspx_th_html_select_0.doStartTag();
   if (_jspx_eval_html_select_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     if (_jspx_eval_html_select_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
       javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody();
       out = _bc;
       _jspx_th_html_select_0.setBodyContent(_bc);
       _jspx_th_html_select_0.doInitBody();
     }
     do {
       out.write("\n                    ");
       if (_jspx_meth_html_options_0(_jspx_th_html_select_0, pageContext)) return true;
       out.write("\n                ");
       int evalDoAfterBody = _jspx_th_html_select_0.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
     if (_jspx_eval_html_select_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
       out = pageContext.popBody();
   }
   if (_jspx_th_html_select_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return true;
   _jspx_tagPool_html_select_property.reuse(_jspx_th_html_select_0);
   return false;
 }
 private boolean _jspx_meth_c_if_1(javax.servlet.jsp.PageContext pageContext) throws Throwable {
   JspWriter out = pageContext.getOut();
   HttpServletRequest request = (HttpServletRequest) pageContext.getRequest();
   HttpServletResponse response = (HttpServletResponse) pageContext.getResponse();
   /* ----  c:if ---- */
   org.apache.taglibs.standard.tag.el.core.IfTag _jspx_th_c_if_1 =
       (org.apache.taglibs.standard.tag.el.core.IfTag)
           _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.el.core.IfTag.class);
   _jspx_th_c_if_1.setPageContext(pageContext);
   _jspx_th_c_if_1.setParent(null);
   _jspx_th_c_if_1.setTest("${param.orgAdminPopup}");
   int _jspx_eval_c_if_1 = _jspx_th_c_if_1.doStartTag();
   if (_jspx_eval_c_if_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     do {
       out.write("\n    ");
       JspRuntimeLibrary.include(
           request,
           response,
           "/includes/orgAdmin_header.jsp"
               + "?"
               + "help="
               + "monitoringadmin%2Fusers%2FWTHelp_User.html",
           out,
           false);
       out.write("\n");
       int evalDoAfterBody = _jspx_th_c_if_1.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
   }
   if (_jspx_th_c_if_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return true;
   _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_1);
   return false;
 }
  public void _jspService(HttpServletRequest request, HttpServletResponse response)
      throws java.io.IOException, ServletException {

    JspFactory _jspxFactory = null;
    javax.servlet.jsp.PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;

    try {
      _jspxFactory = JspFactory.getDefaultFactory();
      response.setContentType("text/html;charset=ISO-8859-1");
      pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true);
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\n");
      out.write("\n\n");

      // Get the current user's ac
      WTAccountCredentials ac = WTAccountCredentials.current();
      SecureInfoManagerImpl sim = new SecureInfoManagerImpl();

      // Setup for permission checking
      boolean editInterfaces = false;
      if (sim.canEditEntity(ProtectedResourceConstants.PR_INTERFACES, ac)) editInterfaces = true;
      pageContext.setAttribute("editInterfaces", new Boolean(editInterfaces));

      out.write("  \n");

      String hostIP = null;
      try {
        hostIP = InetAddress.getLocalHost().getHostAddress();
        //    out.print(hostIP);

      } catch (UnknownHostException ex) {
        throw new Exception("Could not determine the local host address", ex);
      }

      out.write("\n\nvar javaScriptVar=\"");
      out.print(hostIP);
      out.write("\";\nvar javaScriptVar2=\"");
      out.print(editInterfaces);
      out.write("\";\n");
    } catch (Throwable t) {
      out = _jspx_out;
      if (out != null && out.getBufferSize() != 0) out.clearBuffer();
      if (pageContext != null) pageContext.handlePageException(t);
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
    }
  }
 private boolean _jspx_meth_c_if_1(
     javax.servlet.jsp.tagext.Tag _jspx_th_c_forEach_0,
     javax.servlet.jsp.PageContext pageContext,
     int[] _jspx_push_body_count_c_forEach_0)
     throws Throwable {
   JspWriter out = pageContext.getOut();
   /* ----  c:if ---- */
   org.apache.taglibs.standard.tag.el.core.IfTag _jspx_th_c_if_1 =
       (org.apache.taglibs.standard.tag.el.core.IfTag)
           _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.el.core.IfTag.class);
   _jspx_th_c_if_1.setPageContext(pageContext);
   _jspx_th_c_if_1.setParent(_jspx_th_c_forEach_0);
   _jspx_th_c_if_1.setTest("${resultitem.queryResult.columnCheckTimeInNanos > 0}");
   int _jspx_eval_c_if_1 = _jspx_th_c_if_1.doStartTag();
   if (_jspx_eval_c_if_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     do {
       out.write("\n            \t");
       out.write("<tr>\n                \t");
       out.write("<td>");
       out.write("<b>");
       if (_jspx_meth_fmt_message_5(
           _jspx_th_c_if_1, pageContext, _jspx_push_body_count_c_forEach_0)) return true;
       out.write(":");
       out.write("</b>");
       out.write("</td>\n                   \t");
       out.write("<td>");
       if (_jspx_meth_fmt_formatNumber_1(
           _jspx_th_c_if_1, pageContext, _jspx_push_body_count_c_forEach_0)) return true;
       out.write("</td>\n           \t\t");
       out.write("</tr>\n           \t\t");
       out.write("<tr>\n           \t\t\t");
       out.write("<td>");
       out.write("<b>");
       if (_jspx_meth_fmt_message_6(
           _jspx_th_c_if_1, pageContext, _jspx_push_body_count_c_forEach_0)) return true;
       out.write(":");
       out.write("</b>");
       out.write("</td>\n             \t\t");
       out.write("<td>");
       if (_jspx_meth_fmt_formatNumber_2(
           _jspx_th_c_if_1, pageContext, _jspx_push_body_count_c_forEach_0)) return true;
       out.write("</td>\n            \t");
       out.write("</tr>\n       \t\t");
       int evalDoAfterBody = _jspx_th_c_if_1.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
   }
   if (_jspx_th_c_if_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return true;
   _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_1);
   return false;
 }
 private boolean _jspx_meth_html_xhtml_0(javax.servlet.jsp.PageContext pageContext)
     throws Throwable {
   JspWriter out = pageContext.getOut();
   /* ----  html:xhtml ---- */
   org.apache.struts.taglib.html.XhtmlTag _jspx_th_html_xhtml_0 =
       (org.apache.struts.taglib.html.XhtmlTag)
           _jspx_tagPool_html_xhtml_nobody.get(org.apache.struts.taglib.html.XhtmlTag.class);
   _jspx_th_html_xhtml_0.setPageContext(pageContext);
   _jspx_th_html_xhtml_0.setParent(null);
   int _jspx_eval_html_xhtml_0 = _jspx_th_html_xhtml_0.doStartTag();
   if (_jspx_th_html_xhtml_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return true;
   _jspx_tagPool_html_xhtml_nobody.reuse(_jspx_th_html_xhtml_0);
   return false;
 }
  public void _jspService(HttpServletRequest request, HttpServletResponse response)
      throws java.io.IOException, ServletException {

    JspFactory _jspxFactory = null;
    javax.servlet.jsp.PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;

    try {
      _jspxFactory = JspFactory.getDefaultFactory();
      response.setContentType("text/html;charset=ISO-8859-1");
      pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true);
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\r\n\r\n");
      out.write("\r\n\r\n");
      out.write("<html>\r\n        ");
      out.write("<head>");
      out.write("<title>WebTelemetry System Monitor");
      out.write("</title>");
      out.write("</head>\r\n\r\n");
      out.write("<frameset cols=\"*\" border=\"0\" frameborder=\"0\">\r\n\t");
      out.write(
          "<frame src=\"/wt-monitor/wt-jsp/WTmonitor-frame.jsp\" name=\"sysmonOnlyMotherFrame\" scrolling=\"no\" border=\"0\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\">\r\n");
      out.write("</frameset>\r\n\r\n        ");
      out.write("<noframes>\r\n                ");
      out.write("<h2>Frame Alert");
      out.write("</h2>\r\n                ");
      out.write(
          "<p>This document is designed to be viewed using the frames feature.\r\n                If you see this message, you are using a non-frame-capable web client.");
      out.write("<BR>");
      out.write("</p>\r\n        ");
      out.write("</noframes>\r\n");
      out.write("</html>\r\n");
    } catch (Throwable t) {
      out = _jspx_out;
      if (out != null && out.getBufferSize() != 0) out.clearBuffer();
      if (pageContext != null) pageContext.handlePageException(t);
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
    }
  }
 private boolean _jspx_meth_c_url_0(javax.servlet.jsp.PageContext pageContext) throws Throwable {
   JspWriter out = pageContext.getOut();
   /* ----  c:url ---- */
   org.apache.taglibs.standard.tag.el.core.UrlTag _jspx_th_c_url_0 =
       (org.apache.taglibs.standard.tag.el.core.UrlTag)
           _jspx_tagPool_c_url_value_nobody.get(
               org.apache.taglibs.standard.tag.el.core.UrlTag.class);
   _jspx_th_c_url_0.setPageContext(pageContext);
   _jspx_th_c_url_0.setParent(null);
   _jspx_th_c_url_0.setValue("/jsp/scripts/general.js");
   int _jspx_eval_c_url_0 = _jspx_th_c_url_0.doStartTag();
   if (_jspx_th_c_url_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return true;
   _jspx_tagPool_c_url_value_nobody.reuse(_jspx_th_c_url_0);
   return false;
 }
 private boolean _jspx_meth_fmt_message_1(javax.servlet.jsp.PageContext pageContext)
     throws Throwable {
   JspWriter out = pageContext.getOut();
   /* ----  fmt:message ---- */
   org.apache.taglibs.standard.tag.el.fmt.MessageTag _jspx_th_fmt_message_1 =
       (org.apache.taglibs.standard.tag.el.fmt.MessageTag)
           _jspx_tagPool_fmt_message_key_nobody.get(
               org.apache.taglibs.standard.tag.el.fmt.MessageTag.class);
   _jspx_th_fmt_message_1.setPageContext(pageContext);
   _jspx_th_fmt_message_1.setParent(null);
   _jspx_th_fmt_message_1.setKey("dbmon.querygroup.fail");
   int _jspx_eval_fmt_message_1 = _jspx_th_fmt_message_1.doStartTag();
   if (_jspx_th_fmt_message_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return true;
   _jspx_tagPool_fmt_message_key_nobody.reuse(_jspx_th_fmt_message_1);
   return false;
 }
 private boolean _jspx_meth_fmt_message_0(
     javax.servlet.jsp.tagext.Tag _jspx_th_html_html_0, javax.servlet.jsp.PageContext pageContext)
     throws Throwable {
   JspWriter out = pageContext.getOut();
   /* ----  fmt:message ---- */
   org.apache.taglibs.standard.tag.el.fmt.MessageTag _jspx_th_fmt_message_0 =
       (org.apache.taglibs.standard.tag.el.fmt.MessageTag)
           _jspx_tagPool_fmt_message_key_nobody.get(
               org.apache.taglibs.standard.tag.el.fmt.MessageTag.class);
   _jspx_th_fmt_message_0.setPageContext(pageContext);
   _jspx_th_fmt_message_0.setParent(_jspx_th_html_html_0);
   _jspx_th_fmt_message_0.setKey("destpath.interval.title");
   int _jspx_eval_fmt_message_0 = _jspx_th_fmt_message_0.doStartTag();
   if (_jspx_th_fmt_message_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return true;
   _jspx_tagPool_fmt_message_key_nobody.reuse(_jspx_th_fmt_message_0);
   return false;
 }
 private boolean _jspx_meth_html_cancel_0(
     javax.servlet.jsp.tagext.Tag _jspx_th_html_form_0, javax.servlet.jsp.PageContext pageContext)
     throws Throwable {
   JspWriter out = pageContext.getOut();
   /* ----  html:cancel ---- */
   org.apache.struts.taglib.html.CancelTag _jspx_th_html_cancel_0 =
       (org.apache.struts.taglib.html.CancelTag)
           _jspx_tagPool_html_cancel_onclick_nobody.get(
               org.apache.struts.taglib.html.CancelTag.class);
   _jspx_th_html_cancel_0.setPageContext(pageContext);
   _jspx_th_html_cancel_0.setParent(_jspx_th_html_form_0);
   _jspx_th_html_cancel_0.setOnclick("window.close()");
   int _jspx_eval_html_cancel_0 = _jspx_th_html_cancel_0.doStartTag();
   if (_jspx_th_html_cancel_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return true;
   _jspx_tagPool_html_cancel_onclick_nobody.reuse(_jspx_th_html_cancel_0);
   return false;
 }
 private boolean _jspx_meth_html_submit_0(
     javax.servlet.jsp.tagext.Tag _jspx_th_html_form_0, javax.servlet.jsp.PageContext pageContext)
     throws Throwable {
   JspWriter out = pageContext.getOut();
   /* ----  html:submit ---- */
   org.apache.struts.taglib.html.SubmitTag _jspx_th_html_submit_0 =
       (org.apache.struts.taglib.html.SubmitTag)
           _jspx_tagPool_html_submit_titleKey_nobody.get(
               org.apache.struts.taglib.html.SubmitTag.class);
   _jspx_th_html_submit_0.setPageContext(pageContext);
   _jspx_th_html_submit_0.setParent(_jspx_th_html_form_0);
   _jspx_th_html_submit_0.setTitleKey("button.save");
   int _jspx_eval_html_submit_0 = _jspx_th_html_submit_0.doStartTag();
   if (_jspx_th_html_submit_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return true;
   _jspx_tagPool_html_submit_titleKey_nobody.reuse(_jspx_th_html_submit_0);
   return false;
 }
 private boolean _jspx_meth_c_out_1(
     javax.servlet.jsp.tagext.Tag _jspx_th_fmt_param_0, javax.servlet.jsp.PageContext pageContext)
     throws Throwable {
   JspWriter out = pageContext.getOut();
   /* ----  c:out ---- */
   org.apache.taglibs.standard.tag.el.core.OutTag _jspx_th_c_out_1 =
       (org.apache.taglibs.standard.tag.el.core.OutTag)
           _jspx_tagPool_c_out_value_nobody.get(
               org.apache.taglibs.standard.tag.el.core.OutTag.class);
   _jspx_th_c_out_1.setPageContext(pageContext);
   _jspx_th_c_out_1.setParent(_jspx_th_fmt_param_0);
   _jspx_th_c_out_1.setValue("${targetForm.name}");
   int _jspx_eval_c_out_1 = _jspx_th_c_out_1.doStartTag();
   if (_jspx_th_c_out_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return true;
   _jspx_tagPool_c_out_value_nobody.reuse(_jspx_th_c_out_1);
   return false;
 }
 private boolean _jspx_meth_html_options_0(
     javax.servlet.jsp.tagext.Tag _jspx_th_html_select_0,
     javax.servlet.jsp.PageContext pageContext)
     throws Throwable {
   JspWriter out = pageContext.getOut();
   /* ----  html:options ---- */
   org.apache.struts.taglib.html.OptionsTag _jspx_th_html_options_0 =
       (org.apache.struts.taglib.html.OptionsTag)
           _jspx_tagPool_html_options_property_nobody.get(
               org.apache.struts.taglib.html.OptionsTag.class);
   _jspx_th_html_options_0.setPageContext(pageContext);
   _jspx_th_html_options_0.setParent(_jspx_th_html_select_0);
   _jspx_th_html_options_0.setProperty("allIntervals");
   int _jspx_eval_html_options_0 = _jspx_th_html_options_0.doStartTag();
   if (_jspx_th_html_options_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return true;
   _jspx_tagPool_html_options_property_nobody.reuse(_jspx_th_html_options_0);
   return false;
 }
 private boolean _jspx_meth_fmt_message_5(
     javax.servlet.jsp.tagext.Tag _jspx_th_c_if_1,
     javax.servlet.jsp.PageContext pageContext,
     int[] _jspx_push_body_count_c_forEach_0)
     throws Throwable {
   JspWriter out = pageContext.getOut();
   /* ----  fmt:message ---- */
   org.apache.taglibs.standard.tag.el.fmt.MessageTag _jspx_th_fmt_message_5 =
       (org.apache.taglibs.standard.tag.el.fmt.MessageTag)
           _jspx_tagPool_fmt_message_key_nobody.get(
               org.apache.taglibs.standard.tag.el.fmt.MessageTag.class);
   _jspx_th_fmt_message_5.setPageContext(pageContext);
   _jspx_th_fmt_message_5.setParent(_jspx_th_c_if_1);
   _jspx_th_fmt_message_5.setKey("dbmon.querygroup.colchecktime");
   int _jspx_eval_fmt_message_5 = _jspx_th_fmt_message_5.doStartTag();
   if (_jspx_th_fmt_message_5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return true;
   _jspx_tagPool_fmt_message_key_nobody.reuse(_jspx_th_fmt_message_5);
   return false;
 }
 private boolean _jspx_meth_c_out_1(
     javax.servlet.jsp.tagext.Tag _jspx_th_c_forEach_0,
     javax.servlet.jsp.PageContext pageContext,
     int[] _jspx_push_body_count_c_forEach_0)
     throws Throwable {
   JspWriter out = pageContext.getOut();
   /* ----  c:out ---- */
   org.apache.taglibs.standard.tag.el.core.OutTag _jspx_th_c_out_1 =
       (org.apache.taglibs.standard.tag.el.core.OutTag)
           _jspx_tagPool_c_out_value_nobody.get(
               org.apache.taglibs.standard.tag.el.core.OutTag.class);
   _jspx_th_c_out_1.setPageContext(pageContext);
   _jspx_th_c_out_1.setParent(_jspx_th_c_forEach_0);
   _jspx_th_c_out_1.setValue("${resultitem.queryResult.raw.numRows}");
   int _jspx_eval_c_out_1 = _jspx_th_c_out_1.doStartTag();
   if (_jspx_th_c_out_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return true;
   _jspx_tagPool_c_out_value_nobody.reuse(_jspx_th_c_out_1);
   return false;
 }
 private boolean _jspx_meth_fmt_message_11(
     javax.servlet.jsp.tagext.Tag _jspx_th_c_otherwise_2,
     javax.servlet.jsp.PageContext pageContext,
     int[] _jspx_push_body_count_c_forEach_0)
     throws Throwable {
   JspWriter out = pageContext.getOut();
   /* ----  fmt:message ---- */
   org.apache.taglibs.standard.tag.el.fmt.MessageTag _jspx_th_fmt_message_11 =
       (org.apache.taglibs.standard.tag.el.fmt.MessageTag)
           _jspx_tagPool_fmt_message_key_nobody.get(
               org.apache.taglibs.standard.tag.el.fmt.MessageTag.class);
   _jspx_th_fmt_message_11.setPageContext(pageContext);
   _jspx_th_fmt_message_11.setParent(_jspx_th_c_otherwise_2);
   _jspx_th_fmt_message_11.setKey("label.yes");
   int _jspx_eval_fmt_message_11 = _jspx_th_fmt_message_11.doStartTag();
   if (_jspx_th_fmt_message_11.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return true;
   _jspx_tagPool_fmt_message_key_nobody.reuse(_jspx_th_fmt_message_11);
   return false;
 }
 private boolean _jspx_meth_c_param_2(
     javax.servlet.jsp.tagext.Tag _jspx_th_c_import_0,
     javax.servlet.jsp.PageContext pageContext,
     int[] _jspx_push_body_count_c_import_0)
     throws Throwable {
   JspWriter out = pageContext.getOut();
   /* ----  c:param ---- */
   org.apache.taglibs.standard.tag.el.core.ParamTag _jspx_th_c_param_2 =
       (org.apache.taglibs.standard.tag.el.core.ParamTag)
           _jspx_tagPool_c_param_value_name_nobody.get(
               org.apache.taglibs.standard.tag.el.core.ParamTag.class);
   _jspx_th_c_param_2.setPageContext(pageContext);
   _jspx_th_c_param_2.setParent(_jspx_th_c_import_0);
   _jspx_th_c_param_2.setName("popOutRedirectMain");
   _jspx_th_c_param_2.setValue("${nodeJsp}");
   int _jspx_eval_c_param_2 = _jspx_th_c_param_2.doStartTag();
   if (_jspx_th_c_param_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return true;
   _jspx_tagPool_c_param_value_name_nobody.reuse(_jspx_th_c_param_2);
   return false;
 }
 private boolean _jspx_meth_c_param_1(
     javax.servlet.jsp.tagext.Tag _jspx_th_c_import_0,
     javax.servlet.jsp.PageContext pageContext,
     int[] _jspx_push_body_count_c_import_0)
     throws Throwable {
   JspWriter out = pageContext.getOut();
   /* ----  c:param ---- */
   org.apache.taglibs.standard.tag.el.core.ParamTag _jspx_th_c_param_1 =
       (org.apache.taglibs.standard.tag.el.core.ParamTag)
           _jspx_tagPool_c_param_value_name_nobody.get(
               org.apache.taglibs.standard.tag.el.core.ParamTag.class);
   _jspx_th_c_param_1.setPageContext(pageContext);
   _jspx_th_c_param_1.setParent(_jspx_th_c_import_0);
   _jspx_th_c_param_1.setName("help");
   _jspx_th_c_param_1.setValue("monitoring/realtime-monitors/WTHelp_RealTimeWinPage.html");
   int _jspx_eval_c_param_1 = _jspx_th_c_param_1.doStartTag();
   if (_jspx_th_c_param_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return true;
   _jspx_tagPool_c_param_value_name_nobody.reuse(_jspx_th_c_param_1);
   return false;
 }
 private boolean _jspx_meth_c_param_0(
     javax.servlet.jsp.tagext.Tag _jspx_th_c_import_0,
     javax.servlet.jsp.PageContext pageContext,
     int[] _jspx_push_body_count_c_import_0)
     throws Throwable {
   JspWriter out = pageContext.getOut();
   /* ----  c:param ---- */
   org.apache.taglibs.standard.tag.el.core.ParamTag _jspx_th_c_param_0 =
       (org.apache.taglibs.standard.tag.el.core.ParamTag)
           _jspx_tagPool_c_param_value_name_nobody.get(
               org.apache.taglibs.standard.tag.el.core.ParamTag.class);
   _jspx_th_c_param_0.setPageContext(pageContext);
   _jspx_th_c_param_0.setParent(_jspx_th_c_import_0);
   _jspx_th_c_param_0.setName("title");
   _jspx_th_c_param_0.setValue("Options &amp; Settings - System Management - License Management");
   int _jspx_eval_c_param_0 = _jspx_th_c_param_0.doStartTag();
   if (_jspx_th_c_param_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return true;
   _jspx_tagPool_c_param_value_name_nobody.reuse(_jspx_th_c_param_0);
   return false;
 }
  public void _jspService(HttpServletRequest request, HttpServletResponse response)
      throws java.io.IOException, ServletException {

    JspFactory _jspxFactory = null;
    javax.servlet.jsp.PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;

    try {
      _jspxFactory = JspFactory.getDefaultFactory();
      response.setContentType("text/xml;charset=ISO-8859-1");
      pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true);
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\n");
      out.write("\n");

      HttpSession user = request.getSession(true);
      Notification newNotice = (Notification) user.getAttribute("newNotice");
      List exclude = new ArrayList();
      exclude.add(NotificationWizardServlet.WT_VENDOR_NAME); // Exclude WebTelemetry

      out.print(buildTree(newNotice, exclude));
      out.write("\n");
    } catch (Throwable t) {
      out = _jspx_out;
      if (out != null && out.getBufferSize() != 0) out.clearBuffer();
      if (pageContext != null) pageContext.handlePageException(t);
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
    }
  }
  public void _jspService(HttpServletRequest request, HttpServletResponse response)
      throws java.io.IOException, ServletException {

    JspFactory _jspxFactory = null;
    javax.servlet.jsp.PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;

    try {
      _jspxFactory = JspFactory.getDefaultFactory();
      response.setContentType("text/html;charset=ISO-8859-1");
      pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true);
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\n");
      out.write("\n");

      response.setContentType("text/xml");

      int mapId = -1;

      TopologyMap map = (TopologyMap) request.getAttribute("map");

      String isRcad = "false";

      if (map == null) {
        String strMapId = request.getParameter("mapId");
        if (strMapId != null) {
          mapId = Integer.parseInt(request.getParameter("mapId"));
        }
      }
      if (map == null && mapId != 99999) {
        map = TopologyMap.getMapById(mapId);
      }
      if (map != null) {
        List centities = map.getCentityMaps();
        List connections = map.getConnections();
        List bgimages = map.getMapBgimages();

        if (WTAccountCredentials.current() == null) {
          System.out.println("NullPointerException: WTAccountCredentials.current() is null");
          return;
        }

        String user = WTAccountCredentials.current().getUserName();
        boolean admin = false;
        WTRole role = WTAccountCredentials.current().getMostPrivilegedRole();
        admin = role.isOrgAdmin() || role.isSiteAdmin();

        if (user == null) {

          out.write("<topology-map />");

          return;
        }
        boolean readOnly = !user.equals(map.getCreator());

        Integer groupId = map.getGroupId();
        String groupAttrs = "";
        if (groupId != null) {
          WTGroupManager groupMan = ManagersImpl.GroupManager;
          WTGroup group = (WTGroup) groupMan.getObject(groupId.intValue());
          groupMan.resolveReferences(group);
          groupAttrs =
              "groupName=\""
                  + URLEncoder.encode(group.getOrg().getName() + " - " + group.getName(), "UTF-8")
                  + "\" groupId=\""
                  + groupId.intValue()
                  + "\"";
        }

        isRcad = String.valueOf(map.isRca());

        out.write("\n\t");
        out.write("<topology-map mapId=\"");
        out.print(map.getMapId());
        out.write("\" name=\"");
        out.print(map.getName());
        out.write("\" mapTypeId=\"");
        out.print(map.getTypeId());
        out.write("\" \n\t zoomLevel=\"");
        out.print(map.getZoom());
        out.write("\" paneScrollX=\"");
        out.print(map.getScrollX());
        out.write("\" paneScrollY=\"");
        out.print(map.getScrollY());
        out.write("\"\n\t shared=\"");
        out.print(map.isShared());
        out.write("\" creator=\"");
        out.print(map.getCreator());
        out.write("\" iconSize=\"");
        out.print(map.getIconSize());
        out.write("\"\n\t labelsAlwaysOn=\"");
        out.print(map.isLabelsAlwaysOn());
        out.write("\" readOnly=\"");
        out.print(readOnly);
        out.write("\" ");
        out.print(groupAttrs);
        out.write(" admin=\"");
        out.print(admin);
        out.write("\" isRcad=\"");
        out.print(isRcad);
        out.write("\">\n\t\n\t\t");
        out.write("<entities>\n\t");

        for (Iterator it = centities.iterator(); it.hasNext(); ) {
          CentityMap centityMap = (CentityMap) it.next();
          StringBuffer hierarchyBuffer = new StringBuffer();
          if (centityMap.getType().equals("category")) {
            WTCategory cat =
                (WTCategory)
                    ManagersImpl.CategoryManager.getObject(
                        Integer.valueOf(centityMap.getIdForType()));
            List sectionList = ManagersImpl.CategoryManager.getAllParentSections(cat);

            for (Iterator sectionIt = sectionList.iterator(); sectionIt.hasNext(); ) {
              WTSection section = (WTSection) sectionIt.next();
              hierarchyBuffer.append(section.getName() + " / ");
            }
          }

          out.write("\n\t    ");
          out.write("<entity centityId=\"");
          out.print(centityMap.getCentityId());
          out.write("\" type=\"");
          out.print(centityMap.getType());
          out.write("\" id=\"");
          out.print(centityMap.getXmlId());
          out.write("\"\n\t     icon=\"");
          out.print(centityMap.getIcon());
          out.write("\" label=\"");
          out.print(centityMap.getLabel());
          out.write("\" hierarchy=\"");
          out.print(hierarchyBuffer.toString());
          out.write("\"\n\t      x=\"");
          out.print(centityMap.getXPlacement());
          out.write("\" y=\"");
          out.print(centityMap.getYPlacement());
          out.write("\"/>\n\t    ");
        }

        out.write("\n\t\t");
        out.write("</entities>\n\t\t");
        out.write("<connections>\n\t");

        for (Iterator it = connections.iterator(); it.hasNext(); ) {
          CentityConnection cc = (CentityConnection) it.next();
          String startType = null;
          String endType = null;
          int startId = -1;
          int endId = -1;
          if (cc.getParentNodeid() != null) {
            startType = "node";
            startId = cc.getParentNodeid();
          } else if (cc.getParentCategoryId() != null) {
            startType = "category";
            startId = cc.getParentCategoryId();
          }
          if (cc.getNodeid() != null) {
            endType = "node";
            endId = cc.getNodeid();
          } else if (cc.getCategoryId() != null) {
            endType = "category";
            endId = cc.getCategoryId();
          }

          out.write("\n\t\t\t");
          out.write("<connection startType=\"");
          out.print(startType);
          out.write("\" startId=\"");
          out.print(startId);
          out.write("\" endType=\"");
          out.print(endType);
          out.write("\" endId=\"");
          out.print(endId);
          out.write("\" />\n\t");
        }

        out.write("\n\t\t");
        out.write("</connections>\n\t\t");
        out.write("<bgimages>\n\t");

        for (Iterator it = bgimages.iterator(); it.hasNext(); ) {
          MapBgimage bgimage = (MapBgimage) it.next();

          out.write("\n\t\t\t\t");
          out.write("<bgimage mapBgimageId=\"");
          out.print(bgimage.getMapBgimageId());
          out.write("\" bgimageId=\"");
          out.print(bgimage.getBgimageId());
          out.write("\"\n\t\t\t\t creator=\"");
          out.print(bgimage.getCreator());
          out.write("\" src=\"");
          out.print(bgimage.getSrc());
          out.write("\" x=\"");
          out.print(bgimage.getXPlacement());
          out.write("\"\n\t\t\t\t  y=\"");
          out.print(bgimage.getYPlacement());
          out.write("\" zindex=\"");
          out.print(bgimage.getZIndex());
          out.write("\" xscale=\"");
          out.print(bgimage.getXScale());
          out.write("\"\n\t\t\t\t   yscale=\"");
          out.print(bgimage.getYScale());
          out.write("\" />\n\t");
        }

        out.write("\n\t\t");
        out.write("</bgimages>\n\t\t\n\t");
        out.write("</topology-map>\n");

      } else {
        out.write("\n");
        out.write(
            "<topology-map mapId=\"99999\" name=\"Topology Sample\" zoomLevel=\"10\" paneScrollX=\"0\" paneScrollY=\"0\" shared=\"true\" creator=\"admin\" iconSize=\"32\" labelsAlwaysOn=\"true\" type=\"topology\">\n\t");
        out.write("<entities>\n\t\t");
        out.write(
            "<entity centityId=\"-90\" type=\"node\" id=\"node_603\" icon=\"OS_Win2003.swf\" label=\"CARROT\" x=\"300\" y=\"200\"/>\n\t\t");
        out.write(
            "<entity centityId=\"-91\" type=\"node\" id=\"node_653\" icon=\"OS_Win2000.swf\" label=\"RAISIN\" x=\"200\" y=\"200\"/>\n\t\t");
        out.write(
            "<entity centityId=\"-92\" type=\"node\" id=\"node_615\" icon=\"OS_Win2003.swf\" label=\"10.100.100.88\" x=\"300\" y=\"100\"/>\n\t\t");
        out.write(
            "<entity centityId=\"-93\" type=\"node\" id=\"node_616\" icon=\"OS_WinXP.swf\" label=\"10.100.100.241\" x=\"100\" y=\"100\"/>\n\t\t");
        out.write(
            "<entity centityId=\"-94\" type=\"node\" id=\"node_613\" icon=\"OS_FoundryIronWare.swf\" label=\"Foundry\" x=\"200\" y=\"125\"/>\n\t\t");
        out.write(
            "<entity centityId=\"-95\" type=\"node\" id=\"node_656\" icon=\"OS_WinXP.swf\" label=\"10.100.100.239\" x=\"225\" y=\"70\"/>\n\t\t");
        out.write(
            "<entity centityId=\"-96\" type=\"node\" id=\"node_610\" icon=\"OS_CiscoIOS.swf\" label=\"Cittio-2621\" x=\"125\" y=\"150\"/>\n\t\t");
        out.write(
            "<entity centityId=\"-97\" type=\"node\" id=\"node_614\" icon=\"OS_Linux.swf\" label=\"Mango\" x=\"100\" y=\"200\"/>\n\n\t");
        out.write("</entities>\n\t");
        out.write("<connections>\n\t\t");
        out.write(
            "<connection startType=\"node\" startId=\"603\" endType=\"node\" endId=\"613\"/>\n\t\t");
        out.write(
            "<connection startType=\"node\" startId=\"653\" endType=\"node\" endId=\"613\"/>\n\t\t");
        out.write(
            "<connection startType=\"node\" startId=\"615\" endType=\"node\" endId=\"613\"/>\n\t\t");
        out.write(
            "<connection startType=\"node\" startId=\"616\" endType=\"node\" endId=\"613\"/>\n\t\t");
        out.write(
            "<connection startType=\"node\" startId=\"656\" endType=\"node\" endId=\"613\"/>\n\t\t");
        out.write(
            "<connection startType=\"node\" startId=\"610\" endType=\"node\" endId=\"613\"/>\n\t\t");
        out.write(
            "<connection startType=\"node\" startId=\"614\" endType=\"node\" endId=\"610\"/>\n\t");
        out.write("</connections>\n\t");
        out.write("<bgimages />\n");
        out.write("</topology-map>\n");
      }

      out.write("\n\n\n");
    } catch (Throwable t) {
      out = _jspx_out;
      if (out != null && out.getBufferSize() != 0) out.clearBuffer();
      if (pageContext != null) pageContext.handlePageException(t);
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
    }
  }
  public void _jspService(HttpServletRequest request, HttpServletResponse response)
      throws java.io.IOException, ServletException {

    JspFactory _jspxFactory = null;
    javax.servlet.jsp.PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;

    try {
      _jspxFactory = JspFactory.getDefaultFactory();
      response.setContentType("text/html;charset=ISO-8859-1");
      pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true);
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\n\n");
      out.write("\n\n");

      // Get required parameter(s)
      String nodeIdStr = request.getParameter("node");
      if (nodeIdStr == null) throw new org.opennms.web.MissingParameterException("node");
      int nodeId = Integer.parseInt(nodeIdStr);
      String nodeLabel = org.opennms.web.element.NetworkElementFactory.getNodeLabel(nodeId);
      Node node_db = NetworkElementFactory.getNode(nodeId);
      String orgName = node_db.getOrganizationName();
      Asset asset = this.model.getAsset(nodeId);
      boolean isNew = false;

      if (asset == null) {
        asset = new Asset();
        isNew = true;
      }

      Vector vCategories = WTProperties.getList("AssetCategories.list");

      out.write("\n\n");
      out.write("<html>\n");
      out.write("<head>\n\t");
      out.write("<title>WebTelemetry - Node Assets | System Info for ");
      out.print(node_db.getLabel());
      out.write("</title>\n\t");
      out.write("<base HREF=\"");
      out.print(org.opennms.web.Util.calculateUrlBase(request));
      out.write("\" />\n\t");
      out.write(
          "<link rel=\"stylesheet\" type=\"text/css\" href=\"/wt-portal/css/default.css\" />\n\t");
      out.write("<script type=\"text/javascript\" src=\"/wt-portal/javascript/WTtools.js\">");
      out.write("</script>\n");
      out.write("</head>\n\n");
      out.write("<body>\n\t");
      out.write("<!-- Header -->\n\t");
      String title = "Asset - Vendor Info for Node: " + node_db.getLabel() + " (" + orgName + ")";
      out.write("\n\t");
      JspRuntimeLibrary.include(
          request,
          response,
          "/includes/tabheader.jsp"
              + "?"
              + "title="
              + java.net.URLEncoder.encode("" + title)
              + "&"
              + "refresh="
              + "1"
              + "&"
              + "helpURL="
              + "assetmanager%2FWTHelp_AssetManager.html"
              + "&"
              + "tabgroup="
              + "asset"
              + "&"
              + "tabselected="
              + "vendor"
              + "&"
              + "node="
              + java.net.URLEncoder.encode("" + nodeIdStr),
          out,
          false);
      out.write("\n\n");
      out.write("<!-- BEGIN FRAMING TABLE:open tags, keep at 100%-->\n");
      out.write("<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n\t");
      out.write("<tr>\n\t\t");
      out.write("<td width=\"10\">");
      out.write(
          "<img src=\"/wt-portal/images/spacers/spacer.gif\" height=\"1\" width=\"10\" border=\"0\" alt=\"WebTelemetry\">");
      out.write("</td>\n\t\t");
      out.write("<td>\n\n");
      out.write("<!-- USER-DEFINED ATTRIBUTES TABLE: was Identification -->\n      ");
      out.write("<form action=\"asset/modifyAsset\" method=\"POST\" name=\"sysInfo\">\n        ");
      out.write("<input type=\"hidden\" name=\"node\" value=\"");
      out.print(nodeId);
      out.write("\" />\n        ");
      out.write("<input type=\"hidden\" name=\"isnew\" value=\"");
      out.print(isNew);
      out.write("\" />\n        ");
      out.write("<input type=\"hidden\" name=\"view\" value=\"asset-tab-vendor\" />\n\n        ");
      if (!isNew) {
        out.write("\n        ");
        out.write("<!-- asset-tab-system -->\n        ");
        out.write("<input type=\"hidden\" name=\"category\" value=\"");
        out.print(asset.getCategory());
        out.write("\" />\n        ");
        out.write("<input type=\"hidden\" name=\"serialnumber\" value=\"");
        out.print(asset.getSerialNumber());
        out.write("\" />\n        ");
        out.write("<input type=\"hidden\" name=\"manufacturer\" value=\"");
        out.print(asset.getManufacturer());
        out.write("\" />\n        ");
        out.write("<input type=\"hidden\" name=\"operatingsystem\" value=\"");
        out.print(asset.getOperatingSystem());
        out.write("\" />\n        ");
        out.write("<input type=\"hidden\" name=\"modelnumber\" value=\"");
        out.print(asset.getModelNumber());
        out.write("\" />\n        ");
        out.write("<input type=\"hidden\" name=\"assetnumber\" value=\"");
        out.print(asset.getAssetNumber());
        out.write("\" />\n        ");
        out.write("<input type=\"hidden\" name=\"dateinstalled\" value=\"");
        out.print(asset.getDateInstalled());
        out.write("\" />\n        ");
        out.write("<input type=\"hidden\" name=\"description\" value=\"");
        out.print(asset.getDescription());
        out.write("\" />\n        ");
        out.write("<input type=\"hidden\" name=\"comments\" value=\"");
        out.print(asset.getComments());
        out.write("\" />\n\n        ");
        out.write("<!-- asset-tab-location -->\n        ");
        out.write("<input type=\"hidden\" name=\"region\" value=\"");
        out.print(asset.getRegion());
        out.write("\" />\n        ");
        out.write("<input type=\"hidden\" name=\"division\" value=\"");
        out.print(asset.getDivision());
        out.write("\" />\n        ");
        out.write("<input type=\"hidden\" name=\"department\" value=\"");
        out.print(asset.getDepartment());
        out.write("\" />\n        ");
        out.write("<input type=\"hidden\" name=\"address1\" value=\"");
        out.print(asset.getAddress1());
        out.write("\" />\n        ");
        out.write("<input type=\"hidden\" name=\"address2\" value=\"");
        out.print(asset.getAddress2());
        out.write("\" />\n        ");
        out.write("<input type=\"hidden\" name=\"city\" value=\"");
        out.print(asset.getCity());
        out.write("\" />\n        ");
        out.write("<input type=\"hidden\" name=\"state\" value=\"");
        out.print(asset.getState());
        out.write("\" />\n        ");
        out.write("<input type=\"hidden\" name=\"zip\" value=\"");
        out.print(asset.getZip());
        out.write("\" />\n        ");
        out.write("<input type=\"hidden\" name=\"building\" value=\"");
        out.print(asset.getBuilding());
        out.write("\" />\n        ");
        out.write("<input type=\"hidden\" name=\"floor\" value=\"");
        out.print(asset.getFloor());
        out.write("\" />\n        ");
        out.write("<input type=\"hidden\" name=\"room\" value=\"");
        out.print(asset.getRoom());
        out.write("\" />\n        ");
        out.write("<input type=\"hidden\" name=\"rack\" value=\"");
        out.print(asset.getRack());
        out.write("\" />\n        ");
        out.write("<input type=\"hidden\" name=\"slot\" value=\"");
        out.print(asset.getSlot());
        out.write("\" />\n        ");
        out.write("<input type=\"hidden\" name=\"port\" value=\"");
        out.print(asset.getPort());
        out.write("\" />\n        ");
        out.write("<input type=\"hidden\" name=\"circuitid\" value=\"");
        out.print(asset.getCircuitId());
        out.write("\" />\n        ");
      }
      out.write("\n\n");
      out.write("<!-- END FRAMING TABLE:open tags, keep at 100%-->\n\t");
      out.write("<table width=\"98%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\n\t  ");
      out.write("<tr class=\"tableHeader\">\n\t    ");
      out.write("<td colspan=\"6\" class=\"tableHeader\">Vendor");
      out.write("</td>\n\t  ");
      out.write("</tr>\n\t  ");
      out.write("<tr class=\"tableRowLight\">\n\t    ");
      out.write("<td class=\"tableText\">");
      out.write("<span class=\"formText\">Name:");
      out.write("</span>");
      out.write("</td>\n\t    ");
      out.write("<td class=\"tableText\">");
      out.write("<input type=\"text\" name=\"vendor\" value=\"");
      out.print(asset.getVendor());
      out.write("\" size=\"20\" maxlength=\"64\"/>");
      out.write("</td>\n\t    ");
      out.write("<td class=\"tableText\">");
      out.write("<span class=\"formText\">Phone:");
      out.write("</span>");
      out.write("</td>\n\t    ");
      out.write("<td class=\"tableText\">");
      out.write("<input type=\"text\" name=\"vendorphone\" value=\"");
      out.print(asset.getVendorPhone());
      out.write("\" size=\"20\" maxlength=\"64\"/>");
      out.write("</td>\n\t    ");
      out.write("<td class=\"tableText\">");
      out.write("<span class=\"formText\">Fax:");
      out.write("</span>");
      out.write("</td>\n\t    ");
      out.write("<td class=\"tableText\">");
      out.write("<input type=\"text\" name=\"vendorfax\"  value=\"");
      out.print(asset.getVendorFax());
      out.write("\" size=\"20\" maxlength=\"64\"/>");
      out.write("</td>\n\t  ");
      out.write("</tr>\n\t  ");
      out.write("<tr class=\"tableRowLight\">\n\t    ");
      out.write("<td class=\"tableText\">");
      out.write("<span class=\"formText\">Lease:");
      out.write("</span>");
      out.write("</td>\n\t    ");
      out.write("<td class=\"tableText\">");
      out.write("<input type=\"text\" name=\"lease\" value=\"");
      out.print(asset.getLease());
      out.write("\" size=\"20\" maxlength=\"64\"/>");
      out.write("</td>\n\t    ");
      out.write("<td class=\"tableText\">");
      out.write("<span class=\"formText\">Lease Expires:");
      out.write("</span>");
      out.write("</td>\n\t    ");
      out.write("<td class=\"tableText\">");
      out.write("<input type=\"text\" name=\"leaseexpires\" value=\"");
      out.print(asset.getLeaseExpires());
      out.write("\" size=\"20\" maxlength=\"64\"/>");
      out.write("</td>\n\t    ");
      out.write("<td class=\"tableText\">");
      out.write("<span class=\"formText\">Vendor Asset:");
      out.write("</span>");
      out.write("</td>\n\t    ");
      out.write("<td class=\"tableText\">");
      out.write("<input type=\"text\" name=\"vendorassetnumber\" value=\"");
      out.print(asset.getVendorAssetNumber());
      out.write("\" size=\"20\" maxlength=\"64\"/>");
      out.write("</td>\n\t  ");
      out.write("</tr>\n\t  ");
      out.write("<tr class=\"tableRowLight\">\n\t    ");
      out.write("<td class=\"tableText\">");
      out.write("<span class=\"formText\">Maint Contract:");
      out.write("</span>");
      out.write("</td>\n\t    ");
      out.write("<td class=\"tableText\">");
      out.write("<input type=\"text\" name=\"maintcontract\" value=\"");
      out.print(asset.getMaintContract());
      out.write("\" size=\"20\" maxlength=\"64\"/>");
      out.write("</td>\n\t    ");
      out.write("<td class=\"tableText\">");
      out.write("<span class=\"formText\">Contract Expires:");
      out.write("</span>");
      out.write("</td>\n\t    ");
      out.write("<td class=\"tableText\">");
      out.write("<input type=\"text\" name=\"maintcontractexpires\" value=\"");
      out.print(asset.getMaintContractExpires());
      out.write("\" size=\"20\" maxlength=\"64\"/>");
      out.write("</td>\n\t    ");
      out.write("<td class=\"tableText\">");
      out.write("<span class=\"formText\">Maint Phone:");
      out.write("</span>");
      out.write("</td>\n\t    ");
      out.write("<td class=\"tableText\">");
      out.write("<input type=\"text\" name=\"supportphone\" value=\"");
      out.print(asset.getSupportPhone());
      out.write("\" size=\"20\" maxlength=\"64\"/>");
      out.write("</td>\n\t  ");
      out.write("</tr>\n\t  ");
      out.write("<tr class=\"tableRowLight\">\n\t    ");
      out.write("<td class=\"tableText\" colspan=\"6\">");
      out.write(
          "<img src=\"/wt-portal/images/spacers/spacer.gif\" height=\"4\" width=\"10\" border=\"0\" alt=\"WebTelemetry\">");
      out.write("</td>\n\t  ");
      out.write("</tr>\n\t");
      out.write("</table>");
      out.write("<br />\n\n\t");
      out.write("<table width=\"98%\" cellspacing=\"0\" cellpadding=\"2\" border=\"0\">\n\t  ");
      out.write("<tr>\n\t\t");
      out.write("<td colspan=\"3\">");
      out.write("<br />\n\t\t\t");
      out.write("<INPUT type=\"hidden\" name=\"button\" value=\"\">\n\t\t\t");
      out.write(
          "<INPUT type=\"image\" src=\"/wt-portal/images/buttons/btn_save_changes.gif\" onClick=\"document.sysInfo.button.value='Save Changes';\">\n\t\t\t&nbsp;&nbsp;&nbsp;\n\t\t\t");
      out.write(
          "<a href=\"javascript:document.sysInfo.reset()\" onClick=\"javascript:document.sysInfo.reset();\">");
      out.write("<img src=\"/wt-portal/images/buttons/btn_reset.gif\" border=\"0\" alt=\"Reset\">");
      out.write("</a>");
      out.write("<br />&nbsp;\n\t\t\t");
      out.write("<!-- ");
      out.write("<input type=\"submit\" value=\"Save Changes\"/>\n\t\t\t");
      out.write("<input type=\"reset\" /> -->\n\t\t");
      out.write("</td>\n\t\t");
      out.write("<td colspan=\"3\" align=\"right\" class=\"message\">");
      out.write("<br />\n\t\t\t");
      if (isNew) {
        out.write("\n\t\t\t\tNew Record\n\t\t\t");
      } else {
        out.write("\n\t\t\t\tLast Modified: ");
        out.print(WTTools.formatLocalDateToString(asset.getLastModifiedDate()));
        out.write(" by ");
        out.print(asset.getUserLastModified());
        out.write("\n\t\t\t");
      }
      out.write("\n\t\t");
      out.write("</td>\n\t  ");
      out.write("</tr>\n\t");
      out.write("</table>\n\t");
      out.write("</form>\n\n");
      out.write("<!-- BEGIN FRAMING TABLE:close tags-->\n\t\t");
      out.write("</td>\n\t");
      out.write("</tr>\n");
      out.write("</table>\n");
      out.write("<!-- END FRAMING TABLE:close tags-->\n\n");
      out.write("<br>\n");
      JspRuntimeLibrary.include(request, response, "/includes/footer.jsp", out, false);
      out.write("\n\n");
      out.write("</body>\n");
      out.write("</html>\n");
    } catch (Throwable t) {
      out = _jspx_out;
      if (out != null && out.getBufferSize() != 0) out.clearBuffer();
      if (pageContext != null) pageContext.handlePageException(t);
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
    }
  }
  public void _jspService(HttpServletRequest request, HttpServletResponse response)
      throws java.io.IOException, ServletException {

    JspFactory _jspxFactory = null;
    javax.servlet.jsp.PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;

    try {
      _jspxFactory = JspFactory.getDefaultFactory();
      response.setContentType("text/html;charset=ISO-8859-1");
      pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true);
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write(
          "<!--\n\n//\n// This file is part of the OpenNMS(R) Application.\n//\n// OpenNMS(R) is Copyright (C) 2002-2003 The OpenNMS Group, Inc.  All rights reserved.\n// OpenNMS(R) is a derivative work, containing both original code, included code and modified\n// code that was published under the GNU General Public License. Copyrights for modified \n// and included code are below.\n//\n// OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.\n//\n// Modifications:\n//\n// 2002 Nov 12: Added response time, based on original  performance code.\n//\n// Original code base Copyright (C) 1999-2001 Oculan Corp.  All rights reserved.\n//\n// This program is free software; you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation; either version 2 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n");
      out.write(
          "// GNU General Public License for more details.\n//\n// You should have received a copy of the GNU General Public License\n// along with this program; if not, write to the Free Software\n// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n//\n// For more information contact:\n//      OpenNMS Licensing       ");
      out.write(
          "<*****@*****.**>\n//      http://www.opennms.org/\n//      http://www.opennms.com/\n//\n\n-->\n\n");
      out.write("\n\n");
      out.write("\n\n");
      out.write("\n\n");

      ResponseTimeModel.QueryableNode[] nodes = this.model.getQueryableNodes();

      out.write("\n      \n");
      out.write(
          "<table width=\"100%\" border=\"1\" cellspacing=\"0\" cellpadding=\"2\" bordercolor=\"black\" bgcolor=\"#cccccc\">\n  ");
      out.write("<tr>\n    ");
      out.write("<td bgcolor=\"#999999\" >");
      out.write("<b>");
      out.write("<a href=\"response/index.jsp\">Response Time");
      out.write("</a>");
      out.write("</b>");
      out.write("</td>\n  ");
      out.write("</tr>\n\n");
      if (nodes != null && nodes.length > 0) {
        out.write("\n  ");
        out.write("<tr> \n    ");
        out.write("<td>\n      ");
        out.write("<form method=\"get\" action=\"response/addIntfFromNode\" >\n        ");
        out.write(
            "<input type=\"hidden\" name=\"endUrl\" value=\"response/addReportsToUrl\" />\n        ");
        out.write("<input type=\"hidden\" name=\"relativetime\" value=\"lastday\" />\n\n        ");
        out.write(
            "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">\n          ");
        out.write("<tr>\n            ");
        out.write("<td>\n              ");
        out.write("<font size=\"-1\">Choose a node to query");
        out.write("</font>\n            ");
        out.write("</td>\n          ");
        out.write("</tr>\n          ");
        out.write("<tr>\n            ");
        out.write("<td>\n              ");
        out.write("<select name=\"node\" size=\"1\">\n                ");
        for (int i = 0; i < nodes.length; i++) {
          out.write("\n                   ");
          out.write("<option value=\"");
          out.print(nodes[i].nodeId);
          out.write("\">");
          out.print(nodes[i].nodeLabel);
          out.write("</option>\n                ");
        }
        out.write("\n              ");
        out.write("</select>\n            ");
        out.write("</td>\n          ");
        out.write("</tr>\n          ");
        out.write("<tr>\n            ");
        out.write("<td>\n              ");
        out.write("<input type=\"submit\" value=\"Execute Query\" />\n            ");
        out.write("</td>\n          ");
        out.write("</tr>\n        ");
        out.write("</table>\n      ");
        out.write("</form>\n    ");
        out.write("</td>\n  ");
        out.write("</tr>\n");
      } else {
        out.write("\n  ");
        out.write("<tr>\n    ");
        out.write("<td>\n      No response time data has been gathered yet\n    ");
        out.write("</td>\n  ");
        out.write("</tr>        \n");
      }
      out.write("\n");
      out.write("</table>\n");
    } catch (Throwable t) {
      out = _jspx_out;
      if (out != null && out.getBufferSize() != 0) out.clearBuffer();
      if (pageContext != null) pageContext.handlePageException(t);
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
    }
  }
  public void _jspService(HttpServletRequest request, HttpServletResponse response)
      throws java.io.IOException, ServletException {

    JspFactory _jspxFactory = null;
    javax.servlet.jsp.PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;

    try {
      _jspxFactory = JspFactory.getDefaultFactory();
      response.setContentType("text/html;charset=ISO-8859-1");
      pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true);
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");

      User user = null;
      UserFactory userFactory = UserFactory.getInstance();
      String userID = request.getParameter("userID");
      try {
        UserFactory.init();
        user = userFactory.getUser(userID);
      } catch (Exception e) {
        throw new ServletException("Could not find user " + userID + " in user factory.", e);
      }

      out.write("\n");
      out.write("<html>\n");
      out.write("<head>\n    ");
      out.write("<title>WebTelemetry -  | User Management | User Detail");
      out.write("</title>\n    ");
      out.write("<base HREF=\"");
      out.print(org.opennms.web.Util.calculateUrlBase(request));
      out.write("\" />\n    ");
      out.write(
          "<link rel=\"stylesheet\" type=\"text/css\" href=\"/wt-portal/css/default.css\" />\n\t");
      out.write("<script type=\"text/javascript\" src=\"/wt-portal/javascript/WTtools.js\">");
      out.write("</script>\n");
      out.write("</head>\n");
      out.write("<body>\n");
      String title = " User Management  - Detail Summary for: " + userID;
      out.write("\n");
      /* ----  c:if ---- */
      org.apache.taglibs.standard.tag.el.core.IfTag _jspx_th_c_if_0 =
          (org.apache.taglibs.standard.tag.el.core.IfTag)
              _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.el.core.IfTag.class);
      _jspx_th_c_if_0.setPageContext(pageContext);
      _jspx_th_c_if_0.setParent(null);
      _jspx_th_c_if_0.setTest("${not param.orgAdminPopup}");
      int _jspx_eval_c_if_0 = _jspx_th_c_if_0.doStartTag();
      if (_jspx_eval_c_if_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\n    ");
          JspRuntimeLibrary.include(
              request,
              response,
              "/includes/header.jsp"
                  + "?"
                  + "title="
                  + java.net.URLEncoder.encode("" + title)
                  + "&"
                  + "help="
                  + "monitoringadmin%2Fusers%2FWTHelp_User.html",
              out,
              false);
          out.write("\n");
          int evalDoAfterBody = _jspx_th_c_if_0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
        } while (true);
      }
      if (_jspx_th_c_if_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return;
      _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_0);
      out.write("\n");
      if (_jspx_meth_c_if_1(pageContext)) return;
      out.write("\n\n");
      out.write("<!-- BEGIN FRAMING TABLE:open tags, keep at 100%-->\n");
      out.write("<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n\t");
      out.write("<tr>\n\t\t");
      out.write("<td width=\"10\">");
      out.write(
          "<img src=\"/wt-portal/images/spacers/spacer.gif\" height=\"1\" width=\"10\" border=\"0\" alt=\"WebTelemetry\">");
      out.write("</td>\n\t\t");
      out.write("<td>\n");
      out.write("<!-- END FRAMING TABLE:open tags, keep at 100%-->\n");
      out.write("<table width=\"98%\"border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n    ");
      out.write("<tr class=\"tableHeader\">\n        ");
      out.write("<td class=\"tableHeader\" colspan=\"2\">User Information");
      out.write("</td>\n     ");
      out.write("</tr>\n    ");
      out.write("<tr class=\"tableRowLight\">\n        ");
      out.write("<td class=\"tableText\" width=\"25%\">");
      out.write("<b>Full Name:");
      out.write("</b>");
      out.write("</td>\n        ");
      out.write("<td class=\"tableText\" width=\"75%\">");
      out.print(user.getFullName());
      out.write("</td>\n     ");
      out.write("</tr>\n    ");
      out.write("<tr class=\"tableRowDark\">\n        ");
      out.write("<td class=\"tableText\">");
      out.write("<b>Comments:");
      out.write("</b>");
      out.write("</td>\n        ");
      out.write("<td class=\"tableText\">");
      out.print(user.getUserComments());
      out.write("</td>\n     ");
      out.write("</tr>\n");
      out.write("</table>\n");
      out.write("<br>\n");
      out.write("<table width=\"98%\"border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n    ");
      out.write("<tr class=\"tableHeader\">\n        ");
      out.write("<td class=\"tableHeader\" colspan=\"2\">Notification Information");
      out.write("</td>\n     ");
      out.write("</tr>\n    ");
      out.write("<tr class=\"tableRowLight\">\n        ");
      out.write("<td class=\"tableText\" width=\"25%\">");
      out.write("<b>Email:");
      out.write("</b>");
      out.write("</td>\n        ");
      out.write("<td class=\"tableText\" width=\"75%\">");
      out.print(userFactory.getEmail(userID));
      out.write("</td>\n     ");
      out.write("</tr>\n    ");
      out.write("<tr class=\"tableRowDark\">\n        ");
      out.write("<td class=\"tableText\">");
      out.write("<b>Pager Email:");
      out.write("</b>");
      out.write("</td>\n        ");
      out.write("<td class=\"tableText\">");
      out.print(userFactory.getPagerEmail(userID));
      out.write("</td>\n     ");
      out.write("</tr>\n    ");
      out.write("<tr class=\"tableRowLight\">\n        ");
      out.write("<td class=\"tableText\">");
      out.write("<b>Numerical Service:");
      out.write("</b>");
      out.write("</td>\n        ");
      out.write("<td class=\"tableText\">");
      out.print(userFactory.getNumericPage(userID));
      out.write("</td>\n     ");
      out.write("</tr>\n    ");
      out.write("<tr class=\"tableRowDark\">\n        ");
      out.write("<td class=\"tableText\">");
      out.write("<b>Numerical Pin:");
      out.write("</b>");
      out.write("</td>\n        ");
      out.write("<td class=\"tableText\">");
      out.print(userFactory.getNumericPin(userID));
      out.write("</td>\n     ");
      out.write("</tr>\n    ");
      out.write("<tr class=\"tableRowLight\">\n        ");
      out.write("<td class=\"tableText\">");
      out.write("<b>Text Service:");
      out.write("</b>");
      out.write("</td>\n        ");
      out.write("<td class=\"tableText\">");
      out.print(userFactory.getTextPage(userID));
      out.write("</td>\n     ");
      out.write("</tr>\n    ");
      out.write("<tr class=\"tableRowDark\">\n        ");
      out.write("<td class=\"tableText\">");
      out.write("<b>Text Pin:");
      out.write("</b>");
      out.write("</td>\n        ");
      out.write("<td class=\"tableText\">");
      out.print(userFactory.getTextPin(userID));
      out.write("</td>\n     ");
      out.write("</tr>\n");
      out.write("</table>\n");
      out.write("<br>\n");
      out.write("<table width=\"98%\"border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n    ");
      out.write("<tr class=\"tableHeader\">\n        ");
      out.write("<td class=\"tableHeader\" colspan=\"2\">Duty Schedules");
      out.write("</td>\n     ");
      out.write("</tr>\n    ");
      out.write("<tr class=\"tableRowLight\">\n        ");
      out.write("<td class=\"tableText\" colspan=\"2\">");
      out.write("<br />\n        ");
      out.write("<!-- weekly schedule -->\n                ");
      out.write(
          "<table width=\"50%\" border=\"1\" bordercolor=\"#999999\" cellspacing=\"0\" cellpadding=\"2\" >\n\t\t\t");
      Collection dutySchedules = user.getDutyScheduleCollection();
      out.write("\n                        ");

      int i = 0;
      Iterator iter = dutySchedules.iterator();
      while (iter.hasNext()) {
        DutySchedule tmp = new DutySchedule((String) iter.next());
        Vector curSched = tmp.getAsVector();
        i++;

        out.write("\n                        ");
        out.write("<tr>\n                           ");
        ChoiceFormat days = new ChoiceFormat("0#Mo|1#Tu|2#We|3#Th|4#Fr|5#Sa|6#Su");
        for (int j = 0; j < 7; j++) {
          Boolean curDay = (Boolean) curSched.get(j);

          out.write("\n                          ");
          out.write("<td width=\"5%\">\n                           ");
          out.print((curDay.booleanValue() ? days.format(j) : "X"));
          out.write("\n                          ");
          out.write("</td>\n                          ");
        }
        out.write("\n                          ");
        out.write("<td width=\"5%\">\n                            ");
        out.print(curSched.get(7));
        out.write("\n                          ");
        out.write("</td>\n                          ");
        out.write("<td width=\"5%\">\n                            ");
        out.print(curSched.get(8));
        out.write("\n                          ");
        out.write("</td>\n                        ");
        out.write("</tr>\n                        ");
      }
      out.write("\n                      ");
      out.write("</table>\n        ");
      out.write("<!-- end weekly schedule -->   \n        ");
      out.write("</td>\n    ");
      out.write("</tr>\n    ");
      out.write("<tr class=\"tableRowLight\">\n        ");
      out.write("<td class=\"tableText\" colspan=\"2\">");
      out.write(
          "<img src=\"/wt-portal/images/spacers/spacer.gif\" height=\"4\" width=\"10\" border=\"0\" alt=\"WebTelemetry\">");
      out.write("</td>\n    ");
      out.write("</tr> \n");
      out.write("</table>\n");
      out.write("<br>");
      out.write("<br>\n");
      out.write("<b>Member of the Following Organizations &amp; Groups:");
      out.write("</b>\n");
      out.write("<!-- BEGIN: NEW ASSIGNED GROUPS TABLE -->\n");
      out.write("<table width=\"98%\"border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n\n    ");

      // Get the user's orgs
      WTOrganizationDAO orgDAO = DAOImpl.OrgDAO;
      WTOrganization[] orgs = orgDAO.getWTOrganization();

      if (orgs != null) {
        // Loop thru orgs
        for (int idx = 0; idx < orgs.length; idx++) {

          out.write("\n\n    ");
          out.write("<tr class=\"tableHeader\">\n        ");
          out.write("<td class=\"tableHeader\" colspan=\"2\">Organization Name: ");
          out.print(orgs[idx].getName());
          out.write("</td>\n\t");
          out.write("</tr>\n    ");
          out.write("<tr class=\"tableRowLight\">\n        ");
          out.write("<td class=\"tableText\" width=\"25%\">");
          out.write("<b>Assigned Groups:");
          out.write("</b>");
          out.write("</td>\n        ");
          out.write("<td class=\"tableText\" width=\"75%\">\n            ");

          // Get the orgs groups
          WTGroupManager grpMgr = ManagersImpl.GroupManager;
          int[] orgids = {orgs[idx].getID()};
          List groups = grpMgr.getUserGroups(user.getUserId(), orgids);

          if (groups != null) {
            // Loop thru the groups
            for (Iterator iterGrps = groups.iterator(); iterGrps.hasNext(); ) {
              WTGroup group = (WTGroup) iterGrps.next();
              WTRole role = (group.getRoles() == null ? null : (WTRole) group.getRoles().get(0));

              out.write("\n                    ");
              out.print(group.getName());
              out.write(" (");
              out.print((role == null ? "" : role.getName()));
              out.write(")");
              out.write("<br/>\n            ");
            }
          }

          out.write("\n\n        ");
          out.write("</td>\n\t");
          out.write("</tr>\n\n    ");
        }
      }

      out.write("\n\n    ");
      out.write("<tr class=\"tableRowLight\">\n        ");
      out.write("<td class=\"tableText\" colspan=\"2\">");
      out.write(
          "<img src=\"/wt-portal/images/spacers/spacer.gif\" height=\"4\" width=\"10\" border=\"0\" alt=\"WebTelemetry\">");
      out.write("</td>\n    ");
      out.write("</tr> \n");
      out.write("</table>\n");
      out.write("<!-- END: NEW ASSIGNED GROUPS TABLE -->\n\n\n");
      out.write("<!-- BEGIN FRAMING TABLE:close tags-->\n\t\t");
      out.write("</td>\n\t");
      out.write("</tr>\n");
      out.write("</table>\n");
      out.write("<!-- END FRAMING TABLE:close tags-->\n");
      out.write("<br>\n\n");
      JspRuntimeLibrary.include(request, response, "/includes/footer.jsp", out, false);
      out.write("\n");
      out.write("</body>\n");
      out.write("</html>\n\n");
    } catch (Throwable t) {
      out = _jspx_out;
      if (out != null && out.getBufferSize() != 0) out.clearBuffer();
      if (pageContext != null) pageContext.handlePageException(t);
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
    }
  }