/* 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.constants.LucrareProgramataConstants;
import ro.emid.common.db.CategoryAccessDB;
import ro.emid.common.db.NomAccessDB;
import ro.emid.common.db.framework.DatabaseException;
import ro.emid.common.types.*;
import ro.emid.common.utils.IntervalLucrare;
import ro.emid.common.utils.Mediu;
import ro.emid.common.utils.ObjectUtils;
import ro.emid.lpod.db.InstalatieDB;
import ro.emid.lpod.obj.CategoriiInstalatii;
import ro.emid.lpod.obj.TipEchipaDeLucru;
import java.util.List;

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

public class JEE_jsp_WEB_2d_INF_pagelet_lucrariProgramate__viewLucrareProgramata_1471595260492 extends com.sap.engine.services.servlets_jsp.lib.jspruntime.JspBase{
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(500,0);to=(540,2)]

    private String getNomText(final long id) {
        Nomenclator nom = null;
        try {
            if( id > 0) nom = NomAccessDB.getNom(id);
        } catch (DatabaseException e) {
        }

        String result = "-";
        if (nom != null) {
            result = nom.getCod() + " - " + nom.getDescriere();
        }
        return result;
    }

    private String getNomSAPText(final long id, final int tip) {
        Instalatie data = null;


        try {
            if( id > 0) data = InstalatieDB.getById( id, TipInstalatie.Helper.isLocFunctional( tip));
        } catch (DatabaseException e) {
        }

        String result = "-";
        if (data != null) {
            result = data.getNume();
        }
        return result;
    }

    private String getText(final String str){
        String result = (str != null && !"null".equalsIgnoreCase(str.trim())) ? str : "-";

        int i = 0;
        while( (i = result.indexOf("\n", i)) >=0){
            result = result.substring(0, i) + "<br />" + result.substring(i+1);
        }
        return result;
    }
// end

	public void _jspService(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
	{
		//isXml=false
		JspFactory  _jspFactory     = JspFactory.getDefaultFactory();
		PageContext pageContext = _jspFactory.getPageContext(this,request,response,null,true,32768,true);
		ServletConfig config = pageContext.getServletConfig();
		ServletContext application = pageContext.getServletContext();
		com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl _jspx_pageContext = (com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl) pageContext;
		com.sap.engine.services.servlets_jsp.server.application.InjectionWrapper _jspx_resourceInjector = ((com.sap.engine.services.servlets_jsp.server.application.ServletContextImpl)_jspx_pageContext.getServletContext()).getApplicationContext().getInjectionWrapper();
		HttpSession session = pageContext.getSession();
		if (!response.isCommitted()) {
		response.setContentType("text/html;charset=UTF-8");
		}
		JspWriter   out     = pageContext.getOut();
		java.lang.Object page = this;
		try {
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(1,58);to=(2,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(2,72);to=(3,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(3,55);to=(4,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(4,50);to=(5,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(5,66);to=(6,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(6,43);to=(7,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(7,57);to=(8,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(8,47);to=(9,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(9,53);to=(10,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(10,49);to=(11,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(11,57);to=(12,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(12,54);to=(13,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(13,35);to=(16,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(16,0);to=(18,25)]
			
    final LucrareProgramata bean = (LucrareProgramata) request.getAttribute(LucrareProgramataConstants.LUCRARE);
    if( bean == null){ 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(18,25);to=(18,48)]
			out.print(" The bean is null !!!  ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(18,48);to=(34,2)]
			
        return;
    }

    Category filialaBean = CategoryAccessDB.getById(bean.getFilialaId());
    if (filialaBean == null) filialaBean = new Category();

    Category sucursalaBean = CategoryAccessDB.getById(bean.getSucursalaId());
    if (sucursalaBean == null) sucursalaBean = new Category();

    Category centruBean = CategoryAccessDB.getById(bean.getCentruId());
    if (centruBean == null) centruBean = new Category();

    Category formatiaDelucruBean = CategoryAccessDB.getById(bean.getFormatiaDeLucruId());
    if (formatiaDelucruBean == null) formatiaDelucruBean = new Category();


// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(34,2);to=(60,38)]
			out.print("\r\n\r\n\r\n<style type=\"text/css\">\r\n    .fl {/* field Label*/\r\n        font-weight: bolder;\r\n    }\r\n\r\n    .fv { /* field Value */\r\n        /*font-weight: bolder;*/\r\n    }\r\n</style>\r\n\r\n\r\n\r\n<TABLE border=1 cellPadding=2 cellSpacing=1 width=\"100%\" class=\"gSAPTHEAD\" id=\"formTable\">\r\n    <TR>\r\n       <TH class=\"gsapthead\" colSpan=2 height=25 noWrap>&nbsp;Fisa Lucrare Programata&nbsp;</TH>\r\n    </TR>\r\n\r\n    <TR>\r\n      <TD width=\"25%\">\r\n       <b>1.</b> Numar curent lucrare:\r\n      </TD>\r\n\r\n      <TD width=\"75%\">\r\n        <span style=\"float:right;\">v. ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(60,38);to=(60,89)]
			out.print(ObjectUtils.getStringValue( bean.getVersion()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(60,89);to=(61,8)]
			out.print("</span>\r\n        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(61,8);to=(61,28)]
			out.print(bean.getNumar());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(61,28);to=(75,4)]
			out.print("\r\n      </TD>\r\n    </TR>\r\n\r\n<TR>\r\n<TD valign=top>\r\n   <b>2.</b> Localizare lucrare:\r\n</TD>\r\n<TD>\r\n<TABLE class=\"gsapthead\">\r\n\r\n<TR class=\"gSAPGroup\">\r\n  <TD nowrap><b>2.1</b> Cod filiala:</TD>\r\n  <TD>\r\n    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(75,4);to=(75,30)]
			out.print(filialaBean.getName());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(75,30);to=(82,4)]
			out.print("\r\n  </TD>\r\n</TR>\r\n\r\n<TR class=\"gSAPGroup\">\r\n  <TD nowrap><b>2.2</b> Cod sucursala:</TD>\r\n  <TD>\r\n    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(82,4);to=(82,34)]
			out.print(sucursalaBean.getCodSap());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(82,34);to=(82,37)]
			out.print(" - ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(82,37);to=(82,65)]
			out.print(sucursalaBean.getName());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(82,65);to=(89,6)]
			out.print("\r\n  </TD>\r\n</TR>\r\n\r\n<TR class=\"gSAPGroup\">\r\n  <TD><b>2.3</b> C.E.: </TD>\r\n  <TD valign=\"MIDDLE\" width=\"100%\" >\r\n      ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(89,6);to=(89,33)]
			out.print(centruBean.getCodSap());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(89,33);to=(89,36)]
			out.print(" - ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(89,36);to=(89,61)]
			out.print(centruBean.getName());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(89,61);to=(90,55)]
			out.print("\r\n      &nbsp;&nbsp;<b>2.3.1</b>&nbsp;Formatia de lucru: ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(90,55);to=(90,99)]
			out.print(getText( formatiaDelucruBean.getName()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(90,99);to=(97,8)]
			out.print("\r\n  </TD>\r\n</TR>\r\n\r\n<TR class=\"gSAPGroup\">\r\n    <TD><strong>Nivel tensiune:</strong> </TD>\r\n    <td>\r\n        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(97,8);to=(97,36)]
			out.print(bean.getNivelTensiune());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(97,36);to=(101,25)]
			out.print("\r\n\r\n        <span style=\"display: none\">\r\n            <input type=\"radio\" id=\"nt_jt\"\r\n                   name=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(101,25);to=(101,75)]
			out.print(LucrareProgramataConstants.JSP.NIVEL_TENSIUNE);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(101,75);to=(102,19)]
			out.print("\"\r\n                   ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(102,19);to=(102,101)]
			out.print(NivelTensiune.is( bean.getNivelTensiune(), NivelTensiune.JT) ? "checked" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(102,101);to=(103,26)]
			out.print("\r\n                   value=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(103,26);to=(103,47)]
			out.print(NivelTensiune.JT);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(103,47);to=(109,49)]
			out.print("\"\r\n                   onclick=\"showNivelTensiuneFields()\" > <label for=\"nt_jt\">JT</label>\r\n            &nbsp;&nbsp;\r\n        </span>\r\n\r\n        <span style=\"display: none\" >\r\n            <input type=\"radio\" id=\"nt_mt\" name=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(109,49);to=(109,99)]
			out.print(LucrareProgramataConstants.JSP.NIVEL_TENSIUNE);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(109,99);to=(110,19)]
			out.print("\"\r\n                   ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(110,19);to=(110,101)]
			out.print(NivelTensiune.is( bean.getNivelTensiune(), NivelTensiune.MT) ? "checked" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(110,101);to=(111,26)]
			out.print("\r\n                   value=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(111,26);to=(111,47)]
			out.print(NivelTensiune.MT);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(111,47);to=(116,49)]
			out.print("\" onclick=\"showNivelTensiuneFields()\" > <label for=\"nt_mt\">MT</label>\r\n            &nbsp;&nbsp;\r\n        </span>\r\n\r\n        <span style=\"display: none\" >\r\n            <input type=\"radio\" id=\"nt_it\" name=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(116,49);to=(116,99)]
			out.print(LucrareProgramataConstants.JSP.NIVEL_TENSIUNE);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(116,99);to=(116,101)]
			out.print("\" ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(116,101);to=(116,183)]
			out.print(NivelTensiune.is( bean.getNivelTensiune(), NivelTensiune.IT) ? "checked" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(116,183);to=(117,26)]
			out.print("\r\n                   value=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(117,26);to=(117,47)]
			out.print(NivelTensiune.IT);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(117,47);to=(138,47)]
			out.print("\" onclick=\"showNivelTensiuneFields()\" > <label for=\"nt_it\">IT</label>\r\n        </span>\r\n\r\n\r\n        <script type=\"text/javascript\">\r\n\r\n            function showNivelTensiuneFields(){\r\n                showJtFields( false);\r\n                showItFields( false);\r\n\r\n\r\n                if( $(\"nt_jt\").checked){\r\n                    showJtFields( true);\r\n                    showItFields( false);\r\n                }else if( $(\"nt_mt\").checked || $(\"nt_it\").checked){\r\n                    showJtFields( false);\r\n                    showItFields( true);\r\n                }\r\n            }\r\n\r\n            function showJtFields( show){\r\n                commonShowNivelTensiuneFields(\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(138,47);to=(138,68)]
			out.print(NivelTensiune.JT);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(138,68);to=(146,47)]
			out.print("\", show);\r\n            }\r\n\r\n            function showMtFields( show){\r\n\r\n            }\r\n\r\n            function showItFields( show){\r\n                commonShowNivelTensiuneFields(\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(146,47);to=(146,68)]
			out.print(NivelTensiune.IT);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(146,68);to=(170,37)]
			out.print("\", show);\r\n            }\r\n\r\n            function commonShowNivelTensiuneFields( nivelTensiune, show){\r\n                var list = $(\"formTable\").getElementsByTagName(\"tr\");\r\n                for( var i = 0; i < list.length; i++){\r\n                    var el = list[i];\r\n                    var attrNivelTensiune = el.getAttribute(\"nivelTensiune\");\r\n                    if( attrNivelTensiune && nivelTensiune == attrNivelTensiune){\r\n                        if( show){\r\n                            Element.show( el);\r\n                        }else{\r\n                            Element.hide( el);\r\n                        }\r\n                    }\r\n                }\r\n            }\r\n\r\n            showNivelTensiuneFields();\r\n        </script>\r\n\r\n    </td>\r\n</TR>\r\n\r\n<TR class=\"gSAPGroup\" nivelTensiune=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(170,37);to=(170,58)]
			out.print(NivelTensiune.IT);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(170,58);to=(175,23)]
			out.print("\">\r\n <TD>\r\n    <b>2.4</b> Ansamblu functional:\r\n </TD>\r\n  <TD>\r\n    <span class=\"fv\">  ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(175,23);to=(175,61)]
			out.print(getNomText( bean.getAnsambluId()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(175,61);to=(176,84)]
			out.print("</span>\r\n      &nbsp;<br> <b>2.4.1</b> <span class=\"fl\">Explicatii:</span> <span class=\"fv\"> ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(176,84);to=(176,119)]
			out.print(getText( bean.getExplicatii()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(176,119);to=(180,37)]
			out.print("</span>\r\n   </TD>\r\n</TR>\r\n\r\n<TR class=\"gSAPGroup\" nivelTensiune=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(180,37);to=(180,58)]
			out.print(NivelTensiune.IT);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(180,58);to=(185,5)]
			out.print("\">\r\n<TD>\r\n    <b>2.5</b> Statie:\r\n</TD>\r\n<TD>\r\n     ");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(185,74);to=(186,5)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(186,5);to=(186,50)]
			out.print(AppConstants.format(bean.getStatieDen()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(186,50);to=(189,4)]
			out.print("\r\n\r\n    <b>2.5.1</b> Bobina:\r\n    ");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(189,73);to=(190,4)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(190,4);to=(190,49)]
			out.print(AppConstants.format(bean.getBobinaDen()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(190,49);to=(194,37)]
			out.print("\r\n</TD>\r\n</TR>\r\n\r\n<TR class=\"gSAPGroup\" nivelTensiune=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(194,37);to=(194,58)]
			out.print(NivelTensiune.IT);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(194,58);to=(199,4)]
			out.print("\">\r\n<TD>\r\n    <b>2.6</b> Celula:\r\n</TD>\r\n<TD>\r\n    ");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(199,73);to=(200,4)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(200,4);to=(200,49)]
			out.print(AppConstants.format(bean.getCelulaDen()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(200,49);to=(203,4)]
			out.print("\r\n\r\n    <b>2.6.1</b> Bara:\r\n    ");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(203,69);to=(204,4)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(204,4);to=(204,47)]
			out.print(AppConstants.format(bean.getBaraDen()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(204,47);to=(208,37)]
			out.print("\r\n</TD>\r\n</TR>\r\n\r\n<TR class=\"gSAPGroup\" nivelTensiune=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(208,37);to=(208,58)]
			out.print(NivelTensiune.IT);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(208,58);to=(213,5)]
			out.print("\">\r\n<TD>\r\n    <b>2.7</b> Linie:\r\n</TD>\r\n<TD>\r\n     ");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(213,72);to=(214,4)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(214,4);to=(214,48)]
			out.print(AppConstants.format(bean.getLinieDen()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(214,48);to=(216,4)]
			out.print("\r\n    <b>2.7.1</b> Derivatie:\r\n    ");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(216,79);to=(217,4)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(217,4);to=(217,52)]
			out.print(AppConstants.format(bean.getDerivatieDen()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(217,52);to=(221,37)]
			out.print("\r\n</TD>\r\n</TR>\r\n\r\n<TR class=\"gSAPGroup\" nivelTensiune=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(221,37);to=(221,58)]
			out.print(NivelTensiune.IT);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(221,58);to=(224,8)]
			out.print("\">\r\n<TD> <b>2.8</b> PA/PT: </TD>\r\n    <TD>\r\n        ");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(224,76);to=(225,8)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(225,8);to=(225,51)]
			out.print(AppConstants.format(bean.getPaptDen()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(225,51);to=(228,37)]
			out.print("\r\n    </TD>\r\n</TR>\r\n<TR class=\"gSAPGroup\" nivelTensiune=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(228,37);to=(228,58)]
			out.print(NivelTensiune.IT);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(228,58);to=(231,8)]
			out.print("\">\r\n    <TD><b>2.9</b> Trafo: </TD>\r\n    <TD>\r\n        ");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(231,75);to=(232,8)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(232,8);to=(232,52)]
			out.print(AppConstants.format(bean.getTrafoDen()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(232,52);to=(236,37)]
			out.print("\r\n    </TD>\r\n</TR>\r\n\r\n<tr class=\"gSAPGroup\" nivelTensiune=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(236,37);to=(236,58)]
			out.print(NivelTensiune.JT);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(236,58);to=(239,8)]
			out.print("\">\r\n    <td>Categoria de instalatii:</td>\r\n    <td>\r\n        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(239,8);to=(239,93)]
			out.print(CategoriiInstalatii.Helper.getCategoriiInstalatie( bean.getCatInstalatii(), "-"));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(239,93);to=(242,37)]
			out.print("\r\n    </td>\r\n</tr>\r\n<tr class=\"gSAPGroup\" nivelTensiune=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(242,37);to=(242,58)]
			out.print(NivelTensiune.JT);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(242,58);to=(245,8)]
			out.print("\">\r\n    <td>Instalatia:</td>\r\n    <td>\r\n        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(245,8);to=(245,89)]
			out.print(CategoriiInstalatii.Helper.getDenumireInstalatie( bean.getInstalatia(), "-"));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(245,89);to=(247,22)]
			out.print("\r\n        &nbsp;&nbsp;\r\n        Nr./Denumire: ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(247,22);to=(247,65)]
			out.print(getText( bean.getDenumireInstalatie()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(247,65);to=(250,37)]
			out.print("\r\n    </td>\r\n</tr>\r\n<tr class=\"gSAPGroup\" nivelTensiune=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(250,37);to=(250,58)]
			out.print(NivelTensiune.JT);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(250,58);to=(254,8)]
			out.print("\">\r\n    <td>Adrese</td>\r\n    <td>\r\n\r\n        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(254,8);to=(256,10)]
			
            final List adrese = bean.getAdreseLucrare();
        
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(256,10);to=(267,12)]
			out.print("\r\n        <TABLE id=\"adrese\" 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;Localitate:&nbsp;</TH>\r\n                <TH class=\"gsapthead\" height=25 noWrap>&nbsp;Tip artera:&nbsp;</TH>\r\n                <TH class=\"gsapthead\" height=25 noWrap>&nbsp;Denumire:&nbsp;</TH>\r\n                <TH class=\"gsapthead\" height=25 noWrap>&nbsp;Numar:&nbsp;</TH>\r\n                <TH class=\"gsapthead\" height=25 noWrap>&nbsp;Bloc:&nbsp;</TH>\r\n                <TH class=\"gsapthead\" height=25 width=\"1%\" noWrap>&nbsp;</TH>\r\n            </tr>\r\n\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(267,12);to=(267,43)]
			 if( adrese. size() == 0){ 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(267,43);to=(271,12)]
			out.print("\r\n                <tr>\r\n                    <td colspan=\"5\">Fara adrese completate ...</td>\r\n                </tr>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(271,12);to=(274,51)]
			 } else for (int i = 0; i < adrese.size(); i++) {
                final Adresa adresa = (Adresa) adrese.get(i);

                if( adresa.toDelete()) continue; 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(274,51);to=(278,24)]
			out.print("\r\n\r\n                <tr align=\"left\">\r\n                    <td >\r\n                        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(278,24);to=(278,72)]
			out.print(AppConstants.format(adresa.getLocalitate()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(278,72);to=(281,24)]
			out.print("\r\n                    </td>\r\n                    <td align=\"center\">\r\n                        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(281,24);to=(281,72)]
			out.print(AppConstants.format(adresa.getTipArtera()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(281,72);to=(284,24)]
			out.print("\r\n                    </td>\r\n                    <td>\r\n                        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(284,24);to=(284,71)]
			out.print(AppConstants.format(adresa.getDenStrada()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(284,71);to=(287,24)]
			out.print("\r\n                    </td>\r\n                    <td align=\"center\">\r\n                        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(287,24);to=(287,64)]
			out.print(AppConstants.format(adresa.getNr()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(287,64);to=(290,24)]
			out.print("\r\n                    </td>\r\n                    <td align=\"center\">\r\n                        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(290,24);to=(290,66)]
			out.print(AppConstants.format(adresa.getBloc()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(290,66);to=(293,12)]
			out.print("\r\n                    </td>\r\n                </tr>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(293,12);to=(293,19)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(293,19);to=(311,6)]
			out.print("\r\n        </TABLE>\r\n\r\n        <script type=\"text/javascript\">\r\n            var table = new Table(\'adrese\', \"table\");\r\n        </script>\r\n    </td>\r\n</tr>\r\n</TABLE>\r\n\r\n</TD>\r\n</TR>\r\n\r\n<TR>\r\n  <TD>\r\n      <b>3.</b> Mediul:\r\n  </TD>\r\n  <TD>\r\n      ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(311,6);to=(311,112)]
			out.print(Mediu.is(bean.getMediu(), Mediu.URBAN)?"Urban": Mediu.is( bean.getMediu(), Mediu.RURAL) ? "Rural":"-");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(311,112);to=(316,0)]
			out.print("\r\n  </TD>\r\n</TR>\r\n\r\n\r\n");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(316,0);to=(320,2)]
			
    String tipInterval = "";
    List intervale = null;
    String jsFunctionCalculDurata = "";

// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(320,2);to=(325,8)]
			out.print("\r\n\r\n<TR>\r\n    <TD vAlign=top><B>4.</B> Durata programata: </TD>\r\n    <TD vAlign=center>\r\n        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(325,8);to=(329,10)]
			
             tipInterval = IntervalLucrare.Tip.INTERVAL_LUCRARE_PROGR;
             intervale = bean.getIntervaleLucrareProgramata();
             jsFunctionCalculDurata = "calculeazaDurataProgramata";
        
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(329,10);to=(332,32)]
			out.print("\r\n        <table border=\"0\">\r\n            <tr><td>\r\n                    Data start: ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(332,32);to=(332,87)]
			out.print(AppConstants.format(bean.getDataProgramataStart()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(332,87);to=(336,32)]
			out.print("\r\n                    &nbsp;&nbsp;&nbsp;\r\n                </td>\r\n                <td>\r\n                    Data stop:  ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(336,32);to=(336,86)]
			out.print(AppConstants.format(bean.getDataProgramataStop()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(336,86);to=(339,12)]
			out.print("\r\n                </td>\r\n            </tr>\r\n            ");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_intervalePrint.jspf";from=(1,0);to=(3,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_intervalePrint.jspf";from=(3,0);to=(5,38)]
			 for (int i = 0; i < intervale.size(); i++) {
    final IntervalLucrare item = (IntervalLucrare) intervale.get(i);
    if ( item.toDelete()) continue; 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_intervalePrint.jspf";from=(5,38);to=(10,24)]
			out.print("\r\n\r\n\r\n    <tr>\r\n        <td nowrap=\"nowrap\">\r\n            Data start: ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_intervalePrint.jspf";from=(10,24);to=(10,69)]
			out.print(AppConstants.format(item.getDataStart()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_intervalePrint.jspf";from=(10,69);to=(14,23)]
			out.print("\r\n            &nbsp;&nbsp;&nbsp;\r\n        </td>\r\n        <td nowrap=\"nowrap\">\r\n            Data stop: ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_intervalePrint.jspf";from=(14,23);to=(14,67)]
			out.print(AppConstants.format(item.getDataStop()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_intervalePrint.jspf";from=(14,67);to=(17,0)]
			out.print("\r\n        </td>\r\n    </tr>\r\n");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_intervalePrint.jspf";from=(17,0);to=(17,7)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_intervalePrint.jspf";from=(17,7);to=(20,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(339,53);to=(343,29)]
			out.print("\r\n\r\n            <tr>\r\n                <td colspan=\"3\" style=\"color: green;border-top:1px solid gray\">\r\n                    Durata : ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(343,29);to=(343,63)]
			out.print(bean.getDurataProgramare()/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(343,63);to=(343,65)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(343,65);to=(343,99)]
			out.print(bean.getDurataProgramare()%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(343,99);to=(357,12)]
			out.print("\'\r\n                </td>\r\n            </tr>\r\n        </table>\r\n    </TD>\r\n</TR>\r\n\r\n<TR>\r\n  <TD vAlign=top>\r\n      <B>5.</B> Durata realizarii lucrarii:\r\n  </TD>\r\n  <TD>\r\n      <table border=\"0\">\r\n        <tr><td>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(357,12);to=(361,14)]
			
                 tipInterval = IntervalLucrare.Tip.INTERVAL_LUCRARE;
                 intervale= bean.getIntervaleLucrare();
                 jsFunctionCalculDurata = "calculeazaDurataRealizare";
            
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(361,14);to=(362,28)]
			out.print("\r\n                Data start: ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(362,28);to=(362,80)]
			out.print(AppConstants.format(bean.getDataLucrareStart()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(362,80);to=(366,27)]
			out.print("\r\n                &nbsp;&nbsp;&nbsp;\r\n            </td>\r\n            <td>\r\n                Data stop: ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(366,27);to=(366,78)]
			out.print(AppConstants.format(bean.getDataLucrareStop()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(366,78);to=(369,8)]
			out.print("\r\n            </td>\r\n        </tr>\r\n        ");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_intervalePrint.jspf";from=(1,0);to=(3,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_intervalePrint.jspf";from=(3,0);to=(5,38)]
			 for (int i = 0; i < intervale.size(); i++) {
    final IntervalLucrare item = (IntervalLucrare) intervale.get(i);
    if ( item.toDelete()) continue; 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_intervalePrint.jspf";from=(5,38);to=(10,24)]
			out.print("\r\n\r\n\r\n    <tr>\r\n        <td nowrap=\"nowrap\">\r\n            Data start: ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_intervalePrint.jspf";from=(10,24);to=(10,69)]
			out.print(AppConstants.format(item.getDataStart()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_intervalePrint.jspf";from=(10,69);to=(14,23)]
			out.print("\r\n            &nbsp;&nbsp;&nbsp;\r\n        </td>\r\n        <td nowrap=\"nowrap\">\r\n            Data stop: ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_intervalePrint.jspf";from=(14,23);to=(14,67)]
			out.print(AppConstants.format(item.getDataStop()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_intervalePrint.jspf";from=(14,67);to=(17,0)]
			out.print("\r\n        </td>\r\n    </tr>\r\n");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_intervalePrint.jspf";from=(17,0);to=(17,7)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_intervalePrint.jspf";from=(17,7);to=(20,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(369,49);to=(372,23)]
			out.print("\r\n        <tr>\r\n          <td colspan=\"3\" style=\"color: green;border-top:1px solid gray\">\r\n              Durata : ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(372,23);to=(372,54)]
			out.print(bean.getDurataLucrare()/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(372,54);to=(372,56)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(372,56);to=(372,87)]
			out.print(bean.getDurataLucrare()%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(372,87);to=(384,8)]
			out.print("\'\r\n          </td>\r\n        </tr>\r\n    </table>\r\n  </TD>\r\n</TR>\r\n\r\n<TR>\r\n    <TD>\r\n        <b>6.</b> Durata intreruperii consumatorilor:\r\n    </TD>\r\n    <td>\r\n        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(384,8);to=(388,10)]
			
             tipInterval = IntervalLucrare.Tip.INTERVAL_INTRERUPERE;
             intervale= bean.getIntervaleIntrerupere();
             jsFunctionCalculDurata = "calculeazaDurataIntrerupere";
        
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(388,10);to=(390,8)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(390,53);to=(394,32)]
			out.print("\r\n        <table border=\"0\">\r\n            <tr>\r\n                <td>\r\n                    Data start: ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(394,32);to=(394,88)]
			out.print(AppConstants.format(bean.getDataIntrerupereStart()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(394,88);to=(398,32)]
			out.print("\r\n                    &nbsp;&nbsp;&nbsp;\r\n                </td>\r\n                <td>\r\n                    Data stop:  ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(398,32);to=(398,87)]
			out.print(AppConstants.format(bean.getDataIntrerupereStop()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(398,87);to=(401,12)]
			out.print("\r\n                </td>\r\n            </tr>\r\n            ");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_intervalePrint.jspf";from=(1,0);to=(3,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_intervalePrint.jspf";from=(3,0);to=(5,38)]
			 for (int i = 0; i < intervale.size(); i++) {
    final IntervalLucrare item = (IntervalLucrare) intervale.get(i);
    if ( item.toDelete()) continue; 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_intervalePrint.jspf";from=(5,38);to=(10,24)]
			out.print("\r\n\r\n\r\n    <tr>\r\n        <td nowrap=\"nowrap\">\r\n            Data start: ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_intervalePrint.jspf";from=(10,24);to=(10,69)]
			out.print(AppConstants.format(item.getDataStart()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_intervalePrint.jspf";from=(10,69);to=(14,23)]
			out.print("\r\n            &nbsp;&nbsp;&nbsp;\r\n        </td>\r\n        <td nowrap=\"nowrap\">\r\n            Data stop: ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_intervalePrint.jspf";from=(14,23);to=(14,67)]
			out.print(AppConstants.format(item.getDataStop()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_intervalePrint.jspf";from=(14,67);to=(17,0)]
			out.print("\r\n        </td>\r\n    </tr>\r\n");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_intervalePrint.jspf";from=(17,0);to=(17,7)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_intervalePrint.jspf";from=(17,7);to=(20,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(401,53);to=(404,27)]
			out.print("\r\n            <tr>\r\n              <td colspan=\"3\" style=\"color: green;border-top:1px solid gray\">\r\n                  Durata : ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(404,27);to=(404,62)]
			out.print(bean.getDurataIntreruperi()/60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(404,62);to=(404,64)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(404,64);to=(404,99)]
			out.print(bean.getDurataIntreruperi()%60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(404,99);to=(411,19)]
			out.print("\'\r\n              </td>\r\n            </tr>\r\n        </table>\r\n    </TD>\r\n</TR>\r\n\r\n<TR niveltensiune=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(411,19);to=(411,40)]
			out.print(NivelTensiune.IT);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(411,40);to=(416,8)]
			out.print("\">\r\n    <TD>\r\n        <b>7.</b> Energia electrica nelivrata consumatorilor:\r\n    </TD>\r\n    <td>\r\n        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(416,8);to=(416,61)]
			out.print(AppConstants.format2(bean.getEnergieNelivrata()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(416,61);to=(423,9)]
			out.print(" kWh\r\n    </td>\r\n</TR>\r\n\r\n<TR>\r\n    <TD vAlign=top><B>8.</B> Descriere lucrare: </TD>\r\n    <TD>\r\n         ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(423,9);to=(423,50)]
			out.print(getText( bean.getDescriereLucrare()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(423,50);to=(437,16)]
			out.print("\r\n</TD></TR>\r\n\r\n<TR>\r\n    <TD><B>9.</B> Nr. utilizatori intrerupti: </TD>\r\n    <TD>\r\n      <TABLE class=gSAPTHEAD cellSpacing=1 width=\"100%\">\r\n        <TBODY>\r\n        <TR class=gSAPGroup align=middle>\r\n          <TD>Inalta(IT)</TD>\r\n          <TD>Medie(MT)</TD>\r\n          <TD>Joasa(JT)</TD></TR>\r\n        <TR>\r\n            <TD align=middle>\r\n                ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(437,16);to=(437,44)]
			out.print(bean.getUtilizatoriIT());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(437,44);to=(440,16)]
			out.print("\r\n            </TD>\r\n            <TD align=middle>\r\n                ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(440,16);to=(440,44)]
			out.print(bean.getUtilizatoriMT());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(440,44);to=(443,16)]
			out.print("\r\n            </TD>\r\n            <TD align=middle>\r\n                ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(443,16);to=(443,44)]
			out.print(bean.getUtilizatoriJT());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(443,44);to=(447,12)]
			out.print("\r\n            </TD>\r\n        </TR>\r\n        <tr>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(447,12);to=(452,14)]
			
                final long totalUtilizatori =
                        bean.getUtilizatoriIT() +
                        bean.getUtilizatoriMT() +
                        bean.getUtilizatoriJT();
            
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(452,14);to=(457,16)]
			out.print("\r\n            <td colspan=\"2\" align=\"right\">\r\n                <b>Total:</b>\r\n            </td>\r\n            <td align=\"center\">\r\n                ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(457,16);to=(457,37)]
			out.print(totalUtilizatori);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(457,37);to=(467,8)]
			out.print("\r\n            </td>\r\n        </tr>\r\n        </TBODY>\r\n      </TABLE>\r\n    </TD>\r\n</TR>\r\n<TR>\r\n    <TD vAlign=top><B>10.</B> Propuneri/Masuri finale: </TD>\r\n    <TD>\r\n        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(467,8);to=(467,41)]
			out.print(getText(bean.getPropuneri()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(467,41);to=(474,8)]
			out.print("\r\n    </TD>\r\n</TR>\r\n\r\n <tr>\r\n    <td> <b>11.</b> Echipa de lucru  </td>\r\n    <td>\r\n        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(474,8);to=(474,91)]
			 if ( TipEchipaDeLucru.is(bean.getEchipaDeLucruTip(), TipEchipaDeLucru.SISE)){ 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(474,91);to=(475,20)]
			out.print("\r\n            SISE :  ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(475,20);to=(475,61)]
			out.print(getText( bean.getEchipaDeLucruDen()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(475,61);to=(476,8)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(476,8);to=(476,98)]
			 } else if( TipEchipaDeLucru.is(bean.getEchipaDeLucruTip(), TipEchipaDeLucru.TERTI)){ 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(476,98);to=(477,20)]
			out.print("\r\n            Terti : ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(477,20);to=(477,61)]
			out.print(getText( bean.getEchipaDeLucruDen()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(477,61);to=(478,8)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(478,8);to=(478,104)]
			 } else if( TipEchipaDeLucru.is(bean.getEchipaDeLucruTip(), TipEchipaDeLucru.PERSONAL_PR)){ 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(478,104);to=(479,31)]
			out.print("\r\n            Personal Propriu : ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(479,31);to=(479,72)]
			out.print(getText( bean.getEchipaDeLucruDen()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(479,72);to=(480,8)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(480,8);to=(480,21)]
			 } else {
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(480,21);to=(482,8)]
			out.print("\r\n            -\r\n        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(482,8);to=(482,15)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(482,15);to=(487,38)]
			out.print("\r\n    </td>\r\n </tr>\r\n <TR>\r\n    <TD colSpan=2><B>12.</B>\r\n        Lucrarea a fost realizata de: ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(487,38);to=(487,74)]
			out.print(getText( bean.getRealizataDe()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(487,74);to=(488,49)]
			out.print(". &nbsp;&nbsp;&nbsp;&nbsp;\r\n        Conducatorul sub-unitatii de exploatare: ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(488,49);to=(488,95)]
			out.print(getText( bean.getConducatorUnitateExpl()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(488,95);to=(493,40)]
			out.print(".\r\n    </TD>\r\n </TR>\r\n <TR>\r\n    <TD colSpan=2><B>13. </B>\r\n        Lucrarea a fost receptionata de:");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(493,40);to=(493,78)]
			out.print(getText( bean.getReceptionatDe()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(493,78);to=(495,29)]
			out.print(". &nbsp;&nbsp;&nbsp;&nbsp;\r\n\r\n        Admitent la lucrare: ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(495,29);to=(495,69)]
			out.print(getText( bean.getAdmitentLucrare()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(495,69);to=(500,0)]
			out.print("\r\n    </TD>\r\n</TR>\r\n</TABLE>\r\n\r\n");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/_viewLucrareProgramata.jsp";from=(540,2);to=(546,0)]
			out.print("\r\n\r\n\r\n<script type=\"text/javascript\">\r\n    showNivelTensiuneFields();\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);
		}
	}

}
