/* 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 org.apache.log4j.Logger;
import ro.emid.common.db.IncidentAccessDB;
import ro.emid.common.types.DataObj;
import ro.emid.common.db.RaportByCauzeRow;
import ro.emid.common.types.RaportRow_01;
import ro.emid.common.utils.StringUtils;
import ro.emid.incidente.util.raport.RaportIncidenteExporter;
import java.io.File;
import java.sql.Date;
import java.util.HashSet;
import java.util.Set;
import ro.emid.common.utils.ObjectUtils;
import ro.emid.common.constants.AppConstants;
import ro.emid.common.types.*;
import ro.emid.common.db.*;
import ro.emid.common.constants.RoleConstants;
import ro.emid.common.types.Category;
import ro.emid.incidente.IncidenteSessionUtils;
import ro.emid.common.utils.SessionUtils;
import ro.emid.common.types.User;
import ro.emid.common.constants.AppConstants;
import ro.emid.common.constants.RoleConstants;

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

public class JEE_jsp_WEB_2d_INF_pagelet_rapoarte_raport_2d_incidente_1542027387211 extends com.sap.engine.services.servlets_jsp.lib.jspruntime.JspBase{
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(19,0);to=(21,2)]

    private static java.text.SimpleDateFormat _df = new java.text.SimpleDateFormat("yyyyMMdd");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(37,0);to=(39,2)]

    private static final java.text.SimpleDateFormat DF = new java.text.SimpleDateFormat("dd.MM.yyyy");
// 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/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(1,44);to=(2,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(2,55);to=(3,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(3,49);to=(4,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(4,55);to=(5,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(5,54);to=(6,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(6,53);to=(7,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(7,74);to=(8,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(8,33);to=(9,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(9,34);to=(10,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(10,38);to=(11,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(11,34);to=(12,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(12,53);to=(13,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(13,58);to=(14,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(14,43);to=(15,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(15,40);to=(16,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(16,59);to=(17,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/declaratii.jsp";from=(1,50);to=(2,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/declaratii.jsp";from=(2,60);to=(3,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/declaratii.jsp";from=(3,54);to=(4,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/declaratii.jsp";from=(4,46);to=(5,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/declaratii.jsp";from=(5,58);to=(6,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/declaratii.jsp";from=(6,50);to=(8,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/declaratii.jsp";from=(8,0);to=(34,2)]
			
    final boolean printVersion = request.getParameter("printVersion") != null && "true".equals( request.getParameter("printVersion")) || request.getAttribute("printVersion") != null && "true".equals( request.getAttribute("printVersion")) ;

    final User user = SessionUtils.getUserLogat(session);

    Category filiala = IncidenteSessionUtils.getFiliala(session);
    if(filiala == null){
        filiala = new Category();
    }

    Category sucursala = IncidenteSessionUtils.getSucursala(session);
    if(sucursala == null){
        sucursala = new Category();
    }

    Category centruExploatare = IncidenteSessionUtils.getCentru(session);
    if(centruExploatare == null){
        centruExploatare = new Category();
    }

    Category formatiaDeLucru = IncidenteSessionUtils.getFormatia(session);
    if(formatiaDeLucru == null){
        formatiaDeLucru = new Category();
    }

    boolean isCuSectiiSiCentre = ((sucursala != null && sucursala.isCuSectiiSiCentre()) || (centruExploatare != null && centruExploatare.isCuSectiiSiCentre()));

// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(17,47);to=(19,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(21,2);to=(26,12)]
			out.print("\r\n\r\n<TABLE border=0 cellpading=0 cellSpacing=0 width=\"100%\">\r\n    <TR>\r\n        <TD>\r\n            ");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(1,59);to=(2,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(2,0);to=(13,2)]
			
    if (user.getIeLevel() == RoleConstants.NIVEL_SUCURSALA) {
        filiala.setShowAsLink(false);
    } else if (user.getIeLevel() == RoleConstants.NIVEL_CENTRU) {
        filiala.setShowAsLink(false);
        sucursala.setShowAsLink(false);
    } else if (user.getIeLevel() == RoleConstants.NIVEL_FORMATIE) {
        filiala.setShowAsLink(false);
        sucursala.setShowAsLink(false);
        centruExploatare.setShowAsLink(false);
    }

// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(13,2);to=(16,0)]
			out.print("\n<span class=\"localizare\">\n<span class=\"bold\">E\u015fti aici:</span>\n");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(16,0);to=(17,34)]
			if (filiala != null && filiala.getId() != -1) {
    if( filiala.isShowAsLink()){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(17,34);to=(18,34)]
			out.print("\n        <a title=\"Lista sucursale ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(18,34);to=(18,56)]
			out.print(filiala.getName());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(18,56);to=(18,77)]
			out.print("\" class=\"link\" href=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(18,77);to=(18,103)]
			out.print(AppConstants.APP_NAME);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(18,103);to=(18,126)]
			out.print("?action=showSucursale\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(18,126);to=(18,148)]
			out.print(filiala.getName());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(18,148);to=(19,4)]
			out.print("</a>\n    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(19,4);to=(19,14)]
			}else{
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(19,14);to=(20,8)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(20,8);to=(20,30)]
			out.print(filiala.getName());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(20,30);to=(21,4)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(21,4);to=(21,9)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(21,9);to=(23,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(23,0);to=(23,5)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(23,5);to=(24,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(24,0);to=(24,55)]
			if( sucursala != null && sucursala.getId() != -1){ 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(24,55);to=(26,4)]
			out.print("\n    <span class=\"slash\">/</span>\n    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(26,4);to=(26,38)]
			if( sucursala.isShowAsLink()){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(26,38);to=(27,29)]
			out.print("\n        <a title=\"Lista C.E. ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(27,29);to=(27,53)]
			out.print(sucursala.getName());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(27,53);to=(27,74)]
			out.print("\" class=\"link\" href=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(27,74);to=(27,100)]
			out.print(AppConstants.APP_NAME);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(27,100);to=(27,120)]
			out.print("?action=showCentre\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(27,120);to=(27,144)]
			out.print(sucursala.getName());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(27,144);to=(28,4)]
			out.print("</a>\n    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(28,4);to=(28,14)]
			}else{
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(28,14);to=(29,8)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(29,8);to=(29,32)]
			out.print(sucursala.getName());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(29,32);to=(30,4)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(30,4);to=(30,9)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(30,9);to=(31,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(31,0);to=(31,5)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(31,5);to=(33,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(33,0);to=(33,68)]
			if( centruExploatare != null && centruExploatare.getId() != -1){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(33,68);to=(35,4)]
			out.print("\n    <span class=\"slash\">/</span>\n    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(35,4);to=(35,45)]
			if( centruExploatare.isShowAsLink()){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(35,45);to=(36,35)]
			out.print("\n        <a title=\"Lista evenimente ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(36,35);to=(36,66)]
			out.print(centruExploatare.getName());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(36,66);to=(36,87)]
			out.print("\" class=\"link\" href=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(36,87);to=(36,113)]
			out.print(AppConstants.APP_NAME);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(36,113);to=(36,137)]
			out.print("?action=showEvenimente\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(36,137);to=(36,168)]
			out.print(centruExploatare.getName());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(36,168);to=(37,4)]
			out.print("</a>\n    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(37,4);to=(37,14)]
			}else{
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(37,14);to=(38,8)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(38,8);to=(38,39)]
			out.print(centruExploatare.getName());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(38,39);to=(39,4)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(39,4);to=(39,9)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(39,9);to=(40,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(40,0);to=(40,5)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(40,5);to=(42,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(42,0);to=(42,66)]
			if( formatiaDeLucru != null && formatiaDeLucru.getId() != -1){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(42,66);to=(44,4)]
			out.print("\n    <span class=\"slash\">/</span>\n    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(44,4);to=(44,44)]
			if( formatiaDeLucru.isShowAsLink()){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(44,44);to=(45,35)]
			out.print("\n        <a title=\"Lista evenimente ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(45,35);to=(45,65)]
			out.print(formatiaDeLucru.getName());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(45,65);to=(45,86)]
			out.print("\" class=\"link\" href=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(45,86);to=(45,112)]
			out.print(AppConstants.APP_NAME);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(45,112);to=(45,136)]
			out.print("?action=showEvenimente\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(45,136);to=(45,166)]
			out.print(formatiaDeLucru.getName());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(45,166);to=(46,4)]
			out.print("</a>\n    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(46,4);to=(46,14)]
			}else{
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(46,14);to=(47,8)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(47,8);to=(47,38)]
			out.print(formatiaDeLucru.getName());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(47,38);to=(48,4)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(48,4);to=(48,9)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(48,9);to=(49,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(49,0);to=(49,5)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/header-localizare.jsp";from=(49,5);to=(50,7)]
			out.print("\n</span>");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(26,57);to=(27,63)]
			out.print("\r\n            <span class=\"slash\">/</span> <A class=\"link\" href=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(27,63);to=(27,89)]
			out.print(AppConstants.APP_NAME);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(27,89);to=(31,67)]
			out.print("?action=rapoarte\">Rapoarte</A>\r\n            <span class=\"slash\">/</span> Incidente\r\n        </TD>\r\n        <TD align=\"RIGHT\">\r\n            <IMG alt=FAQ border=0 width=12 height=13 hspace=3 src=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(31,67);to=(31,137)]
			out.print(AppConstants.WEB_RESOURCE_PATH + "/images/icon_mini_search.gif");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(31,137);to=(37,0)]
			out.print("\">\r\n            <A href=\"#\" onClick=\"openConfigurareFiltruRapoarte();  return false\" class=\"link\">Configurare FILTRU</A>\r\n        </TD>\r\n    </TR>\r\n</TABLE>\r\n\r\n");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(39,2);to=(40,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(40,0);to=(238,2)]
			
    String publicPath = null;

        if (request.getParameter("firstShow") != null) {
            IncidenteSessionUtils.setTipRaport(session, "INCIDENTE");
            IncidenteSessionUtils.resetParametriRaport(session);
        }

        boolean grupAnsamble = ObjectUtils.getIntValue(request.getParameter("grupAnsamble"), 0) == 1;

        long filialaId = IncidenteSessionUtils.getFilialaId(session);
        long sucursalaId = IncidenteSessionUtils.getSucursalaId(session);
        long centruId = IncidenteSessionUtils.getCentruId(session);

        Category sFiliala = (Category) session.getAttribute("filiala");
        Category sSucursala = (Category) session.getAttribute("sucursala");
        Category sCentru = (Category) session.getAttribute("centru");

        if (sFiliala != null && sFiliala.getId() > 0) filialaId = sFiliala.getId();
        if (sSucursala != null && sSucursala.getId() > 0) sucursalaId = sSucursala.getId();
        if (sCentru != null && sCentru.getId() > 0) centruId = sCentru.getId();
        //if (sCentru != null ) centruId = sCentru.getId();


        Category filialaRaport = CategoryAccessDB.getById(filialaId);
        if (filialaRaport == null) filialaRaport = new Category();

        Category sucursalaRaport = CategoryAccessDB.getById(sucursalaId);
        if (sucursalaRaport == null) sucursalaRaport = new Category();

        Category centru = CategoryAccessDB.getById(centruId);
        if (centru == null) centru = new Category();

        Long sdata_start = (Long) session.getAttribute("data_start");
        long data_start = 0;
        if (sdata_start != null) data_start = sdata_start.longValue();

        Long sdata_stop = (Long) session.getAttribute("data_stop");
        long data_stop = 0;
        if (sdata_stop != null) {
            data_stop = sdata_stop.longValue();
        }else{
            data_stop = ObjectUtils.getDateValue(
                    DF.format(new Date(System.currentTimeMillis())),
                    "dd.MM.yyyy"
            ).getTime();
        }

        Long sessionLong;
        String sessionString;

        sessionLong = (Long) session.getAttribute("f_clasificare_incident");
        long f_clasificare_incident = -1;
        if (sessionLong != null) {
            f_clasificare_incident = sessionLong.longValue();
        }

        sessionLong = (Long) session.getAttribute("f_clasificare");
        long f_clasificare = -1;
        if (sessionLong != null) {
            f_clasificare = sessionLong.longValue();
        }

        sessionLong = (Long) session.getAttribute("f_clasificarestatie");
        long f_clasificarestatie = -1;
        if (sessionLong != null) {
            f_clasificarestatie = sessionLong.longValue();
        }

        sessionLong = (Long) session.getAttribute("f_ansamblu");
        long f_ansamblu = -1;
        if (sessionLong != null) {
            f_ansamblu = sessionLong.longValue();
        }

        sessionLong = (Long) session.getAttribute("f_formatie");
        long f_formatie = -1;
        if (sessionLong != null) {
            f_formatie = sessionLong.longValue();
        }



        sessionString = (String) session.getAttribute("f_statie_cod");
        String f_statie = "";
        if (sessionString != null) {
            f_statie = sessionString;
        }

        sessionString = (String) session.getAttribute("f_bobina_cod");
        String f_bobina = "";
        if (sessionString != null) {
            f_bobina = sessionString;
        }

        sessionString = (String) session.getAttribute("f_celula_cod");
        String f_celula = "";
        if (sessionString != null) {
            f_celula = sessionString;
        }

        sessionString = (String) session.getAttribute("f_bara_cod");
        String f_bara = "";
        if (sessionString != null) {
            f_bara = sessionString;
        }

        sessionString = (String) session.getAttribute("f_linie_cod");
        String f_linie = "";
        if (sessionString != null) {
            f_linie = sessionString;
        }

        sessionString = (String) session.getAttribute("f_derivatie_cod");
        String f_derivatie = "";
        if (sessionString != null) {
            f_derivatie = sessionString;
        }

        sessionString = (String) session.getAttribute("f_pa_pt_cod");
        String f_pa_pt = "";
        if (sessionString != null) {
            f_pa_pt = sessionString;
        }

        sessionString = (String)  session.getAttribute("f_trafo_cod");
        String f_trafo = "";
        if (sessionString != null) {
            f_trafo = sessionString;
        }



        sessionLong = (Long) session.getAttribute("f_clasificarepa_pt");
        long f_clasificarepa_pt = -1;
        if (sessionLong != null) {
            f_clasificarepa_pt = sessionLong.longValue();
        }


        sessionLong = (Long) session.getAttribute("f_clasificarelinie");
        long f_clasificarelinie = -1;
        if (sessionLong != null) {
            f_clasificarelinie = sessionLong.longValue();
        }

        sessionLong = (Long) session.getAttribute("f_nr_componente_afectate");
        long f_nr_componente_afectate = -1;
        if (sessionLong != null) {
            f_nr_componente_afectate = sessionLong.longValue();
        }

        sessionLong = (Long) session.getAttribute("f_mod_tr_neutru");
        long f_mod_tr_neutru = -1;
        if (sessionLong != null) {
            f_mod_tr_neutru = sessionLong.longValue();
        }

        sessionLong = (Long) session.getAttribute("f_manifestare");
        long f_manifestare = -1;
        if (sessionLong != null) {
            f_manifestare = sessionLong.longValue();
        }

        sessionLong = (Long) session.getAttribute("f_prilej");
        long f_prilej = -1;
        if (sessionLong != null) {
            f_prilej = sessionLong.longValue();
        }

        sessionLong = (Long) session.getAttribute("f_grupa");
        long f_grupa = -1;
        if (sessionLong != null) {
            f_grupa = sessionLong.longValue();
        }

        sessionLong = (Long) session.getAttribute("f_cauza");
        long f_cauza = -1;
        if (sessionLong != null) {
            f_cauza = sessionLong.longValue();
        }

        sessionLong = (Long) session.getAttribute("f_fenomen_meteo");
        long f_fenomen_meteo = -1;
        if (sessionLong != null) {
            f_fenomen_meteo = sessionLong.longValue();
        }

        sessionLong = (Long)session.getAttribute("f_forta_majora");
        long f_forta_majora = -1; if (sessionLong != null) { f_forta_majora = sessionLong.longValue(); }

        sessionLong = (Long)session.getAttribute("f_tensiune");
        long f_tensiune = -1; if (sessionLong != null) { f_tensiune = sessionLong.longValue(); }


        ro.emid.common.types.CategoryCheckData checkData = SessionUtils.getCategoriiSelectate(session);
        String append_to = IncidentAccessDB.setFilterParameters(checkData,  centru.getId(), f_formatie, f_clasificare_incident, f_ansamblu, f_statie, f_bobina, f_celula, f_bara, f_linie, f_derivatie, f_pa_pt, f_trafo, f_nr_componente_afectate, f_mod_tr_neutru, f_manifestare, f_prilej, f_grupa, f_cauza, f_fenomen_meteo, f_clasificare, f_forta_majora, f_tensiune);
		

// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(238,2);to=(243,0)]
			out.print("\r\n\r\n<table width=\"100%\" border=0>\r\n<TR>\r\n<TD align=\"center\" valign=\"middle\">\r\n");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(243,0);to=(252,2)]
			
    String titlu;
    if (sucursalaRaport.getId() != -1) {
        titlu = " sucursala " + sucursalaRaport.getName();
    } else if (filialaRaport.getId() == -1) {
        titlu = "SC ELECTRICA SA";
    } else {
        titlu = " filiala " + filialaRaport.getName();
    }

// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(252,2);to=(253,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(253,77);to=(255,0)]
			out.print("\r\n<span style=\"font-size:16px; font-weight:bold;\">Situatia incidentelor pe ansambluri functionale</span><br>\r\n");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(255,0);to=(442,2)]
			
    String mesaj_filtru = "";
    if (f_formatie != -1) {
        Category formatie = CategoryAccessDB.getById(f_formatie);
        if (formatie != null)
            mesaj_filtru += "<b>" + (sucursalaRaport.isCuSectiiSiCentre() ? "Centru exploatare" : "Formatia de lucru") + ":</b> - " + formatie.getName() + ";";
    }

    if (f_clasificare_incident != -1) {
        String[] values = {"izolat", "primar", "asociat"};
        mesaj_filtru = "<b>tip incident</b> - " + values[(int) f_clasificare_incident - 1] + ";";
    }

    if (f_ansamblu != -1) {
        Nomenclator ansamblu = NomAccessDB.getNom(f_ansamblu);
        mesaj_filtru += "<b>ansamblu</b> - " + ansamblu.getDescriere() + ";";
    }

    if (f_clasificare != -1) {
        String[] values = {"IT", "MT", "Toate"};
        mesaj_filtru += " <b>nivel</b> - " + values[(int) f_clasificare - 1] + ";";
    }
    long l = new Long(10).longValue();
    DataObj dataObj = null;
    Nomenclator nom = null;


    if( !StringUtils.isZeroLength( f_statie)){
        mesaj_filtru += "<b>statie</b> - " + session.getAttribute("f_statie_den") + ";";
    }
    if( !StringUtils.isZeroLength( f_bobina)){
        mesaj_filtru += "<b>bobina</b> - " + session.getAttribute("f_bobina_den") + ";";
    }
    if( !StringUtils.isZeroLength( f_celula)){
        mesaj_filtru += "<b>celula</b> - " + session.getAttribute("f_celula_den") + ";";
    }
    if( !StringUtils.isZeroLength( f_bara)){
        mesaj_filtru += "<b>bara</b> - " + session.getAttribute("f_bara_den") + ";";
    }
    if( !StringUtils.isZeroLength( f_linie)){
        mesaj_filtru += "<b>linie</b> - " + session.getAttribute("f_linie_den") + ";";
    }
    if( !StringUtils.isZeroLength( f_derivatie)){
        mesaj_filtru += "<b>derivatie</b> - " + session.getAttribute("f_derivatie_den") + ";";
    }
    if( !StringUtils.isZeroLength( f_pa_pt)){
        mesaj_filtru += "<b>pa/pt</b> - " + session.getAttribute("f_pa_pt_den") + ";";
    }
    if( !StringUtils.isZeroLength( f_trafo)){
        mesaj_filtru += "<b>trafo</b> - " + session.getAttribute("f_trafo_den") + ";";
    }


    if( !StringUtils.isZeroLength( f_statie)){
        mesaj_filtru += "<b>statie</b> - " + session.getAttribute("f_statie_den") + ";";
    }
    if( !StringUtils.isZeroLength( f_bobina)){
        mesaj_filtru += "<b>bobina</b> - " + session.getAttribute("f_bobina_den") + ";";
    }
    if( !StringUtils.isZeroLength( f_celula)){
        mesaj_filtru += "<b>celula</b> - " + session.getAttribute("f_celula_den") + ";";
    }
    if( !StringUtils.isZeroLength( f_bara)){
        mesaj_filtru += "<b>bara</b> - " + session.getAttribute("f_bara_den") + ";";
    }
    if( !StringUtils.isZeroLength( f_linie)){
        mesaj_filtru += "<b>linie</b> - " + session.getAttribute("f_linie_den") + ";";
    }
    if( !StringUtils.isZeroLength( f_derivatie)){
        mesaj_filtru += "<b>derivatie</b> - " + session.getAttribute("f_derivatie_den") + ";";
    }
    if( !StringUtils.isZeroLength( f_pa_pt)){
        mesaj_filtru += "<b>pa/pt</b> - " + session.getAttribute("f_pa_pt_den") + ";";
    }
    if( !StringUtils.isZeroLength( f_trafo)){
        mesaj_filtru += "<b>trafo</b> - " + session.getAttribute("f_trafo_den") + ";";
    }

    if (f_mod_tr_neutru != -1) {
        nom = NomAccessDB.getNom(f_mod_tr_neutru);
        mesaj_filtru += " <b>mod_tr_neutru</b> - " + nom != null ? nom.getDescriere() : "-" + ";";
    }
    if (f_manifestare != -1) {
        nom = NomAccessDB.getNom(f_manifestare);
        mesaj_filtru += " <b>manifestare</b> - " + nom != null ? nom.getDescriere() : "-" + ";";
    }

    if (f_prilej != -1) {
        nom = NomAccessDB.getNom(f_prilej);
        mesaj_filtru += " <b>prilej</b> - " + nom != null ? nom.getDescriere() : "-" + ";";
    }

    if (f_grupa != -1) {
        nom = NomAccessDB.getNom(f_grupa);
        mesaj_filtru += " <b>grupa</b> - " + nom != null ? nom.getDescriere() : "-" + ";";
    }

    if (f_cauza != -1) {
        nom = NomAccessDB.getNom(f_cauza);
        mesaj_filtru += " <b>cauza</b> - " + nom != null ? nom.getDescriere() : "-" + ";";
    }

    if (f_fenomen_meteo != -1) {
        nom = NomAccessDB.getNom(f_fenomen_meteo);
        mesaj_filtru += " <b>fenomen meteo</b> - " + nom != null ? nom.getDescriere() : "-" + ";";
    }

    if (f_forta_majora > 0) {
        mesaj_filtru += " <b>Forta majora</b>; ";
    }

    if (f_tensiune > 0) {
        mesaj_filtru += " <b>Tensiune </b> - " + f_tensiune + " kV;";
    }

    if (mesaj_filtru.equals("")) mesaj_filtru = "total nefiltrat";
    else mesaj_filtru = "filtrare dupa: " + mesaj_filtru.substring(0, mesaj_filtru.length() - 1);

    long oneDay = 24 * 60 * 60 * 1000;

    session.setAttribute( "rapoarteIncidenteFiltru.data_start", new Long( data_start));
    session.setAttribute( "rapoarteIncidenteFiltru.data_stop", new Long( data_stop + oneDay));
    session.setAttribute( "rapoarteIncidenteFiltru.append_to", append_to);

    String value_data_start = data_start != 0 ? AppConstants.format(new Date(data_start)) : "";
    String value_data_stop  = data_stop  != 0 ? AppConstants.format(new Date(data_stop))  : "";

    Date dataStart = data_start != 0 ? new Date(data_start) : null;
    Date dataStop  = data_stop  != 0 ? new Date(data_stop) : null;

    data_stop += oneDay;

    //extragem datele
    RaportRow_01[] rows;
    if (sucursalaRaport.getId() != -1) {
        rows = IncidentAccessDB.get_ans_raport_by_sucursala(sucursalaRaport.getId(), data_start, data_stop, append_to);
    } else {
        rows = IncidentAccessDB.get_ans_raport_by_filiala(filialaRaport.getId(), data_start, data_stop, append_to);
    }

    RaportByCauzeRow[] rows1;
    RaportByCauzeRow[] rows2;
    if (sucursalaRaport.getId() != -1) {
        rows2 = IncidentAccessDB.get_raport_by_cauze_by_sucursala(sucursalaRaport.getId(), data_start, data_stop, append_to);
        rows1 = IncidentAccessDB.get_raport_by_grupe_cauze_by_sucursala(sucursalaRaport.getId(), data_start, data_stop, append_to);
    } else {
        rows2 = IncidentAccessDB.get_raport_by_cauze_by_filiala(filialaRaport.getId(), data_start, data_stop, append_to);
        rows1 = IncidentAccessDB.get_raport_by_grupe_cauze_by_filiala(filialaRaport.getId(), data_start, data_stop, append_to);
    }

    if( !StringUtils.isZeroLength( request.getParameter("toExport"))){
        String root = AppConstants.PUBLIC_RESOURCE_PATH + File.separator + "raport";

        String folder = _df.format( new java.util.Date());
        //cleanup...
        File[]folders = new File( root).listFiles();
        if( folders != null) for (int i = 0; i < folders.length; i++) {
            File file = folders[i];
            if( !file.getName().equals( folder)){
                File[]d=file.listFiles();
                if( d!=null) for (int j = 0; j < d.length; j++) {
                    File file1 = d[j];
                    file1.delete();
                }
                file.delete( );  //cleanup
            }
        }

        File f = new File( root, folder);
        if( !f.exists()) f.mkdir();

        String fileName = "Raport incidente - " + System.currentTimeMillis() + ".xls";
        String privatePath = root + File.separator + folder + File.separator + fileName;

        publicPath = AppConstants.WEB_RESOURCE_PATH + "/raport/" + folder + "/" + fileName;


        RaportIncidenteExporter exporter = new RaportIncidenteExporter( privatePath );

        exporter.begin();

        exporter.setHeader( "Raport incidente " + value_data_start + " " + value_data_stop, filialaRaport, sucursalaRaport, centruExploatare);

        exporter.export( rows, rows1, rows2);

        exporter.end();
    }

// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(442,2);to=(444,1)]
			out.print("\r\n\r\n(");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(444,1);to=(444,18)]
			out.print(mesaj_filtru);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(444,18);to=(445,23)]
			out.print(")<BR>\r\n[<a class=\"link\" href=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(445,23);to=(445,49)]
			out.print(AppConstants.APP_NAME);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(445,49);to=(448,29)]
			out.print("?action=resetFiltru&fromRaport=true&raport=raport-incidente\">reset filtru</a>]\r\n\r\n<div class=\"spacer\"></div>\r\n<FORM name=\"zaforma\" action=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(448,29);to=(448,55)]
			out.print(AppConstants.APP_NAME);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(448,55);to=(452,12)]
			out.print("\" method=\"post\">\r\n    <INPUT TYPE=\"hidden\" NAME=\"action\" VALUE=\"saveRapoarteIncidente\" />\r\n    <table class=\"gsaptd\" width=\"100%\">\r\n        <tr><td>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(452,12);to=(452,52)]
			 if( !checkData.someDataChecked()){ 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(452,52);to=(454,89)]
			out.print("\r\n            Filiala:\r\n            <SELECT name=\"filiala\" onchange=\"fill_sucursala_select()\" class=\"gSAPSelect\" ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(454,89);to=(454,157)]
			out.print(user.getIeLevel() == RoleConstants.NIVEL_FULL ? "" : "disabled");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(454,157);to=(456,16)]
			out.print(" >\r\n                <OPTION value=\"-1\">ELECTRICA SA:</OPTION>\r\n                ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(456,16);to=(457,78)]
			  Category [] filiale = CategoryAccessDB.getAllCategoriesByParentId( -1);
                    if (filiale != null) for(int i=0;i<filiale.length;i++) {
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(457,78);to=(458,24)]
			out.print("\r\n                <OPTION ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(458,24);to=(458,102)]
			out.print((filiale[i].getId() == filialaRaport.getId()) ? "selected=\"true\" " : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(458,102);to=(458,109)]
			out.print("value=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(458,109);to=(458,132)]
			out.print(filiale[i].getId());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(458,132);to=(458,134)]
			out.print("\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(458,134);to=(458,159)]
			out.print(filiale[i].getName());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(458,159);to=(459,16)]
			out.print("</OPTION>\r\n                ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(459,16);to=(459,22)]
			} 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(459,22);to=(492,51)]
			out.print("\r\n            </SELECT>&nbsp;&nbsp;\r\n\r\n            Sucursala:\r\n        <span id=\"sucursalaDiv\">\r\n        <SELECT name=\"sucursala\" class=\"gSAPSelect\" onchange=\"fill_centru_select()\" >\r\n            <option value=\"-1\">Selectati:</option>\r\n        </SELECT></span>&nbsp;&nbsp;\r\n\r\n            C.E.:\r\n        <span id=\"centruDiv\">\r\n            <SELECT name=\"centruId\" class=\"gSAPSelect\">\r\n                <OPTION value=\"-1\">Selectati:</OPTION>\r\n            </SELECT>\r\n        </span>\r\n\r\n            <script type=\"text/javascript\">\r\n                function fill_sucursala_select(selectedValue, disabled, firstShow){\r\n                    resetComboLeaveFirstOption( document.zaforma.sucursala);\r\n                    resetComboLeaveFirstOption( document.zaforma.centruId);\r\n\r\n                    var filialaId = document.zaforma.filiala[ document.zaforma.filiala.selectedIndex].value;\r\n                    if( filialaId > -1){\r\n                        var params = \"parentId=\"+filialaId + \"&selectName=sucursala&disabled=\" + disabled + (selectedValue ? \"&selectedValue=\" + selectedValue : \"\");\r\n                        //alert( params);\r\n\r\n                        getCategoriesFromServer(params, function(originalRequest){\r\n                            //alert( getResponseMesg (originalRequest.responseText));\r\n                            $( \'sucursalaDiv\').innerHTML = getResponseMesg (originalRequest.responseText);\r\n\r\n                            document.zaforma.sucursala.onchange=fill_centru_select;\r\n\r\n                            if( firstShow){\r\n                                fill_centru_select(");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(492,51);to=(492,70)]
			out.print(centru.getId());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(492,70);to=(492,72)]
			out.print(", ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(492,72);to=(492,177)]
			out.print(user.getIeLevel() == RoleConstants.NIVEL_CENTRU || user.getIeLevel() == RoleConstants.NIVEL_FORMATIE);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(492,177);to=(513,38)]
			out.print(");\r\n                            }\r\n                        });\r\n                    }\r\n                }\r\n\r\n                function fill_centru_select(selectedValue, disabled){\r\n                    resetComboLeaveFirstOption( document.zaforma.centruId);\r\n\r\n                    var sucursalaId = document.zaforma.sucursala[ document.zaforma.sucursala.selectedIndex].value;\r\n                    if( sucursalaId > -1){\r\n                        var params = \"parentId=\"+sucursalaId + \"&selectName=centruId&disabled=\" + disabled + (selectedValue ? \"&selectedValue=\" + selectedValue : \"\");\r\n                        //alert( params);\r\n\r\n                        getCategoriesFromServer(params,function(originalRequest){\r\n                            //alert( getResponseMesg (originalRequest.responseText));\r\n                            $( \'centruDiv\').innerHTML = getResponseMesg (originalRequest.responseText);\r\n                        });\r\n                    }\r\n                }\r\n\r\n                fill_sucursala_select(");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(513,38);to=(513,66)]
			out.print(sucursalaRaport.getId());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(513,66);to=(513,68)]
			out.print(", ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(513,68);to=(513,227)]
			out.print(user.getIeLevel() == RoleConstants.NIVEL_SUCURSALA || user.getIeLevel() == RoleConstants.NIVEL_CENTRU || user.getIeLevel() == RoleConstants.NIVEL_FORMATIE);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(513,227);to=(515,12)]
			out.print(", true);\r\n            </script>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(515,12);to=(515,22)]
			}else{
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(515,22);to=(518,12)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(518,12);to=(567,14)]
			
                StringBuffer strCategorii = new StringBuffer("");
                long idCentre[] = checkData.getIdCentre();
                Set sucursaleSelectate = new HashSet();
                Set filialeSelectate = new HashSet();
                for (int i = 0; i < idCentre.length; i++) {
                    long id = idCentre[i];
                    Category c = CategoryAccessDB.getById(id);
                    if (c != null) {
                        Category s = CategoryAccessDB.getById(c.getId_parent());
                        if (s != null) {
                            Category f = CategoryAccessDB.getById(s.getId_parent());
                            if (f != null) {
                                if (strCategorii.length() > 0) strCategorii.append("<br>");
                                strCategorii.append(f.getName()).append(", ").append(s.getName()).append(", ").append(c.getName());

                                sucursaleSelectate.add(new Long(s.getId()));
                                filialeSelectate.add(new Long(f.getId()));
                            }
                        }
                    }
                }

                long idSucursale[] = checkData.getIdSucursale();
                for (int i = 0; i < idSucursale.length; i++) {
                    long id = idSucursale[i];
                    if( !sucursaleSelectate.contains( new Long( id))){
                        Category s = CategoryAccessDB.getById( id );
                        if( s != null){
                            Category f = CategoryAccessDB.getById( s.getId_parent());
                            if( f != null){
                                if( strCategorii.length() > 0) strCategorii.append("<br>");
                                strCategorii.append(f.getName()).append(", ").append(s.getName());
                            }
                        }
                    }
                }

                long idFiliale[] = checkData.getIdFiliale();
                for (int i = 0; i < idFiliale.length; i++) {
                    long id = idFiliale[i];
                    if( !filialeSelectate.contains( new Long( id))){
                        Category f = CategoryAccessDB.getById( id);
                        if( f != null){
                            if( strCategorii.length() > 0) strCategorii.append("<br>");
                            strCategorii.append(f.getName());
                        }
                    }
                }
            
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(567,14);to=(569,12)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(569,12);to=(569,29)]
			out.print(strCategorii);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(569,29);to=(570,12)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(570,12);to=(570,17)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(570,17);to=(574,69)]
			out.print("\r\n        </td>\r\n            <td align=\"right\">\r\n\r\n                <input type=\"checkbox\" name=\"grupAnsamble\" value=\"1\" ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(574,69);to=(574,104)]
			out.print(grupAnsamble ? "checked" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(574,104);to=(576,16)]
			out.print(" title=\"Bifa pentru a grupa ansablele functionale\" />\r\n\r\n                ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(576,16);to=(576,73)]
			if( user.getIeLevel() < RoleConstants.NIVEL_CENTRU){ 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(576,73);to=(577,187)]
			out.print("\r\n                <A href=\"#\" onClick=\"openCheckCategorii(); return false\" class=\"link\"><IMG alt=\"Click pentru a selecta mai multe sucursale/C.E.\" border=0 width=12 height=13 hspace=3 src=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(577,187);to=(577,257)]
			out.print(AppConstants.WEB_RESOURCE_PATH + "/images/icon_mini_search.gif");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(577,257);to=(583,60)]
			out.print("\"></A>\r\n\r\n                <script type=\"text/javascript\">\r\n                    var checkCategoriiWindow = null;\r\n                    function openCheckCategorii(){\r\n                        if( checkCategoriiWindow) checkCategoriiWindow.close();\r\n                        checkCategoriiWindow = window.open(\'");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(583,60);to=(583,86)]
			out.print(AppConstants.APP_NAME);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(583,86);to=(586,16)]
			out.print("?action=checkCategorie\',\'checkCategorie\', \'width=800 height=620, scrollbars=yes,status=yes,resizable=yes,top=10,left=50,dependent=yes,alwaysRaised=yes\');\r\n                    }\r\n                </script>\r\n                ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(586,16);to=(586,21)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(586,21);to=(589,30)]
			out.print("\r\n\r\n                <label title=\"Perioada producerii deranjamentelor\">\r\n                    Perioada: ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(589,30);to=(589,88)]
			// CustomJspTag.action() - start
			// TagBeginGenerator - start [emid:datefield]
			/* ----  emid:datefield ---- */
			web.tag_datefield_1875650_1561483953449 _jspx_th_emid_datefield_0 = new web.tag_datefield_1875650_1561483953449();
			_jspx_resourceInjector.inject(_jspx_th_emid_datefield_0);
			_jspx_th_emid_datefield_0.setJspContext(_jspx_pageContext);
			_jspx_th_emid_datefield_0.setParent(null);
			_jspx_th_emid_datefield_0.setName("data_start");
			_jspx_th_emid_datefield_0.setValue(dataStart);
			_jspx_th_emid_datefield_0.doTag();
			// TagBeginGenerator - end [emid:datefield]
				// TagEndGenerator - start[emid:datefield]
				_jspx_resourceInjector.invokePreDestroyMethod(_jspx_th_emid_datefield_0);
				// TagEndGenerator - end [emid:datefield]
			// CustomJspTag.action() - end
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(589,88);to=(592,16)]
			out.print("\r\n                </label>\r\n                 -\r\n                ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(592,16);to=(592,72)]
			// CustomJspTag.action() - start
			// TagBeginGenerator - start [emid:datefield]
			/* ----  emid:datefield ---- */
			web.tag_datefield_1875650_1561483953449 _jspx_th_emid_datefield_2 = new web.tag_datefield_1875650_1561483953449();
			_jspx_resourceInjector.inject(_jspx_th_emid_datefield_2);
			_jspx_th_emid_datefield_2.setJspContext(_jspx_pageContext);
			_jspx_th_emid_datefield_2.setParent(null);
			_jspx_th_emid_datefield_2.setName("data_stop");
			_jspx_th_emid_datefield_2.setValue(dataStop);
			_jspx_th_emid_datefield_2.doTag();
			// TagBeginGenerator - end [emid:datefield]
				// TagEndGenerator - start[emid:datefield]
				_jspx_resourceInjector.invokePreDestroyMethod(_jspx_th_emid_datefield_2);
				// TagEndGenerator - end [emid:datefield]
			// CustomJspTag.action() - end
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(592,72);to=(631,12)]
			out.print("\r\n            </td>\r\n            <td width=\"1%\"><nobr>\r\n                &nbsp;<input type=\"submit\" value=\"Ruleaz\u0103\" />\r\n\r\n                <input type=\"hidden\" name=\"toExport\" value=\"\"/>\r\n                <input type=\"button\" value=\"Export\" onclick=\"this.form.toExport.value = \'do\'; this.form.submit(); \" /></nobr>\r\n            </td></tr></table>\r\n</FORM>\r\n<div class=\"spacer\"></div>\r\n</TD>\r\n</TR>\r\n<TR>\r\n    <TD>\r\n        <TABLE id=\"tableAnsamble\" border=1 cellPadding=2 cellSpacing=1 width=\"100%\" class=\"gSAPTHEAD\" style=\"BACKGROUND-COLOR: white\">\r\n            <TR>\r\n                <TH class=\"gsapthead\" noWrap rowspan=\"2\">Cod</TH>\r\n                <TH class=\"gsapthead\" noWrap rowspan=\"2\">Ansamblu</TH>\r\n                <TH class=\"gsapthead\" noWrap colspan=\"2\">Nr.Incidente</TH>\r\n                <TH class=\"gsapthead\" noWrap colspan=\"2\">Durata inc.</TH>\r\n                <TH class=\"gsapthead\" noWrap colspan=\"2\">Durata indisp.</TH>\r\n                <TH class=\"gsapthead\" noWrap rowspan=\"2\">Durata med.<BR>incident</TH>\r\n                <TH class=\"gsapthead\" noWrap>Energie nelivr.</TH>\r\n                <TH class=\"gsapthead\" noWrap colspan=\"4\">Cheltuieli (ron)</TH>\r\n            </TR>\r\n            <TR>\r\n                <TH class=\"gsapthead\" noWrap>Total</TH>\r\n                <TH class=\"gsapthead\" noWrap>Cu det.</TH>\r\n                <TH class=\"gsapthead\" noWrap>Total</TH>\r\n                <TH class=\"gsapthead\" noWrap>Cu det.</TH>\r\n                <TH class=\"gsapthead\" noWrap>Total</TH>\r\n                <TH class=\"gsapthead\" noWrap>Cu det.</TH>\r\n                <TH class=\"gsapthead\" noWrap>(kWh)</TH>\r\n                <TH class=\"gsapthead\" noWrap>Ment.</TH>\r\n                <TH class=\"gsapthead\" noWrap>Daune</TH>\r\n                <TH class=\"gsapthead\" noWrap>Exploatare</TH>\r\n                <TH class=\"gsapthead\" noWrap>Total</TH>\r\n            </TR>\r\n\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(631,12);to=(631,36)]
			 if (null != rows){ 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(631,36);to=(632,12)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(632,12);to=(666,14)]
			    if( grupAnsamble){
                RaportRow_01  buffer = new RaportRow_01();

                //calculare buffer
                for (int i = 0; i < rows.length; i++) {
                    String codAnsamblu = (rows[i].ansamblu.getId() == -1) ? "" : String.valueOf( (nom = NomAccessDB.getNom( rows[i].ansamblu.getId())) != null ? "" + nom.getCod() : "");
                    if( codAnsamblu == null) codAnsamblu = "";

                    boolean toAddToBuffer = ! ("50".equals( codAnsamblu.trim()) || "51".equals( codAnsamblu.trim()) || "Totale".equals( rows[i].ansamblu.getDescriere()));

                    if( toAddToBuffer){
                        buffer.t_nr_incidente  += rows[i].t_nr_incidente;
                        buffer.wd_nr_incidente  += rows[i].wd_nr_incidente;
                        buffer.t_durata_incidente  += rows[i].t_durata_incidente;
                        buffer.wd_durata_incidente  += rows[i].wd_durata_incidente;
                        buffer.t_durata_indisp  += rows[i].t_durata_indisp;
                        buffer.wd_durata_indisp  += rows[i].wd_durata_indisp;
                        buffer.durata_medie  += rows[i].durata_medie;
                        buffer.t_energ_nelivr += rows[i].t_energ_nelivr;
                        buffer.chelt_ment  += rows[i].chelt_ment;
                        buffer.chelt_daune += rows[i].chelt_daune;
                        buffer.chelt_altele += rows[i].chelt_altele;
                        buffer.t_chelt_totale += rows[i].t_chelt_totale;
                    }
                }

                //afisam doar 50 si 51
                for (int i = 0; i < rows.length; i++) {
                    String codAnsamblu = (rows[i].ansamblu.getId() == -1) ? "" : String.valueOf( (nom = NomAccessDB.getNom( rows[i].ansamblu.getId())) != null ? "" + nom.getCod() : "");
                    if( codAnsamblu == null) codAnsamblu = "";

                    boolean toShow = ("50".equals( codAnsamblu.trim()) || "51".equals( codAnsamblu.trim()));

                    if( !toShow) continue;
            
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(666,14);to=(668,35)]
			out.print("\r\n            <TR isChild=\"false\" >\r\n                <TD align=\"center\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(668,35);to=(668,84)]
			out.print(StringUtils.getEmpty( codAnsamblu, "&nbsp;"));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(668,84);to=(670,20)]
			out.print("</TD>\r\n                <TD>\r\n                    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(670,20);to=(670,50)]
			if( i + 1 < rows.length ){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(670,50);to=(670,185)]
			out.print(" <a href=\"javascript: void(null)\" class=\"link\" title=\"Click pentru a vizualiza Fisele de Incident\" onclick=\"openIncidenteByAnsambluID( ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(670,185);to=(670,214)]
			out.print(rows[i].ansamblu.getId());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(670,214);to=(670,218)]
			out.print(")\"> ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(670,218);to=(670,223)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(670,223);to=(671,20)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(671,20);to=(671,56)]
			out.print(rows[i].ansamblu.getDescriere());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(671,56);to=(672,20)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(672,20);to=(672,50)]
			if( i + 1 < rows.length ){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(672,50);to=(672,56)]
			out.print(" </a> ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(672,56);to=(672,61)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(672,61);to=(674,34)]
			out.print("\r\n                </TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(674,34);to=(674,61)]
			out.print(rows[i].t_nr_incidente);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(674,61);to=(675,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(675,34);to=(675,62)]
			out.print(rows[i].wd_nr_incidente);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(675,62);to=(676,41)]
			out.print("</TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(676,41);to=(676,75)]
			out.print(rows[i].t_durata_incidente/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(676,75);to=(676,77)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(676,77);to=(676,111)]
			out.print(rows[i].t_durata_incidente%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(676,111);to=(677,41)]
			out.print("\'      </TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(677,41);to=(677,76)]
			out.print(rows[i].wd_durata_incidente/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(677,76);to=(677,78)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(677,78);to=(677,113)]
			out.print(rows[i].wd_durata_incidente%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(677,113);to=(678,41)]
			out.print("\'    </TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(678,41);to=(678,72)]
			out.print(rows[i].t_durata_indisp/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(678,72);to=(678,74)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(678,74);to=(678,105)]
			out.print(rows[i].t_durata_indisp%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(678,105);to=(679,41)]
			out.print("\'            </TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(679,41);to=(679,73)]
			out.print(rows[i].wd_durata_indisp/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(679,73);to=(679,75)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(679,75);to=(679,107)]
			out.print(rows[i].wd_durata_indisp%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(679,107);to=(680,41)]
			out.print("\'          </TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(680,41);to=(680,69)]
			out.print(rows[i].durata_medie/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(680,69);to=(680,71)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(680,71);to=(680,99)]
			out.print(rows[i].durata_medie%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(680,99);to=(681,34)]
			out.print("\'                  </TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(681,34);to=(681,61)]
			out.print(rows[i].t_energ_nelivr);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(681,61);to=(682,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(682,34);to=(682,79)]
			out.print(AppConstants.format3(rows[i].chelt_ment));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(682,79);to=(683,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(683,34);to=(683,80)]
			out.print(AppConstants.format3(rows[i].chelt_daune));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(683,80);to=(684,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(684,34);to=(684,81)]
			out.print(AppConstants.format3(rows[i].chelt_altele));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(684,81);to=(685,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(685,34);to=(685,83)]
			out.print(AppConstants.format3(rows[i].t_chelt_totale));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(685,83);to=(687,12)]
			out.print("</TD>\r\n            </TR>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(687,12);to=(687,19)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(687,19);to=(689,12)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(689,59);to=(714,34)]
			out.print("\r\n            <TR style=\"font-weight: bold;\">\r\n                <TD align=\"center\">\r\n\r\n                    <span id=\"plusId\">&nbsp;</span>\r\n                    <script type=\"text/javascript\">\r\n                        var plus = new Plus(\"plusId\", null, function(){\r\n                            var table = $( \"tableAnsamble\");\r\n                            for( var i = 0; i <  table.rows.length; i++){\r\n                                var row = table.rows[ i];\r\n                                var attr = row.getAttribute(\"isChild\");\r\n                                if( attr && attr == \"true\"){\r\n                                    if( this.getStatus() == PlusConstants.STATUS_PLUS){\r\n                                        Element.hide( row);\r\n                                    }else{\r\n                                        Element.show( row);\r\n                                    }\r\n                                }\r\n                            }\r\n                        });\r\n                    </script>\r\n                </TD>\r\n                <TD>\r\n                    Alte instalatii in afara de 50 si 51\r\n                </TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(714,34);to=(714,60)]
			out.print(buffer.t_nr_incidente);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(714,60);to=(715,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(715,34);to=(715,61)]
			out.print(buffer.wd_nr_incidente);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(715,61);to=(716,41)]
			out.print("</TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(716,41);to=(716,74)]
			out.print(buffer.t_durata_incidente/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(716,74);to=(716,76)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(716,76);to=(716,109)]
			out.print(buffer.t_durata_incidente%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(716,109);to=(717,41)]
			out.print("\'      </TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(717,41);to=(717,75)]
			out.print(buffer.wd_durata_incidente/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(717,75);to=(717,77)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(717,77);to=(717,111)]
			out.print(buffer.wd_durata_incidente%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(717,111);to=(718,41)]
			out.print("\'    </TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(718,41);to=(718,71)]
			out.print(buffer.t_durata_indisp/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(718,71);to=(718,73)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(718,73);to=(718,103)]
			out.print(buffer.t_durata_indisp%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(718,103);to=(719,41)]
			out.print("\'            </TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(719,41);to=(719,72)]
			out.print(buffer.wd_durata_indisp/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(719,72);to=(719,74)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(719,74);to=(719,105)]
			out.print(buffer.wd_durata_indisp%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(719,105);to=(720,41)]
			out.print("\'          </TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(720,41);to=(720,68)]
			out.print(buffer.durata_medie/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(720,68);to=(720,70)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(720,70);to=(720,97)]
			out.print(buffer.durata_medie%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(720,97);to=(721,34)]
			out.print("\'                  </TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(721,34);to=(721,60)]
			out.print(buffer.t_energ_nelivr);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(721,60);to=(722,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(722,34);to=(722,78)]
			out.print(AppConstants.format3(buffer.chelt_ment));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(722,78);to=(723,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(723,34);to=(723,79)]
			out.print(AppConstants.format3(buffer.chelt_daune));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(723,79);to=(724,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(724,34);to=(724,80)]
			out.print(AppConstants.format3(buffer.chelt_altele));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(724,80);to=(725,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(725,34);to=(725,82)]
			out.print(AppConstants.format3(buffer.t_chelt_totale));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(725,82);to=(728,12)]
			out.print("</TD>\r\n            </TR>\r\n\r\n            ");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(728,65);to=(729,12)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(729,12);to=(729,57)]
			 for (int i = 0; i < rows.length; i++) { 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(729,57);to=(730,12)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(730,12);to=(730,45)]
			        String classul = ""; 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(730,45);to=(731,12)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(731,12);to=(741,14)]
			        if (i + 1 == rows.length) classul = "class=\"gsapthead\"";

                String codAnsamblu = (rows[i].ansamblu.getId() == -1) ? "" : String.valueOf( (nom = NomAccessDB.getNom( rows[i].ansamblu.getId())) != null ? "" + nom.getCod() : "");
                if( codAnsamblu == null) codAnsamblu = "";


                boolean isTotalRow = "Totale".equals( rows[i].ansamblu.getDescriere());
                boolean isChild = !( "50".equals( codAnsamblu.trim()) || "51".equals( codAnsamblu.trim())) && !isTotalRow;

                if( !( isChild || isTotalRow)) continue;
            
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(741,14);to=(743,16)]
			out.print("\r\n\r\n            <TR ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(743,16);to=(743,28)]
			out.print(classul);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(743,28);to=(743,38)]
			out.print(" isChild=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(743,38);to=(743,50)]
			out.print(isChild);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(743,50);to=(743,52)]
			out.print("\" ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(743,52);to=(743,72)]
			 if(  isChild ){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(743,72);to=(743,108)]
			out.print(" style=\"display: none; color: gray\" ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(743,108);to=(743,115)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(743,115);to=(744,35)]
			out.print(" >\r\n                <TD align=\"center\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(744,35);to=(744,84)]
			out.print(StringUtils.getEmpty( codAnsamblu, "&nbsp;"));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(744,84);to=(746,20)]
			out.print("</TD>\r\n                <TD>\r\n                    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(746,20);to=(746,50)]
			if( i + 1 < rows.length ){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(746,50);to=(746,185)]
			out.print(" <a href=\"javascript: void(null)\" class=\"link\" title=\"Click pentru a vizualiza Fisele de Incident\" onclick=\"openIncidenteByAnsambluID( ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(746,185);to=(746,214)]
			out.print(rows[i].ansamblu.getId());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(746,214);to=(746,218)]
			out.print(")\"> ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(746,218);to=(746,223)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(746,223);to=(747,20)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(747,20);to=(747,56)]
			out.print(rows[i].ansamblu.getDescriere());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(747,56);to=(748,20)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(748,20);to=(748,50)]
			if( i + 1 < rows.length ){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(748,50);to=(748,56)]
			out.print(" </a> ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(748,56);to=(748,61)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(748,61);to=(750,34)]
			out.print("\r\n                </TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(750,34);to=(750,61)]
			out.print(rows[i].t_nr_incidente);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(750,61);to=(751,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(751,34);to=(751,62)]
			out.print(rows[i].wd_nr_incidente);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(751,62);to=(752,41)]
			out.print("</TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(752,41);to=(752,75)]
			out.print(rows[i].t_durata_incidente/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(752,75);to=(752,77)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(752,77);to=(752,111)]
			out.print(rows[i].t_durata_incidente%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(752,111);to=(753,41)]
			out.print("\'      </TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(753,41);to=(753,76)]
			out.print(rows[i].wd_durata_incidente/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(753,76);to=(753,78)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(753,78);to=(753,113)]
			out.print(rows[i].wd_durata_incidente%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(753,113);to=(754,41)]
			out.print("\'    </TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(754,41);to=(754,72)]
			out.print(rows[i].t_durata_indisp/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(754,72);to=(754,74)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(754,74);to=(754,105)]
			out.print(rows[i].t_durata_indisp%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(754,105);to=(755,41)]
			out.print("\'            </TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(755,41);to=(755,73)]
			out.print(rows[i].wd_durata_indisp/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(755,73);to=(755,75)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(755,75);to=(755,107)]
			out.print(rows[i].wd_durata_indisp%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(755,107);to=(756,41)]
			out.print("\'          </TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(756,41);to=(756,69)]
			out.print(rows[i].durata_medie/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(756,69);to=(756,71)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(756,71);to=(756,99)]
			out.print(rows[i].durata_medie%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(756,99);to=(757,34)]
			out.print("\'                  </TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(757,34);to=(757,61)]
			out.print(rows[i].t_energ_nelivr);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(757,61);to=(758,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(758,34);to=(758,79)]
			out.print(AppConstants.format3(rows[i].chelt_ment));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(758,79);to=(759,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(759,34);to=(759,80)]
			out.print(AppConstants.format3(rows[i].chelt_daune));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(759,80);to=(760,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(760,34);to=(760,81)]
			out.print(AppConstants.format3(rows[i].chelt_altele));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(760,81);to=(761,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(761,34);to=(761,83)]
			out.print(AppConstants.format3(rows[i].t_chelt_totale));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(761,83);to=(763,12)]
			out.print("</TD>\r\n            </TR>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(763,12);to=(763,26)]
			        } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(763,26);to=(765,12)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(765,51);to=(767,12)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(767,12);to=(767,66)]
			    }else for (int i = 0; i < rows.length; i++) { 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(767,66);to=(768,12)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(768,12);to=(768,45)]
			        String classul = ""; 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(768,45);to=(769,12)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(769,12);to=(769,83)]
			        if (i + 1 == rows.length) classul = "class=\"gsapthead\""; 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(769,83);to=(770,16)]
			out.print("\r\n            <TR ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(770,16);to=(770,28)]
			out.print(classul);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(770,28);to=(771,35)]
			out.print(">\r\n                <TD align=\"center\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(771,35);to=(771,193)]
			out.print((rows[i].ansamblu.getId() == -1) ? "&nbsp" : String.valueOf( (nom = NomAccessDB.getNom( rows[i].ansamblu.getId())) != null ? "" + nom.getCod() : "&nbsp"));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(771,193);to=(773,20)]
			out.print("</TD>\r\n                <TD>\r\n                    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(773,20);to=(773,50)]
			if( i + 1 < rows.length ){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(773,50);to=(773,185)]
			out.print(" <a href=\"javascript: void(null)\" class=\"link\" title=\"Click pentru a vizualiza Fisele de Incident\" onclick=\"openIncidenteByAnsambluID( ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(773,185);to=(773,214)]
			out.print(rows[i].ansamblu.getId());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(773,214);to=(773,218)]
			out.print(")\"> ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(773,218);to=(773,223)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(773,223);to=(774,20)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(774,20);to=(774,56)]
			out.print(rows[i].ansamblu.getDescriere());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(774,56);to=(775,20)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(775,20);to=(775,50)]
			if( i + 1 < rows.length ){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(775,50);to=(775,56)]
			out.print(" </a> ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(775,56);to=(775,61)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(775,61);to=(777,34)]
			out.print("\r\n                </TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(777,34);to=(777,61)]
			out.print(rows[i].t_nr_incidente);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(777,61);to=(778,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(778,34);to=(778,62)]
			out.print(rows[i].wd_nr_incidente);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(778,62);to=(779,41)]
			out.print("</TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(779,41);to=(779,75)]
			out.print(rows[i].t_durata_incidente/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(779,75);to=(779,77)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(779,77);to=(779,111)]
			out.print(rows[i].t_durata_incidente%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(779,111);to=(780,41)]
			out.print("\'      </TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(780,41);to=(780,76)]
			out.print(rows[i].wd_durata_incidente/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(780,76);to=(780,78)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(780,78);to=(780,113)]
			out.print(rows[i].wd_durata_incidente%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(780,113);to=(781,41)]
			out.print("\'    </TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(781,41);to=(781,72)]
			out.print(rows[i].t_durata_indisp/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(781,72);to=(781,74)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(781,74);to=(781,105)]
			out.print(rows[i].t_durata_indisp%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(781,105);to=(782,41)]
			out.print("\'            </TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(782,41);to=(782,73)]
			out.print(rows[i].wd_durata_indisp/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(782,73);to=(782,75)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(782,75);to=(782,107)]
			out.print(rows[i].wd_durata_indisp%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(782,107);to=(783,41)]
			out.print("\'          </TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(783,41);to=(783,69)]
			out.print(rows[i].durata_medie/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(783,69);to=(783,71)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(783,71);to=(783,99)]
			out.print(rows[i].durata_medie%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(783,99);to=(784,34)]
			out.print("\'                  </TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(784,34);to=(784,61)]
			out.print(rows[i].t_energ_nelivr);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(784,61);to=(785,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(785,34);to=(785,79)]
			out.print(AppConstants.format3(rows[i].chelt_ment));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(785,79);to=(786,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(786,34);to=(786,80)]
			out.print(AppConstants.format3(rows[i].chelt_daune));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(786,80);to=(787,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(787,34);to=(787,81)]
			out.print(AppConstants.format3(rows[i].chelt_altele));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(787,81);to=(788,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(788,34);to=(788,83)]
			out.print(AppConstants.format3(rows[i].t_chelt_totale));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(788,83);to=(790,12)]
			out.print("</TD>\r\n            </TR>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(790,12);to=(790,19)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(790,19);to=(791,12)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(791,12);to=(791,24)]
			} else {
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(791,24);to=(797,12)]
			out.print("\r\n            <TR>\r\n                <TD>\r\n                    Nu exista informatii...\r\n                </TD>\r\n            </TR>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(797,12);to=(797,17)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(797,17);to=(834,12)]
			out.print("\r\n        </TABLE>\r\n    </TD>\r\n</TR>\r\n<TR>\r\n    <TD align=\"center\">\r\n        <BR>\r\n        <span style=\"font-size:16px; font-weight:bold;\" >Situatia incidentelor pe cauze</span>\r\n    </TD>\r\n</TR>\r\n<TR>\r\n    <TD>\r\n        <TABLE border=1 cellPadding=2 cellSpacing=1 width=\"100%\" class=\"gSAPTHEAD\" style=\"BACKGROUND-COLOR: white\">\r\n            <TR>\r\n                <TH class=\"gsapthead\" noWrap rowspan=\"2\" width=\"30\">Cod<BR>grupa</TH>\r\n                <TH class=\"gsapthead\" noWrap rowspan=\"2\" width=\"30\">Cod<BR>cauza</TH>\r\n                <TH class=\"gsapthead\" noWrap rowspan=\"2\" width=\"100\">Cauza</TH>\r\n                <TH class=\"gsapthead\" noWrap colspan=\"2\">Nr.Incidente</TH>\r\n                <TH class=\"gsapthead\" noWrap colspan=\"2\">Durata inc.</TH>\r\n                <TH class=\"gsapthead\" noWrap colspan=\"2\">Durata indisp.</TH>\r\n                <TH class=\"gsapthead\" noWrap rowspan=\"2\">Durata med.</TH>\r\n                <TH class=\"gsapthead\" noWrap>Energie nelivr.</TH>\r\n                <TH class=\"gsapthead\" noWrap colspan=\"4\">Cheltuieli (ron)</TH>\r\n            </TR>\r\n            <TR>\r\n                <TH class=\"gsapthead\" noWrap>Total</TH>\r\n                <TH class=\"gsapthead\" noWrap>Cu det.</TH>\r\n                <TH class=\"gsapthead\" noWrap>Total</TH>\r\n                <TH class=\"gsapthead\" noWrap>Cu det.</TH>\r\n                <TH class=\"gsapthead\" noWrap>Total</TH>\r\n                <TH class=\"gsapthead\" noWrap>Cu det.</TH>\r\n                <TH class=\"gsapthead\" noWrap>(kWh)</TH>\r\n                <TH class=\"gsapthead\" noWrap>Ment.</TH>\r\n                <TH class=\"gsapthead\" noWrap>Daune</TH>\r\n                <TH class=\"gsapthead\" noWrap>Exploatare</TH>\r\n                <TH class=\"gsapthead\" noWrap>Total</TH>\r\n            </TR>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(834,12);to=(838,14)]
			

                String classul = "class=";
                int j = 0;
            
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(838,14);to=(840,12)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(840,12);to=(840,75)]
			 if (((null != rows1) && (null != rows2))) { //  sint date 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(840,75);to=(841,12)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(841,12);to=(841,24)]
			 j = 0; 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(841,24);to=(842,12)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(842,12);to=(843,74)]
			 for (int i = 0; i < rows1.length ; i++) {
                if (i+1 == rows1.length) classul="class=\"gsapthead\""; 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(843,74);to=(844,12)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(844,12);to=(844,29)]
			if (i > 0 ) {
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(844,29);to=(850,12)]
			out.print("\r\n            <tr>\r\n                <td colspan=\"15\">\r\n                    &nbsp;\r\n                </td>\r\n            </tr>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(850,12);to=(850,17)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(850,17);to=(852,16)]
			out.print("\r\n            <TR class=\"gsapthead\">\r\n                ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(852,16);to=(852,199)]
			 String codGrupa = (rows1[i].cauzaGrupa.getId() == -1) ? "&nbsp" : String.valueOf( (nom = NomAccessDB.getNom( rows1[i].cauzaGrupa.getId())) != null ? "" + nom.getCod() : "&nbsp");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(852,199);to=(853,35)]
			out.print("\r\n                <TD align=\"center\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(853,35);to=(853,48)]
			out.print(codGrupa);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(853,48);to=(856,20)]
			out.print("</TD>\r\n                <TD align=\"center\">&nbsp;</TD>\r\n                <TD>\r\n                    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(856,20);to=(856,49)]
			if( i+1 < rows1.length ){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(856,49);to=(856,128)]
			out.print("<a class=\"link\" href=\"javascript: void(null)\" onclick=\"openIncidenteByCauzaID( ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(856,128);to=(856,160)]
			out.print(rows1[i].cauzaGrupa.getId());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(856,160);to=(856,164)]
			out.print(")\" >");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(856,164);to=(856,169)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(856,169);to=(857,20)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(857,20);to=(857,59)]
			out.print(rows1[i].cauzaGrupa.getDescriere());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(857,59);to=(858,20)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(858,20);to=(858,49)]
			if( i+1 < rows1.length ){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(858,49);to=(858,53)]
			out.print("</a>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(858,53);to=(858,58)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(858,58);to=(860,34)]
			out.print("\r\n                </TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(860,34);to=(860,62)]
			out.print(rows1[i].t_nr_incidente);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(860,62);to=(861,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(861,34);to=(861,63)]
			out.print(rows1[i].wd_nr_incidente);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(861,63);to=(862,41)]
			out.print("</TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(862,41);to=(862,76)]
			out.print(rows1[i].t_durata_incidente/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(862,76);to=(862,78)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(862,78);to=(862,113)]
			out.print(rows1[i].t_durata_incidente%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(862,113);to=(863,41)]
			out.print("\'   </TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(863,41);to=(863,77)]
			out.print(rows1[i].wd_durata_incidente/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(863,77);to=(863,79)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(863,79);to=(863,115)]
			out.print(rows1[i].wd_durata_incidente%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(863,115);to=(864,41)]
			out.print("\' </TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(864,41);to=(864,73)]
			out.print(rows1[i].t_durata_indisp/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(864,73);to=(864,75)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(864,75);to=(864,107)]
			out.print(rows1[i].t_durata_indisp%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(864,107);to=(865,41)]
			out.print("\'         </TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(865,41);to=(865,74)]
			out.print(rows1[i].wd_durata_indisp/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(865,74);to=(865,76)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(865,76);to=(865,109)]
			out.print(rows1[i].wd_durata_indisp%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(865,109);to=(866,41)]
			out.print("\'       </TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(866,41);to=(866,70)]
			out.print(rows1[i].durata_medie/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(866,70);to=(866,72)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(866,72);to=(866,101)]
			out.print(rows1[i].durata_medie%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(866,101);to=(867,34)]
			out.print("\'                </TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(867,34);to=(867,62)]
			out.print(rows1[i].t_energ_nelivr);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(867,62);to=(868,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(868,34);to=(868,80)]
			out.print(AppConstants.format3(rows1[i].chelt_ment));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(868,80);to=(869,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(869,34);to=(869,81)]
			out.print(AppConstants.format3(rows1[i].chelt_daune));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(869,81);to=(870,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(870,34);to=(870,82)]
			out.print(AppConstants.format3(rows1[i].chelt_altele));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(870,82);to=(871,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(871,34);to=(871,84)]
			out.print(AppConstants.format3(rows1[i].t_chelt_totale));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(871,84);to=(873,12)]
			out.print("</TD>\r\n            </TR>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(873,12);to=(873,116)]
			 for (; (j < rows2.length) && (rows2[j].cauzaGrupa.getId() == rows1[i].cauzaGrupa.getId()) ; j++) { 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(873,116);to=(874,16)]
			out.print("\r\n            <TR ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(874,16);to=(874,28)]
			out.print(classul);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(874,28);to=(876,35)]
			out.print(">\r\n                <TD align=\"center\">&nbsp;</TD>\r\n                <TD align=\"center\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(876,35);to=(876,190)]
			out.print((rows2[j].cauza.getId() == -1) ? "&nbsp" :  String.valueOf( (nom = NomAccessDB.getNom( rows2[j].cauza.getId())) != null ? "" + nom.getCod() : "&nbsp"));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(876,190);to=(878,99)]
			out.print("</TD>\r\n                <TD>\r\n                    <a class=\"link\" href=\"javascript: void(null)\" onclick=\"openIncidenteByCauzaID( ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(878,99);to=(878,131)]
			out.print(rows1[i].cauzaGrupa.getId());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(878,131);to=(878,133)]
			out.print(", ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(878,133);to=(878,160)]
			out.print(rows2[j].cauza.getId());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(878,160);to=(879,24)]
			out.print(")\" >\r\n                        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(879,24);to=(879,58)]
			out.print(rows2[j].cauza.getDescriere());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(879,58);to=(882,34)]
			out.print("\r\n                    </a>\r\n                </TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(882,34);to=(882,62)]
			out.print(rows2[j].t_nr_incidente);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(882,62);to=(883,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(883,34);to=(883,63)]
			out.print(rows2[j].wd_nr_incidente);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(883,63);to=(884,41)]
			out.print("</TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(884,41);to=(884,76)]
			out.print(rows2[j].t_durata_incidente/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(884,76);to=(884,78)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(884,78);to=(884,113)]
			out.print(rows2[j].t_durata_incidente%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(884,113);to=(885,41)]
			out.print("\'</TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(885,41);to=(885,77)]
			out.print(rows2[j].wd_durata_incidente/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(885,77);to=(885,79)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(885,79);to=(885,115)]
			out.print(rows2[j].wd_durata_incidente%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(885,115);to=(886,41)]
			out.print("\'</TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(886,41);to=(886,73)]
			out.print(rows2[j].t_durata_indisp/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(886,73);to=(886,75)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(886,75);to=(886,107)]
			out.print(rows2[j].t_durata_indisp%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(886,107);to=(887,41)]
			out.print("\'</TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(887,41);to=(887,74)]
			out.print(rows2[j].wd_durata_indisp/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(887,74);to=(887,76)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(887,76);to=(887,109)]
			out.print(rows2[j].wd_durata_indisp%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(887,109);to=(888,41)]
			out.print("\'</TD>\r\n                <TD align=\"right\" nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(888,41);to=(888,70)]
			out.print(rows2[j].durata_medie/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(888,70);to=(888,72)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(888,72);to=(888,101)]
			out.print(rows2[j].durata_medie%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(888,101);to=(889,34)]
			out.print("\'</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(889,34);to=(889,62)]
			out.print(rows2[j].t_energ_nelivr);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(889,62);to=(890,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(890,34);to=(890,80)]
			out.print(AppConstants.format3(rows2[j].chelt_ment));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(890,80);to=(891,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(891,34);to=(891,81)]
			out.print(AppConstants.format3(rows2[j].chelt_daune));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(891,81);to=(892,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(892,34);to=(892,82)]
			out.print(AppConstants.format3(rows2[j].chelt_altele));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(892,82);to=(893,34)]
			out.print("</TD>\r\n                <TD align=\"right\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(893,34);to=(893,84)]
			out.print(AppConstants.format3(rows2[j].t_chelt_totale));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(893,84);to=(895,12)]
			out.print("</TD>\r\n            </TR>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(895,12);to=(895,32)]
			 } // for cauze 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(895,32);to=(896,12)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(896,12);to=(896,38)]
			 } // for grupe cauze 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(896,38);to=(897,12)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(897,12);to=(897,26)]
			 } else { 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(897,26);to=(903,12)]
			out.print("\r\n            <TR>\r\n                <TD>\r\n                    Nu exista informatii...\r\n                </TD>\r\n            </TR>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(903,12);to=(903,19)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(903,19);to=(915,30)]
			out.print("\r\n        </table>\r\n\r\n</TD>\r\n</TR>\r\n</table>\r\n\r\n\r\n\r\n<script type=\"text/javascript\">\r\n    var incidenteWindow = null;\r\n    function openIncidenteByAnsambluID( idAnsamblu){\r\n        openIncidenteWindow( \'");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(915,30);to=(915,56)]
			out.print(AppConstants.APP_NAME);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(915,56);to=(919,30)]
			out.print("?action=showIncidenteFromRaport&idAnsamblu=\'+idAnsamblu);\r\n    }\r\n\r\n    function openIncidenteByCauzaID( idCauzaGrupa, idCauza){\r\n        openIncidenteWindow( \'");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(919,30);to=(919,56)]
			out.print(AppConstants.APP_NAME);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(919,56);to=(928,27)]
			out.print("?action=showIncidenteFromRaport&idCauzaGrupa=\'+idCauzaGrupa+\'&idCauza=\'+idCauza);\r\n    }\r\n\r\n    function openIncidenteWindow( url){\r\n        if( incidenteWindow != null) incidenteWindow.close();\r\n        incidenteWindow = window.open( url,\'incidenteRaport\', \'top=50,left=50,width=850, height=550, status=yes,resizable=yes,dependent=yes,alwaysRaised=yes, scrollbars=yes\');\r\n    }\r\n\r\n    function categoriesChecked(){\r\n        window.location = \"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(928,27);to=(928,53)]
			out.print(AppConstants.APP_NAME);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(928,53);to=(932,27)]
			out.print("?action=raport-incidente\";\r\n    }\r\n\r\n    function reloadPage(){\r\n        window.location = \"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(932,27);to=(932,53)]
			out.print(AppConstants.APP_NAME);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(932,53);to=(935,4)]
			out.print("?action=raport-incidente\";\r\n    }\r\n\r\n    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(935,4);to=(935,35)]
			 if ( publicPath != null){ 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(935,35);to=(938,31)]
			out.print("\r\n\r\n        setTimeout(function(){\r\n            window.location = \'");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(938,31);to=(938,46)]
			out.print(publicPath);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(938,46);to=(941,4)]
			out.print("\';\r\n        }, 500);\r\n\r\n    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(941,4);to=(941,11)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-incidente.jsp";from=(941,11);to=(942,9)]
			out.print("\r\n</script>");
// 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);
		}
	}

}
