/*
 * Generated by the Jasper component of Apache Tomcat
 * Version: Apache Tomcat/7.0.75
 * Generated at: 2017-03-24 06:12:52 UTC
 * Note: The last modified time of this file was set to
 *       the last modified time of the source file after
 *       generation to assist with modification tracking.
 */
package org.apache.jsp.frontend;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.*;
import com.aegon_cnooc.util.StringUtil;
import com.aegon_cnooc.oa.workflow.WFEnginePagination;
import com.aegon_cnooc.framework.db.ConnectionPool;
import java.sql.Connection;

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

  private static final javax.servlet.jsp.JspFactory _jspxFactory =
          javax.servlet.jsp.JspFactory.getDefaultFactory();

  private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;

  private volatile javax.el.ExpressionFactory _el_expressionfactory;
  private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;

  public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
    return _jspx_dependants;
  }

  public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
    if (_el_expressionfactory == null) {
      synchronized (this) {
        if (_el_expressionfactory == null) {
          _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
        }
      }
    }
    return _el_expressionfactory;
  }

  public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
    if (_jsp_instancemanager == null) {
      synchronized (this) {
        if (_jsp_instancemanager == null) {
          _jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
        }
      }
    }
    return _jsp_instancemanager;
  }

  public void _jspInit() {
  }

  public void _jspDestroy() {
  }

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

    final javax.servlet.jsp.PageContext pageContext;
    javax.servlet.http.HttpSession session = null;
    final javax.servlet.ServletContext application;
    final javax.servlet.ServletConfig config;
    javax.servlet.jsp.JspWriter out = null;
    final java.lang.Object page = this;
    javax.servlet.jsp.JspWriter _jspx_out = null;
    javax.servlet.jsp.PageContext _jspx_page_context = null;


    try {
      response.setContentType("text/html;charset=gbk");
      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("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");

String path = request.getContextPath();

					List list = (List)request.getAttribute("list");
					Map queryMap = (Map)request.getAttribute("queryMap");
					String type = (String)request.getAttribute("type");
					int totalRow = Integer.parseInt((String)request.getAttribute("totalRow"));
					int current_page = Integer.parseInt((String)request.getAttribute("current_page"));
					int totalPage = Integer.parseInt((String)request.getAttribute("totalPage"));
					int page_size = Integer.parseInt((String)request.getAttribute("page_size"));
					
					if(current_page>totalPage){
						current_page = totalPage==0?1:totalPage;
					}
					if(current_page==0){
						current_page= 1;
					}
					
					int start = (current_page-1)*page_size;
					int end = page_size*current_page;
					int total = list.size();

      out.write("\r\n");
      out.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n");
      out.write("<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n");
      out.write("\t<head>\r\n");
      out.write("\t\t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\r\n");
      out.write("\t\t<title>同方全球人寿IT内部管理系统</title>\r\n");
      out.write("\t\t<link href=\"");
      out.print(path);
      out.write("/css/reset.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n");
      out.write("\t\t<link href=\"");
      out.print(path);
      out.write("/css/styles.css\" rel=\"stylesheet\"\r\n");
      out.write("\t\t\ttype=\"text/css\" />\r\n");
      out.write("\t\t<script src=\"");
      out.print(path);
      out.write("/js/jquery.js\" type=\"text/javascript\"></script>\r\n");
      out.write("\t\t<script src=\"");
      out.print(path);
      out.write("/js/treeview.js\" type=\"text/javascript\"></script>\r\n");
      out.write("\t\t<style type=\"text/css\">\r\n");
      out.write("<!--\r\n");
      out.write("body {background:#E4F4FD;}\r\n");
      out.write("html{overflow:scroll; overflow-y:auto;overflow-x:hidden;}\r\n");
      out.write("-->\r\n");
      out.write("\ta { color: #0000FF; text-decoration: none; }\r\n");
      out.write("   table.tablesorter thead tr th  {\r\n");
      out.write("\tbackground-image: url(");
      out.print(path);
      out.write("/images/bg.gif);\r\n");
      out.write("\tbackground-repeat: no-repeat;\r\n");
      out.write("\tbackground-position: center right;\r\n");
      out.write("\tbackground-color:#CAE8EA;\r\n");
      out.write("\tcursor: pointer;\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("table.tablesorter thead tr td {\r\n");
      out.write("\tborder: 1px solid #C1DAD7;\r\n");
      out.write("\tpadding: 4px;\r\n");
      out.write("\tbackground-color:#CAE8EA;\r\n");
      out.write("\tfont-size:14px;\r\n");
      out.write("\tfont-family:Microsoft YaHei; \r\n");
      out.write("\tcolor:#535C60; \r\n");
      out.write("\tfont-weight:bold;\r\n");
      out.write("}\r\n");
      out.write("</style>\r\n");
      out.write("<link rel=\"stylesheet\" href=\"../js/tablesort/flora/flora.tablesorter.css\" type=\"text/css\"></link>\r\n");
      out.write("<script type=\"text/javascript\" src=\"../js/tablesort/jquery-latest.js\"></script>\r\n");
      out.write("<script type=\"text/javascript\" src=\"../js/tablesort/jquery.tablesorter.js\"></script>\r\n");
      out.write("     \t\r\n");
      out.write("<script type=\"text/javascript\">\r\n");
      out.write("\r\n");
      out.write("$(document).ready(function(){\r\n");
      out.write("  \t\t //$(\"#datapatchinf\").tablesorter({sortList:[[0,0]], widgets: ['zebra']});//0为升序    1降。\r\n");
      out.write("    if(\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${v_order_type}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write("\"==\"DESC\"){\r\n");
      out.write("    $(\"#");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${v_order_field}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write("\").css(\"background-image\", \"url(");
      out.print(path);
      out.write("/images/asc.gif)\");\r\n");
      out.write("    }else{\r\n");
      out.write("     $(\"#");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${v_order_field}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write("\").css(\"background-image\", \"url(");
      out.print(path);
      out.write("/images/desc.gif)\");\r\n");
      out.write("    }\r\n");
      out.write("  //添加根据不同的列排序\r\n");
      out.write("  /*\r\n");
      out.write("\t\t$(\"thead > tr >th\").eq(0).click(function(){\r\n");
      out.write("\t\t    var ordertype=\"DESC\";\r\n");
      out.write("\t\t    if(\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${v_order_type}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write("\"==\"DESC\"){\r\n");
      out.write("\t\t    ordertype=\"ASC\";\r\n");
      out.write("\t\t    }else{\r\n");
      out.write("\t\t    ordertype=\"DESC\";\r\n");
      out.write("\t\t    }\r\n");
      out.write("\t\t\t$(\"#relaForm\").attr(\"action\",\"");
      out.print(path);
      out.write("/workflow/taskListOnload.do?flag=1&ordertype=\"+ordertype+\"&order_field=BIZ_NO\");\r\n");
      out.write("\t\t\t$(\"#relaForm\").submit();\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t});\r\n");
      out.write("\t\t$(\"thead > tr >th\").eq(1).click(function(){\r\n");
      out.write("\t\t    var ordertype=\"DESC\";\r\n");
      out.write("\t\t    if(\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${v_order_type}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write("\"==\"DESC\"){\r\n");
      out.write("\t\t    ordertype=\"ASC\";\r\n");
      out.write("\t\t    }else{\r\n");
      out.write("\t\t    ordertype=\"DESC\";\r\n");
      out.write("\t\t    }\r\n");
      out.write("\t\t\t$(\"#relaForm\").attr(\"action\",\"");
      out.print(path);
      out.write("/workflow/taskListOnload.do?flag=1&ordertype=\"+ordertype+\"&order_field=TASKNAME\");\r\n");
      out.write("\t\t\t$(\"#relaForm\").submit();\r\n");
      out.write("\t\t});\r\n");
      out.write("\t\t*/\r\n");
      out.write("\t\t$(\"thead > tr >th\").eq(0).click(function(){\r\n");
      out.write("\t\t    var ordertype=\"DESC\";\r\n");
      out.write("\t\t    if(\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${v_order_type}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write("\"==\"DESC\"){\r\n");
      out.write("\t\t    ordertype=\"ASC\";\r\n");
      out.write("\t\t    }else{\r\n");
      out.write("\t\t    ordertype=\"DESC\";\r\n");
      out.write("\t\t    }\r\n");
      out.write("\t\t\t$(\"#relaForm\").attr(\"action\",\"");
      out.print(path);
      out.write("/workflow/taskListOnload.do?flag=1&ordertype=\"+ordertype+\"&order_field=POSTUSERID\");\r\n");
      out.write("\t\t\t$(\"#relaForm\").submit();\r\n");
      out.write("\t\t});\r\n");
      out.write("\t    $(\"thead > tr >th\").eq(1).click(function(){\r\n");
      out.write("\t        var ordertype=\"DESC\";\r\n");
      out.write("\t\t    if(\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${v_order_type}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write("\"==\"DESC\"){\r\n");
      out.write("\t\t    ordertype=\"ASC\";\r\n");
      out.write("\t\t    }else{\r\n");
      out.write("\t\t    ordertype=\"DESC\";\r\n");
      out.write("\t\t    }\r\n");
      out.write("\t\t\t$(\"#relaForm\").attr(\"action\",\"");
      out.print(path);
      out.write("/workflow/taskListOnload.do?flag=1&ordertype=\"+ordertype+\"&order_field=POSTTIME\");\r\n");
      out.write("\t\t\t$(\"#relaForm\").submit();\r\n");
      out.write("\t    });\r\n");
      out.write("\t\t$(\"thead > tr >th\").eq(2).click(function(){\r\n");
      out.write("\t\t\tvar ordertype=\"DESC\";\r\n");
      out.write("\t\t    if(\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${v_order_type}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write("\"==\"DESC\"){\r\n");
      out.write("\t\t    ordertype=\"ASC\";\r\n");
      out.write("\t\t    }else{\r\n");
      out.write("\t\t    ordertype=\"DESC\";\r\n");
      out.write("\t\t    }\r\n");
      out.write("\t\t\t$(\"#relaForm\").attr(\"action\",\"");
      out.print(path);
      out.write("/workflow/taskListOnload.do?flag=1&ordertype=\"+ordertype+\"&order_field=EXTDATE\");\r\n");
      out.write("\t\t\t$(\"#relaForm\").submit();\r\n");
      out.write("\t\t});\r\n");
      out.write("\t\t/*\r\n");
      out.write("\t\t$(\"thead > tr >th\").eq(3).click(function(){\r\n");
      out.write("\t\t    var ordertype=\"DESC\";\r\n");
      out.write("\t\t    if(\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${v_order_type}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write("\"==\"DESC\"){\r\n");
      out.write("\t\t    ordertype=\"ASC\";\r\n");
      out.write("\t\t    }else{\r\n");
      out.write("\t\t    ordertype=\"DESC\";\r\n");
      out.write("\t\t    }\r\n");
      out.write("\t\t\t$(\"#relaForm\").attr(\"action\",\"");
      out.print(path);
      out.write("/workflow/taskListOnload.do?flag=1&ordertype=\"+ordertype+\"&order_field=USERID\");\r\n");
      out.write("\t\t\t$(\"#relaForm\").submit();\r\n");
      out.write("\t\t});\r\n");
      out.write("\t\t*/\r\n");
      out.write("\t\t$(\"thead > tr >th\").eq(3).click(function(){\r\n");
      out.write("\t\t    var ordertype=\"DESC\";\r\n");
      out.write("\t\t    if(\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${v_order_type}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write("\"==\"DESC\"){\r\n");
      out.write("\t\t    ordertype=\"ASC\";\r\n");
      out.write("\t\t    }else{\r\n");
      out.write("\t\t    ordertype=\"DESC\";\r\n");
      out.write("\t\t    }\r\n");
      out.write("\t\t\t$(\"#relaForm\").attr(\"action\",\"");
      out.print(path);
      out.write("/workflow/taskListOnload.do?flag=1&ordertype=\"+ordertype+\"&order_field=RECTIME\");\r\n");
      out.write("\t\t\t$(\"#relaForm\").submit();\r\n");
      out.write("\t\t});\r\n");
      out.write("\t\t$(\"thead > tr >th\").eq(4).click(function(){\r\n");
      out.write("\t\t    var ordertype=\"DESC\";\r\n");
      out.write("\t\t    if(\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${v_order_type}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write("\"==\"DESC\"){\r\n");
      out.write("\t\t    ordertype=\"ASC\";\r\n");
      out.write("\t\t    }else{\r\n");
      out.write("\t\t    ordertype=\"DESC\";\r\n");
      out.write("\t\t    }\r\n");
      out.write("\t\t\t$(\"#relaForm\").attr(\"action\",\"");
      out.print(path);
      out.write("/workflow/taskListOnload.do?flag=1&ordertype=\"+ordertype+\"&order_field=STATUS\");\r\n");
      out.write("\t\t\t$(\"#relaForm\").submit();\r\n");
      out.write("\t\t});\r\n");
      out.write("\t\t$(\"thead > tr >th\").eq(5).click(function(){\r\n");
      out.write("\t\t    var ordertype=\"DESC\";\r\n");
      out.write("\t\t    if(\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${v_order_type}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write("\"==\"DESC\"){\r\n");
      out.write("\t\t    ordertype=\"ASC\";\r\n");
      out.write("\t\t    }else{\r\n");
      out.write("\t\t    ordertype=\"DESC\";\r\n");
      out.write("\t\t    }\r\n");
      out.write("\t\t\t$(\"#relaForm\").attr(\"action\",\"");
      out.print(path);
      out.write("/workflow/taskListOnload.do?flag=1&ordertype=\"+ordertype+\"&order_field=PRIORITY\");\r\n");
      out.write("\t\t\t$(\"#relaForm\").submit();\r\n");
      out.write("\t\t});\r\n");
      out.write("});\r\n");
      out.write("\r\n");
      out.write("function getValue()\r\n");
      out.write("  {\r\n");
      out.write(" document.getElementById('right').style.height=(top.document.body.offsetHeight-131)+'px';\r\n");
      out.write("  //alert(x)\r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("function paginationQuery(e){\r\n");
      out.write(" var formName = document.getElementById('formName');\r\n");
      out.write(" var postUser = document.getElementById('postUser');\r\n");
      out.write(" var postTimeStart = document.getElementById('postTimeStart');\r\n");
      out.write(" var postTimeEnd = document.getElementById('postTimeEnd');\r\n");
      out.write(" var rectTimeStart = document.getElementById('rectTimeStart');\r\n");
      out.write(" var rectTimeEnd = document.getElementById('rectTimeEnd');\r\n");
      out.write(" var type = document.getElementById('type');\r\n");
      out.write(" document.forms[0].current_page.value = e;\r\n");
      out.write(" //e.href=e.href+\"&formName=\"+formName.value+\"&postUser=\"+postUser.value+\"&postTimeStart=\"+postTimeStart.value+\"&postTimeEnd=\"+postTimeEnd.value+\"&rectTimeStart=\"+rectTimeStart.value+\"&rectTimeEnd=\"+rectTimeEnd.value;\r\n");
      out.write("$(\"#relaForm\").attr(\"action\",\"");
      out.print(path);
      out.write("/workflow/taskListOnload.do?flag=1&ordertype=");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${v_order_type}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write("&order_field=");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${v_order_field}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write("\");\r\n");
      out.write(" document.forms[0].submit();\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function saveTask(biz_no,work,taskid){\r\n");
      out.write("\tdocument.forms[0].action = \"");
      out.print(path );
      out.write("/workflow/saveTask.do?biz_no=\"+biz_no+\"&work=\"+work+\"&task_id=\"+taskid;\r\n");
      out.write("\tvar w;\r\n");
      out.write("\tif(work=='lock'){\r\n");
      out.write("\t\tw = \"挂起\";\r\n");
      out.write("\t}else{\r\n");
      out.write("\t\tw = \"解挂\";\r\n");
      out.write("\t}\r\n");
      out.write("\tif(confirm(\"确认\"+w+\"此任务?\")){\r\n");
      out.write("\t\tdocument.forms[0].submit();\r\n");
      out.write("\t}\r\n");
      out.write("}\r\n");
      out.write("function delTask(biz_no,work,taskid){\r\n");
      out.write("\tdocument.forms[0].action=\"");
      out.print(path );
      out.write("/workflow/saveTask.do?biz_no=\"+biz_no+\"&work=\"+work+\"&task_id=\"+taskid;\r\n");
      out.write("\tif(confirm(\"确认删除此任务?\")){\r\n");
      out.write("\t\tdocument.forms[0].submit();\r\n");
      out.write("\t}\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("\tfunction alertUpLoadWindowUser(wfid,taskid){\r\n");
      out.write("  \t\t\twindow.open(\"");
      out.print(path );
      out.write("/pub/attachment.do?wfid=\"+wfid+\"&nodeid=unknown&type=null&taskid=\"+taskid+\"&rsid=null&att_type=SR_IT_SA\",\"文件上传\",\"height=800, width=900, top=0, left=0, toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=no, status=no\");\r\n");
      out.write("  \t\t}\r\n");
      out.write("\r\n");
      out.write("</script>\r\n");
      out.write("<script type=\"text/javascript\" src=\"");
      out.print(path );
      out.write("/js/My97DatePicker/WdatePicker.js\"></script>\r\n");
      out.write("\t</head>\r\n");
      out.write("\t<body onload=\"getValue()\">\r\n");
      out.write("\t\t<form id=\"relaForm\" action=\"");
      out.print(path);
      out.write("/workflow/taskListOnload.do\" method=\"post\">\r\n");
      out.write("\t\t<input type=\"hidden\" name=\"type\" value=\"");
      out.print(type );
      out.write("\"/>\r\n");
      out.write("\t\t<input type=\"hidden\" name=\"current_page\" value=\"1\"/>\r\n");
      out.write("\t\t<div id=\"right\">\r\n");
      out.write("\t\t\t<div id=\"right_conter\">\r\n");
      out.write("\t\t\t<!--  \r\n");
      out.write("\t\t\t\t<p class=\"login\">\r\n");
      out.write("\t\t\t\t\t登录用户：allen 部门：IT 区域：上海 2011年7月2日 星期五\r\n");
      out.write("\t\t\t\t\t<input name=\"\" type=\"button\" class=\"btn\" value=\"退出系统\" />\r\n");
      out.write("\t\t\t\t</p>\r\n");
      out.write("\t\t\t\t-->\r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t\t\t\t<div class=\"inqure\">\r\n");
      out.write("\t\t\t\t\t\t\t<input name=\"\" type=\"button\" class=\"btn3\" value=\"高级搜索\" style=\"display: none;\"/>\r\n");
      out.write("\t\t\t\t\t\t\t<input name=\"\" type=\"button\" class=\"btn2\" value=\"查询\" style=\"display: none;\"/>\r\n");
      out.write("\t\t\t\t\t\t\t<input name=\"\" type=\"text\" style=\"width:126px;display: none; \" class=\"btn4\"/>\r\n");
      out.write("\r\n");
      out.write("\t\t\t\t\t<table style=\"border: 1px;width: 100%\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("\t\t\t\t\t\t<tr>\r\n");
      out.write("\t\t\t\t\t\t\t<td style=\"padding-left: 10px;\">业务代码</td>\r\n");
      out.write("\t\t\t\t\t\t\t<td><input size=\"10\" id=\"taskid\" name=\"taskid\" value=\"");
      out.print(queryMap.get("taskid") );
      out.write("\" /></td>\r\n");
      out.write("\t\t\t\t\t\t\t<td style=\"padding-left: 10px;\">任务类型</td>\r\n");
      out.write("\t\t\t\t\t\t\t<td>\r\n");
      out.write("\t\t\t\t\t\t\t\t<select id=\"wfid\" name=\"wfid\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<option value=\"\">请选择</option>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<option value=\"153\" ");
if("153".equals(queryMap.get("wfid")==null?"":queryMap.get("wfid").toString())){ 
      out.write(" selected=\"selected\" ");
} 
      out.write(" >用户需求任务</option>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<option value=\"901\" ");
if("901".equals(queryMap.get("wfid")==null?"":queryMap.get("wfid").toString())){ 
      out.write(" selected=\"selected\" ");
} 
      out.write(" >缺陷修复任务</option>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<option value=\"145\" ");
if("145".equals(queryMap.get("wfid")==null?"":queryMap.get("wfid").toString())){ 
      out.write(" selected=\"selected\" ");
} 
      out.write(" >系统上线任务</option>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<option value=\"159\" ");
if("159".equals(queryMap.get("wfid")==null?"":queryMap.get("wfid").toString())){ 
      out.write(" selected=\"selected\" ");
} 
      out.write(" >数据维护任务</option>\r\n");
      out.write("\t\t\t\t\t\t\t\t</select>\r\n");
      out.write("\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t\t<td>任务描述</td>\r\n");
      out.write("\t\t\t\t\t\t\t<td><input size=\"10\" id=\"formName\" name=\"formName\" value=\"");
      out.print(queryMap.get("formName") );
      out.write("\" /> </td>\r\n");
      out.write("\t\t\t\t\t\t\t<td>提交者</td>\r\n");
      out.write("\t\t\t\t\t\t\t<td><input size=\"10\" id=\"postUser\" name=\"postUser\" value=\"");
      out.print(queryMap.get("postUser") );
      out.write("\"/></td>\r\n");
      out.write("\t\t\t\t\t\t\t<td>开始日期</td>\r\n");
      out.write("\t\t\t\t\t\t\t<td valign=\"top\"><br /></td><td><input size=\"10\" id=\"postTimeStart\" name=\"postTimeStart\" value=\"");
      out.print(queryMap.get("postTimeStart") );
      out.write("\" onClick=\"WdatePicker({el:$dp.$('postTimeStart')});return false\" />-<input size=\"10\" id=\"postTimeEnd\" name=\"postTimeEnd\" value=\"");
      out.print(queryMap.get("postTimeEnd") );
      out.write("\" onClick=\"WdatePicker({el:$dp.$('postTimeEnd')});return false\" /></td>\r\n");
      out.write("\t\t\t\t\t\t\t<td>到达日期</td>\r\n");
      out.write("\t\t\t\t\t\t\t<td><input size=\"10\" id=\"rectTimeStart\" name=\"rectTimeStart\" value=\"");
      out.print(queryMap.get("rectTimeStart") );
      out.write("\" onClick=\"WdatePicker({el:$dp.$('rectTimeStart')});return false\"/>-<input size=\"10\" id=\"rectTimeEnd\" name=\"rectTimeEnd\" value=\"");
      out.print(queryMap.get("rectTimeEnd") );
      out.write("\" onClick=\"WdatePicker({el:$dp.$('rectTimeEnd')});return false\"/></td>\r\n");
      out.write("\t\t\t\t\t\t\t\r\n");
      out.write("\t\t\t\t\t\t\t<td>\r\n");
      out.write("\t\t\t\t\t\t\t\t<input type=\"submit\" class=\"btn2\" value=\"查询\" />\r\n");
      out.write("\t\t\t\t\t\t\t\t\r\n");
      out.write("\t\t\t\t\t\t\t</td>\t\t\t\t\t\t\r\n");
      out.write("\t\t\t\t\t\t</tr>\r\n");
      out.write("\t\t\t\t\t</table>\r\n");
      out.write("\t\t\t\t</div>\r\n");
      out.write("\t\t\t\t<div class=\"con_box\">\r\n");
      out.write("\t\t\t\t\t<table id=\"srinf\" class=\"tablesorter\" border=\"0\" align=\"left\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("\t\t\t\t\t\t<thead>\r\n");
      out.write("\t\t\t\t\t\t\t<tr>\r\n");
      out.write("\t\t\t\t\t\t\t\t<td width=\"3%\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<input name=\"\" type=\"checkbox\" value=\"\" />\r\n");
      out.write("\t\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t\t\t<td  width=\"10%\" id=\"BIZ_NO\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t业务代码\r\n");
      out.write("\t\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t\t\t<td  width=\"15%\" id=\"TASKNAME\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t任务描述\r\n");
      out.write("\t\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t\t\t<th  width=\"5%\" id=\"POSTUSERID\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t提交者\r\n");
      out.write("\t\t\t\t\t\t\t\t</th>\r\n");
      out.write("\t\t\t\t\t\t\t\t<th width=\"10%\" id=\"POSTTIME\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t开始日期\r\n");
      out.write("\t\t\t\t\t\t\t\t</th>\r\n");
      out.write("\t\t\t\t\t\t\t\t<th width=\"10%\" id=\"EXTDATE\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t期望上线日期\r\n");
      out.write("\t\t\t\t\t\t\t\t</th>\r\n");
      out.write("\t\t\t\t\t\t\t\t<td width=\"5%\" id=\"USERID\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t当前处理\r\n");
      out.write("\t\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t\t\t<th width=\"10%\" id=\"RECTIME\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t到达日期\r\n");
      out.write("\t\t\t\t\t\t\t\t</th>\r\n");
      out.write("\t\t\t\t\t\t\t\t<th width=\"5%\" id=\"STATUS\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t状态\r\n");
      out.write("\t\t\t\t\t\t\t\t</th>\r\n");
      out.write("\t\t\t\t\t\t\t\t<th width=\"5%\" id=\"PRIORITY\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t优先级\r\n");
      out.write("\t\t\t\t\t\t\t\t</th>\r\n");
      out.write("\t\t\t\t\t\t\t\t<td width=\"10%\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t操作\r\n");
      out.write("\t\t\t\t\t\t\t\t</td>\r\n");
      out.write("\r\n");
      out.write("\t\t\t\t\t\t\t</tr>\r\n");
      out.write("\t\t\t\t\t\t</thead>\r\n");
      out.write("\t\t\t\t\t\t<tbody>\r\n");
      out.write("\t\t\t\t\t\t\t");

							WFEnginePagination wp = new WFEnginePagination(); 
							ConnectionPool cPool = ConnectionPool.getInstance();
							Connection conn = cPool.getConnection();
							for(int i=start;i<total;i++){
							if(i<end && i<total){
							Map map = (Map)list.get(i);
							
							Map taskMap = wp.getTaskInfoListByTaskID(map.get("TASKID").toString(),conn);
							
							String wfid = (String)map.get("wfid");
							 
      out.write("\r\n");
      out.write("\t\t\t\t\t\t\t<tr ");
if("挂起".equals((String)map.get("status"))){ 
      out.write("style=\"background-color:#FFDDBB;\"");
} 
      out.write(">\r\n");
      out.write("\t\t\t\t\t\t\t\t<td ");
if("urgent".equals(map.get("PRIORITY"))){
      out.write("style=\"background-color: #FF99FF;\"");
} 
      out.write(">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<input name=\"\" type=\"checkbox\" value=\"\" />\r\n");
      out.write("\t\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t\t\t<td  ");
if("urgent".equals(map.get("PRIORITY"))){
      out.write("style=\"background-color: #FF99FF;text-align: left;\"");
} 
      out.write(">\r\n");
      out.write("\t\t\t\t\t\t\t\t");
if("901".equals(wfid)||"902".equals(wfid)){ 
      out.write("\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<img src=\"");
      out.print(path );
      out.write("/workflow/editors/images/warning.png\" align=\"absmiddle\"/>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t");
} 
      out.write("\r\n");
      out.write("\t\t\t\t\t\t\t\t\t");
if("153".equals(wfid)){ 
      out.write("\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<img src=\"");
      out.print(path );
      out.write("/workflow/editors/images/overlays/user3.png\" align=\"absmiddle\"/>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t");
} 
      out.write("\r\n");
      out.write("\t\t\t\t\t\t\t\t\t");
if("145".equals(wfid)){ 
      out.write("\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<img src=\"");
      out.print(path );
      out.write("/workflow/editors/images/overlays/workplace.png\" align=\"absmiddle\"/>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t");
} 
      out.write("\r\n");
      out.write("\t\t\t\t\t\t\t\t\t");
if("159".equals(wfid)){ 
      out.write("\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<img src=\"");
      out.print(path );
      out.write("/workflow/editors/images/overlays/pencil.png\" align=\"absmiddle\"/>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t");
} 
      out.write("\r\n");
      out.write("\t\t\t\t\t\t\t\t\t");
if("500".equals(wfid)){ 
      out.write("\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<img src=\"");
      out.print(path );
      out.write("/workflow/editors/images/overlays/gear.png\" align=\"absmiddle\"/>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t");
} 
      out.write("\r\n");
      out.write("\t\t\t\t\t\t\t\t\t");
if("501".equals(wfid)){ 
      out.write("\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<img src=\"");
      out.print(path );
      out.write("/workflow/editors/images/overlays/users3.png\" align=\"absmiddle\"/>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t");
} 
      out.write("\r\n");
      out.write("\t\t\t\t\t\t\t\t\t");
      out.print(StringUtil.getNulToBlank(taskMap.get("BIZ_NO")) );
      out.write("&nbsp;\r\n");
      out.write("\t\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t\t\t<td ");
if("urgent".equals(map.get("PRIORITY"))){
      out.write("style=\"background-color: #FF99FF;text-align: left;\"");
} 
      out.write(">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t");
      out.print(StringUtil.getNulToBlank(taskMap.get("TASKNAME")) );
      out.write("&nbsp;\r\n");
      out.write("\t\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t\t\t<td ");
if("urgent".equals(map.get("PRIORITY"))){
      out.write("style=\"background-color: #FF99FF;\"");
} 
      out.write(">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t");
      out.print(map.get("POSTUSERID") );
      out.write("&nbsp;\r\n");
      out.write("\t\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t\t\t<td ");
if("urgent".equals(map.get("PRIORITY"))){
      out.write("style=\"background-color: #FF99FF;\"");
} 
      out.write(">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t");
      out.print(map.get("POSTTIME") );
      out.write("\r\n");
      out.write("\t\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t\t\t<td ");
if("urgent".equals(map.get("PRIORITY"))){
      out.write("style=\"background-color: #FF99FF;\"");
} 
      out.write(">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t");
      out.print(StringUtil.getNulToBlank(map.get("EXTDATE")) );
      out.write("\r\n");
      out.write("\t\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t\t\t<td ");
if("urgent".equals(map.get("PRIORITY"))){
      out.write("style=\"background-color: #FF99FF;\"");
} 
      out.write(">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t");
      out.print(StringUtil.getNulToBlank(taskMap.get("USERID")) );
      out.write("&nbsp;\r\n");
      out.write("\t\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t\t\t<td ");
if("urgent".equals(map.get("PRIORITY"))){
      out.write("style=\"background-color: #FF99FF;\"");
} 
      out.write(">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t");
      out.print(StringUtil.getNulToBlank(map.get("RECTIME")) );
      out.write("\r\n");
      out.write("\t\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t\t\t<td ");
if("urgent".equals(map.get("PRIORITY"))){
      out.write("style=\"background-color: #FF99FF;\"");
} 
      out.write(">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t");
      out.print(map.get("status") );
      out.write("&nbsp;\r\n");
      out.write("\t\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t\t\t<td ");
if("urgent".equals(map.get("PRIORITY"))){
      out.write("style=\"background-color: #FF99FF;\"");
} 
      out.write(">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t");
      out.print(StringUtil.getNulToBlank(map.get("PRIORITY") ));
      out.write("\r\n");
      out.write("\t\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t\t\t<td ");
if("urgent".equals(map.get("PRIORITY"))){
      out.write("style=\"background-color: #FF99FF;\"");
} 
      out.write(">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<a href=\"");
      out.print(path );
      out.write("/workflow/newWFFormOnload.do?bizno=");
      out.print(taskMap.get("BIZ_NO") );
      out.write("&wfid=");
      out.print(map.get("wfid") );
      out.write("&taskid=");
      out.print(map.get("TASKID") );
      out.write("&type=process&nodeid=");
      out.print(taskMap.get("nodeid")  );
      out.write("&flag=CC\">明细</a>&nbsp;\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<a href=\"#\" onclick=\"javascript:window.open('");
      out.print(path );
      out.write("/workflow/viewTaskProcess.do?taskid=");
      out.print(map.get("TASKID") );
      out.write("','表单详细处理过程','height=800, width=1600, top=0, left=0, toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=no, status=no')\">过程</a>&nbsp;\r\n");
      out.write("\t\t\t\t\t\t\t\t\t");
if(!"self".equals(type)){ 
      out.write("\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<a href=\"#\" onclick=\"javascript:window.open('");
      out.print(path );
      out.write("/workflow/editors/grapheditor_step.jsp?taskid=");
      out.print(map.get("TASKID") );
      out.write("','可视化查看流程处理过程', 'height=800, width=1600, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no')\">流程图</a><br/>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<a name=\"reloadFiles\" style=\"display: none;\" href=\"#\" onclick=\"alertUpLoadWindowUser(");
      out.print(map.get("wfid") );
      out.write(',');
      out.print(map.get("TASKID") );
      out.write(")\">补发附件</a>&nbsp;\r\n");
      out.write("\t\t\t\t\t\t\t\t\t");
}else{ 
      out.write("\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t");
if("正常".equals(map.get("status").toString())){ 
      out.write("\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t<a href= \"#\" onclick=\"javascript:saveTask('");
      out.print(StringUtil.getNulToBlank(taskMap.get("BIZ_NO")) );
      out.write("','lock','");
      out.print(map.get("TASKID") );
      out.write("')\">挂起</a>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t");
} 
      out.write("\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t");
if("挂起".equals(map.get("status").toString())){ 
      out.write("\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t<a href= \"#\" onclick=\"javascript:saveTask('");
      out.print(StringUtil.getNulToBlank(taskMap.get("BIZ_NO")) );
      out.write("','open','");
      out.print(map.get("TASKID") );
      out.write("')\">解挂</a>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t");
} 
      out.write("\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t<a href= \"#\" style=\"display: none;\" onclick=\"javascript:delTask('");
      out.print(StringUtil.getNulToBlank(taskMap.get("BIZ_NO")) );
      out.write("','del','");
      out.print(map.get("TASKID") );
      out.write("')\">删除</a>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t");
} 
      out.write("\r\n");
      out.write("\t\t\t\t\t\t\t\t</td>\r\n");
      out.write("\r\n");
      out.write("\t\t\t\t\t\t\t</tr>\r\n");
      out.write("\t\t\t\t\t\t\t");
} 
      out.write("\r\n");
      out.write("\t\t\t\t\t\t\t");
} 
      out.write("\t\t\t\t\t\t\t\r\n");
      out.write("\t\t\t\t\t\t\t");
ConnectionPool.closeDB(conn); 
      out.write("\r\n");
      out.write("\t\t\t\t\t\t\t\r\n");
      out.write("\t\t\t\t\t\t</tbody>\r\n");
      out.write("\t\t\t\t\t</table>\r\n");
      out.write("\t\t\t\t\t<script >\r\n");
      out.write("\t\t\t\t\t\tvar isSA = '");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${sessionScope.pSMD}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write("';  \r\n");
      out.write("\t\t\t\t\t\tif(isSA == \"Y\"){\r\n");
      out.write("\t\t\t\t\t\t\tvar selects = document.getElementsByName(\"reloadFiles\");\r\n");
      out.write("\t\t\t\t\t\t\tfor(var i=0;i<selects.length;i++)\r\n");
      out.write("\t\t\t\t\t\t\t{ \r\n");
      out.write("\t\t\t\t\t\t\t    selects[i].style.display=\"\"; \r\n");
      out.write("\t\t\t\t\t\t\t}  \r\n");
      out.write("\t\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\t</script>\r\n");
      out.write("\t\t\t\t</div>\r\n");
      out.write("\t\t\t</div>\r\n");
      out.write("\t\t\t  <table style=\"margin-top: 10px;\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\">\r\n");
      out.write("\t\t\t\t\t\t<tr>\r\n");
      out.write("\t\t\t\t\t\t\t\t<td align=\"left\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<img src=\"");
      out.print(path );
      out.write("/workflow/editors/images/overlays/user3.png\" align=\"absmiddle\"/>用户需求任务\r\n");
      out.write("\t\t\t\t\t\t\t\t    <img src=\"");
      out.print(path );
      out.write("/workflow/editors/images/warning.png\" align=\"absmiddle\"/>缺陷修复任务\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<img src=\"");
      out.print(path );
      out.write("/workflow/editors/images/overlays/workplace.png\" align=\"absmiddle\"/>系统上线任务\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<img src=\"");
      out.print(path );
      out.write("/workflow/editors/images/overlays/pencil.png\" align=\"absmiddle\"/>数据维护任务\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<img src=\"");
      out.print(path );
      out.write("/workflow/editors/images/overlays/users3.png\" align=\"absmiddle\"/>SVN代码更新\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<img src=\"");
      out.print(path );
      out.write("/workflow/editors/images/overlays/gear.png\" align=\"absmiddle\"/>万能险利率设置\r\n");
      out.write("\t\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t\t\t<td style=\"float:right;color:#91ADBA;\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t共");
      out.print(totalRow );
      out.write("条记录 第");
      out.print(current_page );
      out.write('/');
      out.print(totalPage );
      out.write("页 每页 ");
      out.print(page_size );
      out.write(" 条记录 \r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t<a onclick=\"paginationQuery('1')\" href=\"#\">第一页</a>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t<a onclick=\"paginationQuery(");
      out.print((current_page-1==0?1:current_page-1) );
      out.write(")\" href=\"#\">上一页</a>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t<a onclick=\"paginationQuery(");
      out.print((current_page+1>totalPage?totalPage:current_page+1) );
      out.write(")\" href=\"#\">下一页</a>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t<a onclick=\"paginationQuery(");
      out.print(totalPage );
      out.write(")\" href=\"#\">最后一页</a>\r\n");
      out.write("\t\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t\t\t<td width=\"30px\"><br /><img src=\"");
      out.print(path );
      out.write("/images/button3.gif\" style=\"display: none;\"/> <br /></td>\r\n");
      out.write("\t\t\t\t\t\t\t</tr>\t\r\n");
      out.write("\t\t\t\t\t</table>\r\n");
      out.write("\t\t\t</div>\r\n");
      out.write("\t\t\t</form>\r\n");
      out.write("\t\t\t");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${message }", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write("\r\n");
      out.write("\t</body>\r\n");
      out.write("</html>\r\n");
    } catch (java.lang.Throwable t) {
      if (!(t instanceof javax.servlet.jsp.SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try {
            if (response.isCommitted()) {
              out.flush();
            } else {
              out.clearBuffer();
            }
          } catch (java.io.IOException e) {}
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
        else throw new ServletException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
}
