package org.apache.jsp.pages;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public final class networks_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();

  private static java.util.List _jspx_dependants;

  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fproperty_0026_005fvalue_005fnobody;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fif_0026_005ftest;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fiterator_0026_005fvar_005fvalue_005fstatus;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005felse;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005ftext_0026_005fname_005fnobody;

  private javax.el.ExpressionFactory _el_expressionfactory;
  private org.apache.AnnotationProcessor _jsp_annotationprocessor;

  public Object getDependants() {
    return _jspx_dependants;
  }

  public void _jspInit() {
    _005fjspx_005ftagPool_005fs_005fproperty_0026_005fvalue_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fs_005fif_0026_005ftest = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fs_005fiterator_0026_005fvar_005fvalue_005fstatus = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fs_005felse = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fs_005ftext_0026_005fname_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
    _jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
  }

  public void _jspDestroy() {
    _005fjspx_005ftagPool_005fs_005fproperty_0026_005fvalue_005fnobody.release();
    _005fjspx_005ftagPool_005fs_005fif_0026_005ftest.release();
    _005fjspx_005ftagPool_005fs_005fiterator_0026_005fvar_005fvalue_005fstatus.release();
    _005fjspx_005ftagPool_005fs_005felse.release();
    _005fjspx_005ftagPool_005fs_005ftext_0026_005fname_005fnobody.release();
  }

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

    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;


    try {
      response.setContentType("text/html");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\n");
      out.write("<script type=\"text/javascript\">\n");
      out.write("       $.fn.liveAndLetDie = function(event, callback) {\n");
      out.write("    var sel = this.selector;\n");
      out.write("    function unbind() { $(sel).die(event, callback).die(event, unbind); }\n");
      out.write("    return this.live(event, callback).live(event, unbind);\n");
      out.write("};\n");
      out.write("    $(document).ready(function() {\n");
      out.write("            var ajaxLoading=false;\n");
      out.write("                    var clicking=0;\n");
      out.write("            $(\".eachNetworkName\").click(function(e){\n");
      out.write("               var item=$(this);\n");
      out.write("              // alert(\"before checking \"+item.attr(\"disabled\"));\n");
      out.write("              //alert(item.attr(\"disabled\"));\n");
      out.write("             if (!ajaxLoading) {\n");
      out.write("               ajaxLoading = true;\n");
      out.write("               if(item.attr(\"disabled\")!=\"disabled\"){\n");
      out.write("                      item.attr({disabled:true});\n");
      out.write("             //      alert(\"after disabling \"+item.attr(\"disabled\"));\n");
      out.write("               clicking=1;\n");
      out.write("\n");
      out.write("\n");
      out.write("                var allLi=$(this).parent().parent().parent().find(\".eachNetworkName\").removeClass(\"selecting\");\n");
      out.write("                $(this).addClass(\"selecting\") ;\n");
      out.write("                var networkId=$(this).parent().parent().find(\"input[name='networkId']\").val();\n");
      out.write("                $(\"#deviceInfo\").html(\"\");\n");
      out.write("                       $.ajax({\n");
      out.write("                                url: \"viewDevices.action\",\n");
      out.write("                                data:\"networkId=\"+networkId,\n");
      out.write("                                type:\"post\",\n");
      out.write("                                success:function(data) {\n");
      out.write("\n");
      out.write("//                                  $(\"#deviceInfo\").remove();\n");
      out.write("//                                    var div=\"<div id='deviceInfo'></div>\";\n");
      out.write("//                                  $(\"#adminContext\").append(div);\n");
      out.write("                                   $(\"#deviceInfo\").html(\"\");\n");
      out.write("                                   $(\"#deviceInfo\").html(data);\n");
      out.write("                                   $(\".dataTables_empty\").text(\"There is not any device\");\n");
      out.write("\n");
      out.write("                                   $(\"input[name='selectedDevice']\").val(\"\");\n");
      out.write("\n");
      out.write("                                   //added for explorer 7\n");
      out.write("                                        $(\"#items\").show();\n");
      out.write("                                        $(\"#allNetworks\").attr(\"src\",'images/content/network_storage.png');\n");
      out.write("                                        var li=$(\".subNetwork\").find(\"li\");\n");
      out.write("                                          li.each(function(){\n");
      out.write("                                          li.attr(\"disable\",\"false\");\n");
      out.write("                                        }) ;\n");
      out.write("                                       $(\".subNetwork\").find(\"input[name='isHidden']\").val(0);\n");
      out.write("                                       //added for explorer 7\n");
      out.write("                                            item.attr({disabled:false});\n");
      out.write("                                       //   alert(item.attr(\"disabled\"));\n");
      out.write("                                    return false;\n");
      out.write("                                }\n");
      out.write("                       });\n");
      out.write("                      ajaxLoading=false;\n");
      out.write("                }\n");
      out.write("             }\n");
      out.write("            });\n");
      out.write("\n");
      out.write("        $(\"#networks\").css(\"margin-top\", \"50px\");\n");
      out.write("        var valueNetName;\n");
      out.write("\n");
      out.write("        $('.netName').focus(function() {\n");
      out.write("            valueNetName = $(this).val();\n");
      out.write("            if (valueNetName == \"Network name\") {\n");
      out.write("                $(this).val(\"\");\n");
      out.write("            }\n");
      out.write("        });\n");
      out.write("\n");
      out.write("        $('.netName').blur(function() {\n");
      out.write("            if ($(this).val() == \"\") {\n");
      out.write("                $(this).val(\"Network name\");\n");
      out.write("            }\n");
      out.write("        });\n");
      out.write("\n");
      out.write("        var firstNetwork = $(\"#items\").find(\".item\").first();\n");
      out.write("        firstNetwork.find(\".eachNetworkName\").addClass(\"selecting\");\n");
      out.write("        var networkId = firstNetwork.find(\"input[name='networkId']\").val();\n");
      out.write("        $.ajax({\n");
      out.write("            url: \"viewDevices.action\",\n");
      out.write("            data:\"networkId=\" + networkId,\n");
      out.write("            type:\"post\",\n");
      out.write("            success:function(data) {\n");
      out.write("               $(\"#deviceInfo\").html(\"\");\n");
      out.write("                $(\"#deviceInfo\").html(data);\n");
      out.write("//                $(\".dataTables_empty\").text(\"There is not any device\");\n");
      out.write("                firstNetwork.attr({disabled:false});\n");
      out.write("                $(\"input[name='selectedDevice']\").val(\"\");\n");
      out.write("            }\n");
      out.write("        });\n");
      out.write("\n");
      out.write("        $(\".removeNetwork\").hide();\n");
      out.write("\n");
      out.write("        $(\".item\").hover(function() {\n");
      out.write("\n");
      out.write("            $(this).find(\".removeNetwork\").show();\n");
      out.write("        },\n");
      out.write("                function() {\n");
      out.write("\n");
      out.write("                    $(this).find(\".removeNetwork\").hide();\n");
      out.write("                }\n");
      out.write("                );\n");
      out.write("\n");
      out.write("        $(\"#saveNetwork\").click(function() {\n");
      out.write("\n");
      out.write("            var networkName = $(\"input[name='networkName']\").val();\n");
      out.write("\n");
      out.write("            if (networkName == \"Network name\" || networkName == \"\") {\n");
      out.write("                alert(\"Please ,input the network name\");\n");
      out.write("            } else {\n");
      out.write("                if (networkName.length >= 15) {\n");
      out.write("                    alert(\"Network name is long.Please input another name !\");\n");
      out.write("                } else {\n");
      out.write("                    $.ajax({\n");
      out.write("                        url: \"addNewNetwork.action\",\n");
      out.write("                        data:\"networkName=\" + networkName,\n");
      out.write("                        type:\"post\",\n");
      out.write("                        success:function(result) {\n");
      out.write("                            if(result==\"success\"){\n");
      out.write("                                 $(\"input[name='networkName']\").val(\"Network name\");\n");
      out.write("                                 $(\"#addNetwork\").hide(\"slow\");\n");
      out.write("                                 location.reload();\n");
      out.write("                            }else if(result==\"error\"){\n");
      out.write("                                alert(\"Error ! Please try again!\");\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");
      out.write("\n");
      out.write("        $(\".add\").click(function () {\n");
      out.write("            var hh = $(\"#header\").height()+ $(\"#content\").height()+ $(\"#footer\").height()+$(\"#menuLay\").height()+2*25+80+2*10;\n");
      out.write("            $('#grayBox').css({ opacity: 0.7, 'width':\"100%\",'height':hh});\n");
      out.write("            $(\"#addNetwork\").show(\"slow\");\n");
      out.write("//            $(\"#items\").show();\n");
      out.write("        });\n");
      out.write("\n");
      out.write("        $(\".closeWindow\").click(function (e) {\n");
      out.write("\n");
      out.write("            var networkName = $(\"input[name='networkName']\").val();\n");
      out.write("            if (networkName == \"Network name\" || networkName == \"\") {\n");
      out.write("                $(\"#addNetwork\").hide(\"slow\");\n");
      out.write("                $('#grayBox').css(\"width\", \"0px\");\n");
      out.write("                $('#grayBox').css(\"height\", \"0px\");\n");
      out.write("            } else {\n");
      out.write("                if (confirm(\"Do you want to cancel your data?\")) {\n");
      out.write("                    $(\"#addNetwork\").hide(\"slow\");\n");
      out.write("                    $('#grayBox').css(\"width\", \"0px\");\n");
      out.write("                    $('#grayBox').css(\"height\", \"0px\");\n");
      out.write("                    $(\"input[name='networkName']\").val(\"Network name\");\n");
      out.write("                    return false;\n");
      out.write("                }\n");
      out.write("\n");
      out.write("                return false;\n");
      out.write("            }\n");
      out.write("        });\n");
      out.write("\n");
      out.write("        $(\".removeNetwork\").click(function() {\n");
      out.write("            if (confirm(\"Do you really want to remove this network\")) {\n");
      out.write("                var networkId = $(this).parent().find(\"input[name='networkId']\").val();\n");
      out.write("                $.ajax({\n");
      out.write("                    url: \"removeNetwork.action\",\n");
      out.write("                    data:\"networkId=\" + networkId,\n");
      out.write("                    type:\"post\",\n");
      out.write("                    dataType:\"json\" ,\n");
      out.write("                    success:function(data) {\n");
      out.write("\n");
      out.write("                        if (data.result != \"\") {\n");
      out.write("                            alert(data.result);\n");
      out.write("                        }\n");
      out.write("                        else {\n");
      out.write("                            location.reload();\n");
      out.write("                        }\n");
      out.write("                    },\n");
      out.write("                    error:function(data) {\n");
      out.write("                        alert(data);\n");
      out.write("                    }\n");
      out.write("                });\n");
      out.write("            }\n");
      out.write("        });\n");
      out.write("    });\n");
      out.write("</script>\n");
      out.write("<style type=\"text/css\">\n");
      out.write("\n");
      out.write("    #addNetwork {\n");
      out.write("        background-color: #aaaaaa;\n");
      out.write("        margin-top: -50px;\n");
      out.write("        margin-left: 250px;\n");
      out.write("        border: #555555 solid 3px;\n");
      out.write("        display: none;\n");
      out.write("        position: fixed;\n");
      out.write("        width: 400px;\n");
      out.write("        height: 200px;\n");
      out.write("        z-index: 100;\n");
      out.write("    }\n");
      out.write("\n");
      out.write("    .removeNetwork img {\n");
      out.write("        border: none;\n");
      out.write("    }\n");
      out.write("\n");
      out.write("    #close {\n");
      out.write("        height: 24px;\n");
      out.write("        width: 400px;\n");
      out.write("        margin-top: 0px;\n");
      out.write("\n");
      out.write("    }\n");
      out.write("\n");
      out.write("    #newNetwork {\n");
      out.write("        margin-top: 0px;\n");
      out.write("        margin-left: 80px;\n");
      out.write("        font-style: italic;\n");
      out.write("        font-size: 18px;\n");
      out.write("        margin-bottom: 40px;\n");
      out.write("        font-weight:bold;\n");
      out.write("    }\n");
      out.write("\n");
      out.write("    #close a {\n");
      out.write("        float: right;\n");
      out.write("        margin-right: 0px;\n");
      out.write("        width: 24px;\n");
      out.write("    }\n");
      out.write("\n");
      out.write("    #close a img {\n");
      out.write("        border: none;\n");
      out.write("    }\n");
      out.write("\n");
      out.write("    .netName {\n");
      out.write("        height: 31px;\n");
      out.write("        margin-left: 50px;\n");
      out.write("        text-align: center;\n");
      out.write("        float: left;\n");
      out.write("\n");
      out.write("    }\n");
      out.write("\n");
      out.write("    .add a {\n");
      out.write("        text-decoration: none;\n");
      out.write("        color: #212121;\n");
      out.write("    }\n");
      out.write("\n");
      out.write("    #grayBox {\n");
      out.write("        position: absolute;\n");
      out.write("        left: 0;\n");
      out.write("        top: 0;\n");
      out.write("        background: #000;\n");
      out.write("        z-index: 90;\n");
      out.write("    }\n");
      out.write("\n");
      out.write("    #ulUsers {\n");
      out.write("        margin-left: 0;\n");
      out.write("    }\n");
      out.write("\n");
      out.write("    #allUsers {\n");
      out.write("        margin-left: 0;\n");
      out.write("    }\n");
      out.write("\n");
      out.write("    .subUser {\n");
      out.write("        margin-left: 0;\n");
      out.write("    }\n");
      out.write("\n");
      out.write("    img {\n");
      out.write("        border:none;\n");
      out.write("    }\n");
      out.write("\n");
      out.write("</style>\n");
      out.write("<div id=\"grayBox\"></div>\n");
      out.write("<input type=\"hidden\" value=\"");
      if (_jspx_meth_s_005fproperty_005f0(_jspx_page_context))
        return;
      out.write("\" name=\"items\"/>\n");
      out.write("\n");
      out.write("<div id=\"addNetwork\">\n");
      out.write("    <div id=\"close\">\n");
      out.write("        <a href=\"#\" class=\"closeWindow\">\n");
      out.write("            <img src=\"");
      out.print(request.getContextPath());
      out.write("/images/close/close.png\" width=\"24\" height=\"24\"/>\n");
      out.write("        </a>\n");
      out.write("    </div>\n");
      out.write("    <div id=\"newNetwork\">\n");
      out.write("       Creating new network\n");
      out.write("    </div>\n");
      out.write("    <div>\n");
      out.write("        <input type=\"text\" class=\"netName\" name=\"networkName\" value=\"Network name\"/>\n");
      out.write("        <input type=\"submit\" value=\"Save\" id=\"saveNetwork\"\n");
      out.write("               style=\"margin-left: 10px;width: 80px;height: 33px;margin-top:3px; float: left;\"/>\n");
      out.write("    </div>\n");
      out.write("</div>\n");
      out.write("<div id=\"items\">\n");
      out.write("    ");
      //  s:if
      org.apache.struts2.views.jsp.IfTag _jspx_th_s_005fif_005f0 = (org.apache.struts2.views.jsp.IfTag) _005fjspx_005ftagPool_005fs_005fif_0026_005ftest.get(org.apache.struts2.views.jsp.IfTag.class);
      _jspx_th_s_005fif_005f0.setPageContext(_jspx_page_context);
      _jspx_th_s_005fif_005f0.setParent(null);
      // /pages/networks.jsp(289,4) name = test type = java.lang.String reqTime = false required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_s_005fif_005f0.setTest("%{items!=null}");
      int _jspx_eval_s_005fif_005f0 = _jspx_th_s_005fif_005f0.doStartTag();
      if (_jspx_eval_s_005fif_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        if (_jspx_eval_s_005fif_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
          out = _jspx_page_context.pushBody();
          _jspx_th_s_005fif_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
          _jspx_th_s_005fif_005f0.doInitBody();
        }
        do {
          out.write("\n");
          out.write("        ");
          //  s:iterator
          org.apache.struts2.views.jsp.IteratorTag _jspx_th_s_005fiterator_005f0 = (org.apache.struts2.views.jsp.IteratorTag) _005fjspx_005ftagPool_005fs_005fiterator_0026_005fvar_005fvalue_005fstatus.get(org.apache.struts2.views.jsp.IteratorTag.class);
          _jspx_th_s_005fiterator_005f0.setPageContext(_jspx_page_context);
          _jspx_th_s_005fiterator_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_s_005fif_005f0);
          // /pages/networks.jsp(290,8) name = value type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_s_005fiterator_005f0.setValue("items");
          // /pages/networks.jsp(290,8) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_s_005fiterator_005f0.setVar("item");
          // /pages/networks.jsp(290,8) name = status type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_s_005fiterator_005f0.setStatus("s_item");
          int _jspx_eval_s_005fiterator_005f0 = _jspx_th_s_005fiterator_005f0.doStartTag();
          if (_jspx_eval_s_005fiterator_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            if (_jspx_eval_s_005fiterator_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
              out = _jspx_page_context.pushBody();
              _jspx_th_s_005fiterator_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
              _jspx_th_s_005fiterator_005f0.doInitBody();
            }
            do {
              out.write("\n");
              out.write("            <div class=\"item\">\n");
              out.write("\n");
              out.write("                <div >\n");
              out.write("                    <a class=\"eachNetworkName\" href=\"#\" >\n");
              out.write("                    <img src=\"");
              out.print(request.getContextPath());
              out.write("/images/content/package_network.png\" width=\"16\" height=\"16\"/>\n");
              out.write("                    ");
              if (_jspx_meth_s_005fproperty_005f1(_jspx_th_s_005fiterator_005f0, _jspx_page_context))
                return;
              out.write("\n");
              out.write("                    </a>\n");
              out.write("                </div>\n");
              out.write("\n");
              out.write("\n");
              out.write("                <input type=\"hidden\" value=\"");
              if (_jspx_meth_s_005fproperty_005f2(_jspx_th_s_005fiterator_005f0, _jspx_page_context))
                return;
              out.write("\" name=\"networkId\"/>\n");
              out.write("                ");
              //  s:if
              org.apache.struts2.views.jsp.IfTag _jspx_th_s_005fif_005f1 = (org.apache.struts2.views.jsp.IfTag) _005fjspx_005ftagPool_005fs_005fif_0026_005ftest.get(org.apache.struts2.views.jsp.IfTag.class);
              _jspx_th_s_005fif_005f1.setPageContext(_jspx_page_context);
              _jspx_th_s_005fif_005f1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_s_005fiterator_005f0);
              // /pages/networks.jsp(302,16) name = test type = java.lang.String reqTime = false required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
              _jspx_th_s_005fif_005f1.setTest("%{#session.user.userType.value==1}");
              int _jspx_eval_s_005fif_005f1 = _jspx_th_s_005fif_005f1.doStartTag();
              if (_jspx_eval_s_005fif_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                if (_jspx_eval_s_005fif_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                  out = _jspx_page_context.pushBody();
                  _jspx_th_s_005fif_005f1.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                  _jspx_th_s_005fif_005f1.doInitBody();
                }
                do {
                  out.write("\n");
                  out.write("                    <a href=\"#\" class=\"removeNetwork\">\n");
                  out.write("                        <img src=\"");
                  out.print(request.getContextPath());
                  out.write("/images/admin/remNetwork.png\" width=\"12\" height=\"12\"\n");
                  out.write("                             title=\"Remove network\"/>\n");
                  out.write("                    </a>\n");
                  out.write("                ");
                  int evalDoAfterBody = _jspx_th_s_005fif_005f1.doAfterBody();
                  if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
                } while (true);
                if (_jspx_eval_s_005fif_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                  out = _jspx_page_context.popBody();
                }
              }
              if (_jspx_th_s_005fif_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                _005fjspx_005ftagPool_005fs_005fif_0026_005ftest.reuse(_jspx_th_s_005fif_005f1);
                return;
              }
              _005fjspx_005ftagPool_005fs_005fif_0026_005ftest.reuse(_jspx_th_s_005fif_005f1);
              out.write("\n");
              out.write("            </div>\n");
              out.write("        ");
              int evalDoAfterBody = _jspx_th_s_005fiterator_005f0.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
            if (_jspx_eval_s_005fiterator_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
              out = _jspx_page_context.popBody();
            }
          }
          if (_jspx_th_s_005fiterator_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fs_005fiterator_0026_005fvar_005fvalue_005fstatus.reuse(_jspx_th_s_005fiterator_005f0);
            return;
          }
          _005fjspx_005ftagPool_005fs_005fiterator_0026_005fvar_005fvalue_005fstatus.reuse(_jspx_th_s_005fiterator_005f0);
          out.write("\n");
          out.write("        ");
          //  s:if
          org.apache.struts2.views.jsp.IfTag _jspx_th_s_005fif_005f2 = (org.apache.struts2.views.jsp.IfTag) _005fjspx_005ftagPool_005fs_005fif_0026_005ftest.get(org.apache.struts2.views.jsp.IfTag.class);
          _jspx_th_s_005fif_005f2.setPageContext(_jspx_page_context);
          _jspx_th_s_005fif_005f2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_s_005fif_005f0);
          // /pages/networks.jsp(310,8) name = test type = java.lang.String reqTime = false required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_s_005fif_005f2.setTest("%{#session.user.userType.value==1}");
          int _jspx_eval_s_005fif_005f2 = _jspx_th_s_005fif_005f2.doStartTag();
          if (_jspx_eval_s_005fif_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            if (_jspx_eval_s_005fif_005f2 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
              out = _jspx_page_context.pushBody();
              _jspx_th_s_005fif_005f2.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
              _jspx_th_s_005fif_005f2.doInitBody();
            }
            do {
              out.write("\n");
              out.write("            <div class=\"add\">\n");
              out.write("                <img src=\"");
              out.print(request.getContextPath());
              out.write("/images/admin/addNetwork.png\" width=\"16\" height=\"16\"\n");
              out.write("                     title=\"Add network\"/>\n");
              out.write("                <a href=\"#\">Add new</a>\n");
              out.write("            </div>\n");
              out.write("        ");
              int evalDoAfterBody = _jspx_th_s_005fif_005f2.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
            if (_jspx_eval_s_005fif_005f2 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
              out = _jspx_page_context.popBody();
            }
          }
          if (_jspx_th_s_005fif_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fs_005fif_0026_005ftest.reuse(_jspx_th_s_005fif_005f2);
            return;
          }
          _005fjspx_005ftagPool_005fs_005fif_0026_005ftest.reuse(_jspx_th_s_005fif_005f2);
          out.write("\n");
          out.write("        <input type=\"hidden\" name=\"isHidden\" value=\"0\"/>\n");
          out.write("    ");
          int evalDoAfterBody = _jspx_th_s_005fif_005f0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
        if (_jspx_eval_s_005fif_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
          out = _jspx_page_context.popBody();
        }
      }
      if (_jspx_th_s_005fif_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005fs_005fif_0026_005ftest.reuse(_jspx_th_s_005fif_005f0);
        return;
      }
      _005fjspx_005ftagPool_005fs_005fif_0026_005ftest.reuse(_jspx_th_s_005fif_005f0);
      out.write("\n");
      out.write("    ");
      if (_jspx_meth_s_005felse_005f0(_jspx_page_context))
        return;
      out.write("\n");
      out.write("\n");
      out.write("</div>\n");
      out.write("\n");
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try { out.clearBuffer(); } catch (java.io.IOException e) {}
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }

  private boolean _jspx_meth_s_005fproperty_005f0(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  s:property
    org.apache.struts2.views.jsp.PropertyTag _jspx_th_s_005fproperty_005f0 = (org.apache.struts2.views.jsp.PropertyTag) _005fjspx_005ftagPool_005fs_005fproperty_0026_005fvalue_005fnobody.get(org.apache.struts2.views.jsp.PropertyTag.class);
    _jspx_th_s_005fproperty_005f0.setPageContext(_jspx_page_context);
    _jspx_th_s_005fproperty_005f0.setParent(null);
    // /pages/networks.jsp(271,28) name = value type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_s_005fproperty_005f0.setValue("items");
    int _jspx_eval_s_005fproperty_005f0 = _jspx_th_s_005fproperty_005f0.doStartTag();
    if (_jspx_th_s_005fproperty_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fs_005fproperty_0026_005fvalue_005fnobody.reuse(_jspx_th_s_005fproperty_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005fs_005fproperty_0026_005fvalue_005fnobody.reuse(_jspx_th_s_005fproperty_005f0);
    return false;
  }

  private boolean _jspx_meth_s_005fproperty_005f1(javax.servlet.jsp.tagext.JspTag _jspx_th_s_005fiterator_005f0, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  s:property
    org.apache.struts2.views.jsp.PropertyTag _jspx_th_s_005fproperty_005f1 = (org.apache.struts2.views.jsp.PropertyTag) _005fjspx_005ftagPool_005fs_005fproperty_0026_005fvalue_005fnobody.get(org.apache.struts2.views.jsp.PropertyTag.class);
    _jspx_th_s_005fproperty_005f1.setPageContext(_jspx_page_context);
    _jspx_th_s_005fproperty_005f1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_s_005fiterator_005f0);
    // /pages/networks.jsp(296,20) name = value type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_s_005fproperty_005f1.setValue("#item.name");
    int _jspx_eval_s_005fproperty_005f1 = _jspx_th_s_005fproperty_005f1.doStartTag();
    if (_jspx_th_s_005fproperty_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fs_005fproperty_0026_005fvalue_005fnobody.reuse(_jspx_th_s_005fproperty_005f1);
      return true;
    }
    _005fjspx_005ftagPool_005fs_005fproperty_0026_005fvalue_005fnobody.reuse(_jspx_th_s_005fproperty_005f1);
    return false;
  }

  private boolean _jspx_meth_s_005fproperty_005f2(javax.servlet.jsp.tagext.JspTag _jspx_th_s_005fiterator_005f0, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  s:property
    org.apache.struts2.views.jsp.PropertyTag _jspx_th_s_005fproperty_005f2 = (org.apache.struts2.views.jsp.PropertyTag) _005fjspx_005ftagPool_005fs_005fproperty_0026_005fvalue_005fnobody.get(org.apache.struts2.views.jsp.PropertyTag.class);
    _jspx_th_s_005fproperty_005f2.setPageContext(_jspx_page_context);
    _jspx_th_s_005fproperty_005f2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_s_005fiterator_005f0);
    // /pages/networks.jsp(301,44) name = value type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_s_005fproperty_005f2.setValue("#item.networkId");
    int _jspx_eval_s_005fproperty_005f2 = _jspx_th_s_005fproperty_005f2.doStartTag();
    if (_jspx_th_s_005fproperty_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fs_005fproperty_0026_005fvalue_005fnobody.reuse(_jspx_th_s_005fproperty_005f2);
      return true;
    }
    _005fjspx_005ftagPool_005fs_005fproperty_0026_005fvalue_005fnobody.reuse(_jspx_th_s_005fproperty_005f2);
    return false;
  }

  private boolean _jspx_meth_s_005felse_005f0(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  s:else
    org.apache.struts2.views.jsp.ElseTag _jspx_th_s_005felse_005f0 = (org.apache.struts2.views.jsp.ElseTag) _005fjspx_005ftagPool_005fs_005felse.get(org.apache.struts2.views.jsp.ElseTag.class);
    _jspx_th_s_005felse_005f0.setPageContext(_jspx_page_context);
    _jspx_th_s_005felse_005f0.setParent(null);
    int _jspx_eval_s_005felse_005f0 = _jspx_th_s_005felse_005f0.doStartTag();
    if (_jspx_eval_s_005felse_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      if (_jspx_eval_s_005felse_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
        out = _jspx_page_context.pushBody();
        _jspx_th_s_005felse_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
        _jspx_th_s_005felse_005f0.doInitBody();
      }
      do {
        out.write("\n");
        out.write("        ");
        if (_jspx_meth_s_005ftext_005f0(_jspx_th_s_005felse_005f0, _jspx_page_context))
          return true;
        out.write("\n");
        out.write("    ");
        int evalDoAfterBody = _jspx_th_s_005felse_005f0.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
      if (_jspx_eval_s_005felse_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
        out = _jspx_page_context.popBody();
      }
    }
    if (_jspx_th_s_005felse_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fs_005felse.reuse(_jspx_th_s_005felse_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005fs_005felse.reuse(_jspx_th_s_005felse_005f0);
    return false;
  }

  private boolean _jspx_meth_s_005ftext_005f0(javax.servlet.jsp.tagext.JspTag _jspx_th_s_005felse_005f0, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  s:text
    org.apache.struts2.views.jsp.TextTag _jspx_th_s_005ftext_005f0 = (org.apache.struts2.views.jsp.TextTag) _005fjspx_005ftagPool_005fs_005ftext_0026_005fname_005fnobody.get(org.apache.struts2.views.jsp.TextTag.class);
    _jspx_th_s_005ftext_005f0.setPageContext(_jspx_page_context);
    _jspx_th_s_005ftext_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_s_005felse_005f0);
    // /pages/networks.jsp(320,8) name = name type = java.lang.String reqTime = false required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_s_005ftext_005f0.setName("msg.nothaving.network");
    int _jspx_eval_s_005ftext_005f0 = _jspx_th_s_005ftext_005f0.doStartTag();
    if (_jspx_th_s_005ftext_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fs_005ftext_0026_005fname_005fnobody.reuse(_jspx_th_s_005ftext_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005fs_005ftext_0026_005fname_005fnobody.reuse(_jspx_th_s_005ftext_005f0);
    return false;
  }
}
