/* 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.helpers.LogLog;
import ro.emid.common.constants.SessionConstants;
import ro.emid.common.db.EchipamentAccessDB;
import ro.emid.common.db.NomAccessDB;
import ro.emid.common.db.framework.DatabaseException;
import ro.emid.common.types.*;
import ro.emid.common.utils.StringUtils;
import ro.emid.common.utils.UserUtils;
import ro.emid.incidente.action.DeleteEchipamentAction;
import ro.emid.incidente.action.EditEchipamentAction;
import ro.emid.incidente.obj.FiltruIncidenteConstants;
import java.util.List;
import ro.emid.common.utils.ObjectUtils;
import ro.emid.Application;
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_incidente_showEchipamente_1561485751795 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/incidente/showEchipamente.jsp";from=(1,52);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/showEchipamente.jsp";from=(2,62);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/showEchipamente.jsp";from=(3,57);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/showEchipamente.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/incidente/showEchipamente.jsp";from=(5,66);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/showEchipamente.jsp";from=(6,43);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/incidente/showEchipamente.jsp";from=(7,53);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/incidente/showEchipamente.jsp";from=(8,51);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/incidente/showEchipamente.jsp";from=(9,68);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/incidente/showEchipamente.jsp";from=(10,66);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/incidente/showEchipamente.jsp";from=(11,67);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/showEchipamente.jsp";from=(12,35);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/incidente/showEchipamente.jsp";from=(13,53);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/incidente/showEchipamente.jsp";from=(14,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/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/incidente/showEchipamente.jsp";from=(16,34);to=(18,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(18,0);to=(75,2)]
			
    String sortColumn = ObjectUtils.getStringValue(request.getParameter("sortColumn"));
    if( sortColumn == null || sortColumn.length() == 0) sortColumn = "DATA_DETERIORARE";
    String sortType   = ObjectUtils.getStringValue(request.getParameter("sortType"));
    if( sortType == null || sortType.length() == 0) sortType = "DESC";


    String localizareCondition = "";
    if (user.getIeLevel() == RoleConstants.NIVEL_FORMATIE) {
        localizareCondition = " AND FORMATIA_DE_LUCRU_ID = " + formatiaDeLucru.getId();
    } else {
        localizareCondition = " AND SECTIE_ID = " + centruExploatare.getId();
    }

    final StringBuffer condSql = new StringBuffer( localizareCondition);
    //for pagination{
    if (!"echipamente".equals(IncidenteSessionUtils.getPaginationJsp(session))) {
        IncidenteSessionUtils.resetPaginationData(session, "echipamente");
    }

    final FiltruIncidente filtru = IncidenteSessionUtils.getFiltruEchipamente(session);

    if (filtru != null && (filtru.getNumarIncident() > 0 || filtru.getNumarEchipament() > 0 || filtru.getAnul() > 0 || filtru.hasCriteriiSelectate())) {
        filtru.buildFilterSql(condSql, SessionConstants.FILTER_TYPE_ECHIPAMENTE);
    }


    long nrLines = ObjectUtils.getLongValue(request.getParameter("nrLines"), -1);
    if (nrLines == -1) nrLines = IncidenteSessionUtils.getNrLines(session);

    long currentBeginIndex = ObjectUtils.getLongValue(request.getParameter("currentBeginIndex"), -1);
    if (currentBeginIndex == -1) currentBeginIndex = IncidenteSessionUtils.getBeginIndex(session);

    final long nrLinesTotal = EchipamentAccessDB.getEchipamenteCount(condSql.toString());
    final String direction = ObjectUtils.getStringValue(request.getParameter("direction"));
    if ("backward".equals(direction)) {
        currentBeginIndex -= nrLines;
    } else if ("forward".equals(direction)) {
        currentBeginIndex += nrLines;
    } else if( "first".equals( direction)){
        currentBeginIndex = 1;
    } else if( "last".equals( direction)){
        currentBeginIndex =  nrLines * nrLinesTotal/nrLines + 1;
    }


    if (currentBeginIndex > nrLinesTotal && nrLinesTotal > 1)
        currentBeginIndex -= nrLines; //cazul cind se sterge ultimul element de pe ultima pagina si este singurul pe pagina
    if (currentBeginIndex < 1) currentBeginIndex = 1;

    IncidenteSessionUtils.setNrLines(session, nrLines);
    IncidenteSessionUtils.setBeginIndex(session, currentBeginIndex);
    //}for pagination


    final Echipament[] echipamente = EchipamentAccessDB.getAllEchipamente(condSql.toString(), sortColumn, sortType, currentBeginIndex, currentBeginIndex + nrLines - 1);
    final int nrLinesSelected = echipamente.length;

// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(75,2);to=(80,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/incidente/showEchipamente.jsp";from=(80,57);to=(84,45)]
			out.print(" <span class=\"slash\">/</span> Echipamente\r\n        </td>\r\n        <td align=\"RIGHT\" style=\"padding-right: 10px\">\r\n            <span style=\"font-size: 12px;\">Mergi la:</span>\r\n            <A title=\"Lista incidente\" href=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(84,45);to=(84,71)]
			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/incidente/showEchipamente.jsp";from=(84,71);to=(92,0)]
			out.print("?action=showIncidente\" class=\"link\">Incidente</A>&nbsp;\r\n            <b>Echipamente</b>&nbsp;\r\n\r\n            <A onclick=\"showFiltruEchipamente(); return false;\" title=\"Click pentru a configura filtru Echipamente\" href=\"javascript: void(null)\" class=\"link\">Filtru</A>&nbsp;\r\n        </td>\r\n    </tr>\r\n</table>\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/layout/messages.jspf";from=(1,0);to=(10,2)]
			
    String[] MESG_ERR = null;
    String[] MESG_INFO = null;

    if (request.getAttribute(ro.emid.common.constants.WebConstants.MESG_ERR) != null) {
        MESG_ERR = (String[]) request.getAttribute(ro.emid.common.constants.WebConstants.MESG_ERR);
    } else if (request.getAttribute(ro.emid.common.constants.WebConstants.MESG_INFO) != null) {
        MESG_INFO = (String[]) request.getAttribute(ro.emid.common.constants.WebConstants.MESG_INFO);
    }

// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/layout/messages.jspf";from=(10,2);to=(11,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/layout/messages.jspf";from=(11,0);to=(11,52)]
			 if (MESG_ERR != null && MESG_ERR.length > 0)  {
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/layout/messages.jspf";from=(11,52);to=(15,10)]
			out.print("\r\n    <fieldset style=\"width:95%; margin:10px\">\r\n        <legend style=\"font-weight: bold; color: red\">Mesaj eroare</legend>\r\n        <table align=\"left\">\r\n          ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/layout/messages.jspf";from=(15,10);to=(15,59)]
			 for (int i = 0; i < MESG_ERR.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/layout/messages.jspf";from=(15,59);to=(16,22)]
			out.print("\r\n              <tr><td>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/layout/messages.jspf";from=(16,22);to=(16,90)]
			out.print(ro.emid.common.constants.AppConstants.formatSimple(MESG_ERR[i]));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/layout/messages.jspf";from=(16,90);to=(17,10)]
			out.print("</td></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/layout/messages.jspf";from=(17,10);to=(17,15)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/layout/messages.jspf";from=(17,15);to=(20,0)]
			out.print("\r\n        </table>\r\n    </fieldset>\r\n");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/layout/messages.jspf";from=(20,0);to=(21,3)]
			 request.removeAttribute(ro.emid.common.constants.WebConstants.MESG_ERR);
}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/layout/messages.jspf";from=(21,3);to=(22,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/layout/messages.jspf";from=(22,0);to=(22,54)]
			 if (MESG_INFO != null && MESG_INFO.length > 0)  {
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/layout/messages.jspf";from=(22,54);to=(26,10)]
			out.print("\r\n    <fieldset style=\"width:95%; margin:10px\">\r\n        <legend style=\"font-weight: bold; color: green\">Mesaj informare:</legend>\r\n        <table align=\"left\">\r\n          ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/layout/messages.jspf";from=(26,10);to=(26,60)]
			 for (int i = 0; i < MESG_INFO.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/layout/messages.jspf";from=(26,60);to=(27,24)]
			out.print("\r\n                <tr><td>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/layout/messages.jspf";from=(27,24);to=(27,93)]
			out.print(ro.emid.common.constants.AppConstants.formatSimple(MESG_INFO[i]));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/layout/messages.jspf";from=(27,93);to=(28,10)]
			out.print("</td></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/layout/messages.jspf";from=(28,10);to=(28,15)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/layout/messages.jspf";from=(28,15);to=(31,0)]
			out.print("\r\n        </table>\r\n    </fieldset>\r\n");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/layout/messages.jspf";from=(31,0);to=(31,81)]
			  request.removeAttribute(ro.emid.common.constants.WebConstants.MESG_INFO); }
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(92,44);to=(96,8)]
			out.print("\r\n\r\n<table width=\"100%\" border=0>\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/incidente/showEchipamente.jsp";from=(96,8);to=(96,67)]
			  if( filtru != null && filtru.hasCriteriiSelectate()){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(96,67);to=(101,24)]
			out.print("\r\n            <table width=\"100%\" cellspacing=\"0\" class=\"gsaptd\" border=0>\r\n                <tr valign=\"top\">\r\n                    <td width=\"10\"><b>Filtru:</b></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/incidente/showEchipamente.jsp";from=(101,24);to=(101,53)]
			 boolean newLine = false;
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(101,53);to=(102,24)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(102,24);to=(102,79)]
			if( filtru.getDataStart() != null){ newLine = true;
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(102,79);to=(103,43)]
			out.print("\r\n                            De la data: <b>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(103,43);to=(103,90)]
			out.print(AppConstants.format(filtru.getDataStart()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(103,90);to=(104,24)]
			out.print("</b>\r\n                        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(104,24);to=(104,29)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(104,29);to=(105,24)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(105,24);to=(105,78)]
			if( filtru.getDataStop() != null){ newLine = true;
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(105,78);to=(106,45)]
			out.print("\r\n                            pana la data: <b>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(106,45);to=(106,91)]
			out.print(AppConstants.format(filtru.getDataStop()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(106,91);to=(107,24)]
			out.print("</b>\r\n                        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(107,24);to=(107,29)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(107,29);to=(109,24)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(109,24);to=(109,41)]
			if(newLine){ 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(109,41);to=(109,45)]
			out.print("<br>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(109,45);to=(109,50)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(109,50);to=(110,24)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(110,24);to=(113,118)]
			
                            final List criterii = filtru.getCriteriiFiltru();
                            for (int i = 0; i < criterii.size(); i++) {
                                final CriteriuFiltruIncidente criteriu = (CriteriuFiltruIncidente) criterii.get(i); 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(113,118);to=(114,32)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(114,32);to=(114,55)]
			out.print(criteriu.getText());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(114,55);to=(115,32)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(115,32);to=(115,66)]
			if( i < criterii.size() - 1 ){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(115,66);to=(115,70)]
			out.print("<br>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(115,70);to=(115,75)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(115,75);to=(116,24)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(116,24);to=(116,29)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(116,29);to=(119,84)]
			out.print("\r\n                    </td>\r\n                    <td align=\"right\" width=\"80\" nowrap>\r\n                        <a title=\"Click pentru a reseta filtrul\" 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/incidente/showEchipamente.jsp";from=(119,84);to=(119,110)]
			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/incidente/showEchipamente.jsp";from=(119,110);to=(124,67)]
			out.print("?action=resetFiltruEchipamente\">Reset Filtru</a>\r\n                    </td>\r\n                </tr>\r\n            </table>\r\n            <div class=\"spacer\"></div>\r\n            <div class=\"sqlNumarConsumatori\" style=\"display: none\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(124,67);to=(124,79)]
			out.print(condSql);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(124,79);to=(125,8)]
			out.print("</div>\r\n        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(125,8);to=(125,13)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(125,13);to=(127,44)]
			out.print("\r\n        <div id=\"divFiltru\">\r\n            <form name=\"searchForm\" action=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(127,44);to=(127,70)]
			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/incidente/showEchipamente.jsp";from=(127,70);to=(128,63)]
			out.print("?action=cautaEchipament\" method=\"post\"  >\r\n                Num\u0103r F.I.: <input class=\"gsapinputtext\" name=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(128,63);to=(128,107)]
			out.print(FiltruIncidenteConstants.NUMAR_INCIDENT);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(128,107);to=(128,128)]
			out.print("\" type=\"text\" value=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(128,128);to=(128,231)]
			out.print((filtru != null && filtru.getNumarIncident() > 0 ? String.valueOf(filtru.getNumarIncident()) : ""));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(128,231);to=(129,63)]
			out.print("\"/>&nbsp;\r\n                Num\u0103r F.E.: <input class=\"gsapinputtext\" name=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(129,63);to=(129,109)]
			out.print(FiltruIncidenteConstants.NUMAR_ECHIPAMENT);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(129,109);to=(129,130)]
			out.print("\" type=\"text\" value=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(129,130);to=(129,237)]
			out.print((filtru != null && filtru.getNumarEchipament() > 0 ? String.valueOf(filtru.getNumarEchipament()) : ""));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(129,237);to=(131,16)]
			out.print("\"/>&nbsp;\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/incidente/showEchipamente.jsp";from=(131,16);to=(131,155)]
			 final Integer[] ani = ro.emid.common.utils.Util.addCurrentYear(EchipamentAccessDB.getAniDeteriorareEchipamente(localizareCondition)); 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(131,155);to=(132,16)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(132,16);to=(132,108)]
			 final int anSelectat = filtru != null && filtru.getAnul() > 0 ? filtru.getAnul() : -1; 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(132,108);to=(133,51)]
			out.print("\r\n                Deteriorate \356n anul: <select name=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(133,51);to=(133,83)]
			out.print(FiltruIncidenteConstants.AN);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(133,83);to=(135,16)]
			out.print("\" class=\"gSAPSelect\">\r\n                <option value=\"-1\">&nbsp;</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/incidente/showEchipamente.jsp";from=(135,16);to=(136,53)]
			 for (int i = 0; i < ani.length; i++) {
                        final Integer an = ani[i]; 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(136,53);to=(137,39)]
			out.print("\r\n                        <option value=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(137,39);to=(137,46)]
			out.print(an);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(137,46);to=(137,48)]
			out.print("\" ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(137,48);to=(137,98)]
			out.print(anSelectat == an.intValue() ? "selected" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(137,98);to=(137,100)]
			out.print(" >");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(137,100);to=(137,107)]
			out.print(an);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(137,107);to=(138,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/incidente/showEchipamente.jsp";from=(138,16);to=(138,22)]
			 }
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(138,22);to=(151,55)]
			out.print("\r\n                </select>&nbsp;\r\n\r\n                <input type=\"submit\" style=\"font-size:10px\" value=\"Caut\u0103\" />\r\n            </form>\r\n        </div>\r\n        <div class=\"spacer\"></div>\r\n\r\n        <table border=0 cellpadding=2 cellspacing=1 width=\"100%\" class=\"table\">\r\n            <thead>\r\n                <tr>\r\n                    <th colspan=2 height=25 nowrap>&nbsp;Titlu echipament:&nbsp;</th>\r\n                    <th height=25 nowrap>&nbsp;Nr. Comanda:&nbsp;</th>\r\n                    <th nowrap width=70>&nbsp;<a href=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(151,55);to=(151,81)]
			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/incidente/showEchipamente.jsp";from=(151,81);to=(151,131)]
			out.print("?action=showEchipamente&sortColumn=AUTOR&sortType=");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(151,131);to=(151,219)]
			out.print((sortColumn.equals("AUTOR") ? (sortType.equals("ASC") ? "DESC" : "ASC") : sortType));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(151,219);to=(151,301)]
			out.print("\" style=\"COLOR: #000000; FONT-SIZE: 13px; text-decoration: none;\">Autor:</a>&nbsp;");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(151,301);to=(151,365)]
			 if(sortColumn.equals("AUTOR")) if( sortType.equals("ASC")){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(151,365);to=(151,376)]
			out.print(" <img src=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(151,376);to=(151,411)]
			out.print(AppConstants.WEB_RESOURCE_PATH);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(151,411);to=(151,444)]
			out.print("/images/sort_up_1.gif\" border=0> ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(151,444);to=(151,454)]
			}else{
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(151,454);to=(151,465)]
			out.print(" <img src=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(151,465);to=(151,500)]
			out.print(AppConstants.WEB_RESOURCE_PATH);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(151,500);to=(151,533)]
			out.print("/images/sort_dn_1.gif\" border=0> ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(151,533);to=(151,538)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(151,538);to=(152,55)]
			out.print("</th>\r\n                    <th nowrap width=70>&nbsp;<a href=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(152,55);to=(152,81)]
			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/incidente/showEchipamente.jsp";from=(152,81);to=(152,139)]
			out.print("?action=showEchipamente&sortColumn=ACTUALIZAT_DE&sortType=");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(152,139);to=(152,235)]
			out.print((sortColumn.equals("ACTUALIZAT_DE") ? (sortType.equals("ASC") ? "DESC" : "ASC") : sortType));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(152,235);to=(152,321)]
			out.print("\" style=\"COLOR: #000000; FONT-SIZE: 13px; text-decoration: none;\">Modificat:</a>&nbsp;");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(152,321);to=(152,393)]
			 if(sortColumn.equals("ACTUALIZAT_DE")) if( sortType.equals("ASC")){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(152,393);to=(152,404)]
			out.print(" <img src=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(152,404);to=(152,439)]
			out.print(AppConstants.WEB_RESOURCE_PATH);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(152,439);to=(152,472)]
			out.print("/images/sort_up_1.gif\" border=0> ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(152,472);to=(152,482)]
			}else{
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(152,482);to=(152,493)]
			out.print(" <img src=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(152,493);to=(152,528)]
			out.print(AppConstants.WEB_RESOURCE_PATH);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(152,528);to=(152,561)]
			out.print("/images/sort_dn_1.gif\" border=0> ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(152,561);to=(152,566)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(152,566);to=(153,56)]
			out.print("</th>\r\n                    <th nowrap width=140>&nbsp;<a href=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(153,56);to=(153,82)]
			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/incidente/showEchipamente.jsp";from=(153,82);to=(153,143)]
			out.print("?action=showEchipamente&sortColumn=DATA_DETERIORARE&sortType=");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(153,143);to=(153,242)]
			out.print((sortColumn.equals("DATA_DETERIORARE") ? (sortType.equals("ASC") ? "DESC" : "ASC") : sortType));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(153,242);to=(153,335)]
			out.print("\" style=\"COLOR: #000000; FONT-SIZE: 13px; text-decoration: none;\">Data deteriorare:</a>&nbsp;");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(153,335);to=(153,410)]
			 if(sortColumn.equals("DATA_DETERIORARE")) if( sortType.equals("ASC")){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(153,410);to=(153,421)]
			out.print(" <img src=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(153,421);to=(153,456)]
			out.print(AppConstants.WEB_RESOURCE_PATH);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(153,456);to=(153,489)]
			out.print("/images/sort_up_1.gif\" border=0> ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(153,489);to=(153,499)]
			}else{
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(153,499);to=(153,510)]
			out.print(" <img src=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(153,510);to=(153,545)]
			out.print(AppConstants.WEB_RESOURCE_PATH);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(153,545);to=(153,578)]
			out.print("/images/sort_dn_1.gif\" border=0> ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(153,578);to=(153,583)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(153,583);to=(154,20)]
			out.print("</th>\r\n                    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(154,20);to=(154,115)]
			 if( UserUtils.hasRoleAdminIncidente( user) || UserUtils.hasRoleUtilizatorIncidente(user)){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(154,115);to=(156,20)]
			out.print("\r\n                    <th nowrap width=\"1%\">&nbsp;Operatie:&nbsp;</th>\r\n                    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(156,20);to=(156,26)]
			 }
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(156,26);to=(160,12)]
			out.print("\r\n                </tr>\r\n            </thead>\r\n            <tbody>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(160,12);to=(160,46)]
			 if( echipamente.length == 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/showEchipamente.jsp";from=(160,46);to=(166,12)]
			out.print("\r\n                <tr>\r\n                    <td colspan=\"5\" class=\"no-data\">\r\n                        Nu exista date ...\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/incidente/showEchipamente.jsp";from=(166,12);to=(201,14)]
			} else {
                for (int i = 0; i < echipamente.length; i++) {

                    final Echipament echipament = echipamente[i];
                    final StringBuffer parametri_titlu_echipament = new StringBuffer();

                    if (echipament.getComponentaId() != -1) {
                        Nomenclator componenta = null;
                        try {
                            componenta = NomAccessDB.getNom(echipament.getComponentaId());
                        } catch (DatabaseException e) {
                            LogLog.debug("Database Exception: " + e.getMessage());
                        }
                        if (componenta != null) parametri_titlu_echipament.append(componenta.getDescriere()).append(", ");
                    }

                    if ( !StringUtils.isZeroLength(echipament.getStatieDen())) {
                        parametri_titlu_echipament.append(AppConstants.format(echipament.getStatieDen(), "-")).append(',');
                    }

                    if ( !StringUtils.isZeroLength(echipament.getCelulaDen())) {
                        parametri_titlu_echipament.append(AppConstants.format(echipament.getCelulaDen(), "-")).append(',');
                    }

                    if ( !StringUtils.isZeroLength( echipament.getLinieDen())) {
                        parametri_titlu_echipament.append(AppConstants.format(echipament.getLinieDen(), "-")).append(',');
                    }

                    if ( !StringUtils.isZeroLength( echipament.getPaptDen())) {
                        parametri_titlu_echipament.append(AppConstants.format(echipament.getPaptDen(), "-")).append(',');
                    }

                    if ( !StringUtils.isZeroLength( echipament.getTrafoDen())) {
                        parametri_titlu_echipament.append( AppConstants.format(echipament.getTrafoDen())).append(',');
                    }
            
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(201,14);to=(202,52)]
			out.print("\r\n                    <tr ondblclick=\"printEchipament(");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(202,52);to=(202,75)]
			out.print(echipament.getId());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(202,75);to=(203,84)]
			out.print(")\" valign=\"top\">\r\n                        <td align=\"center\" width=\"15\" title=\"Numar Fisa Echipament\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(203,84);to=(203,115)]
			out.print(echipament.getNumarFI_FE());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(203,115);to=(204,28)]
			out.print("</td>\r\n                        <td>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(204,28);to=(204,59)]
			out.print(parametri_titlu_echipament);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(204,59);to=(206,28)]
			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/incidente/showEchipamente.jsp";from=(206,28);to=(206,123)]
			out.print(echipament.getNumarComandaSap() > 0 ? String.valueOf(echipament.getNumarComandaSap()) : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(206,123);to=(208,41)]
			out.print("\r\n                        </td>\r\n                        <td title=\"Autor ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(208,41);to=(208,141)]
			out.print(echipament.getNumarComandaSap() > 0 ? "Nr. comanda SAP:" + echipament.getNumarComandaSap() : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(208,141);to=(208,144)]
			out.print("\"  ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(208,144);to=(208,179)]
			if(sortColumn.equals("AUTOR")){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(208,179);to=(208,199)]
			out.print(" class=\"sortColumn\" ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(208,199);to=(208,204)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(208,204);to=(208,208)]
			out.print("   >");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(208,208);to=(208,268)]
			out.print(ObjectUtils.getStringValue( echipament.getUserInsert()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(208,268);to=(209,50)]
			out.print("</td>\r\n                        <td title=\"Actualizat de\" ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(209,50);to=(209,93)]
			if(sortColumn.equals("ACTUALIZAT_DE")){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(209,93);to=(209,113)]
			out.print(" class=\"sortColumn\" ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(209,113);to=(209,118)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(209,118);to=(209,122)]
			out.print("   >");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(209,122);to=(209,181)]
			out.print(ObjectUtils.getStringValue(echipament.getUserUpdate()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(209,181);to=(210,43)]
			out.print("</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/incidente/showEchipamente.jsp";from=(210,43);to=(210,89)]
			if(sortColumn.equals("DATA_DETERIORARE")){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(210,89);to=(210,109)]
			out.print(" class=\"sortColumn\" ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(210,109);to=(210,114)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(210,114);to=(210,118)]
			out.print("   >");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(210,118);to=(210,176)]
			out.print(AppConstants.format(echipament.getDataDeterioarare()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(210,176);to=(212,24)]
			out.print("</td>\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/incidente/showEchipamente.jsp";from=(212,24);to=(212,120)]
			 if( UserUtils.hasRoleAdminIncidente( user) || UserUtils.hasRoleUtilizatorIncidente( user)){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(212,120);to=(214,32)]
			out.print("\r\n                            <td align=\"left\" nowrap >\r\n                                ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(214,32);to=(214,69)]
			 if( Application.runAsFiliala()){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(214,69);to=(215,36)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(215,36);to=(215,109)]
			 if ( EditEchipamentAction.hasRightEditEchipament(user, echipament)){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(215,109);to=(216,95)]
			out.print("\r\n                                        <a class=\"link\" title=\"Editeaza Fisa Echipament\" href=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(216,95);to=(216,121)]
			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/incidente/showEchipamente.jsp";from=(216,121);to=(216,147)]
			out.print("?action=editEchipament&id=");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(216,147);to=(216,170)]
			out.print(echipament.getId());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(216,170);to=(217,36)]
			out.print("\">Modific\u0103</a>\r\n                                    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(217,36);to=(217,43)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(217,43);to=(219,36)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(219,36);to=(219,115)]
			 if ( DeleteEchipamentAction.hasRightDeleteEchipament( user, echipament)){ 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(219,115);to=(220,145)]
			out.print("\r\n                                        <a class=\"link\" title=\"Sterge Fisa Echipament\" onclick=\"return confirm(\'Stergeti echipamentul ?\')\" href=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(220,145);to=(220,171)]
			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/incidente/showEchipamente.jsp";from=(220,171);to=(220,199)]
			out.print("?action=deleteEchipament&id=");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(220,199);to=(220,222)]
			out.print(echipament.getId());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(220,222);to=(221,36)]
			out.print("\">\u015eterge</a>\r\n                                    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(221,36);to=(221,43)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(221,43);to=(223,32)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(223,32);to=(223,39)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(223,39);to=(224,116)]
			out.print("\r\n                                <a class=\"link\" title=\"Printeaza Fisa Echipament\" href=\"#\" onclick=\"printEchipament(");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(224,116);to=(224,139)]
			out.print(echipament.getId());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(224,139);to=(224,142)]
			out.print(")\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(224,142);to=(224,210)]
			out.print(UserUtils.hasRoleViewIncidente( user) ? "Deschide": "Printează");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(224,210);to=(226,24)]
			out.print("</a>\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/incidente/showEchipamente.jsp";from=(226,24);to=(226,30)]
			 }
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(226,30);to=(228,16)]
			out.print("\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/incidente/showEchipamente.jsp";from=(228,16);to=(228,21)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(228,21);to=(229,12)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(229,12);to=(229,17)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(229,17);to=(235,28)]
			out.print("\r\n            </tbody>\r\n            <tfoot>\r\n                <tr>\r\n                    <td colspan=\"7\">\r\n                        <div class=\"pull-left\">\r\n                            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(235,28);to=(235,154)]
			 if( Application.runAsFiliala() && (UserUtils.hasRoleAdminIncidente(user) || UserUtils.hasRoleUtilizatorIncidente(user))){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(235,154);to=(236,78)]
			out.print("\r\n                            &nbsp;<input type=\"button\" class=\"btn\" data-href=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(236,78);to=(236,104)]
			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/incidente/showEchipamente.jsp";from=(236,104);to=(237,28)]
			out.print("?action=editEchipament\" value=\"Adaug\u0103 echipament\"/>\r\n                            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(237,28);to=(237,33)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(237,33);to=(240,42)]
			out.print("\r\n                        </div>\r\n                        <div class=\"pull-right\">\r\n                            <form action=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(240,42);to=(240,68)]
			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/incidente/showEchipamente.jsp";from=(240,68);to=(242,85)]
			out.print("\" method=\"post\">\r\n                                <input type=\"hidden\" name=\"action\" value=\"showEchipamente\">\r\n                                <input type=\"hidden\" name=\"currentBeginIndex\" value=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(242,85);to=(242,107)]
			out.print(currentBeginIndex);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(242,107);to=(244,78)]
			out.print("\">\r\n                                <input type=\"hidden\" name=\"direction\" value=\"\">\r\n                                <input type=\"hidden\" name=\"sortColumn\" value=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(244,78);to=(244,93)]
			out.print(sortColumn);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(244,93);to=(245,76)]
			out.print("\">\r\n                                <input type=\"hidden\" name=\"sortType\" value=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(245,76);to=(245,89)]
			out.print(sortType);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(245,89);to=(248,56)]
			out.print("\">\r\n                                Nr. linii:\r\n                                <select name=\"nrLines\" onchange=\"this.form.submit()\" style=\"font-size: 10px\">\r\n                                    <option value=\"10\"  ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(248,56);to=(248,92)]
			out.print(nrLines == 10 ? "selected" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(248,92);to=(249,56)]
			out.print(" >10</option>\r\n                                    <option value=\"15\"  ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(249,56);to=(249,92)]
			out.print(nrLines == 15 ? "selected" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(249,92);to=(250,56)]
			out.print(" >15</option>\r\n                                    <option value=\"20\"  ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(250,56);to=(250,92)]
			out.print(nrLines == 20 ? "selected" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(250,92);to=(251,56)]
			out.print(" >20</option>\r\n                                    <option value=\"30\"  ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(251,56);to=(251,92)]
			out.print(nrLines == 30 ? "selected" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(251,92);to=(252,56)]
			out.print(" >30</option>\r\n                                    <option value=\"40\"  ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(252,56);to=(252,92)]
			out.print(nrLines == 40 ? "selected" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(252,92);to=(253,56)]
			out.print(" >40</option>\r\n                                    <option value=\"50\"  ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(253,56);to=(253,92)]
			out.print(nrLines == 50 ? "selected" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(253,92);to=(255,32)]
			out.print(" >50</option>\r\n                                </select>&nbsp;&nbsp;\r\n                                ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(255,32);to=(255,54)]
			out.print(currentBeginIndex);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(255,54);to=(255,57)]
			out.print(" - ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(255,57);to=(255,101)]
			out.print(currentBeginIndex + nrLinesSelected - 1);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(255,101);to=(255,106)]
			out.print(" din ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(255,106);to=(255,123)]
			out.print(nrLinesTotal);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(255,123);to=(256,39)]
			out.print("&nbsp;&nbsp;&nbsp;\r\n                                <input ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(256,39);to=(256,84)]
			out.print(currentBeginIndex == 1 ? "disabled" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(256,84);to=(256,101)]
			out.print("  title=\"Primele ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(256,101);to=(256,113)]
			out.print(nrLines);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(256,113);to=(257,39)]
			out.print(" linii\" type=\"button\" onclick=\"this.form.direction.value=\'first\'; this.form.submit()\" style=\"font-size: 8px; cursor: pointer\" value=\"&lt&lt\" />\r\n                                <input ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(257,39);to=(257,84)]
			out.print(currentBeginIndex == 1 ? "disabled" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(257,84);to=(257,106)]
			out.print("  title=\"Precedentele ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(257,106);to=(257,118)]
			out.print(nrLines);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(257,118);to=(258,39)]
			out.print(" linii\" type=\"button\" onclick=\"this.form.direction.value=\'backward\'; this.form.submit()\" style=\"font-size: 8px; cursor: pointer\" value=\"&lt\" />\r\n                                <input ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(258,39);to=(258,117)]
			out.print(currentBeginIndex + nrLinesSelected - 1 >= nrLinesTotal ? "disabled" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(258,117);to=(258,137)]
			out.print(" title=\"Urmatoarele ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(258,137);to=(258,149)]
			out.print(nrLines);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(258,149);to=(259,39)]
			out.print(" linii\" type=\"button\" onclick=\"this.form.direction.value=\'forward\'; this.form.submit()\" style=\"font-size: 8px; cursor: pointer\" value=\"&gt\" />\r\n                                <input ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(259,39);to=(259,117)]
			out.print(currentBeginIndex + nrLinesSelected - 1 >= nrLinesTotal ? "disabled" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(259,117);to=(259,134)]
			out.print(" title=\"Ultimele ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(259,134);to=(259,146)]
			out.print(nrLines);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEchipamente.jsp";from=(259,146);to=(272,27)]
			out.print(" linii\" type=\"button\" onclick=\"this.form.direction.value=\'last\'; this.form.submit()\" style=\"font-size: 8px; cursor: pointer\" value=\"&gt&gt\" />\r\n                            </form>\r\n                        </div>\r\n                    </td>\r\n                </tr>\r\n            </tfoot>\r\n        </table>\r\n    </td></tr>\r\n</table>\r\n\r\n\r\n<script type=\"text/javascript\">\r\n    function reloadData(){\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/incidente/showEchipamente.jsp";from=(272,27);to=(272,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/incidente/showEchipamente.jsp";from=(272,53);to=(275,0)]
			out.print("?action=showEchipamente\";\r\n    }\r\n</script>\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);
		}
	}

}
