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

import ro.emid.common.constants.AppConstants;
import ro.emid.common.db.CategoryAccessDB;
import ro.emid.common.db.EchipamentAccessDB;
import ro.emid.common.db.IncidentAccessDB;
import ro.emid.common.db.UserAccessDB;
import ro.emid.common.types.Eveniment;
import ro.emid.common.types.FiltruEvenimente;
import ro.emid.incidente.db.EvenimentAccessDB;
import ro.emid.incidente.obj.FiltruEvenimentConstants;
import ro.emid.common.utils.ObjectUtils;
import ro.emid.common.utils.UserUtils;
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_showEvenimenteArhiva_1561485803606 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/showEvenimenteArhiva.jsp";from=(1,58);to=(2,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(2,55);to=(3,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.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/showEvenimenteArhiva.jsp";from=(4,55);to=(5,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(5,51);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/showEvenimenteArhiva.jsp";from=(6,51);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/showEvenimenteArhiva.jsp";from=(7,58);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/showEvenimenteArhiva.jsp";from=(8,59);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/showEvenimenteArhiva.jsp";from=(9,67);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/showEvenimenteArhiva.jsp";from=(10,53);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/showEvenimenteArhiva.jsp";from=(11,51);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/showEvenimenteArhiva.jsp";from=(12,40);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/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/showEvenimenteArhiva.jsp";from=(14,34);to=(19,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/showEvenimenteArhiva.jsp";from=(19,57);to=(24,45)]
			out.print(" <span class=\"slash\">/</span> Arhiva evenimente\r\n        </TD>\r\n\r\n        <TD align=\"RIGHT\">\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/showEvenimenteArhiva.jsp";from=(24,45);to=(24,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/showEvenimenteArhiva.jsp";from=(24,71);to=(25,47)]
			out.print("?action=showIncidente\" class=\"link\">Incidente</A>&nbsp;\r\n            <A title=\"Lista echipamente\" href=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(25,47);to=(25,73)]
			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/showEvenimenteArhiva.jsp";from=(25,73);to=(26,59)]
			out.print("?action=showEchipamente\" class=\"link\">Echipamente</A>&nbsp;\r\n            <A title=\"Lista evenimente\" 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/showEvenimenteArhiva.jsp";from=(26,59);to=(26,85)]
			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/showEvenimenteArhiva.jsp";from=(26,85);to=(31,0)]
			out.print("?action=showEvenimente\">Evenimente</A>\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/incidente/showEvenimenteArhiva.jsp";from=(31,0);to=(36,2)]
			
    String sortColumn = ObjectUtils.getStringValue(request.getParameter("sortColumn"));
    if (sortColumn == null || sortColumn.length() == 0) sortColumn = "NR_COMANDA";
    String sortType = ObjectUtils.getStringValue(request.getParameter("sortType"));
    if (sortType == null || sortType.length() == 0) sortType = "DESC";

// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(36,2);to=(38,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(38,0);to=(102,2)]
			
    final StringBuffer condSql = new StringBuffer();


    final FiltruEvenimente filtruCautare = IncidenteSessionUtils.getFiltruEvenimente(session);
    if ( filtruCautare != null && filtruCautare.hasCriterii() ){
        filtruCautare.buildFilterSql( condSql);
    }


    Category[] formatii = null;
    final StringBuffer coduriFormatii = new StringBuffer();
    final StringBuffer condSqlFormatii = new StringBuffer();
    if (user.getIeLevel() == RoleConstants.NIVEL_FORMATIE) {
        formatii = new Category[1];
        formatii[0] = formatiaDeLucru;
    } else {
        formatii = CategoryAccessDB.getAllCategoriesByParentId((centruExploatare.getId() > 0 ? centruExploatare.getId() : -2));
    }

    if( formatii != null && formatii.length > 0){
        for (int i = 0; i < formatii.length; i++) {
            coduriFormatii.append(formatii[i].getCodSap()).append(i < formatii.length - 1 ? ";" : "");
        }
        condSqlFormatii.append(" AND (( INSTR('").append(ro.emid.common.utils.Util.escapeToSql(coduriFormatii.toString())).append("', ev.ID_OBIECT)>0 "); // unele formatii au mai multe coduri (le-am pus in acelasi cimp separate prin ";")
    }else{
        condSqlFormatii.append(" AND (( ev.ULPI = '").append(ro.emid.common.utils.Util.escapeToSql(sucursala.getCodSap())).append("' ");
    }

    condSql.append(condSqlFormatii)
            .append(" AND ev.COD_FORMATIE IS NULL) OR (ev.COD_FORMATIE IS NOT NULL AND INSTR('")
            .append(ro.emid.common.utils.Util.escapeToSql(coduriFormatii.toString()))
            .append("', ev.COD_FORMATIE)>0 )) " + " AND ev.STATUS > " + Eveniment.STATUS_NEW);

    //for pagination{
    if (!"evenimenteArhiva".equals(IncidenteSessionUtils.getPaginationJsp(session))) {
        IncidenteSessionUtils.resetPaginationData(session, "evenimenteArhiva");
    }

    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 = EvenimentAccessDB.getCount (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

// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(102,2);to=(104,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(104,0);to=(107,2)]
			
    final Eveniment[] evenimente = EvenimentAccessDB.getAllPaginat( condSql.toString(), sortColumn, sortType, currentBeginIndex, currentBeginIndex + nrLines - 1);
    final int nrLinesSelected = evenimente.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/showEvenimenteArhiva.jsp";from=(107,2);to=(113,44)]
			out.print("\r\n\r\n\r\n<table width=\"100%\" border=0>\r\n    <tr><td>\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/showEvenimenteArhiva.jsp";from=(113,44);to=(113,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/showEvenimenteArhiva.jsp";from=(113,70);to=(114,66)]
			out.print("?action=cautaEvenimentArhiva\" method=\"post\"  >\r\n                Numar comanda: <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/showEvenimenteArhiva.jsp";from=(114,66);to=(114,109)]
			out.print(FiltruEvenimentConstants.NUMAR_COMANDA);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(114,109);to=(114,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/showEvenimenteArhiva.jsp";from=(114,130);to=(114,226)]
			out.print(( filtruCautare != null ? ObjectUtils.getStringValue( filtruCautare.getNumarComanda()): ""));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(114,226);to=(123,70)]
			out.print("\"/>&nbsp;\r\n\r\n                &nbsp;\r\n                <input type=\"submit\" style=\"font-size:10px\" value=\"Cauta\" />\r\n            </form>\r\n        </div>\r\n        <div class=\"spacer\"></div>\r\n        <TABLE id=\"table\" border=0 cellPadding=2 cellSpacing=1 width=\"100%\" class=\"gSAPTHEAD\" style=\"BACKGROUND-COLOR: white\">\r\n            <TR noSelect=\"true\">\r\n                <TH class=\"gsapthead\" height=25 noWrap>&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/showEvenimenteArhiva.jsp";from=(123,70);to=(123,96)]
			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/showEvenimenteArhiva.jsp";from=(123,96);to=(123,156)]
			out.print("?action=showEvenimenteArhiva&sortColumn=NR_COMANDA&sortType=");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(123,156);to=(123,249)]
			out.print((sortColumn.equals("NR_COMANDA") ? (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/showEvenimenteArhiva.jsp";from=(123,249);to=(123,337)]
			out.print("\" style=\"COLOR: #000000; FONT-SIZE: 13px; text-decoration: none;\">Nr Comanda:</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/showEvenimenteArhiva.jsp";from=(123,337);to=(123,406)]
			 if(sortColumn.equals("NR_COMANDA")) 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/showEvenimenteArhiva.jsp";from=(123,406);to=(123,417)]
			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/showEvenimenteArhiva.jsp";from=(123,417);to=(123,452)]
			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/showEvenimenteArhiva.jsp";from=(123,452);to=(123,485)]
			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/showEvenimenteArhiva.jsp";from=(123,485);to=(123,495)]
			}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/showEvenimenteArhiva.jsp";from=(123,495);to=(123,506)]
			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/showEvenimenteArhiva.jsp";from=(123,506);to=(123,541)]
			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/showEvenimenteArhiva.jsp";from=(123,541);to=(123,574)]
			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/showEvenimenteArhiva.jsp";from=(123,574);to=(123,579)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(123,579);to=(124,70)]
			out.print("</TH>\r\n                <TH class=\"gsapthead\" height=25 noWrap>&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/showEvenimenteArhiva.jsp";from=(124,70);to=(124,96)]
			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/showEvenimenteArhiva.jsp";from=(124,96);to=(124,150)]
			out.print("?action=showEvenimenteArhiva&sortColumn=TEXT&sortType=");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(124,150);to=(124,237)]
			out.print((sortColumn.equals("TEXT") ? (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/showEvenimenteArhiva.jsp";from=(124,237);to=(124,319)]
			out.print("\" style=\"COLOR: #000000; FONT-SIZE: 13px; text-decoration: none;\">Text:</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/showEvenimenteArhiva.jsp";from=(124,319);to=(124,382)]
			 if(sortColumn.equals("TEXT")) 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/showEvenimenteArhiva.jsp";from=(124,382);to=(124,393)]
			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/showEvenimenteArhiva.jsp";from=(124,393);to=(124,428)]
			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/showEvenimenteArhiva.jsp";from=(124,428);to=(124,461)]
			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/showEvenimenteArhiva.jsp";from=(124,461);to=(124,471)]
			}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/showEvenimenteArhiva.jsp";from=(124,471);to=(124,482)]
			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/showEvenimenteArhiva.jsp";from=(124,482);to=(124,517)]
			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/showEvenimenteArhiva.jsp";from=(124,517);to=(124,550)]
			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/showEvenimenteArhiva.jsp";from=(124,550);to=(124,555)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(124,555);to=(125,70)]
			out.print("</TH>\r\n                <TH class=\"gsapthead\" height=25 noWrap>&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/showEvenimenteArhiva.jsp";from=(125,70);to=(125,96)]
			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/showEvenimenteArhiva.jsp";from=(125,96);to=(125,155)]
			out.print("?action=showEvenimenteArhiva&sortColumn=ID_OBIECT&sortType=");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(125,155);to=(125,247)]
			out.print((sortColumn.equals("ID_OBIECT") ? (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/showEvenimenteArhiva.jsp";from=(125,247);to=(125,313)]
			out.print("\" style=\"COLOR: #000000; FONT-SIZE: 13px; text-decoration: none;\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(125,313);to=(125,366)]
			out.print(sucursala.isCuSectiiSiCentre() ? "C.E." : "F.L.");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(125,366);to=(125,377)]
			out.print("</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/showEvenimenteArhiva.jsp";from=(125,377);to=(125,445)]
			 if(sortColumn.equals("ID_OBIECT")) 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/showEvenimenteArhiva.jsp";from=(125,445);to=(125,456)]
			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/showEvenimenteArhiva.jsp";from=(125,456);to=(125,491)]
			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/showEvenimenteArhiva.jsp";from=(125,491);to=(125,524)]
			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/showEvenimenteArhiva.jsp";from=(125,524);to=(125,534)]
			}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/showEvenimenteArhiva.jsp";from=(125,534);to=(125,545)]
			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/showEvenimenteArhiva.jsp";from=(125,545);to=(125,580)]
			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/showEvenimenteArhiva.jsp";from=(125,580);to=(125,613)]
			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/showEvenimenteArhiva.jsp";from=(125,613);to=(125,618)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(125,618);to=(126,69)]
			out.print("</TH>\r\n                <TH class=\"gsapthead\" noWrap width=1%>&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/showEvenimenteArhiva.jsp";from=(126,69);to=(126,95)]
			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/showEvenimenteArhiva.jsp";from=(126,95);to=(126,154)]
			out.print("?action=showEvenimenteArhiva&sortColumn=ev.STATUS&sortType=");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(126,154);to=(126,246)]
			out.print((sortColumn.equals("ev.STATUS") ? (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/showEvenimenteArhiva.jsp";from=(126,246);to=(126,330)]
			out.print("\" style=\"COLOR: #000000; FONT-SIZE: 13px; text-decoration: none;\">Status:</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/showEvenimenteArhiva.jsp";from=(126,330);to=(126,398)]
			 if(sortColumn.equals("ev.STATUS")) 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/showEvenimenteArhiva.jsp";from=(126,398);to=(126,409)]
			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/showEvenimenteArhiva.jsp";from=(126,409);to=(126,444)]
			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/showEvenimenteArhiva.jsp";from=(126,444);to=(126,477)]
			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/showEvenimenteArhiva.jsp";from=(126,477);to=(126,487)]
			}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/showEvenimenteArhiva.jsp";from=(126,487);to=(126,498)]
			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/showEvenimenteArhiva.jsp";from=(126,498);to=(126,533)]
			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/showEvenimenteArhiva.jsp";from=(126,533);to=(126,566)]
			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/showEvenimenteArhiva.jsp";from=(126,566);to=(126,571)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(126,571);to=(127,69)]
			out.print("</TH>\r\n                <TH class=\"gsapthead\" noWrap width=2%>&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/showEvenimenteArhiva.jsp";from=(127,69);to=(127,95)]
			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/showEvenimenteArhiva.jsp";from=(127,95);to=(127,165)]
			out.print("?action=showEvenimenteArhiva&sortColumn=DATA_COM || TIME_COM&sortType=");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(127,165);to=(127,268)]
			out.print((sortColumn.equals("DATA_COM || TIME_COM") ? (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/showEvenimenteArhiva.jsp";from=(127,268);to=(127,358)]
			out.print("\" style=\"COLOR: #000000; FONT-SIZE: 13px; text-decoration: none;\">Data comanda:</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/showEvenimenteArhiva.jsp";from=(127,358);to=(127,437)]
			 if(sortColumn.equals("DATA_COM || TIME_COM")) 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/showEvenimenteArhiva.jsp";from=(127,437);to=(127,448)]
			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/showEvenimenteArhiva.jsp";from=(127,448);to=(127,483)]
			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/showEvenimenteArhiva.jsp";from=(127,483);to=(127,516)]
			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/showEvenimenteArhiva.jsp";from=(127,516);to=(127,526)]
			}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/showEvenimenteArhiva.jsp";from=(127,526);to=(127,537)]
			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/showEvenimenteArhiva.jsp";from=(127,537);to=(127,572)]
			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/showEvenimenteArhiva.jsp";from=(127,572);to=(127,605)]
			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/showEvenimenteArhiva.jsp";from=(127,605);to=(127,610)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(127,610);to=(129,16)]
			out.print("</TH>\r\n                <!--<TH class=\"gsapthead\" noWrap width=2%>&nbsp;Data PIF:&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/showEvenimenteArhiva.jsp";from=(129,16);to=(129,111)]
			 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/showEvenimenteArhiva.jsp";from=(129,111);to=(131,16)]
			out.print("\r\n                    <TH class=\"gsapthead\" noWrap>&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/showEvenimenteArhiva.jsp";from=(131,16);to=(131,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/showEvenimenteArhiva.jsp";from=(131,21);to=(133,12)]
			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/showEvenimenteArhiva.jsp";from=(133,12);to=(133,45)]
			 if( evenimente.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/showEvenimenteArhiva.jsp";from=(133,45);to=(139,12)]
			out.print("\r\n                    <TR noSelect=\"true\">\r\n                        <TD>\r\n                            Nu sunt evenimente ...\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/showEvenimenteArhiva.jsp";from=(139,12);to=(141,73)]
			} else for (int i = 0; i < evenimente.length; i++) {
                    final Eveniment eveniment = evenimente[i];
                    final String parametri_titlu = eveniment.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/showEvenimenteArhiva.jsp";from=(141,73);to=(143,39)]
			out.print("\r\n                    <tr>\r\n                        <td title=\"Tip ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(143,39);to=(143,62)]
			out.print(eveniment.getTip());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(143,62);to=(143,71)]
			out.print("\" nowrap ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(143,71);to=(143,111)]
			if(sortColumn.equals("NR_COMANDA")){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(143,111);to=(143,131)]
			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/showEvenimenteArhiva.jsp";from=(143,131);to=(143,136)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(143,136);to=(144,45)]
			out.print(">\r\n                            <label for=\"check");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(144,45);to=(144,74)]
			out.print(eveniment.getNrComanda());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(144,74);to=(144,76)]
			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/showEvenimenteArhiva.jsp";from=(144,76);to=(144,105)]
			out.print(eveniment.getNrComanda());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(144,105);to=(146,35)]
			out.print("</label>\r\n                        </td>\r\n                        <td nowrap ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(146,35);to=(146,69)]
			if(sortColumn.equals("TEXT")){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(146,69);to=(146,90)]
			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/showEvenimenteArhiva.jsp";from=(146,90);to=(146,95)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(146,95);to=(146,114)]
			out.print(" ><label for=\"check");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(146,114);to=(146,143)]
			out.print(eveniment.getNrComanda());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(146,143);to=(146,145)]
			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/showEvenimenteArhiva.jsp";from=(146,145);to=(146,165)]
			out.print(parametri_titlu);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(146,165);to=(147,35)]
			out.print("</label></td>\r\n                        <td nowrap ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(147,35);to=(147,74)]
			if(sortColumn.equals("ID_OBIECT")){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(147,74);to=(147,94)]
			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/showEvenimenteArhiva.jsp";from=(147,94);to=(147,99)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(147,99);to=(148,28)]
			out.print(">\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/incidente/showEvenimenteArhiva.jsp";from=(148,69);to=(149,28)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(149,123);to=(150,28)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(150,28);to=(158,33)]
			 Category formatia = null;
                             for (int j = 0; j < formatii.length; j++) {
                                 final Category f = formatii[j];
                                 final String codFormatie = eveniment.getCodSapFormatie() != null ? eveniment.getCodSapFormatie() : eveniment.getIdObiect();
                                 if( f.getCodSap() != null && f.getCodSap().indexOf( codFormatie) >= 0){
                                    formatia = f;
                                    break;
                                }
                             } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(158,33);to=(159,28)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(159,28);to=(159,76)]
			out.print(formatia != null ? formatia.getName() : "-");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(159,76);to=(161,35)]
			out.print("\r\n                        </td>\r\n                        <td nowrap ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(161,35);to=(161,74)]
			if(sortColumn.equals("ev.STATUS")){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(161,74);to=(161,94)]
			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/showEvenimenteArhiva.jsp";from=(161,94);to=(161,99)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(161,99);to=(162,28)]
			out.print(">\r\n                            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(162,28);to=(178,30)]
			
                                final StringBuffer nrResult = new StringBuffer();
                                if (eveniment.getStatus() == Eveniment.STATUS_TRECUT_INCIDENT && eveniment.getResultId() > 0) {
                                    nrResult.append(IncidentAccessDB.getNRIncident(eveniment.getResultId()));
                                } else
                                if (eveniment.getStatus() == Eveniment.STATUS_TRECUT_ECHIPAMENT && eveniment.getResultId() > 0) {
                                    nrResult.append(EchipamentAccessDB.getNREchipament(eveniment.getResultId()));
                                }

                                if( nrResult == null) {
                                    nrResult.delete(0, nrResult.length());
                                    nrResult.append(" - nu exista");
                                }
                                else{
                                    nrResult.delete(0, nrResult.length());
                                    nrResult.append(" - nr. ").append(nrResult);}
                            
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(178,30);to=(179,28)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(179,28);to=(179,101)]
			out.print(Eveniment.getNiceStatus( eveniment.getStatus(), nrResult.toString()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(179,101);to=(181,43)]
			out.print("\r\n                        </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/showEvenimenteArhiva.jsp";from=(181,43);to=(181,93)]
			if(sortColumn.equals("DATA_COM || TIME_COM")){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(181,93);to=(181,115)]
			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/showEvenimenteArhiva.jsp";from=(181,115);to=(181,120)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(181,120);to=(181,121)]
			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/showEvenimenteArhiva.jsp";from=(181,121);to=(181,173)]
			out.print(AppConstants.format(eveniment.getDataComanda()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(181,173);to=(182,24)]
			out.print("</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/incidente/showEvenimenteArhiva.jsp";from=(182,104);to=(183,68)]
			out.print("\r\n                            <td nowrap align=\"center\" nowrap style=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(183,68);to=(183,133)]
			out.print(UserUtils.hasRoleViewIncidente( user) ? "display: none" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(183,133);to=(184,32)]
			out.print("\">\r\n                                ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(184,32);to=(184,168)]
			 if( !Application.runAsAparatCentral() && ( 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/showEvenimenteArhiva.jsp";from=(184,168);to=(185,32)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(185,32);to=(185,194)]
			 if( UserUtils.hasRoleAdminIncidente( user) || eveniment.getAutor().equals( user.getUsername()) || UserAccessDB.isNivelSuperior(user, eveniment.getAutor())){ 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(185,194);to=(186,32)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(186,32);to=(186,239)]
			 final String mesaj = eveniment.getStatus() == Eveniment.STATUS_ARHIVAT ? "Dezarhivati evenimentul ?" : "In urma acestei actiuni vor fi sterse si Fisa(le) de Incident/Echipament\nContinuati actiunea ?"; 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(186,239);to=(187,69)]
			out.print("\r\n                                    <a style=\"color: #3300ff;\" href=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(187,69);to=(187,95)]
			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/showEvenimenteArhiva.jsp";from=(187,95);to=(187,127)]
			out.print("?action=dezarhivareEveniment&id=");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(187,127);to=(187,156)]
			out.print(eveniment.getNrComanda());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(187,156);to=(187,183)]
			out.print("\" onclick=\"return confirm(\'");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(187,183);to=(187,232)]
			out.print(ro.emid.common.utils.Util.escapeToJs( mesaj));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(187,232);to=(188,32)]
			out.print("\');\">Back</a>&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/showEvenimenteArhiva.jsp";from=(188,32);to=(188,37)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/showEvenimenteArhiva.jsp";from=(188,37);to=(190,24)]
			out.print("\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/showEvenimenteArhiva.jsp";from=(190,24);to=(190,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/showEvenimenteArhiva.jsp";from=(190,29);to=(192,12)]
			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/showEvenimenteArhiva.jsp";from=(192,12);to=(192,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/showEvenimenteArhiva.jsp";from=(192,17);to=(198,46)]
			out.print("\r\n            <tr class=\"paginationRow\" noSelect=\"true\">\r\n                <td colspan=\"8\" >\r\n                    <table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\r\n                        <tr noSelect=\"true\">\r\n                            <td align=\"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/showEvenimenteArhiva.jsp";from=(198,46);to=(198,72)]
			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/showEvenimenteArhiva.jsp";from=(198,72);to=(200,89)]
			out.print("\" method=\"post\">\r\n                                    <input type=\"hidden\" name=\"action\" value=\"showEvenimenteArhiva\">\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/showEvenimenteArhiva.jsp";from=(200,89);to=(200,111)]
			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/showEvenimenteArhiva.jsp";from=(200,111);to=(202,82)]
			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/showEvenimenteArhiva.jsp";from=(202,82);to=(202,97)]
			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/showEvenimenteArhiva.jsp";from=(202,97);to=(203,80)]
			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/showEvenimenteArhiva.jsp";from=(203,80);to=(203,93)]
			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/showEvenimenteArhiva.jsp";from=(203,93);to=(206,60)]
			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/showEvenimenteArhiva.jsp";from=(206,60);to=(206,96)]
			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/showEvenimenteArhiva.jsp";from=(206,96);to=(207,60)]
			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/showEvenimenteArhiva.jsp";from=(207,60);to=(207,96)]
			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/showEvenimenteArhiva.jsp";from=(207,96);to=(208,60)]
			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/showEvenimenteArhiva.jsp";from=(208,60);to=(208,96)]
			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/showEvenimenteArhiva.jsp";from=(208,96);to=(209,60)]
			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/showEvenimenteArhiva.jsp";from=(209,60);to=(209,96)]
			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/showEvenimenteArhiva.jsp";from=(209,96);to=(210,60)]
			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/showEvenimenteArhiva.jsp";from=(210,60);to=(210,96)]
			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/showEvenimenteArhiva.jsp";from=(210,96);to=(211,60)]
			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/showEvenimenteArhiva.jsp";from=(211,60);to=(211,96)]
			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/showEvenimenteArhiva.jsp";from=(211,96);to=(213,36)]
			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/showEvenimenteArhiva.jsp";from=(213,36);to=(213,58)]
			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/showEvenimenteArhiva.jsp";from=(213,58);to=(213,61)]
			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/showEvenimenteArhiva.jsp";from=(213,61);to=(213,105)]
			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/showEvenimenteArhiva.jsp";from=(213,105);to=(213,110)]
			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/showEvenimenteArhiva.jsp";from=(213,110);to=(213,127)]
			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/showEvenimenteArhiva.jsp";from=(213,127);to=(214,43)]
			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/showEvenimenteArhiva.jsp";from=(214,43);to=(214,88)]
			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/showEvenimenteArhiva.jsp";from=(214,88);to=(214,105)]
			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/showEvenimenteArhiva.jsp";from=(214,105);to=(214,117)]
			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/showEvenimenteArhiva.jsp";from=(214,117);to=(215,43)]
			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/showEvenimenteArhiva.jsp";from=(215,43);to=(215,88)]
			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/showEvenimenteArhiva.jsp";from=(215,88);to=(215,110)]
			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/showEvenimenteArhiva.jsp";from=(215,110);to=(215,122)]
			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/showEvenimenteArhiva.jsp";from=(215,122);to=(216,43)]
			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/showEvenimenteArhiva.jsp";from=(216,43);to=(216,121)]
			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/showEvenimenteArhiva.jsp";from=(216,121);to=(216,141)]
			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/showEvenimenteArhiva.jsp";from=(216,141);to=(216,153)]
			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/showEvenimenteArhiva.jsp";from=(216,153);to=(217,43)]
			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/showEvenimenteArhiva.jsp";from=(217,43);to=(217,121)]
			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/showEvenimenteArhiva.jsp";from=(217,121);to=(217,138)]
			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/showEvenimenteArhiva.jsp";from=(217,138);to=(217,150)]
			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/showEvenimenteArhiva.jsp";from=(217,150);to=(234,0)]
			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                            </td>\r\n                        </tr>\r\n                    </table>\r\n                </td>\r\n            </tr>\r\n        </TABLE>\r\n    </td></tr>\r\n</table>\r\n\r\n<script type=\"text/javascript\">\r\n    var table = new Table(\'table\', \"table\");\r\n</script>\r\n\r\n\r\n\r\n");
// end
		} catch (ThreadDeath tde) { throw tde;
		} catch (OutOfMemoryError ome) { throw ome;
		} catch (Throwable t) {
			if (!(t instanceof SkipPageException)) {
				try {
					out.clear();
				} catch(java.io.IOException _jspioex) {}
				_jspx_pageContext.handlePageException(t);
			}
		}finally{
			_jspFactory.releasePageContext(pageContext);
		}
	}

}
