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

import ro.emid.common.constants.AppConstants;
import ro.emid.common.db.RaportByCauzeRow;
import ro.emid.common.db.IncidentAccessDB;
import ro.emid.common.db.NomAccessDB;
import ro.emid.common.types.Nomenclator;
import ro.emid.common.types.Category;
import java.util.Date;
import java.util.Base64;
import java.text.SimpleDateFormat;
import ro.emid.common.utils.ObjectUtils;
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 javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public class JEE_jsp_WEB_2d_INF_pagelet_rapoarte_showIncidenteFromRaportTop10PeCauze_1559087871413 extends com.sap.engine.services.servlets_jsp.lib.jspruntime.JspBase{

	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/showIncidenteFromRaportTop10PeCauze.jsp";from=(1,58);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/showIncidenteFromRaportTop10PeCauze.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/showIncidenteFromRaportTop10PeCauze.jsp";from=(3,55);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/showIncidenteFromRaportTop10PeCauze.jsp";from=(4,50);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/showIncidenteFromRaportTop10PeCauze.jsp";from=(5,53);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/showIncidenteFromRaportTop10PeCauze.jsp";from=(6,50);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/showIncidenteFromRaportTop10PeCauze.jsp";from=(7,35);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/showIncidenteFromRaportTop10PeCauze.jsp";from=(8,37);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/showIncidenteFromRaportTop10PeCauze.jsp";from=(9,47);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/showIncidenteFromRaportTop10PeCauze.jsp";from=(10,53);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/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/showIncidenteFromRaportTop10PeCauze.jsp";from=(12,48);to=(14,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showIncidenteFromRaportTop10PeCauze.jsp";from=(14,0);to=(97,2)]
			
    final int tipInstalatie = ObjectUtils.getIntValue( request.getParameter("tipInstalatie"), -1);
    final String codInstalatie = ObjectUtils.getStringValue( request.getParameter("codInstalatie"));

    Category filialaRaport = (Category) session.getAttribute("raportTop10.filiala");
    Category sucursalaRaport = (Category) session.getAttribute("raportTop10.sucursala");
    Category centruRaport = (Category) session.getAttribute("raportTop10.centru");

    Date dataStart = (Date) session.getAttribute( "raportTop10.dataStart");
    Date dataStop  = (Date) session.getAttribute( "raportTop10.dataStop");


    StringBuffer sessionCond = (StringBuffer)session.getAttribute( "raportTop10InstalatiiFilter");
	if(sessionCond == null) {
		
		byte[] arr = Base64.getDecoder().decode(request.getParameter("sessionCond"));
		String decoded = new String(arr);
		sessionCond = new StringBuffer(decoded);
		
		Long sucursalaId = Long.parseLong(request.getParameter("sucursala"));
		Long centruId = Long.parseLong(request.getParameter("centru"));
		
		filialaRaport = new Category();
		filialaRaport.setId(1L);
		
		sucursalaRaport = new Category();
		centruRaport = new Category();
		
		sucursalaRaport.setId(sucursalaId);
		centruRaport.setId(centruId);
		
		dataStart = new SimpleDateFormat("M/dd/yyyy").parse(request.getParameter("dataStart"));
		dataStop = new SimpleDateFormat("M/dd/yyyy").parse(request.getParameter("dataStop"));
	}
	
	session.setAttribute("filiala", filialaRaport);
    session.setAttribute("sucursala", sucursalaRaport);
    session.setAttribute("centru", centruRaport);
	
//    StringBuffer condSql = (StringBuffer)session.getAttribute( "raportTop10InstalatiiFilter");
    final StringBuffer condSql = new StringBuffer( sessionCond.toString());

     switch ( tipInstalatie){
        case 1: condSql.append(" AND STATIE_COD = ").append('\'').append(codInstalatie).append('\'').append(
                " AND isSelected( i.LINIE_ID) = 0 " ).append(
                        " AND isSelected( i.DERIVATIE_ID) = 0" ).append(
                        " AND isSelected( i.BARA_ID) = 0" ).append(
                        " AND isSelected( i.BOBINA_ID) = 0" ).append(
                        " AND isSelected( i.CELULA_ID) = 0" ).append(
                        " AND isSelected( i.TRAFO_ID) = 0" ).append(
                        " AND isSelected( i.PAPT_ID) = 0 "
        ); break;
        case 2: condSql.append(" AND i.LINIE_COD = ").append('\'').append(codInstalatie).append('\'').append(" AND isSelected( i.DERIVATIE_ID) = 0"); break;
        case 3: condSql.append(" AND PAPT_COD = ").append('\'').append(codInstalatie).append('\''); break;
        case 4: condSql.append(" AND BOBINA_COD = ").append('\'').append(codInstalatie).append('\''); break;
        case 5: condSql.append(" AND CELULA_COD = ").append('\'').append(codInstalatie).append('\''); break;
        case 6: condSql.append(" AND BARA_COD = ").append('\'').append(codInstalatie).append('\''); break;
        case 7: condSql.append(" AND DERIVATIE_COD = ").append('\'').append(codInstalatie).append('\''); break;
        case 8: condSql.append(" AND TRAFO_COD = ").append('\'').append(codInstalatie).append('\''); break;
        default:
            //nothing
            break;
    }

//    session.setAttribute("rapoarteIncidenteFiltru.append_to", condSql.toString());
    session.setAttribute("rapoarteIncidenteFiltru.data_start", new Long( dataStart != null ? dataStart.getTime() : 0));
    session.setAttribute("rapoarteIncidenteFiltru.data_stop", new Long( dataStop != null ? dataStop.getTime() : 0));


    final RaportByCauzeRow[] rows1;
    final RaportByCauzeRow[] rows2;
    if (sucursalaRaport.getId() != -1) {
        rows2 = IncidentAccessDB.get_raport_by_cauze_by_sucursala(sucursalaRaport.getId(), dataStart != null ? dataStart.getTime() : 0, dataStop != null ? dataStop.getTime() : 0, condSql.toString());
        rows1 = IncidentAccessDB.get_raport_by_grupe_cauze_by_sucursala(sucursalaRaport.getId(), dataStart != null ? dataStart.getTime() : 0, dataStop != null ? dataStop.getTime() : 0, condSql.toString());
    } else {
        rows2 = IncidentAccessDB.get_raport_by_cauze_by_filiala(filialaRaport.getId(), dataStart != null ? dataStart.getTime() : 0, dataStop != null ? dataStop.getTime() : 0, condSql.toString());
        rows1 = IncidentAccessDB.get_raport_by_grupe_cauze_by_filiala(filialaRaport.getId(), dataStart != null ? dataStart.getTime() : 0, dataStop != null ? dataStop.getTime() : 0, condSql.toString());
    }
    
    String classul = "class=";
    int j = 0;

    Nomenclator nom = 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/showIncidenteFromRaportTop10PeCauze.jsp";from=(97,2);to=(128,4)]
			out.print("\r\n\r\n<div style=\"margin: 10px\">\r\n\r\n    <h3>Situatia incidentelor pe cauze</h3>\r\n\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/showIncidenteFromRaportTop10PeCauze.jsp";from=(128,4);to=(128,67)]
			 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/showIncidenteFromRaportTop10PeCauze.jsp";from=(128,67);to=(129,4)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showIncidenteFromRaportTop10PeCauze.jsp";from=(129,4);to=(129,16)]
			 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/showIncidenteFromRaportTop10PeCauze.jsp";from=(129,16);to=(130,4)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showIncidenteFromRaportTop10PeCauze.jsp";from=(130,4);to=(131,66)]
			 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/showIncidenteFromRaportTop10PeCauze.jsp";from=(131,66);to=(132,4)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showIncidenteFromRaportTop10PeCauze.jsp";from=(132,4);to=(132,21)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(132,21);to=(138,4)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(138,4);to=(138,9)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showIncidenteFromRaportTop10PeCauze.jsp";from=(138,9);to=(140,8)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(140,8);to=(140,208)]
			 final String codGrupa = (rows1[i].cauzaGrupa.getId() == -1) ? "&nbsp" : String.valueOf( (nom = NomAccessDB.getNom( rows1[i].cauzaGrupa.getId())) != null ? String.valueOf(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/showIncidenteFromRaportTop10PeCauze.jsp";from=(140,208);to=(141,27)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(141,27);to=(141,40)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(141,40);to=(144,12)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(144,12);to=(144,41)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(144,41);to=(144,121)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(144,121);to=(144,153)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(144,153);to=(144,158)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(144,158);to=(144,163)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showIncidenteFromRaportTop10PeCauze.jsp";from=(144,163);to=(145,12)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showIncidenteFromRaportTop10PeCauze.jsp";from=(145,12);to=(145,51)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(145,51);to=(146,12)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showIncidenteFromRaportTop10PeCauze.jsp";from=(146,12);to=(146,41)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(146,41);to=(146,45)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(146,45);to=(146,50)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showIncidenteFromRaportTop10PeCauze.jsp";from=(146,50);to=(148,26)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(148,26);to=(148,54)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(148,54);to=(149,26)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(149,26);to=(149,55)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(149,55);to=(150,33)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(150,33);to=(150,68)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(150,68);to=(150,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/showIncidenteFromRaportTop10PeCauze.jsp";from=(150,70);to=(150,105)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(150,105);to=(151,33)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(151,33);to=(151,69)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(151,69);to=(151,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/showIncidenteFromRaportTop10PeCauze.jsp";from=(151,71);to=(151,107)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(151,107);to=(152,33)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(152,33);to=(152,65)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(152,65);to=(152,67)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(152,67);to=(152,99)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(152,99);to=(153,33)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(153,33);to=(153,66)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(153,66);to=(153,68)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(153,68);to=(153,101)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(153,101);to=(154,33)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(154,33);to=(154,62)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(154,62);to=(154,64)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(154,64);to=(154,93)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(154,93);to=(155,26)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(155,26);to=(155,54)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(155,54);to=(156,26)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(156,26);to=(156,72)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(156,72);to=(157,26)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(157,26);to=(157,73)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(157,73);to=(158,26)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(158,26);to=(158,74)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(158,74);to=(159,26)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(159,26);to=(159,76)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(159,76);to=(161,4)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(161,4);to=(161,108)]
			 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/showIncidenteFromRaportTop10PeCauze.jsp";from=(161,108);to=(162,8)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(162,8);to=(162,20)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(162,20);to=(164,27)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(164,27);to=(164,193)]
			out.print((rows2[j].cauza.getId() == -1) ? "&nbsp" :  String.valueOf( (nom = NomAccessDB.getNom( rows2[j].cauza.getId())) != null ? String.valueOf(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/showIncidenteFromRaportTop10PeCauze.jsp";from=(164,193);to=(166,92)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(166,92);to=(166,124)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(166,124);to=(166,128)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(166,128);to=(166,155)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(166,155);to=(167,16)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(167,16);to=(167,50)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(167,50);to=(170,26)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(170,26);to=(170,54)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(170,54);to=(171,26)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(171,26);to=(171,55)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(171,55);to=(172,33)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(172,33);to=(172,68)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(172,68);to=(172,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/showIncidenteFromRaportTop10PeCauze.jsp";from=(172,70);to=(172,105)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(172,105);to=(173,33)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(173,33);to=(173,69)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(173,69);to=(173,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/showIncidenteFromRaportTop10PeCauze.jsp";from=(173,71);to=(173,107)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(173,107);to=(174,33)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(174,33);to=(174,65)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(174,65);to=(174,67)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(174,67);to=(174,99)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(174,99);to=(175,33)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(175,33);to=(175,66)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(175,66);to=(175,68)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(175,68);to=(175,101)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(175,101);to=(176,33)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(176,33);to=(176,62)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(176,62);to=(176,64)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(176,64);to=(176,93)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(176,93);to=(177,26)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(177,26);to=(177,54)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(177,54);to=(178,26)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(178,26);to=(178,72)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(178,72);to=(179,26)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(179,26);to=(179,73)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(179,73);to=(180,26)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(180,26);to=(180,74)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(180,74);to=(181,26)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(181,26);to=(181,76)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(181,76);to=(183,4)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(183,4);to=(183,24)]
			 } // 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/showIncidenteFromRaportTop10PeCauze.jsp";from=(183,24);to=(184,4)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showIncidenteFromRaportTop10PeCauze.jsp";from=(184,4);to=(184,30)]
			 } // 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/showIncidenteFromRaportTop10PeCauze.jsp";from=(184,30);to=(185,4)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showIncidenteFromRaportTop10PeCauze.jsp";from=(185,4);to=(185,18)]
			 } 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/showIncidenteFromRaportTop10PeCauze.jsp";from=(185,18);to=(191,4)]
			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/showIncidenteFromRaportTop10PeCauze.jsp";from=(191,4);to=(191,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/showIncidenteFromRaportTop10PeCauze.jsp";from=(191,11);to=(203,30)]
			out.print("\r\n</table>\r\n\r\n</div>\r\n<br>\r\n<br>\r\n\r\n\r\n<script type=\"text/javascript\">\r\n    var incidenteWindow = null;\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/showIncidenteFromRaportTop10PeCauze.jsp";from=(203,30);to=(203,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/showIncidenteFromRaportTop10PeCauze.jsp";from=(203,56);to=(203,160)]
			out.print("?action=showIncidenteFromRaport&idCauzaGrupa=\'+idCauzaGrupa+\'&idCauza=\'+idCauza + \"&_cond=\"+encodeURI( \"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showIncidenteFromRaportTop10PeCauze.jsp";from=(203,160);to=(203,183)]
			out.print(condSql.toString());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showIncidenteFromRaportTop10PeCauze.jsp";from=(203,183);to=(212,0)]
			out.print("\"));\r\n    }\r\n\r\n    function openIncidenteWindow( url){\r\n        if( incidenteWindow != null) incidenteWindow.close();\r\n        incidenteWindow = window.open( url,\'incidenteRaportTop10\', \'top=50,left=50,width=850, height=550, status=yes,resizable=yes,dependent=yes,alwaysRaised=yes, scrollbars=yes\');\r\n    }\r\n</script>\r\n\r\n");
// 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);
		}
	}

}
