<%@ page import="ro.emid.common.types.*" %>
<%@ page import="ro.emid.common.types.binder.EvenimentDispecerBinder" %>
<%@ page import="ro.emid.common.constants.EvenimentDispecerConstants" %>
<%@ page import="ro.emid.common.constants.AppConstants" %>
<%
    final EvenimentDispecerBinder binder = (EvenimentDispecerBinder) session.getAttribute( EvenimentDispecerConstants.BINDER);
    final EvenimentDispecer bean = (binder != null ? (EvenimentDispecer) binder.getBean() : new EvenimentDispecer());
%>

<script type="text/javascript">
    window.parent.window.opener.setTotalConsumatoriFromBrowse(
            <%=AppConstants.format( bean.getPi())%>,
            <%=AppConstants.format2( bean.getConsumatoriIntrerupti())%>,
            <%=AppConstants.format2( bean.getUtilizatoriIT())%>,
            <%=AppConstants.format2( bean.getUtilizatoriMT())%>,
            <%=AppConstants.format2( bean.getUtilizatoriJT())%>,
            <%=AppConstants.format2( bean.getUtilizatoriCasnici())%>,
            <%=AppConstants.format2( bean.getUtilizatoriMici())%>,
            <%=AppConstants.format2( bean.getUtilizatoriMari())%>
    );
    window.parent.window.close();
</script>
