/* Automatically generated.
 * Copyright (c) 2000-2006 by SAP AG, Walldorf.,
 * http://www.sap.com
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of SAP AG, Walldorf. You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms
 * of the license agreement you entered into with SAP.
 * Do not edit.
 */

import ro.emid.callcenter.db.LittleIncidentAccessDB;
import ro.emid.callcenter.db.LucrareAccessDB;
import ro.emid.callcenter.db.LucrareProgramataAccessDB;
import ro.emid.common.db.ReclamatieAccessDB;
import ro.emid.callcenter.obj.*;
import ro.emid.common.db.framework.Filter;
import ro.emid.common.utils.ObjectUtils;
import java.util.List;
import java.util.LinkedList;
import ro.emid.common.types.LucrareProgramata2;
import java.text.MessageFormat;
import ro.emid.common.constants.ReclamatieConstants;
import ro.emid.common.types.Reclamatie;
import ro.emid.common.constants.AdresaConstants;
import ro.emid.common.types.Adresa;
import ro.emid.common.constants.AppConstants;
import ro.emid.common.utils.sort.SortData;
import ro.emid.common.utils.pagination.PaginationData;
import ro.emid.common.utils.sort.SortController;
import ro.emid.common.utils.pagination.PaginationController;
import ro.emid.common.utils.StringUtils;
import ro.emid.common.db.CategoryAccessDB;
import ro.emid.common.types.Category;
import ro.emid.common.utils.IntervalLucrare;
import java.sql.Timestamp;

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

public class JEE_jsp_WEB_2d_INF_pagelet_callcenter_ajax_getStatusReclamatie_1758633155553 extends com.sap.engine.services.servlets_jsp.lib.jspruntime.JspBase{
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(410,0);to=(460,2)]

    private String getNiceAdresaLucrare( final Lucrare lucrare){

        final StringBuffer niceAdresa = new StringBuffer();

        final List listAdrese = lucrare.getAdreseAsList();
        if( listAdrese == null || listAdrese.size()== 0) return "[lucrare fara adresa]";

        for (int i = 0; i < listAdrese.size(); i++) {
            final Adresa adresa = (Adresa) listAdrese.get(i);
            if( i > 0){ niceAdresa.append(", ");}
            niceAdresa.append( getNiceAdresa( adresa));
        }

        return niceAdresa.toString();
    }

    private String getNiceAdresaLucrare( final LucrareProgramata2 lucrare ){

        final StringBuffer niceAdresa = new StringBuffer();

        final List listAdrese = lucrare.getAdreseLucrare();
        if( listAdrese == null || listAdrese.size() == 0) return "[lucrare fara adresa]";

        for (int i = 0; i < listAdrese.size(); i++) {
            final Adresa adresa = (Adresa) listAdrese.get(i);
            if( i > 0){ niceAdresa.append(", ");}
            niceAdresa.append( getNiceAdresa( adresa));
        }

        return niceAdresa.toString();
    }

    private StringBuffer getNiceAdresa(final Adresa adresa){
        final StringBuffer niceAdresa = new StringBuffer();
        niceAdresa.append( adresa.getTipArtera())
                .append(' ')
                .append( adresa.getDenStrada());

            if( adresa.getNr() != null && adresa.getNr().length() > 0){
                niceAdresa.append(", nr. ").append( adresa.getNr());
            }

            if( adresa.getBloc() != null && adresa.getBloc().length() > 0){
                niceAdresa.append(", bl. ").append( adresa.getBloc());
            }


        return niceAdresa;
    }
// end

	public void _jspService(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
	{
		//isXml=false
		JspFactory  _jspFactory     = JspFactory.getDefaultFactory();
		PageContext pageContext = _jspFactory.getPageContext(this,request,response,null,true,32768,true);
		ServletConfig config = pageContext.getServletConfig();
		ServletContext application = pageContext.getServletContext();
		com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl _jspx_pageContext = (com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl) pageContext;
		com.sap.engine.services.servlets_jsp.server.application.InjectionWrapper _jspx_resourceInjector = ((com.sap.engine.services.servlets_jsp.server.application.ServletContextImpl)_jspx_pageContext.getServletContext()).getApplicationContext().getInjectionWrapper();
		HttpSession session = pageContext.getSession();
		if (!response.isCommitted()) {
		response.setContentType("text/html;charset=UTF-8");
		}
		JspWriter   out     = pageContext.getOut();
		java.lang.Object page = this;
		try {
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(1,65);to=(2,0)]
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(2,58);to=(3,0)]
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(3,68);to=(4,0)]
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(4,57);to=(5,0)]
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(5,45);to=(6,0)]
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(6,55);to=(7,0)]
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(7,53);to=(8,0)]
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(8,35);to=(9,0)]
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(9,41);to=(10,0)]
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(10,60);to=(11,0)]
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(11,44);to=(12,0)]
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(12,65);to=(13,0)]
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(13,52);to=(14,0)]
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(14,61);to=(15,0)]
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(15,48);to=(16,0)]
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(16,58);to=(17,0)]
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(17,55);to=(18,0)]
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(18,67);to=(19,0)]
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(19,61);to=(20,0)]
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(20,73);to=(21,0)]
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(21,53);to=(22,0)]
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(22,55);to=(23,0)]
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(23,50);to=(24,0)]
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(24,57);to=(25,0)]
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(25,39);to=(28,0)]
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(28,0);to=(190,2)]
			
    try {
        String localitate = ObjectUtils.getStringValue(request.getParameter("localitate"));
        String localitate2 = ObjectUtils.getStringValue(request.getParameter("localitate2"));
        String tipArtera = ObjectUtils.getStringValue(request.getParameter("tipArtera"));
        String denumireStrada = ObjectUtils.getStringValue(request.getParameter("strada"));
        String nr = ObjectUtils.getStringValue(request.getParameter("nr"));
        String bloc = ObjectUtils.getStringValue(request.getParameter("bloc"));


        localitate = localitate.trim().toUpperCase();
        localitate2 = localitate2.trim().toUpperCase();
        tipArtera = tipArtera.trim().toUpperCase();
        denumireStrada = denumireStrada.trim().toUpperCase();
        nr = nr.trim().toUpperCase();
        bloc = bloc.trim().toUpperCase();

        final StringBuffer localizareCondition = new StringBuffer("");
        final StringBuffer localizareReclamatieCondition = new StringBuffer();
        if (localitate.length() > 0) {
            localizareCondition.append(" AND UPPER( a." + AdresaConstants.LOCALITATE + ") LIKE '%").append(ro.emid.common.utils.Util.escapeToSql(localitate)).append("%' ");
            localizareReclamatieCondition.append(" AND UPPER( " + ReclamatieConstants.MUNICIPIU + ") LIKE '%").append(ro.emid.common.utils.Util.escapeToSql(localitate)).append("%' ");
        }

        if (localitate2.length() > 0) {
            localizareCondition.append(" AND UPPER( a." + AdresaConstants.SQL_LOCALITATE2 + ") LIKE '%").append(ro.emid.common.utils.Util.escapeToSql(localitate2)).append("%' ");
            localizareReclamatieCondition.append(" AND UPPER( " + ReclamatieConstants.LOCALITATE2 + ") LIKE '%").append(ro.emid.common.utils.Util.escapeToSql(localitate2)).append("%' ");
        }

        if (tipArtera.length() > 0) {
            localizareCondition.append(" AND UPPER( a." + AdresaConstants.TIP_ARTERA + ") LIKE '%").append(ro.emid.common.utils.Util.escapeToSql(tipArtera)).append("%' ");
            localizareReclamatieCondition.append(" AND UPPER( " + ReclamatieConstants.TIP_ARTERA + ") LIKE '%").append(ro.emid.common.utils.Util.escapeToSql(tipArtera)).append("%' ");
        }

        if (denumireStrada.length() > 0) {
            localizareCondition.append(" AND  UPPER( a." + AdresaConstants.DEN_STRADA + ") LIKE '%").append(ro.emid.common.utils.Util.escapeToSql(denumireStrada)).append("%' ");
            localizareReclamatieCondition.append(" AND  UPPER(" + ReclamatieConstants.STRADA + ") LIKE '%").append(ro.emid.common.utils.Util.escapeToSql(denumireStrada)).append("%' ");
        }

        // !!! VERIFICAREA SE OPRESTE PINA LA NIVEL DE STRADA

        if (nr.length() > 0) {
            localizareReclamatieCondition.append(" AND " + ReclamatieConstants.NR + '=').append('\'').append( nr).append('\'');
        }

        final String niceAdresa = tipArtera + ' ' + denumireStrada + (nr.length() > 0 ? ", nr. " + nr : "") + (bloc.length() > 0 ? " , bl. " + bloc : "");

        final StringBuffer responseMessage = new StringBuffer();

        /**
         *  VERIFICARE LUCRARI PROGRAMATE 2
         */
        try{
            final Filter filter = new Filter();

            filter.addStringCriteria( localizareCondition.toString());


            List list = LucrareProgramataAccessDB.verificareAdresa( filter, "NUMAR", "ASC", 0, 100);
            if( list == null ) list = new LinkedList();

            if ( list.size() == 1){
                final LucrareProgramata2 lucrare = (LucrareProgramata2) list.get( 0);
                final long durata = lucrare.getDurataProgramare();

                final String adresaLucrare = getNiceAdresaLucrare( lucrare);
                    responseMessage.append( "Exista o lucrare programata" );

            }else if ( list.size() > 1) {
                responseMessage.append("Exista ").append( list.size()).append(" lucrari programate(2) : ");

                responseMessage.append("<br/>");
            }

        }catch (Throwable th){
            th.printStackTrace();
        }


        /**
         *  VERIFICARE LUCRARI PROGRAMATE
         */
        final Lucrare[] lucrari = LucrareAccessDB.search( localizareCondition.toString());

        if (lucrari.length == 1){
            final Lucrare lucrare = lucrari[ 0];
            final String _niceAdresaLucrare = getNiceAdresaLucrare( lucrare );

            responseMessage.append( MessageFormat.format( "Exista o lucrare programata <b>{0}</b> pe {1} incepand cu data: {2} timp de {3} <br/>", new Object[]{
                    AppConstants.format(lucrare.getNume()),
                    _niceAdresaLucrare,
                    AppConstants.format(lucrare.getDataStart()),
                    lucrare.getDurata() == 1 ? " o ora " : lucrare.getDurata() + " ore"
            }));

        }else if (lucrari.length > 1) {
            responseMessage.append("Exista ").append(lucrari.length).append(" lucrari programate :");
            for (int i = 0; i < lucrari.length; i++) {
                final Lucrare lucrare = lucrari[i];

                final String _niceAdresa = getNiceAdresaLucrare( lucrare);
                responseMessage.append("&nbsp;&nbsp;<li><b>").append( lucrare.getNume()).append("</b> la adresa ")
                        .append( _niceAdresa)
                        .append(" data: ")
                        .append( AppConstants.format(lucrare.getDataStart()))
                        .append(" timp de ")
                        .append(lucrare.getDurata())
                        .append(" ore");
            }
            responseMessage.append("<br/>");
        }

        /**
         * VERIFICARE LITTLE INCIDENTE
         */
        final LittleIncident[] incidente = LittleIncidentAccessDB.getAllx(localizareCondition.toString());
        if (incidente.length == 1) {
            responseMessage.append("Exista un incident")
                    .append(" (")
                    .append(incidente[0].getNume())
                    .append(')')
                    .append(" pe ")
                    .append(niceAdresa)
                    .append(" anuntat pe data: ")
                    .append(AppConstants.format(incidente[0].getDataAnuntare()))
                    .append("<br/>");
        } else if (incidente.length > 1) {
            responseMessage.append("Exista ").append(incidente.length).append(" incidente pe ").append(niceAdresa).append("<br>");
            for (int i = 0; i < incidente.length; i++) {
                final LittleIncident incident = incidente[i];
                responseMessage.append("&nbsp;&nbsp; - ")
                        .append(incident.getNume())
                        .append(", anuntat pe data: ")
                        .append(AppConstants.format(incident.getDataAnuntare()))
                        .append("<br>");
            }
        }


        /**
         * VERIFICARE RECLAMATII ASEMENEA
         */
        final int nrMinimReclamatii = 3;
        final int intervalMinute = 30;

        final Reclamatie[] reclamatii = ReclamatieAccessDB.getReclamatiiAsemenea(localizareReclamatieCondition.toString(), intervalMinute, "ID", "ASC");
        if (reclamatii.length  >= nrMinimReclamatii) {
            responseMessage.append( MessageFormat.format(
                    "Posibil incident sau deranjament colectiv pe {0} ;<br> Exista {1} reclamatii inregistrate in ultimele {2} minute. <br/>",
                    new Object[]{
                        niceAdresa,
                            String.valueOf(reclamatii.length),
                            String.valueOf(intervalMinute)
                    }
            ));
            responseMessage.append(" reclamatiile nr. ");

            for (int i = 0; i < reclamatii.length; i++) {
                final Reclamatie reclamatie = reclamatii[i];
                responseMessage.append( reclamatie.getId()).append(", ");
            }
        }

// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(190,2);to=(191,10)]
			out.print("\r\n<respmesg>");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(191,10);to=(191,30)]
			out.print(responseMessage);
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(191,30);to=(193,4)]
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(193,4);to=(204,13)]
			  Filter filter = new Filter();
        filter.addStringCriteria( localizareCondition.toString());
        List listutza = LucrareProgramataAccessDB.verificareAdresa( filter, "NUMAR", "ASC", 0, 100);

        if (listutza.size() > 0 ){
        SortData sd = SortController.getSortData(request, "NUMAR", "DESC");
        PaginationData pd = PaginationController.getPaginationData(request, 20);

        List list = new LinkedList();
        for (int i=0; i<listutza.size(); i++)  {
            list.add(LucrareProgramataAccessDB.getById(  ( (LucrareProgramata2)(listutza.get(i) ) ).getId() ));
        }  
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(204,13);to=(218,4)]
			out.print("\r\n\r\n\r\n<TABLE id=\"lucrari\" border=0 cellPadding=2 cellSpacing=1 width=\"100%\" class=\"gSAPTHEAD\" style=\"BACKGROUND-COLOR: white;\">\r\n    <TR noSelect=\"true\">\r\n        <th class=\"gsapthead\"  nowrap width=\"10\">#</th>\r\n        <th class=\"gsapthead\"  nowrap width=\"40\"> Numar </th>\r\n\r\n        <th class=\"gsapthead\">Descriere</th>\r\n        <th title=\"Data programarii lucrarii\" class=\"gsapthead\" width=\"1%\" >Data programare</th>\r\n        <th title=\"Data programarii lucrarii\" class=\"gsapthead\" width=\"1%\" >Durata realizarii lucrarii</th>\r\n        <th title=\"Data programarii lucrarii\" class=\"gsapthead\" width=\"1%\" >Durata intreruperii consumatorilor</th>\r\n    </TR>\r\n\r\n    ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(218,4);to=(218,50)]
			 if( list == null || list.size() == 0 ) { 
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(218,50);to=(224,4)]
			out.print("\r\n        <tr>\r\n            <td colspan=\"10\">\r\n                Nu exista date ...\r\n            </td>\r\n        </tr>\r\n    ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(224,4);to=(235,6)]
			 } else for (int i = 0; i < list.size(); i++) {
            LucrareProgramata2 lp = (LucrareProgramata2) list.get(i);

            String style = "";
            if( lp.isProgramata()){
                style = "background-color:#ffcccc;";
            }else if( lp.isInLucru()){
                style = "background-color: #ffcc00;";
            }else if( lp.isIncheiata()){
                style = "background-color: #ccff99;";
            }
    
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(235,6);to=(237,8)]
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(237,39);to=(241,38)]
			out.print("\r\n\r\n        <tr valign=\"top\">\r\n\r\n            <td align=\"center\" title=\"");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(241,38);to=(241,57)]
			out.print(lp.getStatus());
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(241,57);to=(241,66)]
			out.print("\" style=\"");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(241,66);to=(241,76)]
			out.print(style);
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(241,76);to=(241,79)]
			out.print("\" >");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(241,79);to=(241,106)]
			out.print(pd.getStartIndex() + i);
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(241,106);to=(244,16)]
			out.print("</td>\r\n\r\n            <td align=\"center\">\r\n                ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(244,16);to=(244,34)]
			out.print(lp.getNumar());
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(244,34);to=(249,16)]
			out.print("\r\n            </td>\r\n\r\n\r\n            <td>\r\n                ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(249,16);to=(249,43)]
			out.print(lp.getParametriTitlu());
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(249,43);to=(250,31)]
			out.print("\r\n                <div id=\"adrese");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(250,31);to=(250,46)]
			out.print(lp.getId());
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(250,46);to=(251,20)]
			out.print("\" style=\"display: none; padding-left: 20px\">\r\n                    ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(251,20);to=(252,70)]
			  List adrese = lp.getAdreseLucrare();
                        if ( adrese == null || adrese.size() == 0){ 
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(252,70);to=(254,20)]
			out.print("\r\n                            Fara adrese selectate ...;\r\n                    ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(254,20);to=(255,71)]
			  } else for (int j = 0; j < adrese.size(); j++) {
                            Adresa adresa = (Adresa) adrese.get(j);  
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(255,71);to=(256,28)]
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(256,28);to=(256,67)]
			 String judet = adresa.getJudet(); 
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(256,67);to=(257,28)]
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(257,28);to=(261,32)]
			 if( StringUtils.isZeroLength(judet)){
                                Category s = CategoryAccessDB.getById(lp.getSucursalaId());
                                if( s == null) s = new Category();
                                judet = s.getName();
                            } 
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(261,32);to=(262,30)]
			out.print("\r\n                            j.");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(262,30);to=(262,71)]
			out.print(StringUtils.getNullSafe( judet, "-"));
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(262,71);to=(263,28)]
			out.print(",\r\n                            ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(263,28);to=(263,86)]
			out.print(StringUtils.getNullSafe( adresa.getLocalitate(), "-"));
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(263,86);to=(264,28)]
			out.print(",\r\n                            ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(264,28);to=(264,87)]
			out.print(StringUtils.getNullSafe( adresa.getLocalitate2(), "-"));
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(264,87);to=(265,28)]
			out.print(",\r\n                            ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(265,28);to=(265,85)]
			out.print(StringUtils.getNullSafe( adresa.getTipArtera(), "-"));
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(265,85);to=(266,28)]
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(266,28);to=(266,85)]
			out.print(StringUtils.getNullSafe( adresa.getDenStrada(), "-"));
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(266,85);to=(267,28)]
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(267,28);to=(267,108)]
			out.print(StringUtils.isZeroLength( adresa.getNr()) ? "" : ", nr. " + adresa.getNr());
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(267,108);to=(268,28)]
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(268,28);to=(268,112)]
			out.print(StringUtils.isZeroLength( adresa.getBloc()) ? "" : ", bl. " + adresa.getBloc());
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(268,112);to=(271,20)]
			out.print("\r\n\r\n                            <br/>\r\n                    ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(271,20);to=(271,28)]
			  } 
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(271,28);to=(276,31)]
			out.print("\r\n                </div>\r\n            </td>\r\n\r\n            <td nowrap align=\"left\" style=\"font-size:12px\"\r\n                title=\"Durata: ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(276,31);to=(276,63)]
			out.print(lp.getDurataProgramare()/60);
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(276,63);to=(276,65)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(276,65);to=(276,97)]
			out.print(lp.getDurataProgramare()%60);
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(276,97);to=(277,16)]
			out.print("m\">\r\n                ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(277,16);to=(296,35)]
			
                    List intervaleProgramare = new LinkedList();

                    IntervalLucrare ilDefault = new IntervalLucrare();
                    ilDefault.setDataStart( lp.getDataProgramataStart());
                    ilDefault.setDataStop( lp.getDataProgramataStop());
                    intervaleProgramare.add( ilDefault);

                    if( lp.getCountIntervaleProgramare() > 0){
                        List _intervale = LucrareProgramataAccessDB.getIntervaleProgramare( lp.getId());
                        if( _intervale != null && _intervale.size() > 0){
                            intervaleProgramare.addAll( _intervale);
                        }
                    }

                    for (int j = 0; j < intervaleProgramare.size(); j++) {
                    IntervalLucrare il = (IntervalLucrare) intervaleProgramare.get(j);
                    long difZile = ( il.getDataStop().getTime() - il.getDataStart().getTime() ) / ( 1000 * 60 * 60 * 24);

                    if( j >= 1){ 
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(296,35);to=(296,42)]
			out.print(" <br/> ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(296,42);to=(296,48)]
			 }
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(296,48);to=(297,20)]
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(297,20);to=(297,43)]
			if( difZile == 0){ 
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(297,43);to=(298,24)]
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(298,24);to=(298,72)]
			out.print(AppConstants.formatDate( il.getDataStart()));
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(298,72);to=(299,31)]
			out.print("\r\n                        &nbsp;[");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(299,31);to=(299,84)]
			out.print(AppConstants.formatOraMinute( il.getDataStart()));
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(299,84);to=(299,87)]
			out.print(" - ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(299,87);to=(299,139)]
			out.print(AppConstants.formatOraMinute( il.getDataStop()));
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(299,139);to=(300,20)]
			out.print("]\r\n                    ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(300,20);to=(300,33)]
			 } else {
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(300,33);to=(301,25)]
			out.print("\r\n                        [");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(301,25);to=(301,69)]
			out.print(AppConstants.format( il.getDataStart()));
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(301,69);to=(301,72)]
			out.print(" - ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(301,72);to=(301,115)]
			out.print(AppConstants.format( il.getDataStop()));
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(301,115);to=(302,20)]
			out.print("]\r\n                    ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(302,20);to=(302,27)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(302,27);to=(303,16)]
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(303,16);to=(303,23)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(303,23);to=(306,84)]
			out.print("\r\n            </td>\r\n\r\n            <td nowrap class=\"style1\" style=\"font-size:12px\" title=\"Durata lucrare: ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(306,84);to=(306,113)]
			out.print(lp.getDurataLucrare()/60);
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(306,113);to=(306,115)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(306,115);to=(306,144)]
			out.print(lp.getDurataLucrare()%60);
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(306,144);to=(307,16)]
			out.print("m\">\r\n                ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(307,16);to=(331,38)]
			
                    List intervaleLucrare = new LinkedList();

                    IntervalLucrare i2Default = new IntervalLucrare();
                    i2Default.setDataStart( lp.getDataLucrareStart());
                    i2Default.setDataStop( lp.getDataLucrareStop());
                    intervaleLucrare.add( i2Default);

                    if( lp.getCountIntervaleLucrare() > 0){
                        List _intervale = LucrareProgramataAccessDB.getIntervaleLucrare( lp.getId());

                        for (int idx=0; idx<_intervale.size(); idx++)  {
                            if( ( (IntervalLucrare)_intervale.get(idx)).getTip().equals("IL")){
                                intervaleLucrare.add(_intervale.get(idx));
                            }
                        }
                    }

                 for (int j = 0; j < intervaleLucrare.size(); j++) {

                    IntervalLucrare il = (IntervalLucrare) intervaleLucrare.get(j);
                    if( il.getDataStart() != null && il.getDataStop() != null){

                    long difZile = ( il.getDataStop().getTime() - il.getDataStart().getTime() ) / ( 1000 * 60 * 60 * 24);
                       if( j >= 1){ 
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(331,38);to=(331,45)]
			out.print(" <br/> ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(331,45);to=(331,51)]
			 }
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(331,51);to=(332,16)]
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(332,16);to=(332,40)]
			 if( difZile == 0){ 
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(332,40);to=(333,16)]
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(333,16);to=(333,64)]
			out.print(AppConstants.formatDate( il.getDataStart()));
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(333,64);to=(334,23)]
			out.print("\r\n                &nbsp;[");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(334,23);to=(334,76)]
			out.print(AppConstants.formatOraMinute( il.getDataStart()));
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(334,76);to=(334,79)]
			out.print(" - ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(334,79);to=(334,131)]
			out.print(AppConstants.formatOraMinute( il.getDataStop()));
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(334,131);to=(335,16)]
			out.print("]\r\n                ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(335,16);to=(335,29)]
			 } else {
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(335,29);to=(336,16)]
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(336,16);to=(337,91)]
			 if ( il.getDataStart().before(new Timestamp(new java.util.Date().getTime())) &&
                il.getDataStop().after(new Timestamp(new java.util.Date().getTime())) ){ 
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(337,91);to=(337,96)]
			out.print(" <b> ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(337,96);to=(337,101)]
			}
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(337,101);to=(338,17)]
			out.print("\r\n                [");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(338,17);to=(338,61)]
			out.print(AppConstants.format( il.getDataStart()));
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(338,61);to=(338,64)]
			out.print(" - ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(338,64);to=(338,107)]
			out.print(AppConstants.format( il.getDataStop()));
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(338,107);to=(339,16)]
			out.print("]\r\n                ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(339,16);to=(340,91)]
			 if ( il.getDataStart().before(new Timestamp(new java.util.Date().getTime())) &&
                il.getDataStop().after(new Timestamp(new java.util.Date().getTime())) ){ 
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(340,91);to=(340,97)]
			out.print(" </b> ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(340,97);to=(340,102)]
			}
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(340,102);to=(341,16)]
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(341,16);to=(341,23)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(341,23);to=(342,16)]
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(342,16);to=(342,29)]
			 } else{ 
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(342,29);to=(344,16)]
			out.print("\r\n                -\r\n                ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(344,16);to=(344,23)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(344,23);to=(345,16)]
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(345,16);to=(345,23)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(345,23);to=(349,84)]
			out.print("\r\n\r\n            </td>\r\n\r\n            <td nowrap class=\"style1\" style=\"font-size:12px\" title=\"Durata lucrare: ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(349,84);to=(349,113)]
			out.print(lp.getDurataLucrare()/60);
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(349,113);to=(349,115)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(349,115);to=(349,144)]
			out.print(lp.getDurataLucrare()%60);
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(349,144);to=(350,16)]
			out.print("m\">\r\n                ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(350,16);to=(374,43)]
			
                    List intervaleIntreruperi = new LinkedList();

                    IntervalLucrare i3Default = new IntervalLucrare();
                    i3Default.setDataStart(lp.getDataIntrerupereStart());
                    i3Default.setDataStop( lp.getDataIntrerupereStop());
                    intervaleIntreruperi.add( i3Default);

                    if( lp.getCountIntervaleLucrare() > 0){
                        List _intervale = LucrareProgramataAccessDB.getIntervaleLucrare( lp.getId());

                        for (int idx=0; idx<_intervale.size(); idx++)  {
                            if( ( (IntervalLucrare)_intervale.get(idx)).getTip().equals("II")){
                                intervaleIntreruperi.add(_intervale.get(idx));
                            }
                        }
                    }

                    for (int j = 0; j < intervaleIntreruperi.size(); j++) {
                        IntervalLucrare il = (IntervalLucrare) intervaleIntreruperi.get(j);

                        if( il.getDataStart() != null && il.getDataStop() != null){

                            long difZile = ( il.getDataStop().getTime() - il.getDataStart().getTime() ) / ( 1000 * 60 * 60 * 24);
                            if( j >= 1){ 
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(374,43);to=(374,50)]
			out.print(" <br/> ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(374,50);to=(374,56)]
			 }
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(374,56);to=(375,16)]
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(375,16);to=(375,40)]
			 if( difZile == 0){ 
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(375,40);to=(376,16)]
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(376,16);to=(376,64)]
			out.print(AppConstants.formatDate( il.getDataStart()));
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(376,64);to=(377,23)]
			out.print("\r\n                &nbsp;[");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(377,23);to=(377,76)]
			out.print(AppConstants.formatOraMinute( il.getDataStart()));
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(377,76);to=(377,79)]
			out.print(" - ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(377,79);to=(377,131)]
			out.print(AppConstants.formatOraMinute( il.getDataStop()));
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(377,131);to=(378,16)]
			out.print("]\r\n                ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(378,16);to=(378,29)]
			 } else {
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(378,29);to=(379,16)]
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(379,16);to=(380,99)]
			 if ( il.getDataStart().before(new Timestamp(new java.util.Date().getTime())) &&
                        il.getDataStop().after(new Timestamp(new java.util.Date().getTime())) ){ 
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(380,99);to=(380,104)]
			out.print(" <b> ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(380,104);to=(380,109)]
			}
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(380,109);to=(381,17)]
			out.print("\r\n                [");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(381,17);to=(381,61)]
			out.print(AppConstants.format( il.getDataStart()));
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(381,61);to=(381,64)]
			out.print(" - ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(381,64);to=(381,107)]
			out.print(AppConstants.format( il.getDataStop()));
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(381,107);to=(382,16)]
			out.print("]\r\n                ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(382,16);to=(383,99)]
			 if ( il.getDataStart().before(new Timestamp(new java.util.Date().getTime())) &&
                        il.getDataStop().after(new Timestamp(new java.util.Date().getTime())) ){ 
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(383,99);to=(383,105)]
			out.print(" </b> ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(383,105);to=(383,110)]
			}
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(383,110);to=(384,16)]
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(384,16);to=(384,23)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(384,23);to=(385,16)]
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(385,16);to=(385,29)]
			 } else{ 
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(385,29);to=(387,16)]
			out.print("\r\n                -\r\n                ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(387,16);to=(387,23)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(387,23);to=(388,16)]
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(388,16);to=(388,23)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(388,23);to=(398,4)]
			out.print("\r\n\r\n            </td>\r\n\r\n        </tr>\r\n    <tr>\r\n        <td style=\"border-bottom: thin solid #E6DFDF\" colspan=\"6\"> &nbsp;</td>\r\n    </tr>\r\n\r\n\r\n    ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(398,4);to=(398,11)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(398,11);to=(401,0)]
			out.print("\r\n\r\n</TABLE>\r\n");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(401,0);to=(401,14)]
			 } else {}
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(401,14);to=(405,0)]
			out.print("\r\n\r\n\r\n</respmesg>\r\n");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(405,0);to=(407,3)]
			} catch (Throwable t) {
    t.printStackTrace();
}
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/pagelet/callcenter/ajax/getStatusReclamatie.jsp";from=(407,3);to=(410,0)]
// end
		} catch (ThreadDeath tde) { throw tde;
		} catch (OutOfMemoryError ome) { throw ome;
		} catch (Throwable t) {
			if (!(t instanceof SkipPageException)) {
				try {
					out.clear();
				} catch(java.io.IOException _jspioex) {}
				_jspx_pageContext.handlePageException(t);
			}
		}finally{
			_jspFactory.releasePageContext(pageContext);
		}
	}

}
