/*
 * Generated by the Jasper component of Apache Tomcat
 * Version: Apache Tomcat/8.0.32
 * Generated at: 2019-03-21 18:34:38 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;

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

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

  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>(6);
    _jspx_dependants.put("jar:file:/home/rxdev/public_html/tomcat/webapps/RxRun/WEB-INF/lib/jstl-1.2.jar!/META-INF/c.tld", Long.valueOf(1153399482000L));
    _jspx_dependants.put("jar:file:/home/rxdev/public_html/tomcat/webapps/RxRun/WEB-INF/lib/jstl-1.2.jar!/META-INF/fn.tld", Long.valueOf(1153399482000L));
    _jspx_dependants.put("jar:file:/home/rxdev/public_html/tomcat/webapps/RxRun/WEB-INF/lib/jstl-1.2.jar!/META-INF/fmt.tld", Long.valueOf(1153399482000L));
    _jspx_dependants.put("/WEB-INF/lib/spring-webmvc-4.1.4.RELEASE.jar", Long.valueOf(1508875084000L));
    _jspx_dependants.put("/WEB-INF/lib/jstl-1.2.jar", Long.valueOf(1508875114000L));
    _jspx_dependants.put("jar:file:/home/rxdev/public_html/tomcat/webapps/RxRun/WEB-INF/lib/spring-webmvc-4.1.4.RELEASE.jar!/META-INF/spring-form.tld", Long.valueOf(1419925020000L));
  }

  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 = null;
  }

  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() {
  }

  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 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;charset=windows-1252");
      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("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("<html lang=\"en\">\n");
      out.write("    ");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "./portal/inc/head2.jsp", out, false);
      out.write("\n");
      out.write("\n");
      out.write("    <body class=\"home_padding secondHeaderBody\">\n");
      out.write("    <style>\n");
      out.write("        #loadingg {\n");
      out.write("            width: 100%;\n");
      out.write("            height: 100%;\n");
      out.write("            top: 0px;\n");
      out.write("            left: 0px;\n");
      out.write("            position: fixed;\n");
      out.write("            display: block;\n");
      out.write("            opacity: 0.7;\n");
      out.write("            background-color: #000;\n");
      out.write("            z-index: 1500;\n");
      out.write("            text-align: center;\n");
      out.write("        }\n");
      out.write("\n");
      out.write("        #loading-image {\n");
      out.write("            position: absolute;\n");
      out.write("            top: 50%;\n");
      out.write("            left: 50%;\n");
      out.write("            z-index: 500;\n");
      out.write("            margin: -32px 0 0 -32px;\n");
      out.write("        }\n");
      out.write("    </style>\n");
      out.write("    <div id=\"loadingg\">\n");
      out.write("        <img id=\"loading-image\" src=\"http://cdn.nirmaltv.com/images/generatorphp-thumb.gif\" alt=\"Loading...\" />\n");
      out.write("    </div>\n");
      out.write("    ");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "./portal/inc/header2.jsp", out, false);
      out.write("\n");
      out.write("    <a href=\"pharmacyQueuePage1.jsp\"></a>\n");
      out.write("    ");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "multiRxModal2.jsp", out, false);
      out.write("\n");
      out.write("    <!--Registration Page-->\n");
      out.write("    <div class=\"wrapper rxQueueInfoCont\">\n");
      out.write("        <div\t class=\"customRow clearfix\">\n");
      out.write("        </div>\n");
      out.write("        <div class=\"customTableRow clearfix cutome_left\"> \n");
      out.write("            <input type=\"checkbox\" id=\"navigation\" />\n");
      out.write("            <label class=\"cutmobtn\" for=\"navigation\">\n");
      out.write("            </label>\n");
      out.write("            <div class=\"tque_left\">\n");
      out.write("\n");
      out.write("                <div class=\"left_ticket clearfix\">\n");
      out.write("                    <div class=\"date_ticket\">Mon<br />\n");
      out.write("                        03-10-17</div>\n");
      out.write("                    <div class=\"time_ticker\">System Time<br /> \n");
      out.write("                        <span>09:02:</span><small>24</small></div>\n");
      out.write("                </div>\n");
      out.write("                <div class=\"savePharm\">\n");
      out.write("                    <h4> ");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${PharmacyTitle}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write(" </h4>");
      out.write("\n");
      out.write("                    <p>  ");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${Address}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("</p>\n");
      out.write("                    <p>  ");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${Address2}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("</p><br />\n");
      out.write("                    <p><span>Email:</span>  ");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${Email}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("</p>\n");
      out.write("                    <p> <span>Ph:</span> ");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${Phone}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("</p>\n");
      out.write("                    <p> <span>Fx:</span> ");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${Fax}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("</p>\n");
      out.write("                </div>\n");
      out.write("                <div class=\"userProf\">\n");
      out.write("                    <h4>USER profiles</h4>\n");
      out.write("                    <ul>\n");
      out.write("                        <li><span>Pharmacist</span>");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${Admin}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write(" </li>\n");
      out.write("                        <li><span>Staff</span>");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${Staff}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("</li>\n");
      out.write("                        <li><span>Other</span>0</li>\n");
      out.write("                    </ul>\n");
      out.write("                </div>\n");
      out.write("                <div class=\"queueOver\">\n");
      out.write("                    <h4>Queue Overview</h4>\n");
      out.write("                    <ul>\n");
      out.write("                        <li id=\"pendingCount\"><span>New /Pending</span>(");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${Count}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write(")</li>\n");
      out.write("                        <li id=\"waitingPtResponseCount\"><span>Waiting Responses </span> (");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${WaitingPtResponseCount}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write(")</li>\n");
      out.write("                        <li id=\"filledCount\"><span>Processed</span>(");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${filledCount}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write(")</li>\n");
      out.write("                        <li id=\"shippedCount\"><span>Shipped  </span>(");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${ProcessedCount}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write(")</li>\n");
      out.write("                        <li id=\"PtResponseCount\"><span>Pt Responses</span>(");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${PtResponseCount}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write(")</li>\n");
      out.write("                    </ul>\n");
      out.write("                </div>\n");
      out.write("                <div class=\"rxqueue\" style=\"background-color:#8aca14 \">\n");
      out.write("                    <p class=\"caretRight\">RX QUEUE </p>\n");
      out.write("                </div>\n");
      out.write("                <ul class=\"rx_lft_menu\">\n");
      out.write("                    <li><a href=\"javascript:;\">Reports</a> \n");
      out.write("\n");
      out.write("                    </li>\n");
      out.write("                </ul>\n");
      out.write("                <div class=\"rxqueue\" >\n");
      out.write("                    <p class=\"caretRight\"> <a 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("/PharmacyPortal/careGiverList\" style=\"color:#fff;\"  >PENDING CAREGIVER </a> </p>\n");
      out.write("                </div>\n");
      out.write("                <div class=\"rxqueue\">\n");
      out.write("                    <p class=\"caretRight\">patient Lookup </p>\n");
      out.write("                </div>\n");
      out.write("            </div>\n");
      out.write("            <!-- Saimoon New Table-->\n");
      out.write("            <div class=\"col-md-12 custome_right rx_newtable\">\n");
      out.write("\n");
      out.write("                <div class=\"tableContainer\">\n");
      out.write("                    <div id=\"popUpException\" style=\"display:none\">\n");
      out.write("                        <span style=\"color:green\"><strong>&nbsp;&nbsp;Record(s) deleted successfully.</strong></span>\n");
      out.write("                    </div>\n");
      out.write("                    <!-- Nav tabs -->\n");
      out.write("                    <ul class=\"nav nav-tabs\" role=\"tablist\" id=\"rowTab\">\n");
      out.write("                        <li id=\"newRequestTab\" role=\"presentation\" ><a style=\"color:#1c64be !important;\" id=\"home\" href=\"#home\" aria-controls=\"home\" role=\"tab\" data-toggle=\"tab\" >New Member<br/>Requests <span id=\"span1\">(0)</span></a></li>\n");
      out.write("                        <li id=\"incommingPtRes\" role=\"presentation\"><a id=\"responseLnk\" href=\"#presponse\" aria-controls=\"presponse\" role=\"tab\" data-toggle=\"tab\" class=\"blue\">Incomming Pt<br/>Responses <span id=\"span19\">(0)</a></li>\n");
      out.write("                        <li id=\"awaitingPtRes\" role=\"presentation\"><a class=\"red\" id=\"waitingLnk\" href=\"#messages\" aria-controls=\"messages\" role=\"tab\" data-toggle=\"tab\" >AWaiting PT<br/>Response <span id=\"span16\"> (0)</a></li>\n");
      out.write("                        <li id=\"interpretedImageTab\" role=\"presentation\"><a id=\"interpreted\" href=\"#profile\" aria-controls=\"profile\" role=\"tab\" data-toggle=\"tab\" >INTERPRETED<br/>Images <span id=\"span17\"> (0)</a></li>\n");
      out.write("                        <li id=\"\" role=\"presentation\"><a id=\"processedLnk\" href=\"#prequest\" aria-controls=\"prequest\" role=\"tab\" data-toggle=\"tab\" >Processed Pt<br/>Requests <span id=\"span8\"> (0)</a></li>\n");
      out.write("                        <li id=\"\" role=\"presentation\"><a id=\"shippedLnk\" href=\"#shipdelivery\" aria-controls=\"shipdelivery\" role=\"tab\" data-toggle=\"tab\" >Shipping &<br/>Delivery <span id=\"span6\">(0)</a></li>\n");
      out.write("                        <li id=\"\" role=\"presentation\"><a class=\"red_last cancelPtResponse\" id=\"cancelledLnk\" href=\"#crequest\" aria-controls=\"crequest\" role=\"tab\" data-toggle=\"tab\" >Cancelled Pt<br/>Requests <span id=\"span11\">(0)</a></li>\n");
      out.write("                    </ul>\n");
      out.write("\n");
      out.write("                    <div id=\"searchBox\" class=\"input-group add-on search_container\" style=\"\">\n");
      out.write("                        <div class=\"dataTables_length\" id=\"pResponseTable_length\">\n");
      out.write("                            <label>\n");
      out.write("                                <select name=\"pResponseTable_length\" aria-controls=\"pResponseTable\" class=\"\">\n");
      out.write("                                    <option value=\"10\">10</option>\n");
      out.write("                                    <option value=\"25\">25</option>\n");
      out.write("                                    <option value=\"50\">50</option>\n");
      out.write("                                    <option value=\"100\">100</option>\n");
      out.write("                                </select> \n");
      out.write("                            </label>\n");
      out.write("                        </div>\n");
      out.write("                        <div class=\"col-sm-10\" style=\"margin:0 0 0 50px;\">\n");
      out.write("                            <div class=\"col-sm-3 col-xs-12 drp-ipad\">\n");
      out.write("                                <div class=\"input-group\">\n");
      out.write("                                    <!--                                    <span class=\"input-group-addon pad_labe_new  padd_none_new_page_top\" id=\"basic-addon1\" style=\"width: 38%;\">Req Control#:</span>\n");
      out.write("                                                                        <input id=\"tableId\" type=\"hidden\">\n");
      out.write("                                                                        <input class=\"form-control\" placeholder=\"Req Control #/Rx#\" name=\"searchTitle_1\" id=\"searchTitle_1\" type=\"text\" onkeyup=\"enableSearchBtn()\" style=\"width:66%;\">-->\n");
      out.write("                                    <span class=\"\" id=\"basic-addon1\">\n");
      out.write("                                        <select id=\"searchByddl\" class=\"form-control dropdown-select\" onchange=\"searchBy(this.value)\" style=\"width: 100%;\">\n");
      out.write("                                            <option value=\"Rx\">Prescriber#</option>\n");
      out.write("                                            <option value=\"ptName\">PT Name</option>\n");
      out.write("                                            <option value=\"mobileNo\">Phone#</option>\n");
      out.write("                                        </select>\n");
      out.write("                                    </span>\n");
      out.write("                                    <input id=\"tableId\" type=\"hidden\">\n");
      out.write("                                    <input class=\"form-control searchBy\" placeholder=\"Enter Prescriber#\" name=\"searchBy\" id=\"searchBy\" type=\"text\" onkeyup=\"enableSearchBtn()\" style=\"width:51%;\" onchange=\"enableSearchBtn()\"/>\n");
      out.write("                                    <input class=\"form-control\" placeholder=\"Enter Rx#\" name=\"searchTitle_1\" id=\"searchTitle_1\" type=\"text\" onkeyup=\"enableSearchBtn()\" style=\"width:51%;display: none;\"/>\n");
      out.write("                                </div>\n");
      out.write("                            </div>\n");
      out.write("                            <span id=\"fromDateReq\" class=\"errorMessage\"></span>\n");
      out.write("                            <!-- <div class=\"col-sm-2 padd_none_new_page\">\n");
      out.write("                                    <input id=\"tableId\" type=\"hidden\">\n");
      out.write("                                        <input class=\"form-control\" placeholder=\"Search\" name=\"searchTitle_1\" id=\"searchTitle_1\" type=\"text\" onkeyup=\"searchRecord(this.id)\">\n");
      out.write("                                    </div> -->\n");
      out.write("                            <div class=\"col-sm-3 col-xs-12 drp-ipad\">\n");
      out.write("                                <div class=\"input-group\">\n");
      out.write("                                    <span class=\"input-group-addon pad_labe_new\" id=\"basic-addon1\">MBR SVC REQ:</span>\n");
      out.write("                                    <select id=\"searchByMbrSvcReq\" class=\"form-control\" style=\"width:70%;\" onchange=\"enableSearchBtn()\">\n");
      out.write("                                        <option value=\"\">Select</option>\n");
      out.write("                                        <option value=\"X-FER LABEL SCAN\">\n");
      out.write("                                            X-FER LABEL SCAN\n");
      out.write("                                        </option>\n");
      out.write("                                        <option value=\"X-FER RX SCAN\">\n");
      out.write("                                            X-FER RX SCAN\n");
      out.write("                                        </option>\n");
      out.write("                                        <option value=\"Refill\">Refill</option>\n");
      out.write("                                    </select>\n");
      out.write("                                </div>\n");
      out.write("                                <span id=\"fromDateReq\" class=\"errorMessage\"></span>\n");
      out.write("                            </div>\n");
      out.write("                            <div class=\"col-sm-3 col-xs-12 drp-ipad padd_none_new_page_two\">\n");
      out.write("                                <div class=\"input-group\">\n");
      out.write("                                    <span class=\"input-group-addon pad_labe_new\" id=\"basic-addon1\">Rx Status:</span>\n");
      out.write("                                    <select id=\"searchByOrderStatus\" class=\"form-control\" style=\"width:55%;\" onchange=\"enableSearchBtn()\">\n");
      out.write("                                        <option value=\"\">Select</option>\n");
      out.write("                                        <option id=\"opt1\" value=\"UNVERIFIED\" style=\"display: none;\">UNVERIFIED</option>\n");
      out.write("                                        <option id=\"opt2\" value=\"Pending\" style=\"display: none;\">Pending</option>\n");
      out.write("                                        <option id=\"opt3\" value=\"Pending Review\" style=\"display: none;\">Pending Review</option>\n");
      out.write("                                        <option id=\"opt4\" value=\"Waiting Pt Response\" style=\"display: none;\">Waiting Pt Response</option>\n");
      out.write("                                        <option id=\"opt5\" value=\"Filled\" style=\"display: none;\">Filled</option>\n");
      out.write("                                        <option id=\"opt6\" value=\"Shipped\" style=\"display: none;\">Shipped</option>\n");
      out.write("                                        <option id=\"opt7\" value=\"Cancelled\" style=\"display: none;\">Cancelled</option>\n");
      out.write("                                        <option id=\"opt8\" value=\"Response Received\">Response Received</option>\n");
      out.write("                                    </select>\n");
      out.write("                                </div>\n");
      out.write("                                <span id=\"fromDateReq\" class=\"errorMessage\"></span>\n");
      out.write("                            </div>\n");
      out.write("                            <div class=\"col-sm-3 col-xs-12 drp-ipad padd_none_new_page\">\n");
      out.write("                                <div class=\"input-group\">\n");
      out.write("                                    <span class=\"input-group-addon pad_labe_new\" id=\"basic-addon1\">Delivery SVC:</span>\n");
      out.write("                                    <select id=\"searchByDeliverySvc\" class=\"form-control\" style=\"width:61%;\" onchange=\"enableSearchBtn()\">\n");
      out.write("                                        <option value=\"\">Select</option>\n");
      out.write("                                        <option value=\"Same Day\">Same Day</option>\n");
      out.write("                                        <option value=\"Next Day*\">Next Day*</option>\n");
      out.write("                                        <option value=\"2nd Day*\">2nd Day*</option>\n");
      out.write("                                        <option value=\"Pick Up at Pharmacy\">Pick Up at Pharmacy</option>\n");
      out.write("                                    </select>\n");
      out.write("                                </div>\n");
      out.write("                                <span id=\"fromDateReq\" class=\"errorMessage\"></span>\n");
      out.write("                            </div>                            \n");
      out.write("                        </div>\n");
      out.write("                        <div class=\"col-sm-2\" style=\"z-index:999;\">\n");
      out.write("                            <div class=\"col-sm-12 col-xs-12 padd_none_new_page\">\n");
      out.write("                                <div style=\"float: left;\">\n");
      out.write("                                    <button id=\"btnSearch\" class=\"btn btn-primary width_none_new\" style=\"color: white\" onclick=\"searchRecord(this.id)\" disabled>Search</button>\n");
      out.write("                                </div>\n");
      out.write("                                <div>\n");
      out.write("                                    <!--                                    <a href=\"/ConsumerPortal/queuePatientDetailPage/24/89/tab1\" class=\"btn btn-primary width_none_new\" style=\"color: white;margin-left: 5px;\">Cancel</a>-->\n");
      out.write("                                    <button id=\"btnCancel\" class=\"btn btn-primary width_none_new\" style=\"color: white;margin-left: 5px;\" onclick=\"resetSearchField();searchRecord(this.id)\">Cancel</button>\n");
      out.write("                                </div>\n");
      out.write("                            </div>\n");
      out.write("                        </div>\n");
      out.write("\n");
      out.write("                    </div>\n");
      out.write("\n");
      out.write("                    <!-- Tab panes -->\n");
      out.write("                    <div class=\"tab-content\">\n");
      out.write("                        <div role=\"tabpanel\" class=\"tab-pane active\" id=\"home\">\n");
      out.write("                            <table class=\"table-striped\" id=\"newRequestTable\">\n");
      out.write("                                <thead>\n");
      out.write("                                    <tr>\n");
      out.write("                                        <th class=\"size_enter\"></th>\n");
      out.write("                                        <th class=\"size_enter\"></th>\n");
      out.write("                                        <th class=\"size_enter\"></th>\n");
      out.write("                                        <th class=\"size_enter\"></th>\n");
      out.write("                                        <th class=\"size_onefourty\"></th>\n");
      out.write("                                        <th class=\"mediaction_size\"></th>\n");
      out.write("                                        <th class=\"size_enter\"></th>\n");
      out.write("                                        <th class=\"size_thirty\"></th>\n");
      out.write("\n");
      out.write("                                        <th class=\"size_twenty\"></th>\n");
      out.write("                                        <th class=\"size_thirty\"></th>\n");
      out.write("                                        <!--                                                <th>ZIP</th>-->\n");
      out.write("\n");
      out.write("                                    </tr>\n");
      out.write("                                </thead>\n");
      out.write("                                <tbody>\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("                                </tbody>\n");
      out.write("                            </table>\n");
      out.write("\n");
      out.write("                        </div>\n");
      out.write("                        <div role=\"tabpanel\" class=\"tab-pane\" id=\"profile\">\n");
      out.write("                            <table class=\"table-striped\" id=\"interpretedIImageTable\">\n");
      out.write("                                <thead>\n");
      out.write("                                    <tr>\n");
      out.write("                                        <th>REQUEST<br />CONTROL&nbsp;NO.</th>\n");
      out.write("                                        <th>LAST UPDATE&nbsp;POSTED</th>\n");
      out.write("                                        <th>USER MAKING<br />UPDATE</th>\n");
      out.write("                                        <th>ORIGINAL REQUEST TYPE</th>\n");
      out.write("                                        <th>CURRENT PHARMACY&nbsp;STATUS</th>\n");
      out.write("                                        <th>Svc</th>  \n");
      out.write("                                        <th class=\"parent_th\">\n");
      out.write("                                            <table class=\"full_table\" id=\"subInterpretedIImageTable\">\n");
      out.write("                                                <tr><th colspan=\"8\" class=\"interpreted_th\">INTERPRETED ENTRY</th></tr>\n");
      out.write("                                                <tr>\n");
      out.write("                                                    <th>PATIENT<br />NAME</th>\n");
      out.write("                                                    <th>RX&nbsp;NAME</th>\n");
      out.write("                                                    <th class=\"\">STRENGTH</th>\n");
      out.write("                                                    <th>DOSAGE<br />TYPE</th>\n");
      out.write("                                                    <th>QTY.</th>\n");
      out.write("                                                    <th>DAYS<br />SUPPLY</th>\n");
      out.write("                                                    <th style=\"color: red;\">RX&nbsp;INGR<br />COST&nbsp;($)</th>\n");
      out.write("                                                    <th>REFILLS<br />REMAIN</th>\n");
      out.write("                                                </tr>\n");
      out.write("                                            </table>\n");
      out.write("                                        </th>\n");
      out.write("                                        <th>RX&nbsp;ORIG<br />DATE</th>\n");
      out.write("                                        <th>MULTI<br />-RX</th>\n");
      out.write("                                        <th>REQ&nbsp;SELF<br />\n");
      out.write("                                            PAY ?</th>\n");
      out.write("\n");
      out.write("                                    </tr>\n");
      out.write("\n");
      out.write("                                </thead>\n");
      out.write("                                <tbody>\n");
      out.write("                                </tbody>\n");
      out.write("                            </table>\n");
      out.write("                        </div>\n");
      out.write("\n");
      out.write("\n");
      out.write("                        <input id=\"loadingTime\" type=\"hidden\" value=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${loadingTime}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("\" />\n");
      out.write("                        <div role=\"tabpanel\" class=\"tab-pane\" id=\"messages\">\n");
      out.write("\n");
      out.write("                            <div>\n");
      out.write("\n");
      out.write("\n");
      out.write("                                <input type=\"button\" class=\"btn-delete\" id=\"delBtn\" value=\"Delete\" disabled\n");
      out.write("                                       onClick=\"window.pharmacyNotification.deleteSelectedOrderHandler();\"\n");
      out.write("                                       style=\"display:none\" >\n");
      out.write("\n");
      out.write("                                <input type=\"button\" class=\"btn-process\" id=\"actionBtn\" value=\"Process\" disabled\n");
      out.write("                                       onClick=\"window.pharmacyNotification.openSelectedOrders();\"\n");
      out.write("                                       style=\"display:none\" >\n");
      out.write("                            </div>\n");
      out.write("                            <table id=\"waitingPtResponseTbl\" class=\"table-striped\">\n");
      out.write("                                <thead>\n");
      out.write("                                    <tr>\n");
      out.write("                                        <th class=\"ten_width\">&nbsp;</th>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th class=\"redText\"></th>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th class=\"eighty_width\"></th>\n");
      out.write("                                        <th></th>\n");
      out.write("\n");
      out.write("                                    </tr>\n");
      out.write("                                </thead>\n");
      out.write("                                <tbody>\n");
      out.write("\n");
      out.write("                                </tbody>\n");
      out.write("                            </table>\n");
      out.write("                            </table>\n");
      out.write("\n");
      out.write("                        </div>\n");
      out.write("\n");
      out.write("\n");
      out.write("                        <div role=\"tabpanel\" class=\"tab-pane\" id=\"prequest\">\n");
      out.write("                            <table id=\"processRequestTbl\" class=\"table-striped\">\n");
      out.write("                                <thead>\n");
      out.write("                                    <tr>\n");
      out.write("                                        <th>REQUEST<br />CONTROL&nbsp;NO.</th>\n");
      out.write("                                        <th>STATUS<br />POSTED</th>\n");
      out.write("                                        <th>SERVICE<br />REQ.</th>\n");
      out.write("                                        <th>MULTI<br />-RX</th>\n");
      out.write("                                        <th>RX#</th>\n");
      out.write("                                        <th>PATIENT&nbsp;NAME</th>\n");
      out.write("                                        <th>RX&nbsp;PROCESSED</th>\n");
      out.write("                                        <th>DELIVERY<br />ADDRESS</th>\n");
      out.write("                                        <th>ZIP</th>\n");
      out.write("                                        <th class=\"premium_th\">PREMIUM<br />DELIVERY<br />MILES</th>\n");
      out.write("                                        <th class=\"premium_th\">PREMIUM<br />DELIVERY<br />FEE&nbsp;($)</th>\n");
      out.write("                                        <th class=\"premium_th\">PICK&nbsp;UP<br />PAPER<br />RX&nbsp;?</th>\n");
      out.write("                                        <th class=\"premium_th\">PT&nbsp;REQSTD<br />TIME<br />WINDOW</th>\n");
      out.write("                                        <th class=\"premium_th\">PATIENT<br />SPECIAL<br />INST.</th>\n");
      out.write("\n");
      out.write("                                    </tr>\n");
      out.write("                                </thead>\n");
      out.write("                                <tbody>\n");
      out.write("\n");
      out.write("                                </tbody>\n");
      out.write("                            </table>\n");
      out.write("\n");
      out.write("                        </div>\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("                        <div role=\"tabpanel\" class=\"tab-pane\" id=\"shipdelivery\">\n");
      out.write("\n");
      out.write("                            <table id=\"shippingDeliveryTbl\" class=\"table-striped\" >\n");
      out.write("                                <thead>\n");
      out.write("                                    <tr>\n");
      out.write("                                        <th>REQUEST<br />CONTROL&nbsp;NO.</th>\n");
      out.write("                                        <th>STATUS<br />POSTED</th>\n");
      out.write("                                        <th>SERVICE<br />REQ.</th>\n");
      out.write("                                        <th>MULTI<br />-RX</th>\n");
      out.write("                                        <th>PATIENT&nbsp;NAME</th>\n");
      out.write("                                        <th class=\"blueText\">RX&nbsp;PROCESSED</th>\n");
      out.write("                                        <th class=\"redText\">RX&nbsp;INGR<br />COST&nbsp;($)</th>\n");
      out.write("                                        <th>TOTAL<br />Rx&nbsp;SELLING<br />PRICE&nbsp;($)</th>\n");
      out.write("                                        <th>INS&nbsp;/<br />SELF<br />PAY</th>\n");
      out.write("                                        <th>PATIENT<br />OOP<br />FINAL&nbsp;($)</th>\n");
      out.write("                                        <th>DELIVERY<br />METHOD</th>\n");
      out.write("                                        <th>TRACKING<br />NUMBER</th>\n");
      out.write("                                        <th>ZIP</th>\n");
      out.write("                                        <th class=\"premium_th\">PREMIUM<br />DELIVERY<br /><span class=\"redText\">MILES</span></th>\n");
      out.write("                                        <th class=\"premium_th\">PREMIUM<br />DELIVERY<br />FEE&nbsp;($)</th>\n");
      out.write("                                        <th class=\"premium_th\">PICK&nbsp;UP<br />PAPER<br />RX&nbsp;?</th>\n");
      out.write("\n");
      out.write("                                    </tr>\n");
      out.write("                                </thead>\n");
      out.write("                                <tbody>\n");
      out.write("\n");
      out.write("                                </tbody>\n");
      out.write("                            </table>\n");
      out.write("\n");
      out.write("                        </div>\n");
      out.write("                        <div role=\"tabpanel\" class=\"tab-pane\" id=\"crequest\">\n");
      out.write("                            <table id=\"cancelledRequestTbl\" class=\"table-striped\">\n");
      out.write("                                <thead>\n");
      out.write("                                    <tr>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th></th>\n");
      out.write("\n");
      out.write("                                    </tr>\n");
      out.write("                                </thead>\n");
      out.write("                                <tbody>\n");
      out.write("                                </tbody>\n");
      out.write("                            </table>\n");
      out.write("\n");
      out.write("                        </div>\n");
      out.write("                        <div role=\"tabpanel\" class=\"tab-pane\" id=\"presponse\">\n");
      out.write("\n");
      out.write("                            <table id=\"pResponseTable\" class=\"table-striped table-presponse\">\n");
      out.write("                                <thead>\n");
      out.write("                                    <tr>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th></th>\n");
      out.write("                                        <th></th>\n");
      out.write("\n");
      out.write("                                    </tr>\n");
      out.write("                                </thead>\n");
      out.write("                                <tbody>\n");
      out.write("                                </tbody>\n");
      out.write("                            </table>\n");
      out.write("\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("            <!-- Saimoon New Table-->\n");
      out.write("\n");
      out.write("        </div>\n");
      out.write("    </div>\n");
      out.write("</div>\n");
      out.write("<!--Registration Page-->\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "./portal/inc/footer2.jsp", out, false);
      out.write("\n");
      out.write("</div>\n");
      out.write("<!-- Modal Status -->\n");
      out.write("<div id=\"statusModal\" class=\"modal fade\" 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 class=\"modal-title\">STATUses</h4>\n");
      out.write("            </div>\n");
      out.write("            <div class=\"modal-body\">\n");
      out.write("                <h6>OPEN BY OTHER USER</h6>\n");
      out.write("                <p>Prescription is currently open by another user and cannot be viewed.</p>\n");
      out.write("                <h6>Pending</h6>\n");
      out.write("                <p>Prescription is not currently open by any user.</p>\n");
      out.write("            </div>\n");
      out.write("        </div>\n");
      out.write("\n");
      out.write("    </div>\n");
      out.write("</div>\n");
      out.write("<!--/ Modal Status -->\n");
      out.write("\n");
      out.write("<!-- Modal Register -->\n");
      out.write("<!--/ Modal Register -->\n");
      out.write("<!-- jQuery -->\n");
      out.write("\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=\"frmDate\" name=\"frmDate\" 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=\"toDate\" name=\"toDate\" 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=\"cycleNo\" name=\"currCycle\" 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=\"year\" name=\"year\" 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("                <div class=\"col-sm-6\"><label>Format</label></div>\n");
      out.write("                <div class=\"col-sm-6\">\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("                <div>\n");
      out.write("                    <span id=\"errorDiv\" 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("\n");
      out.write("<form action=\"");
      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("/PharmacyPortal/newMemberRequest\" method=\"get\" id=\"form\" name=\"form\">\n");
      out.write("    <a id=\"backLnk\" onclick=\"document.getElementById('form').submit();\n");
      out.write("            return false;\" class=\"btn btn_one\" style=\"display:none\"></a>  \n");
      out.write("\n");
      out.write("</form>   \n");
      out.write("<form action=\"");
      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("/ConsumerPortal/rxDetailHandler\" method=\"get\" id=\"form2\" name=\"form2\">\n");
      out.write("    <a id=\"fwdLnk\" onclick=\"document.getElementById('form2').submit();\n");
      out.write("            return false;\" ></a>  \n");
      out.write("\n");
      out.write("    <input type=\"hidden\" id=\"itemIds\" name=\"itemIds\" value=\"\" />\n");
      out.write("    <input id=\"orderId\" name=\"orderId\" type=\"hidden\" value=\"\"/>  \n");
      out.write("</form>   \n");
      out.write("\n");
      out.write("<div id=\"confirmDiv\" class=\"medicationModal confirmation_modal listModal healthModal formModal modal fade\" role=\"dialog\">\n");
      out.write("    <div class=\"modal-dialog\">\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  class=\"modal-title\"><label>Confirm Dialog</label></h4> \n");
      out.write("\n");
      out.write("            </div>\n");
      out.write("            <div class=\"modal-body refill_medi\">\n");
      out.write("\n");
      out.write("                <div >\n");
      out.write("\n");
      out.write("\n");
      out.write("                    <div class=\"refill_options\">\n");
      out.write("                        <p class=\"clearfix\"><span>Do you want to delete this order?</span>\n");
      out.write("\n");
      out.write("                        </p>\n");
      out.write("                        <div>\n");
      out.write("                            <input id=\"confirmBtn\" type=\"button\" class=\"btn back_btn\" value=\"OK\" \n");
      out.write("                                   onclick=\"window.pharmacyNotification.deleteSelectedOrder();\" \n");
      out.write("                                   style=\"width: 80px; vertical-align: middle;\"> \n");
      out.write("\n");
      out.write("                            <button id=\"cancelConfirmBoxBtn\" type=\"button\" class=\"btn back_btn\" data-dismiss=\"modal\" aria-hidden=\"true\" style=\"width: 80px; vertical-align: middle;\">Cancel</button>\n");
      out.write("                        </div>\n");
      out.write("\n");
      out.write("                    </div>\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("<!--/Financial Report-->\n");
      out.write("<input type=\"hidden\" id=\"filterFld\" value=\"Response Received\" />\n");
      out.write("<input type=\"hidden\" id=\"tabFld\" value=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${tab}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("\" />\n");
      out.write("<input type=\"hidden\" id=\"selectedTabFld\" value=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${sessionBeanPortal.selectedTab}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("\" />\n");
      out.write("\n");
      out.write("\n");
      out.write("<!--Drug Modal Saimoon-->\n");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "./portal/drugestimateprice.jsp", out, false);
      out.write('\n');
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "./portal/multidrugestimateprice.jsp", out, false);
      out.write('\n');
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "./portal/addNewRxDiv.jsp", out, false);
      out.write("   \n");
      out.write("<!--/Drug Modal Saimoon-->\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("/resources/js/jquery-ui.min.js\"></script>-->\n");
      out.write("<script type=\"text/javascript\" charset=\"utf-8\" 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("/resources/ssasoft/js/drugestimateprice.js\"></script>\n");
      out.write("<script type=\"text/javascript\" charset=\"utf-8\" 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("/resources/ssasoft/js/transferRequest.js\"></script>\n");
      out.write("<script type=\"text/javascript\" charset=\"utf-8\" 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("/resources/ssasoft/js/pharmacyNotification.js\"></script>\n");
      out.write("<script>\n");
      out.write("                                       function handleClick(event) {\n");
      out.write("                                           if ($(\"#searchTitle_1\").val().length > 0) {\n");
      out.write("                                               $(\"#searchTitle_1\").val(\"\");\n");
      out.write("                                           }\n");
      out.write("\t\t\t\t\t\t\t\t\t\t   \n");
      out.write("                                           resetSearchField();\n");
      out.write("//            alert('Clicked on the ' + event.data.text);\n");
      out.write("                                           $(\"#tabFld\").val(event.data.text);\n");
      out.write("                                           var selectedTabF = event.data.text;\n");
      out.write("                                           $(\"#selectedTabFld\").val(event.data.text);\n");
      out.write("//            alert(\"filter \"+event.data.filter   )\n");
      out.write("                                           $(\"#filterFld\").val(event.data.filter);\n");
      out.write("                                           managingTablesVisibility();\n");
      out.write("                                           $(\"#loadingg\").fadeIn();\n");
      out.write("                                           page1Data();\n");
      out.write("                                           for (var indx = 1; indx <= 8; indx++) {\n");
      out.write("                                               if (selectedTabF == \"tab1\") {\n");
      out.write("                                                   if (indx == 1 || indx == 2) {\n");
      out.write("                                                       $(\"#opt\" + indx).removeAttr(\"style\");\n");
      out.write("                                                       continue;\n");
      out.write("                                                   }\n");
      out.write("                                                   $(\"#opt\" + indx).attr(\"style\", \"display:none;\");\n");
      out.write("                                               } else if (selectedTabF == \"tab7\") {\n");
      out.write("                                                   if (indx == 8) {\n");
      out.write("                                                       $(\"#opt\" + indx).removeAttr(\"style\");\n");
      out.write("                                                       continue;\n");
      out.write("                                                   }\n");
      out.write("                                                   $(\"#opt\" + indx).attr(\"style\", \"display:none;\");\n");
      out.write("                                               } else if (selectedTabF == \"tab3\") {\n");
      out.write("                                                   if (indx == 4) {\n");
      out.write("                                                       $(\"#opt\" + indx).removeAttr(\"style\");\n");
      out.write("                                                       continue;\n");
      out.write("                                                   }\n");
      out.write("                                                   $(\"#opt\" + indx).attr(\"style\", \"display:none;\");\n");
      out.write("                                               } else if (selectedTabF == \"tab2\") {\n");
      out.write("                                                   if (indx == 3) {\n");
      out.write("                                                       $(\"#opt\" + indx).removeAttr(\"style\");\n");
      out.write("                                                       continue;\n");
      out.write("                                                   }\n");
      out.write("                                                   $(\"#opt\" + indx).attr(\"style\", \"display:none;\");\n");
      out.write("                                               } else if (selectedTabF == \"tab4\") {\n");
      out.write("                                                   if (indx == 5) {\n");
      out.write("                                                       $(\"#opt\" + indx).removeAttr(\"style\");\n");
      out.write("                                                       continue;\n");
      out.write("                                                   }\n");
      out.write("                                                   $(\"#opt\" + indx).attr(\"style\", \"display:none;\");\n");
      out.write("                                               } else if (selectedTabF == \"tab5\") {\n");
      out.write("                                                   if (indx == 6) {\n");
      out.write("                                                       $(\"#opt\" + indx).removeAttr(\"style\");\n");
      out.write("                                                       continue;\n");
      out.write("                                                   }\n");
      out.write("                                                   $(\"#opt\" + indx).attr(\"style\", \"display:none;\");\n");
      out.write("                                               } else if (selectedTabF == \"tab6\") {\n");
      out.write("                                                   if (indx == 7) {\n");
      out.write("                                                       $(\"#opt\" + indx).removeAttr(\"style\");\n");
      out.write("                                                       continue;\n");
      out.write("                                                   }\n");
      out.write("                                                   $(\"#opt\" + indx).attr(\"style\", \"display:none;\");\n");
      out.write("                                               }\n");
      out.write("                                           }\n");
      out.write("                                       }\n");
      out.write("\n");
      out.write("                                       function managingTablesVisibility()\n");
      out.write("                                       {\n");
      out.write("                                           $(\"#newRequestTable\").attr(\"style\", \"display:none;\");\n");
      out.write("                                           $(\"#interpretedIImageTable\").attr(\"style\", \"display:none;\");\n");
      out.write("                                           $(\"#waitingPtResponseTbl\").attr(\"style\", \"display:none;\");\n");
      out.write("                                           $(\"#processRequestTbl\").attr(\"style\", \"display:none;\");\n");
      out.write("                                           $(\"#shippingDeliveryTbl\").attr(\"style\", \"display:none;\");\n");
      out.write("                                           $(\"#cancelledRequestTbl\").attr(\"style\", \"display:none;\");\n");
      out.write("                                           $(\"#pResponseTable\").attr(\"style\", \"display:none;\");\n");
      out.write("\n");
      out.write("                                           $(\"#newRequestTable\").dataTable({searching: false, paging: false, \"bDestroy\": true, \"bInfo\": false});\n");
      out.write("                                           $(\"#interpretedIImageTable\").dataTable({searching: false, paging: false, \"bDestroy\": true, \"bInfo\": false});\n");
      out.write("                                           $(\"#waitingPtResponseTbl\").dataTable({searching: false, paging: false, \"bDestroy\": true, \"bInfo\": false});\n");
      out.write("                                           $(\"#processRequestTbl\").dataTable({searching: false, paging: false, \"bDestroy\": true, \"bInfo\": false});\n");
      out.write("                                           $(\"#shippingDeliveryTbl\").dataTable({searching: false, paging: false, \"bDestroy\": true, \"bInfo\": false});\n");
      out.write("                                           $(\"#cancelledRequestTbl\").dataTable({searching: false, paging: false, \"bDestroy\": true, \"bInfo\": false});\n");
      out.write("                                           $(\"#pResponseTable\").dataTable({searching: false, paging: false, \"bDestroy\": true, \"bInfo\": false});\n");
      out.write("//             table.destroy();\n");
      out.write("                                       }\n");
      out.write("\n");
      out.write("                                       function hideAllTables()\n");
      out.write("                                       {\n");
      out.write("                                           $(\"#newRequestTable\").attr(\"style\", \"display:none;\");\n");
      out.write("                                           $(\"#interpretedIImageTable\").attr(\"style\", \"display:none;\");\n");
      out.write("                                           $(\"#waitingPtResponseTbl\").attr(\"style\", \"display:none;\");\n");
      out.write("                                           $(\"#processRequestTbl\").attr(\"style\", \"display:none;\");\n");
      out.write("                                           $(\"#shippingDeliveryTbl\").attr(\"style\", \"display:none;\");\n");
      out.write("                                           $(\"#cancelledRequestTbl\").attr(\"style\", \"display:none;\");\n");
      out.write("                                           $(\"#pResponseTable\").attr(\"style\", \"display:none;\");\n");
      out.write("                                       }\n");
      out.write("\n");
      out.write("                                       function loadInformativeDataFromServer()\n");
      out.write("                                       {\n");
      out.write("                                           ////////////////////////////////////////////////////////////\n");
      out.write("                                           var 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("/PharmacyPortal/firstQueueInfo?filter=\" + $(\"#filterFld\").val() + \"&search=\" + $(\"#searchTitle_1\").val();\n");
      out.write("\n");
      out.write("                                           jQuery.ajax({\n");
      out.write("                                               type: 'GET',\n");
      out.write("                                               url: url,\n");
      out.write("                                               dataType: 'json',\n");
      out.write("                                               contentType: 'application/json;charset=utf-8',\n");
      out.write("\n");
      out.write("                                               success: function (data) {\n");
      out.write("//                                                        JSONArray jarray = data.mapStatusCount;\n");
      out.write("//                                                        console.log(\"VAL \"+JSON.parse(data.mapStatusCount));\n");
      out.write("                                                   $.each(data.mapStatusCount, function (key, value) {\n");
      out.write("\n");
      out.write("                                                       if (key != 'null')\n");
      out.write("                                                       {\n");
      out.write("//                                                                console.log(\"Key \"+key+\" VAL \"+value);\n");
      out.write("                                                           if ($(\"#span\" + key) != null)\n");
      out.write("                                                           {\n");
      out.write("                                                               $(\"#span\" + key).html(\"(\" + value + \")\");\n");
      out.write("                                                               if (key == 1) {\n");
      out.write("                                                                   $(\"#pendingCount\").html(\"<span>New /Pending</span>(\" + value + \")\");\n");
      out.write("                                                               } else if (key == 16) {\n");
      out.write("                                                                   $(\"#waitingPtResponseCount\").html(\"<span>Waiting Responses </span>(\" + value + \")\");\n");
      out.write("                                                               } else if (key == 8) {\n");
      out.write("                                                                   $(\"#filledCount\").html(\"<span>Processed</span>(\" + value + \")\");\n");
      out.write("                                                               } else if (key == 6) {\n");
      out.write("                                                                   $(\"#shippedCount\").html(\"<span>Shipped </span>(\" + value + \")\");\n");
      out.write("                                                               } else if (key == 19) {\n");
      out.write("                                                                   $(\"#PtResponseCount\").html(\"<span>Pt Responses </span>(\" + value + \")\");\n");
      out.write("                                                               }\n");
      out.write("                                                           }\n");
      out.write("                                                       }\n");
      out.write("                                                   })\n");
      out.write("\n");
      out.write("\n");
      out.write("                                               }\n");
      out.write("                                           });\n");
      out.write("                                           ///////////////////////////////////////////////////////////\n");
      out.write("                                       }\n");
      out.write("\n");
      out.write("                                       function page1Data()\n");
      out.write("                                       {\n");
      out.write("                                           /////////////////////////////////////////////////\n");
      out.write("                                           hideAllTables();\n");
      out.write("                                           //////////////////////////////////////////////////\n");
      out.write("                                           var tab = $(\"#tabFld\").val();\n");
      out.write("                                           var selectTab = $(\"#selectedTabFld\").val();//'");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${sessionBeanPortal.selectedTab}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("';\n");
      out.write("                                           selectedTab(selectTab);\n");
      out.write("                                           var tableId, orderStatus;\n");
      out.write("                                           var jsonArr = [];\n");
      out.write("\t\t\t\t\t\t\t\t\t\t  // alert(tab);\n");
      out.write("                                           if (tab == 'tab1') {\n");
      out.write("//                                               $(\"#pResponseTable\").attr(\"style\", \"display:none;\");\n");
      out.write("                                               $(\"#newRequestTable\").show();//.attr(\"style\", \"display:block;\");\n");
      out.write("                                               $(\".tab-content > .tab-pane\").attr(\"style\", \"display:block;\");\n");
      out.write("//                                               alert(\"here \")\n");
      out.write("                                               tableId = \"newRequestTable\";\n");
      out.write("                                               //jsonArr.push({'bSortable': false, 'aTargets': [2, 3, 5, 6, 7, 8, 9]});\n");
      out.write("                                               jsonArr.push({'bSortable': false, 'aTargets': [8, 9]});\n");
      out.write("//                                               $(\"#searchBox\").attr(\"style\", \"top:5.5%;right: 10px;position: absolute;\");\n");
      out.write("\n");
      out.write("                                           } else if (tab == 'tab2') {\n");
      out.write("\t\t\t\t\t\t\t\t\t\t\t   \n");
      out.write("\n");
      out.write("//                                               $(\"#newRequestTable\").attr(\"style\", \"display:none;\");\n");
      out.write("                                               $(\"#interpretedIImageTable\").show();\n");
      out.write("                                               tableId = \"interpretedIImageTable\";\n");
      out.write("                                               jsonArr.push({'bSortable': false, 'aTargets': [2, 3, 4, 6, 7, 8]});\n");
      out.write("//                                               $(\"#searchBox\").attr(\"style\", \"top:5.2%;right: 10.9px;position: absolute;\");\n");
      out.write("\n");
      out.write("                                           } else if (tab == 'tab3') {\n");
      out.write("//                                               $(\"#newRequestTable\").attr(\"style\", \"display:none;\");\n");
      out.write("                                               $(\"#waitingPtResponseTbl\").show();\n");
      out.write("                                               tableId = \"waitingPtResponseTbl\";\n");
      out.write("                                               jsonArr.push({'bSortable': false, 'aTargets': [0, 3, 4, 7, 8, 9, 10, 11, 12, 13, 14]});\n");
      out.write("//                                               $(\"#searchBox\").attr(\"style\", \"top:10.9%;right: 34px;position: absolute;\");\n");
      out.write("\n");
      out.write("                                           } else if (tab == 'tab4') {\n");
      out.write("//                                               $(\"#newRequestTable\").attr(\"style\", \"display:none;\");\n");
      out.write("                                               $(\"#processRequestTbl\").show();\n");
      out.write("                                               tableId = \"processRequestTbl\";\n");
      out.write("                                               jsonArr.push({'bSortable': false, 'aTargets': [3, 7, 8, 9, 10, 11, 12, 13]});\n");
      out.write("//                                               $(\"#searchBox\").attr(\"style\", \"top:6.7%;right: 34px;position: absolute;\");\n");
      out.write("                                           } else if (tab == 'tab5') {\n");
      out.write("//                                               $(\"#newRequestTable\").attr(\"style\", \"display:none;\");\n");
      out.write("                                               $(\"#shippingDeliveryTbl\").show();\n");
      out.write("                                               tableId = \"shippingDeliveryTbl\";\n");
      out.write("                                               jsonArr.push({'bSortable': false, 'aTargets': [2, 3, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]});\n");
      out.write("//                                               $(\"#searchBox\").attr(\"style\", \"top:33px;right: 34px;position: absolute;\");\n");
      out.write("                                           } else if (tab == 'tab6') {\n");
      out.write("//                                               $(\"#newRequestTable\").attr(\"style\", \"display:none;\");\n");
      out.write("                                               $(\"#cancelledRequestTbl\").show();\n");
      out.write("                                               tableId = \"cancelledRequestTbl\";\n");
      out.write("                                               jsonArr.push({'bSortable': false, 'aTargets': [2, 4, 5, 6, 7, 8, 9, 10, 11, 12]});\n");
      out.write("//                                               $(\"#searchBox\").attr(\"style\", \"top:5.9%;right: 34px;position: absolute;\");\n");
      out.write("                                           } else if (tab == 'tab7') {\n");
      out.write("\t\t\t\t\t\t\t\t\t\t\t  // $(\"#home\").attr(\"style\", \"display:none;\");\n");
      out.write("//                                               $(\"#newRequestTable\").attr(\"style\", \"display:none;\");\n");
      out.write("                                               $(\"#pResponseTable\").show();\n");
      out.write("                                               tableId = \"pResponseTable\";\n");
      out.write("                                               // jsonArr.push({'bSortable': false, 'aTargets': [2, 5, 6, 7]});\n");
      out.write("                                               jsonArr.push({'bSortable': false, 'aTargets': [2, 6]});\n");
      out.write("//                                               $(\"#searchBox\").attr(\"style\", \"top:5.9%;right: 34px;position: absolute;\");\n");
      out.write("                                           }\n");
      out.write("                                           loadInformativeDataFromServer();\n");
      out.write("                                           $(\"#loadingg\").fadeOut();\n");
      out.write("                                           $(\"#tableId\").val(tableId);\n");
      out.write("//                                           $(\"#searchTitle_1\").val('");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${search}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("');\n");
      out.write("\n");
      out.write("                                           if (tab == 'tab2') {\n");
      out.write("                                               $('#' + tableId).dataTable({\n");
      out.write("                                                   \"dom\": 'T<\"clear\">lrtip',\n");
      out.write("                                                   \"bProcesing\": true,\n");
      out.write("                                                   \"bServerSide\": true,\n");
      out.write("                                                   \"bAutoWidth\": false,\n");
      out.write("                                                   \"autoWidth\": false,\n");
      out.write("                                                   \"iDisplayLength\": 10,\n");
      out.write("                                                   \"responsive\": true,\n");
      out.write("                                                   \"bSortable\": false,\n");
      out.write("                                                   \"bInfo\": true,\n");
      out.write("                                                   \"bFilter\": true,\n");
      out.write("                                                   \"bLengthChange\": true,\n");
      out.write("                                                   \"bDestroy\": true,\n");
      out.write("                                                   \"sAjaxSource\": \"");
      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("/PharmacyPortal/listing?filter=\" + $(\"#filterFld\").val() + \"&search=\" + $(\"#searchTitle_1\").val() + \"&mbrReq=\" + $(\"#searchByMbrSvcReq\").val() + \"&deliveryPref=\" + $(\"#searchByDeliverySvc\").val() + \"&rxStatus=\" + $(\"#searchByOrderStatus\").val() + \"&searchField=\" + $(\"#searchByddl\").val() + \"&searchValue=\" + $(\".searchBy\").val(),\n");
      out.write("                                                   \"aoColumns\": [\n");
      out.write("    ");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${colMap['tab2']}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("\n");
      out.write("                                                   ],\n");
      out.write("                                                   \"fnServerData\": function (sSource, aoData, fnCallback) {\n");
      out.write("                                                       $.ajax({\n");
      out.write("                                                           \"dataType\": 'json',\n");
      out.write("                                                           \"type\": \"GET\",\n");
      out.write("                                                           \"url\": sSource,\n");
      out.write("                                                           \"data\": aoData,\n");
      out.write("                                                           \"success\": fnCallback\n");
      out.write("                                                       });\n");
      out.write("                                                   },\n");
      out.write("                                                   \"sPaginationType\": \"full_numbers\",\n");
      out.write("                                                   \"oLanguage\": {\n");
      out.write("                                                       \"sLengthMenu\": \"_MENU_ \",\n");
      out.write("                                                       \"sEmptyTable\": \"No records found.\"\n");
      out.write("                                                   },\n");
      out.write("                                                   \"aaSorting\": [[1, \"desc\"]],\n");
      out.write("                                                   \"aoColumnDefs\": jsonArr,\n");
      out.write("                                                   \"scrollX\": true,\n");
      out.write("                                                   \"scrollY\": \"400\",\n");
      out.write("                                                   \"fnRowCallback\": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {\n");
      out.write("                                                       orderStatus = aData.orderStatus;\n");
      out.write("                                                   },\n");
      out.write("                                                   \"fnDrawCallback\": function (oSettings) {\n");
      out.write("                                                       invokeTabLink(orderStatus);\n");
      out.write("                                                   }\n");
      out.write("                                               });\n");
      out.write("                                           } else if (tab == 'tab3') {\n");
      out.write("                                               $('#' + tableId).dataTable({\n");
      out.write("                                                   \"dom\": 'T<\"clear\">lrtip',\n");
      out.write("                                                   \"bProcesing\": true,\n");
      out.write("                                                   \"bServerSide\": true,\n");
      out.write("                                                   \"bAutoWidth\": false,\n");
      out.write("                                                   \"autoWidth\": false,\n");
      out.write("                                                   \"iDisplayLength\": 10,\n");
      out.write("                                                   \"responsive\": true,\n");
      out.write("                                                   \"bSortable\": false,\n");
      out.write("                                                   \"bInfo\": true,\n");
      out.write("                                                   \"bFilter\": true,\n");
      out.write("                                                   \"bLengthChange\": true,\n");
      out.write("                                                   \"bDestroy\": true,\n");
      out.write("                                                   \"sAjaxSource\": \"");
      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("/PharmacyPortal/listing?filter=\" + $(\"#filterFld\").val() + \"&search=\" + $(\"#searchTitle_1\").val() + \"&mbrReq=\" + $(\"#searchByMbrSvcReq\").val() + \"&deliveryPref=\" + $(\"#searchByDeliverySvc\").val() + \"&rxStatus=\" + $(\"#searchByOrderStatus\").val() + \"&searchField=\" + $(\"#searchByddl\").val() + \"&searchValue=\" + $(\".searchBy\").val(),\n");
      out.write("                                                   \"aoColumns\": [\n");
      out.write("                                                       {\n");
      out.write("                                                           \"sTitle\": \"\",\n");
      out.write("                                                           \"sDefaultContent\": \"\",\n");
      out.write("                                                           \"bSortable\": false,\n");
      out.write("                                                           \"bSearchable\": false,\n");
      out.write("                                                           \"mRender\": function (data, type, oObj) {\n");
      out.write("                                                               return '';//<input id=\"waitingPtResponseTbl_td_1_' + oObj.orderId + '\" name=\"multirxDCB\" type=\"checkbox\" value=\"' + oObj.orderId + '\" onclick=\\'window.pharmacyNotification.controllingActionButtonForPage1(\\\"waitingPtResponseTbl\\\",\\\"delBtn\\\")\\'></input>';\n");
      out.write("\n");
      out.write("                                                           }\n");
      out.write("                                                       },\n");
      out.write("    ");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${colMap['tab3']}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("\n");
      out.write("                                                   ],\n");
      out.write("                                                   \"fnServerData\": function (sSource, aoData, fnCallback) {\n");
      out.write("                                                       $.ajax({\n");
      out.write("                                                           \"dataType\": 'json',\n");
      out.write("                                                           \"type\": \"GET\",\n");
      out.write("                                                           \"url\": sSource,\n");
      out.write("                                                           \"data\": aoData,\n");
      out.write("                                                           \"success\": fnCallback\n");
      out.write("                                                       });\n");
      out.write("                                                   },\n");
      out.write("                                                   \"sPaginationType\": \"full_numbers\",\n");
      out.write("                                                   \"oLanguage\": {\n");
      out.write("                                                       \"sLengthMenu\": \"_MENU_ \",\n");
      out.write("                                                       \"sEmptyTable\": \"No records found.\"\n");
      out.write("                                                   },\n");
      out.write("                                                   \"aaSorting\": [[1, \"asc\"]],\n");
      out.write("                                                   \"aoColumnDefs\": jsonArr,\n");
      out.write("                                                   \"fnRowCallback\": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {\n");
      out.write("                                                       orderStatus = aData.orderStatus;\n");
      out.write("                                                   },\n");
      out.write("                                                   \"fnDrawCallback\": function (oSettings) {\n");
      out.write("                                                       invokeTabLink(orderStatus);\n");
      out.write("                                                   }\n");
      out.write("                                               });\n");
      out.write("                                           }\n");
      out.write("                                           ////////////////////////////////////////////////////////\n");
      out.write("                                           else if (tab == 'tab1') {\n");
      out.write("\n");
      out.write("//                                           alert(\"HERE\");\n");
      out.write("\n");
      out.write("                                               var oTable = $('#' + tableId).dataTable({\n");
      out.write("                                                   \"dom\": 'T<\"clear\">lrtip',\n");
      out.write("                                                   \"bProcesing\": true,\n");
      out.write("                                                   \"bServerSide\": true,\n");
      out.write("                                                   \"bAutoWidth\": false,\n");
      out.write("                                                   \"autoWidth\": false,\n");
      out.write("                                                   \"iDisplayLength\": 10,\n");
      out.write("                                                   \"responsive\": true,\n");
      out.write("                                                   \"bSortable\": false,\n");
      out.write("                                                   \"bInfo\": true,\n");
      out.write("                                                   \"bFilter\": true,\n");
      out.write("                                                   \"bLengthChange\": true,\n");
      out.write("                                                   \"bDestroy\": true,\n");
      out.write("//                                                   \"aaData\" : aData,\n");
      out.write("                                                   \"sAjaxSource\": \"");
      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("/PharmacyPortal/listing?filter=\" + $(\"#filterFld\").val() + \"&search=\" + $(\"#searchTitle_1\").val() + \"&mbrReq=\" + $(\"#searchByMbrSvcReq\").val() + \"&deliveryPref=\" + $(\"#searchByDeliverySvc\").val() + \"&rxStatus=\" + $(\"#searchByOrderStatus\").val() + \"&searchField=\" + $(\"#searchByddl\").val() + \"&searchValue=\" + $(\".searchBy\").val(),\n");
      out.write("//                                                   \"sAjaxDataProp\":\"dataTableDataStr\",\n");
      out.write("                                                   \"aoColumns\": [\n");
      out.write("    ");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${colMap['tab1']}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("\n");
      out.write("                                                   ],\n");
      out.write("                                                   \"fnServerData\": function (sSource, aoData, fnCallback) {\n");
      out.write("\n");
      out.write("                                                       $.ajax({\n");
      out.write("                                                           \"dataType\": 'json',\n");
      out.write("                                                           \"type\": \"GET\",\n");
      out.write("                                                           \"url\": sSource,\n");
      out.write("                                                           \"data\": aoData,\n");
      out.write("                                                           \"success\": fnCallback\n");
      out.write("                                                       });\n");
      out.write("                                                   },\n");
      out.write("                                                   \"sPaginationType\": \"full_numbers\",\n");
      out.write("                                                   \"oLanguage\": {\n");
      out.write("                                                       \"sLengthMenu\": \"_MENU_ \",\n");
      out.write("                                                       \"sEmptyTable\": \"No records found.\"\n");
      out.write("                                                   },\n");
      out.write("                                                   \"aaSorting\": [[1, \"desc\"]],\n");
      out.write("                                                   \"aoColumnDefs\": jsonArr,\n");
      out.write("                                                   \"fnRowCallback\": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {\n");
      out.write("                                                       orderStatus = aData.orderStatus;\n");
      out.write("                                                   },\n");
      out.write("                                                   \"fnDrawCallback\": function (oSettings) {\n");
      out.write("                                                       invokeTabLink(orderStatus);\n");
      out.write("                                                   }\n");
      out.write("                                               });\n");
      out.write("                                           }\n");
      out.write("                                           ///////////////////////////////////////////////////////\n");
      out.write("                                           else if (tab == 'tab4') {\n");
      out.write("\n");
      out.write("//                                           alert(\"HERE\");\n");
      out.write("\n");
      out.write("                                               var oTable = $('#' + tableId).dataTable({\n");
      out.write("                                                   \"dom\": 'T<\"clear\">lrtip',\n");
      out.write("                                                   \"bProcesing\": true,\n");
      out.write("                                                   \"bServerSide\": true,\n");
      out.write("                                                   \"bAutoWidth\": false,\n");
      out.write("                                                   \"autoWidth\": false,\n");
      out.write("                                                   \"iDisplayLength\": 10,\n");
      out.write("                                                   \"responsive\": true,\n");
      out.write("                                                   \"bSortable\": false,\n");
      out.write("                                                   \"bInfo\": true,\n");
      out.write("                                                   \"bFilter\": true,\n");
      out.write("                                                   \"bLengthChange\": true,\n");
      out.write("                                                   \"bDestroy\": true,\n");
      out.write("//                                                   \"aaData\" : aData,\n");
      out.write("                                                   \"sAjaxSource\": \"");
      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("/PharmacyPortal/listing?filter=\" + $(\"#filterFld\").val() + \"&search=\" + $(\"#searchTitle_1\").val() + \"&mbrReq=\" + $(\"#searchByMbrSvcReq\").val() + \"&deliveryPref=\" + $(\"#searchByDeliverySvc\").val() + \"&rxStatus=\" + $(\"#searchByOrderStatus\").val() + \"&searchField=\" + $(\"#searchByddl\").val() + \"&searchValue=\" + $(\".searchBy\").val(),\n");
      out.write("//                                                   \"sAjaxDataProp\":\"dataTableDataStr\",\n");
      out.write("                                                   \"aoColumns\": [\n");
      out.write("    ");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${colMap['tab4']}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("\n");
      out.write("                                                   ],\n");
      out.write("                                                   \"fnServerData\": function (sSource, aoData, fnCallback) {\n");
      out.write("\n");
      out.write("                                                       $.ajax({\n");
      out.write("                                                           \"dataType\": 'json',\n");
      out.write("                                                           \"type\": \"GET\",\n");
      out.write("                                                           \"url\": sSource,\n");
      out.write("                                                           \"data\": aoData,\n");
      out.write("                                                           \"success\": fnCallback\n");
      out.write("                                                       });\n");
      out.write("                                                   },\n");
      out.write("                                                   \"sPaginationType\": \"full_numbers\",\n");
      out.write("                                                   \"oLanguage\": {\n");
      out.write("                                                       \"sLengthMenu\": \"_MENU_ \",\n");
      out.write("                                                       \"sEmptyTable\": \"No records found.\"\n");
      out.write("                                                   },\n");
      out.write("                                                   \"aaSorting\": [[1, \"desc\"]],\n");
      out.write("                                                   \"aoColumnDefs\": jsonArr,\n");
      out.write("                                                   \"fnRowCallback\": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {\n");
      out.write("                                                       orderStatus = aData.orderStatus;\n");
      out.write("                                                   },\n");
      out.write("                                                   \"fnDrawCallback\": function (oSettings) {\n");
      out.write("                                                       invokeTabLink(orderStatus);\n");
      out.write("                                                   }\n");
      out.write("                                               });\n");
      out.write("                                           } else if (tab == 'tab5') {\n");
      out.write("\n");
      out.write("//                                           alert(\"HERE\");\n");
      out.write("\n");
      out.write("                                               var oTable = $('#' + tableId).dataTable({\n");
      out.write("                                                   \"dom\": 'T<\"clear\">lrtip',\n");
      out.write("                                                   \"bProcesing\": true,\n");
      out.write("                                                   \"bServerSide\": true,\n");
      out.write("                                                   \"bAutoWidth\": false,\n");
      out.write("                                                   \"autoWidth\": false,\n");
      out.write("                                                   \"iDisplayLength\": 10,\n");
      out.write("                                                   \"responsive\": true,\n");
      out.write("                                                   \"bSortable\": false,\n");
      out.write("                                                   \"bInfo\": true,\n");
      out.write("                                                   \"bFilter\": true,\n");
      out.write("                                                   \"bLengthChange\": true,\n");
      out.write("                                                   \"bDestroy\": true,\n");
      out.write("//                                                   \"aaData\" : aData,\n");
      out.write("                                                   \"sAjaxSource\": \"");
      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("/PharmacyPortal/listing?filter=\" + $(\"#filterFld\").val() + \"&search=\" + $(\"#searchTitle_1\").val() + \"&mbrReq=\" + $(\"#searchByMbrSvcReq\").val() + \"&deliveryPref=\" + $(\"#searchByDeliverySvc\").val() + \"&rxStatus=\" + $(\"#searchByOrderStatus\").val()+ \"&searchField=\" + $(\"#searchByddl\").val() + \"&searchValue=\" + $(\".searchBy\").val(),\n");
      out.write("//                                                   \"sAjaxDataProp\":\"dataTableDataStr\",\n");
      out.write("                                                   \"aoColumns\": [\n");
      out.write("    ");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${colMap['tab5']}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("\n");
      out.write("                                                   ],\n");
      out.write("                                                   \"fnServerData\": function (sSource, aoData, fnCallback) {\n");
      out.write("\n");
      out.write("                                                       $.ajax({\n");
      out.write("                                                           \"dataType\": 'json',\n");
      out.write("                                                           \"type\": \"GET\",\n");
      out.write("                                                           \"url\": sSource,\n");
      out.write("                                                           \"data\": aoData,\n");
      out.write("                                                           \"success\": fnCallback\n");
      out.write("                                                       });\n");
      out.write("                                                   },\n");
      out.write("                                                   \"sPaginationType\": \"full_numbers\",\n");
      out.write("                                                   \"oLanguage\": {\n");
      out.write("                                                       \"sLengthMenu\": \"_MENU_ \",\n");
      out.write("                                                       \"sEmptyTable\": \"No records found.\"\n");
      out.write("                                                   },\n");
      out.write("                                                   \"aaSorting\": [[1, \"desc\"]],\n");
      out.write("                                                   \"aoColumnDefs\": jsonArr,\n");
      out.write("                                                   \"fnRowCallback\": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {\n");
      out.write("                                                       orderStatus = aData.orderStatus;\n");
      out.write("                                                   },\n");
      out.write("                                                   \"fnDrawCallback\": function (oSettings) {\n");
      out.write("                                                       invokeTabLink(orderStatus);\n");
      out.write("                                                   }\n");
      out.write("                                               });\n");
      out.write("                                           } else if (tab == 'tab6') {\n");
      out.write("\n");
      out.write("//                                           alert(\"HERE\");\n");
      out.write("\n");
      out.write("                                               var oTable = $('#' + tableId).dataTable({\n");
      out.write("                                                   \"dom\": 'T<\"clear\">lrtip',\n");
      out.write("                                                   \"bProcesing\": true,\n");
      out.write("                                                   \"bServerSide\": true,\n");
      out.write("                                                   \"bAutoWidth\": false,\n");
      out.write("                                                   \"autoWidth\": false,\n");
      out.write("                                                   \"iDisplayLength\": 10,\n");
      out.write("                                                   \"responsive\": true,\n");
      out.write("                                                   \"bSortable\": false,\n");
      out.write("                                                   \"bInfo\": true,\n");
      out.write("                                                   \"bFilter\": true,\n");
      out.write("                                                   \"bLengthChange\": true,\n");
      out.write("                                                   \"bDestroy\": true,\n");
      out.write("//                                                   \"aaData\" : aData,\n");
      out.write("                                                   \"sAjaxSource\": \"");
      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("/PharmacyPortal/listing?filter=\" + $(\"#filterFld\").val() + \"&search=\" + $(\"#searchTitle_1\").val() + \"&mbrReq=\" + $(\"#searchByMbrSvcReq\").val() + \"&deliveryPref=\" + $(\"#searchByDeliverySvc\").val() + \"&rxStatus=\" + $(\"#searchByOrderStatus\").val()+ \"&searchField=\" + $(\"#searchByddl\").val() + \"&searchValue=\" + $(\".searchBy\").val(),\n");
      out.write("//                                                   \"sAjaxDataProp\":\"dataTableDataStr\",\n");
      out.write("                                                   \"aoColumns\": [\n");
      out.write("    ");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${colMap['tab6']}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("\n");
      out.write("                                                   ],\n");
      out.write("                                                   \"fnServerData\": function (sSource, aoData, fnCallback) {\n");
      out.write("\n");
      out.write("                                                       $.ajax({\n");
      out.write("                                                           \"dataType\": 'json',\n");
      out.write("                                                           \"type\": \"GET\",\n");
      out.write("                                                           \"url\": sSource,\n");
      out.write("                                                           \"data\": aoData,\n");
      out.write("                                                           \"success\": fnCallback\n");
      out.write("                                                       });\n");
      out.write("                                                   },\n");
      out.write("                                                   \"sPaginationType\": \"full_numbers\",\n");
      out.write("                                                   \"oLanguage\": {\n");
      out.write("                                                       \"sLengthMenu\": \"_MENU_ \",\n");
      out.write("                                                       \"sEmptyTable\": \"No records found.\"\n");
      out.write("                                                   },\n");
      out.write("                                                   \"aaSorting\": [[1, \"desc\"]],\n");
      out.write("                                                   \"aoColumnDefs\": jsonArr,\n");
      out.write("                                                   \"fnRowCallback\": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {\n");
      out.write("                                                       orderStatus = aData.orderStatus;\n");
      out.write("                                                   },\n");
      out.write("                                                   \"fnDrawCallback\": function (oSettings) {\n");
      out.write("                                                       invokeTabLink(orderStatus);\n");
      out.write("                                                   }\n");
      out.write("                                               });\n");
      out.write("                                           }\n");
      out.write("                                           ///////////////////////////////////////////////////////\n");
      out.write("                                           else {\n");
      out.write("\n");
      out.write("//                                           alert(\"HERE\");\n");
      out.write("\n");
      out.write("                                               var oTable = $('#' + tableId).dataTable({\n");
      out.write("                                                   \"dom\": 'T<\"clear\">lrtip',\n");
      out.write("                                                   \"bProcesing\": true,\n");
      out.write("                                                   \"bServerSide\": true,\n");
      out.write("                                                   \"bAutoWidth\": false,\n");
      out.write("                                                   \"autoWidth\": false,\n");
      out.write("                                                   \"iDisplayLength\": 10,\n");
      out.write("                                                   \"responsive\": true,\n");
      out.write("                                                   \"bSortable\": false,\n");
      out.write("                                                   \"bInfo\": true,\n");
      out.write("                                                   \"bFilter\": true,\n");
      out.write("                                                   \"bLengthChange\": true,\n");
      out.write("                                                   \"bDestroy\": true,\n");
      out.write("//                                                   \"aaData\" : aData,\n");
      out.write("                                                   \"sAjaxSource\": \"");
      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("/PharmacyPortal/listing?filter=\" + $(\"#filterFld\").val() + \"&search=\" + $(\"#searchTitle_1\").val() + \"&mbrReq=\" + $(\"#searchByMbrSvcReq\").val() + \"&deliveryPref=\" + $(\"#searchByDeliverySvc\").val() + \"&rxStatus=\" + $(\"#searchByOrderStatus\").val()+ \"&searchField=\" + $(\"#searchByddl\").val() + \"&searchValue=\" + $(\".searchBy\").val(),\n");
      out.write("//                                                   \"sAjaxDataProp\":\"dataTableDataStr\",\n");
      out.write("                                                   \"aoColumns\": [\n");
      out.write("    ");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${colMap['tab7']}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("\n");
      out.write("                                                   ],\n");
      out.write("                                                   \"fnServerData\": function (sSource, aoData, fnCallback) {\n");
      out.write("\n");
      out.write("                                                       $.ajax({\n");
      out.write("                                                           \"dataType\": 'json',\n");
      out.write("                                                           \"type\": \"GET\",\n");
      out.write("                                                           \"url\": sSource,\n");
      out.write("                                                           \"data\": aoData,\n");
      out.write("                                                           \"success\": fnCallback\n");
      out.write("                                                       });\n");
      out.write("                                                   },\n");
      out.write("                                                   \"sPaginationType\": \"full_numbers\",\n");
      out.write("                                                   \"oLanguage\": {\n");
      out.write("                                                       \"sLengthMenu\": \"_MENU_ \",\n");
      out.write("                                                       \"sEmptyTable\": \"No records found.\"\n");
      out.write("                                                   },\n");
      out.write("                                                   \"aaSorting\": [[1, \"desc\"]],\n");
      out.write("                                                   \"aoColumnDefs\": jsonArr,\n");
      out.write("                                                   \"fnRowCallback\": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {\n");
      out.write("                                                       orderStatus = aData.orderStatus;\n");
      out.write("                                                   },\n");
      out.write("                                                   \"fnDrawCallback\": function (oSettings) {\n");
      out.write("                                                       invokeTabLink(orderStatus);\n");
      out.write("                                                   }\n");
      out.write("                                               });\n");
      out.write("                                           }\n");
      out.write("                                       }\n");
      out.write("                                       $(document).ready(function ( ) {\n");
      out.write("                                           page1Data();\n");
      out.write("                                           window.pharmacyNotification.populateAppUrl('");
      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("');\n");
      out.write("                                           window.drugestimateprice.populateAppUrl('");
      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("');\n");
      out.write("                                           window.transferRequest.populateAppUrl('");
      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("');\n");
      out.write("\n");
      out.write("                                       });\n");
      out.write("                                       $(function () {\n");
      out.write("                                           var pull = $('#pull');\n");
      out.write("                                           menu = $('.Menu ul');\n");
      out.write("                                           menuHeight = menu.height();\n");
      out.write("\n");
      out.write("                                           $(pull).on('click', function (e) {\n");
      out.write("                                               e.preventDefault();\n");
      out.write("                                               menu.slideToggle();\n");
      out.write("                                           });\n");
      out.write("\n");
      out.write("                                           $(window).resize(function () {\n");
      out.write("                                               var w = $(window).width();\n");
      out.write("                                               if (w > 320 && menu.is(':hidden')) {\n");
      out.write("                                                   menu.removeAttr('style');\n");
      out.write("                                               }\n");
      out.write("                                           });\n");
      out.write("                                       });\n");
      out.write("\n");
      out.write("                                       function searchRecord(id) {\n");
      out.write("                                           page1Data();\n");
      out.write("                                           //Clear previous filters on table\n");
      out.write("                                           //fnResetAllFilters();\n");
      out.write("                                           //Create new filter for table\n");
      out.write("//                                           var colIndex = 1;\n");
      out.write("//                                           if ($(\"#\" + id).val().length == 0 || $(\"#\" + id).val().length == 3 || $(\"#\" + id).val().length == 5 || $(\"#\" + id).val().length >= 9) {\n");
      out.write("////                                               $('#' + $(\"#tableId\").val()).dataTable().fnFilter($(\"#\" + id).val(), colIndex);\n");
      out.write("//                                               page1Data();\n");
      out.write("//                                           }\n");
      out.write("//                                           else if ($(\"#\" + id).val().length == 0) {\n");
      out.write("//                                               var tab = '");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${tab}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("';\n");
      out.write("//                                               if (tab == 'tab1') {\n");
      out.write("//                                                   location.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("/PharmacyPortal/newMemberRequest1';\n");
      out.write("//                                               } else if (tab == 'tab2') {\n");
      out.write("//                                                   location.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("/PharmacyPortal/interpretedImages';\n");
      out.write("//                                               } else if (tab == 'tab3') {\n");
      out.write("//                                                   location.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("/PharmacyPortal/waitingPtResponse';\n");
      out.write("//                                               } else if (tab == 'tab4') {\n");
      out.write("//                                                   location.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("/PharmacyPortal/processRequest';\n");
      out.write("//                                               } else if (tab == 'tab5') {\n");
      out.write("//                                                   location.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("/PharmacyPortal/shippingDelivery';\n");
      out.write("//                                               } else if (tab == 'tab6') {\n");
      out.write("//                                                   location.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("/PharmacyPortal/cancelledRequest';\n");
      out.write("//                                               }\n");
      out.write("//                                               else if (tab == 'tab7') {\n");
      out.write("//                                                   location.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("/PharmacyPortal/responseReceived';\n");
      out.write("//                                               }\n");
      out.write("//                                           }\n");
      out.write("//        $(this).val('');\n");
      out.write("                                       }\n");
      out.write("                                       $(document).ready(function (e) {\n");
      out.write("                                           $(\".buttonss\").click(function () {\n");
      out.write("\n");
      out.write("                                               $(\".logDrop\").slideToggle();\n");
      out.write("                                           });\n");
      out.write("                                           $(\".cutome_left label.cutmobtn\").click(function (e) {\n");
      out.write("                                               $(\".cutome_left label.cutmobtn\").toggleClass(\"btnopenedc\");\n");
      out.write("                                           });\n");
      out.write("                                           $(\".rx_lft_menu li a\").click(function (e) {\n");
      out.write("\n");
      out.write("                                               $(this).next(\"ul\").slideToggle();\n");
      out.write("                                           });\n");
      out.write("                                           $(\"#cycleNo,#year\").bind('blur', function ()\n");
      out.write("                                           {\n");
      out.write("                                               //alert(\"A\");\n");
      out.write("                                               var cycle = $(\"#cycleNo\").val();\n");
      out.write("                                               var year = $(\"#year\").val();\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("/PharmacyPortal/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("                                                               $(\"#frmDate\").val(response.frmDate);\n");
      out.write("                                                               $(\"#toDate\").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("                                           // selectedTab(selectTab);\n");
      out.write("                                       });\n");
      out.write("                                       /////////////////////////////////////////////////////////////\n");
      out.write("                                       $('#frmDate').datetimepicker({timepicker: false, format: 'm/d/Y',\n");
      out.write("                                           onChangeDateTime: function (dp, $input) {\n");
      out.write("                                               jQuery('#datetimepicker').datetimepicker('hide'); //\n");
      out.write("                                           }});\n");
      out.write("                                       $('#toDate').datetimepicker({timepicker: false, format: 'm/d/Y',\n");
      out.write("                                           onChangeDateTime: function (dp, $input) {\n");
      out.write("                                               jQuery('#datetimepicker').datetimepicker('hide');\n");
      out.write("                                           }});\n");
      out.write("                                       function exportFinancialReportData() {\n");
      out.write("\n");
      out.write("                                           if ($(\"#year\").val() == '')\n");
      out.write("                                           {\n");
      out.write("                                               $(\"#errorDiv\").html(\"Please specify year.\");\n");
      out.write("                                               $(\"#year\").focus();\n");
      out.write("                                               return false;\n");
      out.write("                                           }\n");
      out.write("                                           if ($(\"#cycleNo\").val() == '')\n");
      out.write("                                           {\n");
      out.write("                                               $(\"#errorDiv\").html(\"Please specify Cycle#.\");\n");
      out.write("                                               $(\"#cycleNo\").focus();\n");
      out.write("                                               return false;\n");
      out.write("                                           }\n");
      out.write("                                           $(\"#errorDiv\").html('');\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("                                           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("/ConsumerPortal/exportPdfFinancial?fromDate=' + $(\"#frmDate\").val() + '&toDate=' + $(\"#toDate\").val()\n");
      out.write("                                                   + '&pharmacyId=0&cycle=' + $(\"#cycleNo\").val() + '&format=' + format, \"_blank\");\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("                                       var currdate = new Date();\n");
      out.write("                                       var time = (currdate.getMonth() + 1) + '/' + currdate.getDate() + '/' + currdate.getFullYear() + '  ' + (currdate.getHours() + \":\" + currdate.getMinutes() + \": \" + currdate.getSeconds());\n");
      out.write("                                       // var formatted = $.datepicker.formatDate(\"DD M d, yy\", new Date());\n");
      out.write("                                       document.getElementById(\"dt\").innerHTML = time;\n");
      out.write("                                       function selectedTab(selectedTab) {\n");
      out.write("                                           $(\"li\").removeAttr(\"class\");\n");
      out.write("                                           $(\"#newRequestTab\").attr(\"class\", \"active\");\n");
      out.write("                                           if (selectedTab == 'tab1') {\n");
      out.write("//                                               $('#home').attr(\"class\", \"tab-pane\");\n");
      out.write("                                               $('#rowTab > :nth-child(1)').tab('show');\n");
      out.write("                                               $('#home').attr(\"class\", \"tab-pane active\");\n");
      out.write("                                               $('#rowTab  li:nth-child(1)').attr(\"class\", \"activeUserTab\");\n");
      out.write("                                           } else if (selectedTab == 'tab2') {\n");
      out.write("                                               $('#home').attr(\"class\", \"tab-pane\");\n");
      out.write("                                               $('#rowTab > :nth-child(4)').tab('show');\n");
      out.write("                                               $('#profile').attr(\"class\", \"tab-pane active\");\n");
      out.write("                                               $('#rowTab  li:nth-child(4)').attr(\"class\", \"activeUserTab\");\n");
      out.write("                                           } else if (selectedTab == 'tab3') {\n");
      out.write("                                               $('#home').attr(\"class\", \"tab-pane\");\n");
      out.write("                                               $('#rowTab > :nth-child(3)').tab('show');\n");
      out.write("                                               $('#messages').attr(\"class\", \"tab-pane active\");\n");
      out.write("                                               $('#rowTab  li:nth-child(3)').attr(\"class\", \"activeUserTab\");\n");
      out.write("                                           } else if (selectedTab == 'tab4') {\n");
      out.write("                                               $('#home').attr(\"class\", \"tab-pane\");\n");
      out.write("                                               $('#rowTab > :nth-child(5)').tab('show');\n");
      out.write("                                               $('#prequest').attr(\"class\", \"tab-pane active\");\n");
      out.write("                                               $('#rowTab  li:nth-child(5)').attr(\"class\", \"activeUserTab\");\n");
      out.write("                                           } else if (selectedTab == 'tab5') {\n");
      out.write("                                               $('#home').attr(\"class\", \"tab-pane\");\n");
      out.write("                                               $('#rowTab > :nth-child(6)').tab('show');\n");
      out.write("                                               $('#shipdelivery').attr(\"class\", \"tab-pane active\");\n");
      out.write("                                               $('#rowTab  li:nth-child(6)').attr(\"class\", \"activeUserTab\");\n");
      out.write("                                           } else if (selectedTab == 'tab6') {\n");
      out.write("                                               $('#home').attr(\"class\", \"tab-pane\");\n");
      out.write("                                               $('#rowTab > :nth-child(7)').tab('show');\n");
      out.write("                                               $('#crequest').attr(\"class\", \"tab-pane active\");\n");
      out.write("                                               $('#rowTab  li:nth-child(7)').attr(\"class\", \"activeUserTab\");\n");
      out.write("                                           } else if (selectedTab == 'tab7')\n");
      out.write("                                           {\n");
      out.write("                                               $('#home').attr(\"class\", \"tab-pane\");\n");
      out.write("                                               $('#rowTab > :nth-child(2)').tab('show');\n");
      out.write("                                               $('#presponse').attr(\"class\", \"tab-pane active\");\n");
      out.write("\n");
      out.write("                                               $('#rowTab  li:nth-child(2)').attr(\"class\", \"activeUserTab\");\n");
      out.write("                                           }\n");
      out.write("                                       }\n");
      out.write("                                       function invokeTabLink(orderStatus) {\n");
      out.write("                                           return;\n");
      out.write("//                                           alert(\"orderstatus \"+orderStatus)\n");
      out.write("//                                           if (orderStatus == '");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${filter}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("') {\n");
      out.write("//                                               return;\n");
      out.write("//                                           }\n");
      out.write("//                                           if (orderStatus == 'Pending') {\n");
      out.write("//                                               location.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("/PharmacyPortal/newMemberRequest1?search=' + $(\"#searchTitle_1\").val();\n");
      out.write("//                                           } else if (orderStatus == 'Pending Review') {\n");
      out.write("//                                               location.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("/PharmacyPortal/interpretedImages?search=' + $(\"#searchTitle_1\").val();\n");
      out.write("//                                           } else if (orderStatus == 'Waiting Pt Response') {\n");
      out.write("//                                               location.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("/PharmacyPortal/waitingPtResponse?search=' + $(\"#searchTitle_1\").val();\n");
      out.write("//                                           } else if (orderStatus == 'Filled') {\n");
      out.write("//                                               location.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("/PharmacyPortal/processRequest?search=' + $(\"#searchTitle_1\").val();\n");
      out.write("//                                           } else if (orderStatus == 'Shipped') {\n");
      out.write("//                                               location.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("/PharmacyPortal/shippingDelivery?search=' + $(\"#searchTitle_1\").val();\n");
      out.write("//                                           } else if (orderStatus == 'Cancelled') {\n");
      out.write("//                                               location.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("/PharmacyPortal/cancelledRequest?search=' + $(\"#searchTitle_1\").val();\n");
      out.write("//                                           }\n");
      out.write("//                                           else if (orderStatus == 'Response Received') {\n");
      out.write("//                                               location.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("/PharmacyPortal/responseReceived?search=' + $(\"#searchTitle_1\").val();\n");
      out.write("//                                           }\n");
      out.write("                                       }\n");
      out.write("                                       function enableSearchBtn() {\n");
      out.write("                                           if ($(\"#searchTitle_1\").val().length > 0 || $(\"#searchByMbrSvcReq\").val() !== \"\" ||\n");
      out.write("                                                   $(\"#searchByDeliverySvc\").val() !== \"\" || $(\"#searchByOrderStatus\").val() !== \"\" || $(\".searchBy\").val().length > 0) {\n");
      out.write("                                               $(\"#btnSearch\").removeAttr(\"disabled\");\n");
      out.write("                                           } else {\n");
      out.write("                                               $(\"#btnSearch\").attr(\"disabled\", \"disabled\");\n");
      out.write("                                           }\n");
      out.write("                                       }\n");
      out.write("                                       function resetSearchField() {\n");
      out.write("                                           $(\"#searchTitle_1\").val(\"\");\n");
      out.write("                                           $(\"#searchByMbrSvcReq\").val(\"\");\n");
      out.write("                                           $(\"#searchByDeliverySvc\").val(\"\");\n");
      out.write("                                           $(\"#searchByOrderStatus\").val(\"\");\n");
      out.write("                                           $(\".searchBy\").val(\"\");\n");
      out.write("                                           $(\"#searchByddl\").val(\"Rx\");\n");
      out.write("                                           $(\"#searchTitle_1\").attr(\"style\", \"width:51%;display:none;\");\n");
      out.write("                                           $(\".searchBy\").attr(\"style\", \"width:51%;\");\n");
      out.write("                                           $(\".searchBy\").attr(\"placeholder\", \"Enter Prescriber#\");\n");
      out.write("                                           $(\".searchBy\").attr(\"id\", \"searchBy\");\n");
      out.write("                                          //$(\"#searchByddl\").attr(\"style\", \"width:188%;\");\n");
      out.write("                                           enableSearchBtn();\n");
      out.write("                                       }\n");
      out.write("                                       function searchBy(v) {\n");
      out.write("                                           $(\".searchBy\").val(\"\");\n");
      out.write("                                           $(\"#searchTitle_1\").val(\"\");\n");
      out.write("                                           if (v == \"\") {\n");
      out.write("                                               $(\"#searchTitle_1\").attr(\"style\", \"width:51%;display:none;\");\n");
      out.write("                                               $(\".searchBy\").attr(\"style\", \"width:51%;\");\n");
      out.write("                                               $(\".searchBy\").attr(\"placeholder\", \"Enter Prescriber#\");\n");
      out.write("                                               $(\".searchBy\").attr(\"id\", \"searchBy\");\n");
      out.write("//                                               $(\"#searchByddl\").attr(\"style\", \"width:188%;\");\n");
      out.write("                                               return;\n");
      out.write("                                           }\n");
      out.write("                                           if (v == \"ptName\") {\n");
      out.write("                                               console.log(v);\n");
      out.write("                                               $(\".searchBy\").attr(\"style\", \"width:51%;\");\n");
      out.write("                                               $(\".searchBy\").attr(\"placeholder\", \"Enter PT Name\");\n");
      out.write("                                               $(\".searchBy\").attr(\"id\", v);\n");
      out.write("                                               $(\"#searchByddl\").removeAttr(\"style\");\n");
      out.write("                                           } else if (v == \"mobileNo\") {\n");
      out.write("                                               console.log(v);\n");
      out.write("                                               $(\".searchBy\").attr(\"style\", \"width:51%;\");\n");
      out.write("                                               $(\".searchBy\").attr(\"placeholder\", \"Enter Phone#\");\n");
      out.write("                                               $(\".searchBy\").attr(\"id\", v);\n");
      out.write("                                               $(\"#searchByddl\").removeAttr(\"style\");\n");
      out.write("                                           } else if (v == \"dob\") {\n");
      out.write("                                               console.log(v);\n");
      out.write("                                               $(\"#searchByddl\").removeAttr(\"style\");\n");
      out.write("                                               $(\".searchBy\").attr(\"style\", \"width:51%;display:block;\");\n");
      out.write("                                               $(\".searchBy\").attr(\"placeholder\", \"Enter Date of Birth\");\n");
      out.write("                                               $(\".searchBy\").attr(\"id\", v);\n");
      out.write("                                               $('#' + v).datetimepicker({timepicker: false, format: 'm/d/Y',\n");
      out.write("                                                   onChangeDateTime: function (dp, $input) {\n");
      out.write("                                                       $('#' + v).datetimepicker('hide');\n");
      out.write("\n");
      out.write("                                                   }});\n");
      out.write("                                           } else if (v == \"Rx\") {\n");
      out.write("                                               console.log(v);\n");
      out.write("                                               $(\"#searchByddl\").removeAttr(\"style\");\n");
      out.write("                                               $(\"#searchTitle_1\").attr(\"style\", \"width:51%;display:none;\");\n");
      out.write("                                               $(\".searchBy\").attr(\"placeholder\", \"Enter Prescriber#\");\n");
      out.write("//                                               $(\".searchBy\").attr(\"style\", \"width:51%;display:none;\");\n");
      out.write("                                               return;\n");
      out.write("                                           }\n");
      out.write("                                       }\n");
      out.write("\n");
      out.write("</script>\n");
      out.write("<script type=\"text/javascript\">\n");
      out.write("    $(window).load(function () {\n");
      out.write("// alert(\"load\");\n");
      out.write("        $(\"#loadingg\").fadeOut();\n");
      out.write("    });\n");
      out.write("\n");
      out.write("    $('#home').click({text: 'tab1', filter: \"Pending\"}, handleClick);\n");
      out.write("    $('#interpreted').click({text: 'tab2', filter: \"Pending Review\"}, handleClick);\n");
      out.write("    $('#waitingLnk').click({text: 'tab3', filter: \"Waiting Pt Response\"}, handleClick);\n");
      out.write("    $('#processedLnk').click({text: 'tab4', filter: \"Filled\"}, handleClick);\n");
      out.write("    $('#shippedLnk').click({text: 'tab5', filter: \"Shipped\"}, handleClick);\n");
      out.write("    $('#cancelledLnk').click({text: 'tab6', filter: \"Cancelled\"}, handleClick);\n");
      out.write("    $('#responseLnk').click({text: 'tab7', filter: \"Response Received\"}, handleClick);\n");
      out.write("    $(\"thead th\").click(function ()\n");
      out.write("    {\n");
      out.write("        loadInformativeDataFromServer();\n");
      out.write("    });\n");
      out.write("</script>\n");
      out.write("</body>\n");
      out.write("</html>\n");
      out.write("\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);
    }
  }
}
