<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- 
    Document   : ViewPlano
    Created on : Oct 20, 2008, 10:39:30 AM
    Author     : lluis
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
    <jsp:directive.page contentType="text/html;charset=ISO-8859-1" pageEncoding="ISO-8859-1"/>
    <f:view>
        <webuijsf:page id="page1">
            <webuijsf:html id="html1">
                <webuijsf:head id="head1">
                    <webuijsf:link id="link1" url="/resources/stylesheet.css"/>
                    <script>
                        function expand(lnk)
                        {
                            var id = lnk.id;
                            var idnr = getIdNr(id);
                            var container = document.getElementById("form1:area_container" + idnr);
                            if(container != null)
                            {
                                var className = container.className;
                                if(className == 'hidden')
                                {
                                    container.className = 'visible';
                                }
                                else
                                {
                                    container.className = 'hidden';
                                }
                            }
                        }
                        
                        function getIdNr(id)
                        {
                            var nr = '';
                            var i = id.lastIndexOf(":");
                            while(true)
                            {
                                var ch = id.charAt(i);
                                if(ch == '0' || ch == '1' || ch == '2' || ch == '3' || ch == '4' || ch == '5' || ch == '6' || ch == '7' || ch == '8' || ch == '9' )
                                {
                                    nr += ch;
                                }
                                i++;
                                if(i == id.length)
                                {
                                    break;
                                }
                            }
                            return nr;
                        }                        
                    </script>
                </webuijsf:head>
                <webuijsf:body id="body1" style="-rave-layout: grid">
                    <webuijsf:form id="form1">
                        <div style="left: 0px; top: 0px; width: 100%">
                            <jsp:directive.include file="Header.jspf"/>
                        </div>
                        <h:panelGrid columns="1" id="gridBaseLayout" style="height: 24px; left: 0px; top: 96px; position: absolute; width: 100%" styleClass="centerBlock">
                            <h:panelGrid columnClasses="gridColLeft10,gridColLeft90" columns="2" id="gridEmpresa"
                                style="background-color: #668597; border: 1px solid black; height: 24px; width: 80%" styleClass="centerBlock" width="504">
                                <webuijsf:staticText escape="false" id="staticText3" styleClass="label" text="Empresa:"/>
                                <webuijsf:staticText escape="false" id="staticText4" style="color: #ffffff" text="#{SessionBean1.planoActuacao.nome_empresa}"/>
                                <webuijsf:staticText escape="false" id="staticText5" styleClass="label" text="Estabelecimento:"/>
                                <webuijsf:staticText escape="false" id="staticText6" style="color: #ffffff" text="#{SessionBean1.planoActuacao.nome_estabelecimento}"/>
                            </h:panelGrid>
                            <h:panelGrid binding="#{ViewPlano.gridLayout}" columns="1" id="gridLayout" style="height: 24px; width: 80%" styleClass="centerBlock">
                                <webuijsf:staticText escape="false" id="staticText1" text="&amp;nbsp;"/>
                            </h:panelGrid>
                            <h:panelGrid columnClasses="gridColLeft" columns="1" id="gridButtons" style="height: 24px; width: 80%" styleClass="centerBlock" width="312">
                                <webuijsf:panelGroup id="groupPanel1">
                                    <webuijsf:button actionExpression="#{ViewPlano.butVoltar_action}" binding="#{ViewPlano.butVoltar}" id="butVoltar"
                                        style="width: 71px" text="Voltar"/>
                                </webuijsf:panelGroup>
                            </h:panelGrid>
                            <h:panelGrid columnClasses="gridColCenter" columns="1" id="gridPanel1" style="height: 24px; width: 50%" styleClass="centerBlock">
                                <webuijsf:panelGroup id="groupPanel2" style="border-bottom: solid white 2px; ">
                                    <webuijsf:staticText escape="false" id="staticText7" text="Software desenvolvido por&amp;nbsp;"/>
                                    <webuijsf:image id="image1" url="/resources/images/logo_evolute_small.png"/>
                                    <webuijsf:staticText escape="false" id="staticText8" text="&amp;nbsp;&amp;copy; 2008"/>
                                </webuijsf:panelGroup>
                            </h:panelGrid>
                        </h:panelGrid>
                    </webuijsf:form>
                </webuijsf:body>
            </webuijsf:html>
        </webuijsf:page>
    </f:view>
</jsp:root>
