/*
 * Generated by the Jasper component of Apache Tomcat
 * Version: Apache Tomcat/8.0.32
 * Generated at: 2024-03-04 22:52:11 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.pages.inc;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import com.ssa.cms.util.PropertiesUtil;

public final class footer_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent,
                 org.apache.jasper.runtime.JspSourceImports {

private static org.apache.jasper.runtime.ProtectedFunctionMapper _jspx_fnmap_0;

static {
  _jspx_fnmap_0= org.apache.jasper.runtime.ProtectedFunctionMapper.getMapForFunction("fn:trim", org.apache.taglibs.standard.functions.Functions.class, "trim", new Class[] {java.lang.String.class});
}

  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>(3);
    _jspx_dependants.put("/WEB-INF/lib/jstl-1.2.jar", Long.valueOf(1564717436000L));
    _jspx_dependants.put("jar:file:/home/compliancereward/public_html/tomcat/webapps/ROOT/WEB-INF/lib/jstl-1.2.jar!/META-INF/fmt.tld", Long.valueOf(1153399482000L));
    _jspx_dependants.put("jar:file:/home/compliancereward/public_html/tomcat/webapps/ROOT/WEB-INF/lib/jstl-1.2.jar!/META-INF/fn.tld", Long.valueOf(1153399482000L));
  }

  private static final java.util.Set<java.lang.String> _jspx_imports_packages;

  private static final java.util.Set<java.lang.String> _jspx_imports_classes;

  static {
    _jspx_imports_packages = new java.util.HashSet<>();
    _jspx_imports_packages.add("javax.servlet");
    _jspx_imports_packages.add("javax.servlet.http");
    _jspx_imports_packages.add("javax.servlet.jsp");
    _jspx_imports_classes = new java.util.HashSet<>();
    _jspx_imports_classes.add("com.ssa.cms.util.PropertiesUtil");
  }

  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvalue_005fpattern_005fnobody;

  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 java.util.Set<java.lang.String> getPackageImports() {
    return _jspx_imports_packages;
  }

  public java.util.Set<java.lang.String> getClassImports() {
    return _jspx_imports_classes;
  }

  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() {
    _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvalue_005fpattern_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
  }

  public void _jspDestroy() {
    _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvalue_005fpattern_005fnobody.release();
  }

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

final java.lang.String _jspx_method = request.getMethod();
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method) && !javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET POST or HEAD");
return;
}

    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");
      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('\n');
      out.write('\n');
      java.util.Date date = null;
      date = (java.util.Date) _jspx_page_context.getAttribute("date", javax.servlet.jsp.PageContext.PAGE_SCOPE);
      if (date == null){
        date = new java.util.Date();
        _jspx_page_context.setAttribute("date", date, javax.servlet.jsp.PageContext.PAGE_SCOPE);
      }
      out.write("\n");
      out.write("<!--<footer class=\"footer\">\n");
      out.write("    &COPY;");
      if (_jspx_meth_fmt_005fformatDate_005f0(_jspx_page_context))
        return;
      out.write(", <a  href=\"http://rx-direct.us\"  target=\"_blank\"  style=\"color: #2071b6;\">Rx-Direct</a>, All rights reserved\n");
      out.write("</footer>-->\n");
      out.write("<!-------------------------------Pharmacy Transaction Report Data---------------------------------------->\n");
      out.write("<div class=\"modal fade financial_modal\" id=\"pharmacymodal\" role=\"dialog\">\n");
      out.write("    <div class=\"modal-dialog\">\n");
      out.write("\n");
      out.write("        <!-- Modal content-->\n");
      out.write("        <div class=\"modal-content\">\n");
      out.write("            <div class=\"modal-header\">\n");
      out.write("                <button type=\"button\" class=\"close\" data-dismiss=\"modal\">&times;</button>\n");
      out.write("                <h4>Pharmacy Transaction Report</h4>\n");
      out.write("            </div>\n");
      out.write("            <div class=\"modal-body clearfix\">\n");
      out.write("\n");
      out.write("                <div class=\"col-sm-6\"><label>From</label>\n");
      out.write("                    <input id=\"frmDateTransactional\" name=\"frmDateTransactional\" class=\"form-control\" placeholder=\"mm/dd/yyyy\" value='");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${frmDate}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("'\n");
      out.write("                           onkeyup=\"addSlashes(this)\" maxlength=\"10\" onkeypress=\"return IsDigit(event)\" /> </div>\n");
      out.write("\n");
      out.write("                <div class=\"col-sm-6\"><label>To</label>\n");
      out.write("                    <input   id=\"toDateTransactional\"  name=\"toDateTransactional\" placeholder=\"mm/dd/yyyy\" value='");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${toDate}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("'\n");
      out.write("                             class=\"form-control\" onkeyup=\"addSlashes(this)\" maxlength=\"10\" onkeypress=\"return IsDigit(event)\"/> </div>\n");
      out.write("                <!----------------------------------------------------------------------------------------------------------------->\n");
      out.write("                <!--------------------------------------------------------->\n");
      out.write("                <div class=\"col-sm-6\"><label>Pharmacy</label>\n");
      out.write("                    <select style=\"color: black\" id=\"pharmacyTransId\" name=\"pharmacyTransId\"  >  \n");
      out.write("                        <option value=\"0\">Select Pharmacy</option>\n");
      out.write("\n");
      out.write("                    </select> </div>\n");
      out.write("\n");
      out.write("                <!--------------------------------------------------------->\n");
      out.write("                <div class=\"col-sm-12\"><label>Format</label> \n");
      out.write("                    <input type=\"radio\" name=\"formatTransactionalBtn\" id=\"radio-aTransactional\" value=\"pdfView\" checked>Pdf &nbsp;\n");
      out.write("                    <input type=\"radio\" name=\"formatTransactionalBtn\" id=\"radio-bTransactional\" value=\"excelView\" >Excel\n");
      out.write("                </div>\n");
      out.write("\n");
      out.write("                <div>\n");
      out.write("                    <span id=\"errorDivTransactional\" style=\"color:red; font-weight:bold\">\n");
      out.write("\n");
      out.write("                    </span>      \n");
      out.write("                </div>\n");
      out.write("                <!----------------------------------------------------------------------------------------------------------------->\n");
      out.write("                <div class=\"col-sm-12 gobtn\">\n");
      out.write("                    <input type=\"button\" value=\"Submit\" name=\"goTransactional\" class=\"btn btn-primary\" onclick=\"exportTransactionalReportData()\"/>\n");
      out.write("                </div>\n");
      out.write("            </div>\n");
      out.write("\n");
      out.write("        </div>\n");
      out.write("\n");
      out.write("    </div>\n");
      out.write("</div>\n");
      out.write("\n");
      out.write("<!-------------------------------Pharmacy Transaction Report Data---------------------------------------->\n");
      out.write("\n");
      out.write("<!--------------------------------------------------------FINancial report section----------------------------------------->\n");
      out.write("<!--Financial Report-->\n");
      out.write("<div class=\"modal fade financial_modal\" id=\"finanmodal\" role=\"dialog\">\n");
      out.write("    <div class=\"modal-dialog\">\n");
      out.write("\n");
      out.write("        <!-- Modal content-->\n");
      out.write("        <div class=\"modal-content\">\n");
      out.write("            <div class=\"modal-header\">\n");
      out.write("                <button type=\"button\" class=\"close\" data-dismiss=\"modal\">&times;</button>\n");
      out.write("                <h4>Financial Report</h4>\n");
      out.write("            </div>\n");
      out.write("            <div class=\"modal-body clearfix\">\n");
      out.write("                <div class=\"col-sm-6\"><label>From</label>\n");
      out.write("                    <input id=\"frmDateFinancial\" name=\"frmDateFinancial\" class=\"form-control\" placeholder=\"mm/dd/yyyy\" value='");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${frmDate}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("'\n");
      out.write("                           onkeyup=\"addSlashes(this)\" maxlength=\"10\" onkeypress=\"return IsDigit(event)\"\n");
      out.write("                           disabled=\"true\"   /> </div>\n");
      out.write("\n");
      out.write("                <div class=\"col-sm-6\"><label>To</label>\n");
      out.write("                    <input   id=\"toDateFinancial\" name=\"toDateFinancial\" placeholder=\"mm/dd/yyyy\" value='");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${toDate}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("'\n");
      out.write("                             class=\"form-control\" onkeyup=\"addSlashes(this)\" maxlength=\"10\" onkeypress=\"return IsDigit(event)\" disabled=\"true\"/> </div>\n");
      out.write("                <!----------------------------------------------------------------------------------------------------------------->\n");
      out.write("                <div class=\"col-sm-6\"><label>Cycle#</label>\n");
      out.write("                    <input id=\"cycleNoFinancial\" name=\"currCycleFinancial\" class=\"form-control\" placeholder=\"Cycle#\" value='");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${currCycle}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("'\n");
      out.write("                           maxlength=\"2\" onkeypress=\"return IsDigit(event)\"\n");
      out.write("                           /> </div>\n");
      out.write("\n");
      out.write("                <div class=\"col-sm-6\"><label>Year</label>\n");
      out.write("                    <input   id=\"yearFinancial\" name=\"yearFinancial\" placeholder=\"Year\" value='");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${currYear}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("'\n");
      out.write("                             class=\"form-control\"  maxlength=\"4\" onkeypress=\"return IsDigit(event)\"/> </div>\n");
      out.write("                <!--------------------------------------------------------->\n");
      out.write("                <div class=\"col-sm-12\"><label>Pharmacy</label>\n");
      out.write("                    <select style=\"color: black\" id=\"cmbPharmacyFinancialId\" name=\"pharmacyTransId\"  >  \n");
      out.write("                        <option value=\"0\">Select Pharmacy</option>\n");
      out.write("\n");
      out.write("                    </select>\n");
      out.write("                </div>\n");
      out.write("                <!--------------------------------------------------------->\n");
      out.write("                <div class=\"col-sm-12\"><label>Format</label>\n");
      out.write("                    <input type=\"radio\" name=\"formatBtn\" id=\"radio-a\" value=\"pdfView\" checked>Pdf &nbsp;\n");
      out.write("                    <input type=\"radio\" name=\"formatBtn\" id=\"radio-b\" value=\"excelView\" >Excel\n");
      out.write("                </div>\n");
      out.write("\n");
      out.write("                <div>\n");
      out.write("                    <span id=\"errorDivFinancial\" style=\"color:red; font-weight:bold\">\n");
      out.write("\n");
      out.write("                    </span>      \n");
      out.write("                </div>\n");
      out.write("                <!----------------------------------------------------------------------------------------------------------------->\n");
      out.write("                <div class=\"col-sm-12 gobtn\">\n");
      out.write("                    <input type=\"button\" value=\"Submit\" name=\"go\" class=\"btn btn-primary\" onclick=\"exportFinancialReportData()\"/>\n");
      out.write("                </div>\n");
      out.write("            </div>\n");
      out.write("\n");
      out.write("        </div>\n");
      out.write("\n");
      out.write("    </div>\n");
      out.write("</div>\n");
      out.write("<!--/Financial Report-->\n");
      out.write("<!--------------------------------------------------------Basic Statistics report section----------------------------------------->\n");
      out.write("<!--Basic Statistics Report-->\n");
      out.write("<div class=\"modal fade financial_modal\" id=\"rptBasicStatisticsModal\" role=\"dialog\">\n");
      out.write("    <div class=\"modal-dialog\">\n");
      out.write("\n");
      out.write("        <!-- Modal content-->\n");
      out.write("        <div class=\"modal-content\">\n");
      out.write("            <div class=\"modal-header\">\n");
      out.write("                <button type=\"button\" class=\"close\" data-dismiss=\"modal\">&times;</button>\n");
      out.write("                <h4>Basic Statistics Report</h4>\n");
      out.write("            </div>\n");
      out.write("            <div class=\"modal-body clearfix\">\n");
      out.write("                <div class=\"col-sm-6\">\n");
      out.write("                    <label>From</label>\n");
      out.write("                    <input id=\"basicStatisticsFrmDate\" name=\"basicStatisticsFrmDate\" class=\"form-control\" placeholder=\"mm/dd/yyyy\"\n");
      out.write("                           onkeyup=\"addSlashes(this)\" maxlength=\"10\" onkeypress=\"return IsDigit(event)\"\n");
      out.write("                           readonly=\"true\"   />\n");
      out.write("                    <div id=\"frmDateErrorDiv\" style=\"color:red; font-weight:bold\"></div>\n");
      out.write("                </div>\n");
      out.write("\n");
      out.write("                <div class=\"col-sm-6\">\n");
      out.write("                    <label>To</label>\n");
      out.write("                    <input   id=\"basicStatisticsToDate\" name=\"basicStatisticsToDate\" placeholder=\"mm/dd/yyyy\"\n");
      out.write("                             class=\"form-control\" onkeyup=\"addSlashes(this)\" maxlength=\"10\" onkeypress=\"return IsDigit(event)\" readonly=\"true\"/>\n");
      out.write("                    <div id=\"toDateErrorDiv\" style=\"color:red; font-weight:bold\"></div>\n");
      out.write("                </div>\n");
      out.write("                <!----------------------------------------------------------------------------------------------------------------->\n");
      out.write("\n");
      out.write("\n");
      out.write("                <div class=\"col-sm-12\"><label>Format</label>\n");
      out.write("                    <input type=\"radio\" name=\"formatBtn\" id=\"radioPdfView\" value=\"pdfView\" checked>Pdf &nbsp;\n");
      out.write("                    <input type=\"radio\" name=\"formatBtn\" id=\"radioExcelView\" value=\"excelView\" >Excel\n");
      out.write("                </div>\n");
      out.write("                <!----------------------------------------------------------------------------------------------------------------->\n");
      out.write("                <div class=\"col-sm-12 gobtn\">\n");
      out.write("                    <input type=\"button\" value=\"Submit\" name=\"Submit\" class=\"btn btn-primary\" onclick=\"exportBasicStatisticsReportData()\"/>\n");
      out.write("                </div>\n");
      out.write("            </div>\n");
      out.write("\n");
      out.write("        </div>\n");
      out.write("\n");
      out.write("    </div>\n");
      out.write("</div>\n");
      out.write("<!--/Basic Statistics-->\n");
      out.write("<!--------------------------------------------------------------------------------------------------------------------->\n");
      out.write("<div class=\"row footer\">\n");
      out.write("    <div class=\"wrapper\">\n");
      out.write("        <div class=\"col-sm-12\">\n");
      out.write("            <div class=\"row\">\n");
      out.write("                <div class=\"col-lg-4 col-md-6\">\n");
      out.write("                    <p>3201 FANNIN LN  l  Suite 200  l  SOUTHLAKE, TX  76092</p>\n");
      out.write("                </div>\n");
      out.write("                <div class=\"col-lg-4 col-md-6 footer_contact\">\n");
      out.write("                    <ul>\n");
      out.write("                        <li><i class=\"fa fa-phone\"></i>(888) 495-7271</li>\n");
      out.write("                        <li><a href=\"mailto:info@ComplianceReward.us\"><i class=\"fa fa-envelope-o\"></i>info@ComplianceReward.us</a></li>\n");
      out.write("                    </ul>\n");
      out.write("                </div>\n");
      out.write("                <div class=\"col-lg-4 col-md-12 footer_privcy\">\n");
      out.write("                    <p>© 2020 <strong>Compliance Reward.</strong> All rights reserved.<a href=\"http://compliancerewards.ssasoft.com/comprewards/public/privacy-policy\">Privacy Policy</a></p>\n");
      out.write("                </div>\n");
      out.write("            </div>\n");
      out.write("        </div>\n");
      out.write("    </div>\n");
      out.write("</div>\n");
      out.write("\n");
      out.write("<script type=\"text/javascript\" src=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:trim(PropertiesUtil.getProperty('APP_PATH_CODE'))}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, _jspx_fnmap_0));
      out.write("resources/js/jquery-ui.min.js\"></script>  \n");
      out.write("<script type=\"text/javascript\" src=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:trim(PropertiesUtil.getProperty('APP_PATH_CODE'))}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, _jspx_fnmap_0));
      out.write("resources/js/bootstrapp.min.js\"></script>    \n");
      out.write("<script type=\"text/javascript\" src=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:trim(PropertiesUtil.getProperty('APP_PATH_CODE'))}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, _jspx_fnmap_0));
      out.write("resources/js/lightbox.min.js\"></script>\n");
      out.write("\n");
      out.write("<script type=\"text/javascript\">\n");
      out.write("                        $(function () {\n");
      out.write("//        alert('ffffffffffff');\n");
      out.write("                            $(\"#toDateTransactional\").datepicker({\n");
      out.write("                                dateFormat: \"mm/dd/yy\"\n");
      out.write("                            }).datepicker(\"setDate\", \"0\");\n");
      out.write("                        });\n");
      out.write("\n");
      out.write("                        $(function () {\n");
      out.write("//        alert('ffffffffffff');\n");
      out.write("                            $(\"#frmDateTransactional\").datepicker({\n");
      out.write("                                dateFormat: \"mm/dd/yy\"\n");
      out.write("                            }).datepicker(\"setDate\", \"-14\");\n");
      out.write("                        });\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("//    function myFunction() {\n");
      out.write("//\n");
      out.write("//$(document).ready(function(){\n");
      out.write("//    alert('f1');\n");
      out.write("//  $('#toDateTransactional').attr(\"placeholder\", Date());\n");
      out.write("//\n");
      out.write("//});\n");
      out.write("//\n");
      out.write("//}\n");
      out.write("//function myFunction() {\n");
      out.write("//    alert('f2');\n");
      out.write("//document.getElementById('toDateTransactional').value= Date();\n");
      out.write("//}\n");
      out.write("//    \n");
      out.write("//  function myFunction() {\n");
      out.write("//                     document.getElementById('demo').value= Date();\n");
      out.write("//                 }\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("                        $('#frmDateTransactional,#toDateTransactional').datetimepicker({timepicker: false, format: 'm/d/Y',\n");
      out.write("                            onChangeDateTime: function (dp, $input) {\n");
      out.write("                                jQuery('#basicStatisticsFrmDate,#basicStatisticsToDate').datetimepicker('hide');\n");
      out.write("                            }});\n");
      out.write("                        $('#frmDateTransactional,#toDateTransactional').datetimepicker({timepicker: false, format: 'm/d/Y',\n");
      out.write("                            onChangeDateTime: function (dp, $input) {\n");
      out.write("                                jQuery('#frmDateTransactional,#toDateTransactional').datetimepicker('hide');\n");
      out.write("                            }});\n");
      out.write("                        function exportFinancialReportData() {\n");
      out.write("\n");
      out.write("                            $(\"#errorDivFinancial\").text(\"\");\n");
      out.write("\n");
      out.write("                            if ($(\"#cycleNoFinancial\").val() == '')\n");
      out.write("                            {\n");
      out.write("                                $(\"#errorDivFinancial\").text(\"Please specify Cycle#.\");\n");
      out.write("                                $(\"#cycleNoFinancial\").focus();\n");
      out.write("                                return false;\n");
      out.write("                            }\n");
      out.write("\n");
      out.write("                            if ($(\"#yearFinancial\").val() == '')\n");
      out.write("                            {\n");
      out.write("                                $(\"#errorDivFinancial\").text(\"Please specify year.\");\n");
      out.write("                                $(\"#yearFinancial\").focus();\n");
      out.write("                                return false;\n");
      out.write("                            }\n");
      out.write("\n");
      out.write("                            if ($(\"#cmbPharmacyFinancialId\").val() <= 0)\n");
      out.write("                            {\n");
      out.write("                                $(\"#errorDivFinancial\").text(\"Please select pharmacy.\");\n");
      out.write("                                $(\"#cmbPharmacyFinancialId\").focus();\n");
      out.write("                                return false;\n");
      out.write("                            }\n");
      out.write("                            var format = 'pdfView';\n");
      out.write("                            if ($('#radio-b').is(':checked'))\n");
      out.write("                            {\n");
      out.write("                                format = 'excelView';\n");
      out.write("                            }\n");
      out.write("                            $(\"#errorDivFinancial\").html('');\n");
      out.write("                            window.open('");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:trim(PropertiesUtil.getProperty('APP_PATH_CODE'))}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, _jspx_fnmap_0));
      out.write("rxTransfer/exportPdfFinancial?fromDate=' + $(\"#frmDateFinancial\").val() + '&toDate=' + $(\"#toDateFinancial\").val() + '&cycle=' + $(\"#cycleNoFinancial\").val() + '&format=' + format + \"&pharmacy=\" + $(\"#cmbPharmacyFinancialId option:selected\").text() + \"&pharmacyId=\" + $(\"#cmbPharmacyFinancialId\").val(), \"_blank\");\n");
      out.write("                            $(\"#finanmodal\").modal('hide');\n");
      out.write("                        }\n");
      out.write("\n");
      out.write("                        /////////////////////////////////////////////////////////////////////////////\n");
      out.write("                        function exportTransactionalReportData() {\n");
      out.write("\n");
      out.write("//                            alert(\"Val \"+$(\"#pharmacyTransId\").val())\n");
      out.write("                            if ($(\"#pharmacyTransId\").val() <= 0)\n");
      out.write("                            {\n");
      out.write("                                $(\"#errorDivTransactional\").html(\"Please select pharmacy.\");\n");
      out.write("                                $(\"#pharmacyTransId\").focus();\n");
      out.write("                                return false;\n");
      out.write("                            }\n");
      out.write("                            if ($(\"#frmDateTransactional\").val() == '')\n");
      out.write("                            {\n");
      out.write("                                $(\"#errorDivTransactional\").html(\"Please specify from date.\");\n");
      out.write("                                $(\"#frmDateTransactional\").focus();\n");
      out.write("                                return false;\n");
      out.write("                            }\n");
      out.write("                            if ($(\"#toDateTransactional\").val() == '')\n");
      out.write("                            {\n");
      out.write("                                $(\"#errorDivTransactional\").html(\"Please specify to date.\");\n");
      out.write("                                $(\"#toDateTransactional\").focus();\n");
      out.write("                                return false;\n");
      out.write("                            }\n");
      out.write("                            var format = 'pdfView';\n");
      out.write("                            if ($('#radio-bTransactional').is(':checked'))\n");
      out.write("                            {\n");
      out.write("                                format = 'excelView';\n");
      out.write("                            }\n");
      out.write("                            $(\"#errorDivTransactional\").html('');\n");
      out.write("                            window.open('");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:trim(PropertiesUtil.getProperty('APP_PATH_CODE'))}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, _jspx_fnmap_0));
      out.write("rxTransfer/exportPdfTransactional?fromDate=' + $(\"#frmDateTransactional\").val() + '&toDate=' + $(\"#toDateTransactional\").val() + '&pharmacyId=' + $(\"#pharmacyTransId\").val() + '&format=' + format + '&pharmacy=' + $(\"#pharmacyTransId option:selected\").text(), \"_blank\");\n");
      out.write("                            $(\"#pharmacymodal\").modal('hide');\n");
      out.write("                        }\n");
      out.write("\n");
      out.write("                        /////////////////////////////////////////////////////////////////////////////\n");
      out.write("\n");
      out.write("                        function addSlashes(input)\n");
      out.write("                        {\n");
      out.write("                            var v = input.value;\n");
      out.write("                            if (v.match(/^\\d{2}$/) !== null)\n");
      out.write("                            {\n");
      out.write("                                input.value = v + '/';\n");
      out.write("                            } else if (v.match(/^\\d{2}\\/\\d{2}$/) !== null)\n");
      out.write("                            {\n");
      out.write("                                input.value = v + '/';\n");
      out.write("                            }\n");
      out.write("                        }\n");
      out.write("\n");
      out.write("                        function IsDigit(e) {\n");
      out.write("                            var keyCode = e.keyCode == 0 ? e.charCode : e.keyCode;\n");
      out.write("                            var ret = ((keyCode >= 48 && keyCode <= 57) || (specialKeys.indexOf(e.keyCode) != -1 && e.charCode != e.keyCode)\n");
      out.write("                                    || keyCode == 8 || keyCode == 9 || keyCode == 13 || keyCode == 16);\n");
      out.write("\n");
      out.write("                            return ret;\n");
      out.write("                        }\n");
      out.write("                        ////////////////////////////////////////////////////////////\n");
      out.write("\n");
      out.write("                        $(document).ready(function () {\n");
      out.write("                            displayDataTable();\n");
      out.write("                            if (window.screen.width === 480 || window.screen.width === 320) {\n");
      out.write("                                $('.caret').attr('style', 'top: 0px !important');\n");
      out.write("                                $('.dashboardrd').attr('style', 'top: 3px !important;position: relative;color: rgba(48,116,191,1);');\n");
      out.write("\n");
      out.write("                            }\n");
      out.write("                            if (window.screen.width >= 1300 && window.screen.width <= 1500) {\n");
      out.write("                                $(\"#apiProgramReports\").attr('class', 'dropdown-submenu pull-left');\n");
      out.write("                                $(\"#mostActiveReports\").attr('class', 'dropdown-menu submenuright');\n");
      out.write("                            } else {\n");
      out.write("                                $(\"#apiProgramReports\").attr('class', 'dropdown-submenu');\n");
      out.write("                                $(\"#mostActiveReports\").attr('class', 'dropdown-menu');\n");
      out.write("                            }\n");
      out.write("\n");
      out.write("                            //////////////////////////////////////////////\n");
      out.write("                            $(\"#cycleNoFinancial,#yearFinancial\").bind('blur', function ()\n");
      out.write("                            {\n");
      out.write("                                //alert(\"A\");\n");
      out.write("                                var cycle = $(\"#cycleNoFinancial\").val();\n");
      out.write("                                var year = $(\"#yearFinancial\").val();\n");
      out.write("\n");
      out.write("                                var json = {\"cycle\": cycle, \"year\": year};\n");
      out.write("                                /////////////////////////////////////////\n");
      out.write("                                $.ajax(\n");
      out.write("                                        {\n");
      out.write("                                            url: \"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:trim(PropertiesUtil.getProperty('APP_PATH_CODE'))}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, _jspx_fnmap_0));
      out.write("rxTransfer/loadFinancialCycleInfo\",\n");
      out.write("                                            type: \"POST\",\n");
      out.write("                                            dataType: 'text',\n");
      out.write("                                            contentType: 'application/json',\n");
      out.write("                                            data: JSON.stringify(json),\n");
      out.write("                                            success: function (data)\n");
      out.write("                                            {\n");
      out.write("                                                var response = $.parseJSON(data);\n");
      out.write("                                                //alert(\"data \"+response);\n");
      out.write("                                                $(\"#frmDateFinancial\").val(response.frmDate);\n");
      out.write("                                                $(\"#toDateFinancial\").val(response.toDate);\n");
      out.write("                                                //alert(\"\"+data);\n");
      out.write("                                                //alert(\"Drug detail has been saved successfully.\")\n");
      out.write("                                                //$(\"#drugDataForm\").submit();\n");
      out.write("\n");
      out.write("                                            },\n");
      out.write("                                            error: function (xhr, status, error)\n");
      out.write("                                            {\n");
      out.write("                                                alert(xhr.responseText);\n");
      out.write("                                            }\n");
      out.write("                                        });\n");
      out.write("                                ////////////////////////////////////////\n");
      out.write("                            });\n");
      out.write("                            ///////////////////////////////////////////\n");
      out.write("                            $(\"#rptLnkFinancial\").click(function ()\n");
      out.write("                            {\n");
      out.write("                                //alert(\"A\");\n");
      out.write("                                //////////////////////////////////////////////////////////\n");
      out.write("                                var json = {\"cycle\": \"0\", \"year\": \"0\"};\n");
      out.write("                                $.ajax(\n");
      out.write("                                        {\n");
      out.write("                                            url: \"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:trim(PropertiesUtil.getProperty('APP_PATH_CODE'))}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, _jspx_fnmap_0));
      out.write("rxTransfer/loadFinancialReportParams\",\n");
      out.write("                                            type: \"POST\",\n");
      out.write("                                            dataType: 'json',\n");
      out.write("                                            contentType: 'application/json',\n");
      out.write("                                            data: JSON.stringify(json),\n");
      out.write("                                            success: function (data)\n");
      out.write("                                            {\n");
      out.write("                                                //alert(\"BB \"+data);\n");
      out.write("                                                // alert(\"\"+$.parseJSON(data));\n");
      out.write("                                                var response = data;//$.parseJSON(data);\n");
      out.write("                                                $(\"#finanmodal\").modal('show');\n");
      out.write("                                                $(\"#frmDateFinancial\").val(response.frmDate);\n");
      out.write("                                                $(\"#toDateFinancial\").val(response.toDate);\n");
      out.write("                                                $(\"#yearFinancial\").val(response.year);\n");
      out.write("                                                $(\"#cycleNoFinancial\").val(response.cycleNo);\n");
      out.write("                                                ////////////////////////////////////////////////\n");
      out.write("                                                $.each(response.lstItems, function (i, item) {\n");
      out.write("                                                    $('#cmbPharmacyFinancialId').append($('<option>', {\n");
      out.write("                                                        value: item.value,\n");
      out.write("                                                        text: item.name\n");
      out.write("                                                    }));\n");
      out.write("                                                });\n");
      out.write("                                                ////////////////////////////////////////////////\n");
      out.write("\n");
      out.write("                                            },\n");
      out.write("                                            error: function (xhr, status, error)\n");
      out.write("                                            {\n");
      out.write("                                                alert(xhr.responseText);\n");
      out.write("                                            }\n");
      out.write("                                        });\n");
      out.write("                                //////////////////////////////////////////////////////////\n");
      out.write("                            });\n");
      out.write("                            //////////////////////////////////////////\n");
      out.write("\n");
      out.write("                        });\n");
      out.write("                        /////////////////Transactional Report//////////////////////////////\n");
      out.write("\n");
      out.write("                        ///////////////////////////////////////////\n");
      out.write("                        $(\"#rptLnkTransactional\").click(function ()\n");
      out.write("                        {\n");
      out.write("                            ///////////////////////////////////////////////////////////\n");
      out.write("                            $.ajax(\n");
      out.write("                                    {\n");
      out.write("                                        url: \"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${appPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("/user/loadPharmacies\",\n");
      out.write("                                        type: \"GET\",\n");
      out.write("                                        dataType: 'text',\n");
      out.write("                                        contentType: 'application/json',\n");
      out.write("\n");
      out.write("                                        success: function (data)\n");
      out.write("                                        {\n");
      out.write("                                            var response = $.parseJSON(data);\n");
      out.write("                                            $(\"#pharmacymodal\").modal('show');\n");
      out.write("                                            $.each(response, function (i, item) {\n");
      out.write("                                                $('#pharmacyTransId').append($('<option>', {\n");
      out.write("                                                    value: item.value,\n");
      out.write("                                                    text: item.name\n");
      out.write("                                                }));\n");
      out.write("                                            });\n");
      out.write("\n");
      out.write("\n");
      out.write("                                        },\n");
      out.write("                                        error: function (xhr, status, error)\n");
      out.write("                                        {\n");
      out.write("                                            alert(\"error \" + xhr.responseText);\n");
      out.write("                                        }\n");
      out.write("                                    });\n");
      out.write("                            //////////////////////////////////////////////////////////\n");
      out.write("\n");
      out.write("\n");
      out.write("                        });\n");
      out.write("                        ///////////////////////////////////////////////////////////////////\n");
      out.write("                        function displayDataTable() {\n");
      out.write("                            $('#example').dataTable({\n");
      out.write("                                \"sPaginationType\": \"full_numbers\",\n");
      out.write("                                \"bSort\": false,\n");
      out.write("                                \"order\": [[0, \"desc\"]]\n");
      out.write("                            });\n");
      out.write("                        }\n");
      out.write("                        $(document).ready(function () {\n");
      out.write("                            var dataTable = $('#example').dataTable();\n");
      out.write("                            //var oSettings = dataTable.fnSettings();\n");
      out.write("                            $(\"#searchTitle_1\").keyup(function () {\n");
      out.write("                                var v = dataTable.fnFilter(this.value);\n");
      out.write("                                if (typeof v === 'undefined' && this.value !== \"\") {\n");
      out.write("                                    $(\".dataTables_empty\").attr(\"colspan\", 13);\n");
      out.write("                                }\n");
      out.write("                            });\n");
      out.write("//        if (oSettings.aoData.length === 0) {\n");
      out.write("//            $(\".dataTables_empty\").attr(\"colspan\", 13);\n");
      out.write("//        }\n");
      out.write("                            $('#industryTitle,#title,#npi,#accountNo,#address1,#address2,\\n\\\n");
      out.write("#city,#zip,#messageTypeTitle,#brandTitle,#folderName,#fName,#smtpPort,#smtpUserName,#txtUserName,#roleTitle,#lname,#uname').bind(\"paste\", function (e) {\n");
      out.write("                                // e.preventDefault();\n");
      out.write("                            });\n");
      out.write("                        });\n");
      out.write("                        $(window).load(function () {\n");
      out.write("                            //$('#loading').fadeOut(1000);\n");
      out.write("                            // $(document).ready(function(){\n");
      out.write("\n");
      out.write("                            $('.collapsible > a').click(function () {\n");
      out.write("                                $(this).parent().toggleClass('open');\n");
      out.write("                                if ($(this).parent().siblings().hasClass('open')) {\n");
      out.write("                                    $(this).parent().siblings().removeClass('open');\n");
      out.write("                                }\n");
      out.write("                                return false;\n");
      out.write("                            }); // Collapsible\n");
      out.write("\n");
      out.write("                            // Mobile Nav\n");
      out.write("                            $('.m-nav').click(function () {\n");
      out.write("                                $('.main-nav').toggleClass('open');\n");
      out.write("                            });\n");
      out.write("                            $('#imgMini').click(function () {\n");
      out.write("                                //alert(\"OK\");\n");
      out.write("                                if ($('#searchCmp').is(':visible')) {\n");
      out.write("                                    $('#searchCmp').fadeOut('fast');\n");
      out.write("                                    $(\"#minus\").hide();\n");
      out.write("                                    $(\"#max\").show();\n");
      out.write("                                } else {\n");
      out.write("                                    $('#searchCmp').fadeIn('slow');\n");
      out.write("                                }\n");
      out.write("\n");
      out.write("                                //$('#toggle11').slideToggle('medium'); \n");
      out.write("                                return false;\n");
      out.write("                            });\n");
      out.write("                            $('#imgMaxi').click(function () {\n");
      out.write("                                //alert(\"OK\");\n");
      out.write("\n");
      out.write("                                $('#searchCmp').fadeIn('slow');\n");
      out.write("                                $(\"#minus\").show();\n");
      out.write("                                $(\"#max\").hide();\n");
      out.write("                                //$('#toggle11').slideToggle('medium'); \n");
      out.write("                                return false;\n");
      out.write("                            });\n");
      out.write("                            $('.selectpicker').selectpicker();\n");
      out.write("\n");
      out.write("                            /////////////////////////////accordion new\n");
      out.write("                            (function ($) {\n");
      out.write("                                for (var i = 0; i <= 20; i++) {\n");
      out.write("                                    $('.accordionnn > #panel' + i).hide();\n");
      out.write("                                }\n");
      out.write("                                $('.accordionnn > dt > i').removeClass('fa-arrow-circle-up').addClass('fa-arrow-circle-down');\n");
      out.write("                                $('.accordionnn > dt > i').click(function () {\n");
      out.write("                                    for (var i = 0; i <= 20; i++) {\n");
      out.write("                                        $('.accordionnn > #panel' + i).hide('slow');\n");
      out.write("                                    }\n");
      out.write("                                    $(this).parent().next().show();\n");
      out.write("                                    if ($(this).attr('class') == 'fa fa-arrow-circle-up') {\n");
      out.write("                                        $(this).removeClass('fa-arrow-circle-up').addClass('fa-arrow-circle-down');\n");
      out.write("                                    } else {\n");
      out.write("                                        $(this).addClass('fa-arrow-circle-up').removeClass('fa-arrow-circle-down');\n");
      out.write("                                    }\n");
      out.write("\n");
      out.write("\n");
      out.write("                                    return true;\n");
      out.write("                                });\n");
      out.write("\n");
      out.write("                            })(jQuery);\n");
      out.write("\n");
      out.write("                            if ($(\"#showFolder\") != null) {\n");
      out.write("                                var val = $(\"#showFolder\").val();\n");
      out.write("                                $(\"#panel\" + val).show();\n");
      out.write("                            }\n");
      out.write("                            /////////////////////accordion end\n");
      out.write("\n");
      out.write("                        }); // Ready.\n");
      out.write("\n");
      out.write("                        $(function () {\n");
      out.write("                            //Run this script only for IE for placeholder\n");
      out.write("                            if (navigator.appName === \"Microsoft Internet Explorer\") {\n");
      out.write("                                $(\"input[type=text]\").each(function () {\n");
      out.write("                                    var p;\n");
      out.write("                                    // Run this script only for input field with placeholder attribute\n");
      out.write("                                    if (p = $(this).attr('placeholder')) {\n");
      out.write("                                        // Input field's value attribute gets the placeholder value.\n");
      out.write("                                        if ($(this).val() === '') {\n");
      out.write("                                            $(this).val(p);\n");
      out.write("                                        }\n");
      out.write("                                        // On selecting the field, if value is the same as placeholder, it should become blank\n");
      out.write("                                        $(this).focus(function () {\n");
      out.write("                                            if (p === $(this).val()) {\n");
      out.write("                                                return $(this).val('');\n");
      out.write("                                            }\n");
      out.write("                                        });\n");
      out.write("                                        // On exiting field, if value is blank, it should be assigned the value of placeholder\n");
      out.write("                                        $(this).blur(function () {\n");
      out.write("                                            if ($(this).val() === '') {\n");
      out.write("                                                return $(this).val(p);\n");
      out.write("                                            }\n");
      out.write("                                        });\n");
      out.write("                                    }\n");
      out.write("                                });\n");
      out.write("                                $(\"input[type=password]\").each(function () {\n");
      out.write("                                    var e_id, p;\n");
      out.write("                                    if (p = $(this).attr('placeholder')) {\n");
      out.write("                                        e_id = $(this).attr('id');\n");
      out.write("                                        // change input type so that the text is displayed\n");
      out.write("                                        if ($(this).val() === '') {\n");
      out.write("                                            document.getElementById(e_id).type = 'text';\n");
      out.write("                                            $(this).val(p);\n");
      out.write("                                        }\n");
      out.write("                                        $(this).focus(function () {\n");
      out.write("                                            // change input type so that password is not displayed\n");
      out.write("                                            document.getElementById(e_id).type = 'password';\n");
      out.write("                                            if (p === $(this).val()) {\n");
      out.write("                                                return $(this).val('');\n");
      out.write("                                            }\n");
      out.write("                                        });\n");
      out.write("                                        $(this).blur(function () {\n");
      out.write("                                            if ($(this).val() === '') {\n");
      out.write("                                                document.getElementById(e_id).type = 'text';\n");
      out.write("                                                $(this).val(p);\n");
      out.write("                                            }\n");
      out.write("                                        });\n");
      out.write("                                    }\n");
      out.write("                                });\n");
      out.write("                                $('form').submit(function () {\n");
      out.write("                                    //Interrupt submission to blank out input fields with placeholder values\n");
      out.write("                                    $(\"input[type=text]\").each(function () {\n");
      out.write("                                        if ($(this).val() === $(this).attr('placeholder')) {\n");
      out.write("                                            $(this).val('');\n");
      out.write("                                        }\n");
      out.write("                                    });\n");
      out.write("                                    $(\"input[type=password]\").each(function () {\n");
      out.write("                                        if ($(this).val() === $(this).attr('placeholder')) {\n");
      out.write("                                            $(this).val('');\n");
      out.write("                                        }\n");
      out.write("                                    });\n");
      out.write("                                });\n");
      out.write("                            }\n");
      out.write("                        });\n");
      out.write("                        var specialKeys = new Array();\n");
      out.write("                        //specialKeys.push(8); //Backspace\n");
      out.write("                        //specialKeys.push(9); //Tab\n");
      out.write("                        specialKeys.push(46); //Delete\n");
      out.write("                        specialKeys.push(36); //Home\n");
      out.write("                        specialKeys.push(35); //End\n");
      out.write("                        specialKeys.push(37); //Left\n");
      out.write("                        specialKeys.push(39); //Right\n");
      out.write("                        function IsAlphaNumeric(e) {\n");
      out.write("                            var keyCode = e.keyCode == 0 ? e.charCode : e.keyCode;\n");
      out.write("                            var ret = ((keyCode >= 48 && keyCode <= 57) || (keyCode >= 65 && keyCode <= 90) || (keyCode >= 97 && keyCode <= 122) || (specialKeys.indexOf(e.keyCode) != -1 && e.charCode != e.keyCode)\n");
      out.write("                                    || keyCode == 32 || keyCode == 8 || keyCode == 9 || keyCode == 13 || keyCode == 16);\n");
      out.write("\n");
      out.write("                            return ret;\n");
      out.write("                        }\n");
      out.write("                        function IsAlphaNumeric2(e) {\n");
      out.write("                            var keyCode = e.keyCode == 0 ? e.charCode : e.keyCode;\n");
      out.write("                            var ret = ((keyCode >= 48 && keyCode <= 57) || (keyCode >= 65 && keyCode <= 90) || (keyCode >= 97 && keyCode <= 122) || (specialKeys.indexOf(e.keyCode) != -1 && e.charCode != e.keyCode)\n");
      out.write("                                    || keyCode == 32 || keyCode == 8 || keyCode == 9 || keyCode == 13 || keyCode == 16 || keyCode == 45);\n");
      out.write("\n");
      out.write("                            return ret;\n");
      out.write("                        }\n");
      out.write("                        function IsDigit(e) {\n");
      out.write("                            var keyCode = e.keyCode == 0 ? e.charCode : e.keyCode;\n");
      out.write("                            var ret = ((keyCode >= 48 && keyCode <= 57) || (specialKeys.indexOf(e.keyCode) != -1 && e.charCode != e.keyCode)\n");
      out.write("                                    || keyCode == 8 || keyCode == 9 || keyCode == 13 || keyCode == 16);\n");
      out.write("\n");
      out.write("                            return ret;\n");
      out.write("                        }\n");
      out.write("                        $(function () {\n");
      out.write("                            // setTimeout() function will be fired after page is loaded\n");
      out.write("                            // it will wait for 5 sec. and then will fire\n");
      out.write("                            // $(\"#successMessage\").hide() function\n");
      out.write("                            setTimeout(function () {\n");
      out.write("                                $('#errorMessage').fadeOut('slow');\n");
      out.write("                                $('#message').fadeOut('slow');\n");
      out.write("                                $('.errorMessageValid').fadeOut('slow');\n");
      out.write("                                $('.errorMessageValid1').fadeOut('slow');\n");
      out.write("                                $('.errorMessage').fadeOut('slow');\n");
      out.write("                            }, 5000);\n");
      out.write("                        });\n");
      out.write("                        var specialKeys = new Array();\n");
      out.write("                        specialKeys.push(36); //Home\n");
      out.write("                        specialKeys.push(35); //End\n");
      out.write("                        specialKeys.push(37); //Left\n");
      out.write("                        specialKeys.push(39); //Right\n");
      out.write("                        function IsAlphaNumericDots(e) {\n");
      out.write("                            var keyCode = e.keyCode == 0 ? e.charCode : e.keyCode;\n");
      out.write("                            var ret = ((keyCode >= 48 && keyCode <= 57) || (keyCode >= 65 && keyCode <= 90) || (keyCode >= 97 && keyCode <= 122) || (specialKeys.indexOf(e.keyCode) != -1 && e.charCode != e.keyCode)\n");
      out.write("                                    || keyCode == 32 || keyCode == 8 || keyCode == 9 || keyCode == 13 || keyCode == 16 || keyCode == 46);\n");
      out.write("\n");
      out.write("                            return ret;\n");
      out.write("                        }\n");
      out.write("                        function isFloatNumber(item, evt) {\n");
      out.write("                            evt = (evt) ? evt : window.event;\n");
      out.write("                            var charCode = (evt.which) ? evt.which : evt.keyCode;\n");
      out.write("                            if (charCode == 46)\n");
      out.write("                            {\n");
      out.write("                                var regex = new RegExp(/\\./g);\n");
      out.write("                                var count = $(item).val().match(regex).length;\n");
      out.write("                                if (count > 1)\n");
      out.write("                                {\n");
      out.write("                                    return false;\n");
      out.write("                                }\n");
      out.write("                            }\n");
      out.write("                            if (charCode > 31 && (charCode < 48 || charCode > 57)) {\n");
      out.write("                                return false;\n");
      out.write("                            }\n");
      out.write("                            return true;\n");
      out.write("                        }\n");
      out.write("                        function onlyAlphabets(e, t) {\n");
      out.write("                            try {\n");
      out.write("                                if (window.event) {\n");
      out.write("                                    var charCode = window.event.keyCode;\n");
      out.write("                                } else if (e) {\n");
      out.write("                                    var charCode = e.which;\n");
      out.write("                                } else {\n");
      out.write("                                    return true;\n");
      out.write("                                }\n");
      out.write("                                if ((charCode > 64 && charCode < 91) || (charCode > 96 && charCode < 123) || charCode === 32 || charCode === 8)\n");
      out.write("                                    return true;\n");
      out.write("                                else\n");
      out.write("                                    return false;\n");
      out.write("                            } catch (err) {\n");
      out.write("                                alert(err.Description);\n");
      out.write("                            }\n");
      out.write("                        }\n");
      out.write("\n");
      out.write("// Empty title issue. Enter atleast one character\n");
      out.write("                        $('input').on('keydown', function (e) {\n");
      out.write("                            if (e.which === 32 && e.target.selectionStart === 0) {\n");
      out.write("                                return false;\n");
      out.write("                            }\n");
      out.write("                        });\n");
      out.write("\n");
      out.write("\n");
      out.write("                        function isDeleteRecord(path) {\n");
      out.write("                            var dialog = $(\"#dialog\").dialog({\n");
      out.write("                                closeOnEscape: false,\n");
      out.write("                                autoOpen: false,\n");
      out.write("                                modal: true,\n");
      out.write("                                height: 170,\n");
      out.write("                                width: '22%',\n");
      out.write("                                cache: false,\n");
      out.write("                                autoResize: true,\n");
      out.write("                                open: function (event, ui) {\n");
      out.write("                                    //hide titlebar.\n");
      out.write("                                    $(\".ui-dialog-titlebar\").css(\"font-size\", \"14px\");\n");
      out.write("                                    $(\".ui-dialog-titlebar\").css(\"font-weight\", \"normal\");\n");
      out.write("                                    $(\".ui-dialog-titlebar\").hide();\n");
      out.write("                                },\n");
      out.write("                                close: function ()\n");
      out.write("                                {\n");
      out.write("                                    $(this).dialog('close');\n");
      out.write("                                    $(this).dialog('destroy');\n");
      out.write("                                }\n");
      out.write("                            });\n");
      out.write("                            var logoutHtml = '<div  style=\"text-align: center; \">'\n");
      out.write("                                    + '<p style=\"margin-bottom: 20px; color:#E70000;\">You want to delete this record?</p>'\n");
      out.write("                                    + '<div style=\"float: left; width: 49%; text-align: right; font-size: 14px;\">'\n");
      out.write("                                    + '<a id=\"btnL\"  href=\\\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:trim(PropertiesUtil.getProperty('APP_PATH_CODE'))}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, _jspx_fnmap_0));
      out.write("' + path + '\\\" style=\"cursor:pointer;\"  ><button id=\"btnYes\"  class=\"btn btnisdel\"  type=\"submit\">Yes</button></a>'\n");
      out.write("                                    + \"</div>\"\n");
      out.write("                                    + '<div style=\"float: right; width: 49%; text-align: left;font-size: 14px;  \">'\n");
      out.write("                                    + '<button  class=\"btn btnisdel\" type=\"button\" onclick=\"hideModel();\">No</button>'\n");
      out.write("                                    + '</div>'\n");
      out.write("                                    + '</div>';\n");
      out.write("                            $(dialog).html(logoutHtml);\n");
      out.write("                            $(\"#dialog\").dialog(\"open\");\n");
      out.write("                        }\n");
      out.write("                        function hideModel() {\n");
      out.write("                            $(\"#dialog\").dialog(\"close\");\n");
      out.write("                            $(\"#dialog\").dialog('destroy');\n");
      out.write("                            $(\"#dialog\").html(\"\");\n");
      out.write("                        }\n");
      out.write("                        $(document).keyup(function (e) {\n");
      out.write("                            if (e.keyCode == 27) {\n");
      out.write("                                hideModel();\n");
      out.write("                            }   // esc\n");
      out.write("                        });\n");
      out.write("\n");
      out.write("                        $('.isDecimalValue').keypress(function (event) {\n");
      out.write("                            var $this = $(this);\n");
      out.write("                            if ((event.which != 46 || $this.val().indexOf('.') != -1) &&\n");
      out.write("                                    ((event.which < 48 || event.which > 57) &&\n");
      out.write("                                            (event.which != 0 && event.which != 8))) {\n");
      out.write("                                event.preventDefault();\n");
      out.write("                            }\n");
      out.write("\n");
      out.write("                            var text = $(this).val();\n");
      out.write("                            if ((event.which == 46) && (text.indexOf('.') == -1)) {\n");
      out.write("                                setTimeout(function () {\n");
      out.write("                                    if ($this.val().substring($this.val().indexOf('.')).length > 3) {\n");
      out.write("                                        $this.val($this.val().substring(0, $this.val().indexOf('.') + 3));\n");
      out.write("                                    }\n");
      out.write("                                }, 1);\n");
      out.write("                            }\n");
      out.write("\n");
      out.write("                            if ((text.indexOf('.') != -1) &&\n");
      out.write("                                    (text.substring(text.indexOf('.')).length > 3) &&\n");
      out.write("                                    (event.which != 0 && event.which != 8) &&\n");
      out.write("                                    ($(this)[0].selectionStart >= text.length - 2)) {\n");
      out.write("                                event.preventDefault();\n");
      out.write("                            }\n");
      out.write("                        });\n");
      out.write("                        function validateYN(evt)\n");
      out.write("                        {\n");
      out.write("                            var theEvent = evt || window.event;\n");
      out.write("                            var k = theEvent.keyCode || theEvent.which;\n");
      out.write("                            if (k == 89 || k == 78 || k == 8 || k == 46)\n");
      out.write("                                return true;\n");
      out.write("                            else {\n");
      out.write("                                //alert(\"Your Message\");\n");
      out.write("                                evt.preventDefault();\n");
      out.write("                                return false;\n");
      out.write("                            }\n");
      out.write("                        }\n");
      out.write("                        function validateYNIgnoreCase(evt)\n");
      out.write("                        {\n");
      out.write("                            var theEvent = evt || window.event;\n");
      out.write("                            var k = theEvent.keyCode || theEvent.which;\n");
      out.write("                            if (k == 89 || k == 78 || k == 110 || k == 121)\n");
      out.write("                                return true;\n");
      out.write("                            else {\n");
      out.write("                                //alert(\"Your Message\");\n");
      out.write("                                evt.preventDefault();\n");
      out.write("                                return false;\n");
      out.write("                            }\n");
      out.write("                        }\n");
      out.write("                        function isNumberAndComma(evt) {\n");
      out.write("                            evt = (evt) ? evt : window.event;\n");
      out.write("                            var charCode = (evt.which) ? evt.which : evt.keyCode;\n");
      out.write("                            //allow comma and arrow keys\n");
      out.write("                            if (charCode === 44 || charCode === 37 || charCode === 38 || charCode === 39 || charCode === 40) {\n");
      out.write("                                return true;\n");
      out.write("                            }\n");
      out.write("                            if (charCode > 31 && (charCode < 46 || charCode > 57)) {\n");
      out.write("                                return false;\n");
      out.write("                            }\n");
      out.write("                            return true;\n");
      out.write("                        }\n");
      out.write("                        $(\"#rptLnkBasicStatistics\").click(function ()\n");
      out.write("                        {\n");
      out.write("                            $(\"#rptBasicStatisticsModal\").modal('show');\n");
      out.write("                        });\n");
      out.write("                        function exportBasicStatisticsReportData() {\n");
      out.write("                            if ($(\"#basicStatisticsFrmDate\").val() == '')\n");
      out.write("                            {\n");
      out.write("                                $(\"#frmDateErrorDiv\").html(\"Required\");\n");
      out.write("                                $(\"#frmDate\").focus();\n");
      out.write("                                return false;\n");
      out.write("                            }\n");
      out.write("                            if ($(\"#basicStatisticsToDate\").val() == '')\n");
      out.write("                            {\n");
      out.write("                                $(\"#toDateErrorDiv\").html(\"Required\");\n");
      out.write("                                $(\"#toDate\").focus();\n");
      out.write("                                return false;\n");
      out.write("                            }\n");
      out.write("                            var format = 'pdfView';\n");
      out.write("                            if ($('#radioExcelView').is(':checked'))\n");
      out.write("                            {\n");
      out.write("                                format = 'excelView';\n");
      out.write("                            }\n");
      out.write("                            $(\"#frmDateErrorDiv\").html('');\n");
      out.write("                            $(\"#toDateErrorDiv\").html('');\n");
      out.write("                            window.open('");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:trim(PropertiesUtil.getProperty('APP_PATH_CODE'))}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, _jspx_fnmap_0));
      out.write("report/exportExcel?fromDate=' + $(\"#basicStatisticsFrmDate\").val() + '&toDate=' + $(\"#basicStatisticsToDate\").val() + '&format=' + format, \"_blank\");\n");
      out.write("                            $(\"#rptBasicStatisticsModal\").modal('hide');\n");
      out.write("                        }\n");
      out.write("</script>     ");
    } 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);
    }
  }

  private boolean _jspx_meth_fmt_005fformatDate_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  fmt:formatDate
    org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag _jspx_th_fmt_005fformatDate_005f0 = (org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag) _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvalue_005fpattern_005fnobody.get(org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag.class);
    _jspx_th_fmt_005fformatDate_005f0.setPageContext(_jspx_page_context);
    _jspx_th_fmt_005fformatDate_005f0.setParent(null);
    // /pages/inc/footer.jsp(6,10) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fformatDate_005f0.setValue((java.util.Date) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${date}", java.util.Date.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
    // /pages/inc/footer.jsp(6,10) name = pattern type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fformatDate_005f0.setPattern("yyyy");
    int _jspx_eval_fmt_005fformatDate_005f0 = _jspx_th_fmt_005fformatDate_005f0.doStartTag();
    if (_jspx_th_fmt_005fformatDate_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvalue_005fpattern_005fnobody.reuse(_jspx_th_fmt_005fformatDate_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvalue_005fpattern_005fnobody.reuse(_jspx_th_fmt_005fformatDate_005f0);
    return false;
  }
}
