/*
 * Generated by the Jasper component of Apache Tomcat
 * Version: ......
 * Generated at: 2020-08-08 01:19:44 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;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.*;
import java.text.*;
import wiseoa.*;
import wiseoa.bill.jstl.*;
import wiseoa.util.*;
import java.util.*;
import java.net.*;
import java.sql.*;
import wiseoa.*;
import wiseoa.util.*;
import wiseoa.mail.jstl.*;
import wiseoa.util.*;

public final class h5_005fbillsearch_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;

  static {
    _jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(1);
    _jspx_dependants.put("/rightverify_login.jsp", Long.valueOf(1517794822543L));
  }

  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=UTF-8");
      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");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");

	// æ ¡éªææ OAçæé
	User user_1211 = User.getUserFromRequest(request);

	if (user_1211.getId() < 0) //å¦ææ²¡æç»å½ä¿¡æ¯ï¼é£ä¹çä¸ä¸cookie
	{

		javax.servlet.http.Cookie ck[] = request.getCookies();
		String username_ = "";
		String password_ = "";

		if (ck != null)
		{
			for (int i = 0; i < ck.length; i++)
			{

				if (ck[i].getName().equalsIgnoreCase("username")) username_ = wiseoa.util.Escape.unescape(ck[i].getValue());
				if (ck[i].getName().equalsIgnoreCase("password")) password_ = FF.DecryptString (ck[i].getValue());

			}
		}

		String pass = Login.Validate(username_, password_, "", request, response, getServletContext(), "");
		if (! pass.equals(""))
		{

		 
			String subpath = (String) session.getAttribute("wiseoaappsubpath");
			if (subpath == null) subpath = "";
			response.sendRedirect(subpath + "/SystemTip.jsp?info=" + URLEncoder.encode(pass, "UTF-8"));
			return;
		}
	}

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

	request.setCharacterEncoding("UTF-8");
	FF.setResponseContentType(response);

	BillSearchDefine b = new BillSearchDefine(request);

	FF.pageContextSetAttribute(pageContext,"title", b.billName);

      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<HTML>\r\n");
      out.write("\t<head> \r\n");
      out.write("\r\n");
      out.write("\t\t<META http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\r\n");
      out.write("\t\t<TITLE>自定义条件查询</TITLE>\r\n");
      out.write("\r\n");
      out.write("\t\t<META http-equiv=\"pragma\" content=\"no-cache\">\r\n");
      out.write("\t\t<META http-equiv=\"cache-control\" content=\"no-cache\">\r\n");
      out.write("\t\t<META http-equiv=\"expires\" content=\"0\">\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\t\t<LINK rel=\"stylesheet\" type=\"text/css\" href=\"css/normal.css\">\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\t \r\n");
      out.write("\t\t<STYLE>\r\n");
      out.write("\t\r\n");
      out.write("\t\tbody {\r\n");
      out.write("\tmargin-left: 0px;\r\n");
      out.write("\tmargin-top: 0px;\r\n");
      out.write("\tmargin-right: 0px;\r\n");
      out.write("\tmargin-bottom: 0px;\r\n");
      out.write("\t-background-color: #e4e4ef;\r\n");
      out.write("} \r\n");
      out.write("\t\t.selectspan  { border:1px solid #a0a0a0;overflow:hidden;width:115;}\r\n");
      out.write("\t    \r\n");
      out.write("\t \r\n");
      out.write("    \t.billtitle {\tfont-size: 18px;\tfont-family: \"楷体_GB2312\";  }\r\n");
      out.write("\t\r\n");
      out.write("\t  \r\n");
      out.write("\t \t .select-editable {\r\n");
      out.write("     position:relative;\r\n");
      out.write("     background-color:white;\r\n");
      out.write("     border:solid grey 1px;\r\n");
      out.write("     width:120px;\r\n");
      out.write("     height:18px;\r\n");
      out.write(" }\r\n");
      out.write(" .select-editable select {\r\n");
      out.write("     position:absolute;\r\n");
      out.write("     top:0px;\r\n");
      out.write("     left:0px;\r\n");
      out.write("     font-size:14px;\r\n");
      out.write("     border:none;\r\n");
      out.write("     width:120px;\r\n");
      out.write("     margin:0;\r\n");
      out.write(" }\r\n");
      out.write(" .select-editable input {\r\n");
      out.write("     position:absolute;\r\n");
      out.write("     top:0px;\r\n");
      out.write("     left:0px;\r\n");
      out.write("     width:100px;\r\n");
      out.write("     padding:1px;\r\n");
      out.write("     font-size:12px;\r\n");
      out.write("     border:none;\r\n");
      out.write(" }\r\n");
      out.write(" .select-editable select:focus, .select-editable input:focus {\r\n");
      out.write("     outline:none;\r\n");
      out.write(" }\r\n");
      out.write(" \r\n");
      out.write("\t \t\r\n");
      out.write("    </STYLE>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\t \r\n");
      out.write("\r\n");
      out.write("\t\t<LINK rel=\"stylesheet\" type=\"text/css\" href=\"zbutton/zbutton.css\">\r\n");
      out.write("\t\t<SCRIPT type=\"text/javascript\" src=\"zbutton/zbutton.js\"></SCRIPT>\r\n");
      out.write("\t\t<SCRIPT type=\"text/javascript\" src=\"js/prototype14.js\"></SCRIPT>\r\n");
      out.write("\t <script language='javascript' src='js/setday2.js'></script>\r\n");
      out.write("\t</HEAD>\r\n");
      out.write("\r\n");
      out.write("\t<script>\r\n");
      out.write("  //全局常量\r\n");
      out.write("   \r\n");
      out.write("  </script>\r\n");
      out.write("\r\n");
      out.write("\t<BODY style=\"margin:0;padding:0;\">\r\n");
      out.write("\r\n");
      out.write("\t\t<!-- \r\n");
      out.write(" <DIV class=menu  id=myMenu style=\"visible:hidden\"> </DIV>\r\n");
      out.write("<SCRIPT\ttype=\"text/javascript\" src=\"js/simplemenu.js\"></SCRIPT> \r\n");
      out.write("-->\r\n");
      out.write("\t\t<table width=\"99%\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\">\r\n");
      out.write("\t\t\t \r\n");
      out.write("\t\t\t \r\n");
      out.write("\t\t\t \r\n");
      out.write("\t\t\t<tr>\r\n");
      out.write("\t\t\t\t<td id=gridcontainer height=206 colspan=\"2\" valign=\"top\">\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  style=\"  border:1px #d0d0d0 solid ; padding:5px;  \r\n");
      out.write("\t\t\t\t   -background-color:#e4e4ef;  overflow:auto;width:100%; height:200px ; \" \r\n");
      out.write("     \t\t    \t     id=\"conditionContainer\"><span id='funcrow' ><span  class='imgbutton'  \r\n");
      out.write("\t     \t\t         onclick='$(\"funcrow\").style.display=\"none\";conditionInsertRow($(\"conditionsign\") ,-1);' >新增一行</span></span><span id=reloadConditionContainer><span><span id=conditionsign></span></span></span>\t\t\t      </div> <!--  end of  condition grid -->\t\t\t     </td>\r\n");
      out.write("\t\t\t</tr>\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t</table>\r\n");
      out.write("\r\n");
      out.write("<script language=\"javascript\">\r\n");
      out.write("\r\n");
      out.write("   var cs_selectdate=\"请选择一个日期 ->\";\r\n");
      out.write(" \r\n");
      out.write("   var  cs_leftBracketHTML='<select    style=\"font-family:arial; font-size:12px\" ><option value=\"\"  ></option><option value=\"(\"  >(</option><option value=\"((\"  >((</option><option value=\"(((\"  >(((</option><option value=\"((((\"  >((((</option><option value=\"(((((\"  >(((((</option></select>';\r\n");
      out.write("   var  cs_rightBracketHTML='<select    style=\"font-family:arial ;font-size:12px\" ><option value=\"\"  ></option><option value=\")\"  >)</option><option value=\"))\"  >))</option><option value=\")))\"  >)))</option><option value=\"))))\"  >))))</option><option value=\")))))\"  >)))))</option></select>';\r\n");
      out.write("   var  cs_nodeSelectHTML=\"<select></select>\";\r\n");
      out.write("   var  cs_logicHTML='<select title=\"关系\"><option value=\"\"></option>'+\r\n");
      out.write("    '<option  selected value=\"and\">并且</option><option value=\"or\">或者</option></select>';\r\n");
      out.write("\r\n");
      out.write("   var  cs_cols='<select title=\"字段\" class=selectspan '+\r\n");
      out.write("        ' onchange=\"colChanged(this);\">'+\r\n");
      out.write("\t\t '<option value=\"\"> </option>'+\r\n");
      out.write("                '");
      out.print(b.ColumnSelect);
      out.write("</select>';\r\n");
      out.write("   var   cs_operator='<select  title=\"算符\" >'+\r\n");
      out.write("\t\t\t\t  '<option value=\"=\">=</option>'+\r\n");
      out.write("\t\t\t\t  '<option value=\"&gt;\">&gt;</option>'+\r\n");
      out.write("\t\t\t\t  '<option value=\"&lt;\">&lt;</option>'+\r\n");
      out.write("\t\t\t\t  '<option value=\"&gt;=\">&gt;=</option>'+\r\n");
      out.write("\t\t\t\t  '<option value=\"&lt;=\">&lt;=</option>'+\r\n");
      out.write("\t\t\t\t  '<option value=\"&lt;&gt;\">不等于</option>'+\r\n");
      out.write("\t\t\t\t  '<option value=\"like\">包含有</option>'+\r\n");
      out.write("\t\t\t\t  '<option value=\"is\">为</option>'+\r\n");
      out.write("\t\t\t\t  '<option value=\"is not\">不为</option>'+\r\n");
      out.write("\t\t\t\t  \r\n");
      out.write("\t\t\t\t  \r\n");
      out.write("\t\t\t\t  '</select>';\r\n");
      out.write("\t\t\t\t  \r\n");
      out.write("//注意cs_value中不要有空格因为空格也算是一个子对象\r\n");
      out.write("   var  cs_value='<input size=18 title=\"数据\">' +'<img src=\"image/calendar18.gif\" width=\"18\" title=\"打开日历选择日期\" height=\"18\" align=\"absmiddle\" style=\" visibility:hidden\" '+\r\n");
      out.write("   'class=\"asbutton\" onClick=\"setday(this, this.parentElement.childNodes[2],30);\">';\r\n");
      out.write("   \r\n");
      out.write("   \r\n");
      out.write("   // 得到字段的类型\r\n");
      out.write("   ");
      out.print(b.ColumnTypeScript);
      out.write("\r\n");
      out.write("   \r\n");
      out.write("  function conditionInsertRow2( a,pos)\r\n");
      out.write("  {\r\n");
      out.write("     conditionInsertRow( a ,pos);\r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  function conditionInsertRow( a , pos)\r\n");
      out.write("  {\r\n");
      out.write("    　\r\n");
      out.write("        \r\n");
      out.write("        var span= a.parentNode;\r\n");
      out.write("        var row= parseInt(span.name);\r\n");
      out.write("               \r\n");
      out.write("       var newRowContainer=document.createElement(\"DIV\");\r\n");
      out.write("       newRowContainer.id=\"row\";\r\n");
      out.write("       newRowContainer.className='datarow';\r\n");
      out.write("       \r\n");
      out.write("       newRowContainer.innerHTML=cs_cols+cs_operator+cs_value+cs_logicHTML+\r\n");
      out.write("      \"&nbsp;&nbsp;<span class='imgbutton'   onclick='  conditionInsertRow (this, 1)  '>后插</span>&nbsp;\"+\r\n");
      out.write("        \"<span class='imgbutton'  onclick='conditionInsertRow( this ,-1)' >前插</span>&nbsp;\"+\r\n");
      out.write("        \"<span class='imgbutton'    onclick='  conditionDeleteRow( this )' >删除</span>\";\r\n");
      out.write("        \r\n");
      out.write("        if ( pos==-1)\r\n");
      out.write("        {\r\n");
      out.write("        span.insertAdjacentElement(  \"beforeBegin\", newRowContainer);\r\n");
      out.write("       }else\r\n");
      out.write("       {\r\n");
      out.write("        span.insertAdjacentElement(  \"afterEnd\", newRowContainer);\r\n");
      out.write("       }\r\n");
      out.write("        \r\n");
      out.write("        \r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  \r\n");
      out.write(" \r\n");
      out.write("\r\n");
      out.write("  function conditionDeleteRow( a)\r\n");
      out.write("  {\r\n");
      out.write("       　　\r\n");
      out.write("     if ( ! confirm(\"确信删除本行吗\")) return;\r\n");
      out.write("            \r\n");
      out.write("      var span= a.parentNode;\r\n");
      out.write("      \r\n");
      out.write("      span.outerHTML='';\r\n");
      out.write("       \r\n");
      out.write("      var objs= document.getElementsByClassName(\"datarow\");\r\n");
      out.write("   //如果全部删除了，显示新增按钮\r\n");
      out.write("     if ( objs.length==0)  $(\"funcrow\").style.display=\"\";\r\n");
      out.write("         \r\n");
      out.write("  }\r\n");
      out.write("   \r\n");
      out.write("   \r\n");
      out.write("   function conditionValidate(successtip )\r\n");
      out.write("  {\r\n");
      out.write("  \r\n");
      out.write("     var objs=document.getElementsByClassName(\"datarow\");\r\n");
      out.write("     if ( objs==null) return true;\r\n");
      out.write("   \r\n");
      out.write("     var rc = objs.length;\r\n");
      out.write("     var  left = \"\";\r\n");
      out.write("     var   right = \"\";\r\n");
      out.write("\t \r\n");
      out.write("      for (  i = 0; i < rc; i++)\r\n");
      out.write("     {\r\n");
      out.write("  \r\n");
      out.write("       var cs =objs[i].childNodes;\r\n");
      out.write("\t  /* for( j=0;j<cs.length;j++)\r\n");
      out.write("\t   {\r\n");
      out.write("\t   alert ( cs[j].value);\r\n");
      out.write("\t   }\r\n");
      out.write("\t   */\r\n");
      out.write("       var c0=( cs[0].value);\r\n");
      out.write("       var c1=( cs[1].value);\r\n");
      out.write("       var c2=( cs[2].value);\r\n");
      out.write("       var c3=( cs[4].value);  // cs[3]是一个img\r\n");
      out.write("     \r\n");
      out.write("     \r\n");
      out.write("       if ( c0==\"\") \r\n");
      out.write("       {\r\n");
      out.write("              alert( \"请指定第\" +  (i + 1) + \"行中的字段\");\r\n");
      out.write("\t\t\t  cs[0].focus();\r\n");
      out.write("              return false;\r\n");
      out.write("       }\r\n");
      out.write("\t   \r\n");
      out.write("\t    if ( c1==\"\") \r\n");
      out.write("       {\r\n");
      out.write("              alert( \"请指定第\" +  (i + 1) + \"行中的算符\");\r\n");
      out.write("\t\t\t  cs[1].focus();\r\n");
      out.write("              return false;\r\n");
      out.write("       }\r\n");
      out.write("\t   \r\n");
      out.write("\t    if ( c2==\"\"  ) \r\n");
      out.write("       {\r\n");
      out.write("              alert( \"请指定第\" +  (i + 1) + \"行中的数据\");\r\n");
      out.write("\t\t\t  cs[2].focus();\r\n");
      out.write("              return false;\r\n");
      out.write("       }\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tif (  c2==cs_selectdate) \r\n");
      out.write("       {\r\n");
      out.write("              alert( \"请指定第\" +  (i + 1) + \"行中的日期\");\r\n");
      out.write("\t\t\t  cs[2].focus();\r\n");
      out.write("              return false;\r\n");
      out.write("       }\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("       if (  i != (rc - 1)  && c3==\"\" )\r\n");
      out.write("      {\r\n");
      out.write("            alert( \"请指定第\" +  (i + 1) + \"行中的关系\");\r\n");
      out.write("\t\t\tcs[3].focus();\r\n");
      out.write("            return false;\r\n");
      out.write("       }\r\n");
      out.write("\r\n");
      out.write("    }  \r\n");
      out.write(" \r\n");
      out.write("\r\n");
      out.write("  if (successtip)\r\n");
      out.write("  {\r\n");
      out.write("    if (rc > 0)  alert( \"条件定义合法。\");\r\n");
      out.write("    else\r\n");
      out.write("     alert( \"没有定义条件。\");\r\n");
      out.write("   }\r\n");
      out.write("\r\n");
      out.write("   return true;\r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  function getCondition ()\r\n");
      out.write("  {\r\n");
      out.write("  \r\n");
      out.write("   var objs= document.getElementsByClassName(\"datarow\");\r\n");
      out.write("   if ( objs==null) return \"\";\r\n");
      out.write("    var data=\"<rowcount>\"+objs.length+\"</rowcount>\";\r\n");
      out.write("    for( i=0;i<objs.length;i++)\r\n");
      out.write("    {\r\n");
      out.write("     var cs =objs[i].childNodes;\r\n");
      out.write("     var c0=( cs[0].value);\r\n");
      out.write("     var c1=( cs[1].value);\r\n");
      out.write("     var c2=( cs[2].value);\r\n");
      out.write("     var c3=( cs[4].value); \r\n");
      out.write("     data=data+\"<r\"+i+\"c0>\"+c0+\"</r\"+i+\"c0>\";\r\n");
      out.write("     data=data+\"<r\"+i+\"c1>\"+c1+\"</r\"+i+\"c1>\";\r\n");
      out.write("     data=data+\"<r\"+i+\"c2>\"+c2+\"</r\"+i+\"c2>\";\r\n");
      out.write("     data=data+\"<r\"+i+\"c3>\"+c3+\"</r\"+i+\"c3>\";\r\n");
      out.write("     }\r\n");
      out.write("    return data;\r\n");
      out.write("    \r\n");
      out.write("  }\r\n");
      out.write("   \r\n");
      out.write("   \r\n");
      out.write("   \r\n");
      out.write("  function colChanged( obj)\r\n");
      out.write("  {\r\n");
      out.write("  \tvar col= obj.value;\r\n");
      out.write("\tvar colType= \"\"; \r\n");
      out.write("\tif ( col!='') colType=getColType(col);\r\n");
      out.write("\t\r\n");
      out.write("\t//alert( colType);\r\n");
      out.write("\t//alert ( obj.parentElement.childNodes[2].tagName);\r\n");
      out.write("\t\r\n");
      out.write("\tif ( colType==\"\") //恢复成普通\r\n");
      out.write("\t{\r\n");
      out.write("\t\tobj.parentElement.childNodes[2].outerHTML='<input  class=valueselect  title=\"数据\">';\r\n");
      out.write("\t\tobj.parentElement.childNodes[2].value=\"\";\r\n");
      out.write("\t\tobj.parentElement.childNodes[2].readOnly=false; \r\n");
      out.write("\t\tobj.parentElement.childNodes[3].style.visibility=\"hidden\";\r\n");
      out.write("\t\treturn ;\r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("\tif ( colType=='$date')\r\n");
      out.write("\t{ \r\n");
      out.write("    \tobj.parentElement.childNodes[2].outerHTML='<input  class=valueselect  title=\"数据\">';\r\n");
      out.write("\t\tobj.parentElement.childNodes[2].value=cs_selectdate;\r\n");
      out.write("\t\tobj.parentElement.childNodes[2].readOnly=true; \r\n");
      out.write("\t\tobj.parentElement.childNodes[3].style.visibility=\"visible\";\r\n");
      out.write("\t\treturn ;\r\n");
      out.write("\t} \r\n");
      out.write("\t\r\n");
      out.write("\t \r\n");
      out.write("\t\r\n");
      out.write("\t\tobj.parentElement.childNodes[2].outerHTML=colType;\r\n");
      out.write("\t\tobj.parentElement.childNodes[2].value=\"\";\r\n");
      out.write("\t\tobj.parentElement.childNodes[2].readOnly=false; \r\n");
      out.write("\t\ttry\r\n");
      out.write("\t\t{\r\n");
      out.write("        obj.parentElement.childNodes[3].style.visibility=\"hidden\";\r\n");
      out.write("        }catch(e)\r\n");
      out.write("        {\r\n");
      out.write("        }\r\n");
      out.write("  } \r\n");
      out.write("  \r\n");
      out.write("  \r\n");
      out.write("  function colChanged_old( obj)\r\n");
      out.write("  {\r\n");
      out.write("  \tvar col= obj.value;\r\n");
      out.write("\tvar colType= getColType(col);\r\n");
      out.write("\tif ( colType=='date')\r\n");
      out.write("\t{ \r\n");
      out.write("\t\tobj.parentElement.childNodes[2].value=cs_selectdate;\r\n");
      out.write("\t\tobj.parentElement.childNodes[2].readOnly=true; \r\n");
      out.write("\t\tobj.parentElement.childNodes[3].style.visibility=\"visible\";\r\n");
      out.write("\t}else\r\n");
      out.write("\t{\r\n");
      out.write("     \tobj.parentElement.childNodes[2].value=\"\";\r\n");
      out.write("\t\tobj.parentElement.childNodes[2].readOnly=false;\r\n");
      out.write("\t\tobj.parentElement.childNodes[3].style.visibility=\"hidden\";\r\n");
      out.write("\t}\r\n");
      out.write("  } \r\n");
      out.write("   \r\n");
      out.write("   \r\n");
      out.write("//缺省插入一行   \r\n");
      out.write(" $(\"funcrow\").style.display=\"none\";\r\n");
      out.write("  conditionInsertRow($(\"conditionsign\") ,-1);\r\n");
      out.write("   \r\n");
      out.write(" \r\n");
      out.write("</script>\r\n");
      out.write("\r\n");
      out.write("\t</BODY>\r\n");
      out.write("\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);
    }
  }
}
