<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" 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:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ui:page binding="#{EnviarCorrecao.page1}" id="page1">
            <ui:html binding="#{EnviarCorrecao.html1}" id="html1">
                <ui:head binding="#{EnviarCorrecao.head1}" id="head1">
                    <ui:link binding="#{EnviarCorrecao.link1}" id="link1" url="/resources/stylesheet.css"/>
                    <script>
			function showPdf()
			{
			    sOptions = " width = '" + screen.availWidth + "'";
			    sOptions += " height= '" + screen.availHeight + "'";
			    var wOpen;
				wOpen = window.open('./resources/pdf/Ajuda.pdf','', sOptions );
			   wOpen.focus();
			   wOpen.moveTo(0,0);
			   wOpen.resizeTo( screen.availWidth, screen.availHeight );
			}                        
                    </script>
                </ui:head>
                <ui:body binding="#{EnviarCorrecao.body1}" id="body1" style="-rave-layout: grid">
                    <ui:form binding="#{EnviarCorrecao.form1}" id="form1">
                        <h:panelGrid binding="#{EnviarCorrecao.gridBase1}" columns="1" id="gridBase1"
                            style="height: 24px; left: 0px; top: 96px; position: absolute; width: 100%" styleClass="centerBlock" width="648">
                            <h:panelGrid binding="#{EnviarCorrecao.gridLayout1}" columns="1" id="gridLayout1" style="height: 15px; width: 80%" styleClass="centerBlock">
                                <h:panelGrid binding="#{EnviarCorrecao.gridPanel1}" columnClasses="gridColLeft, gridColRightBottom" columns="2" id="gridPanel1"
                                    style="border-bottom: solid #000000 1px; height: 24px; width: 100%" width="312">
                                    <ui:panelGroup binding="#{EnviarCorrecao.groupPanel1}" id="groupPanel1" style="height: 24px; width: 216px">
                                        <ui:image binding="#{EnviarCorrecao.image1}" id="image1" url="/resources/images/SIPRP_logo_small.jpg"/>
                                        <ui:image binding="#{EnviarCorrecao.image2}" id="image2" url="/resources/images/logo_auchan_small1.jpg"/>
                                    </ui:panelGroup>
                                    <ui:panelGroup binding="#{EnviarCorrecao.groupPanel2}" id="groupPanel2" style="height: 24px; top: 90%">
                                        <ui:staticText binding="#{EnviarCorrecao.lblUser1}" escape="false" id="lblUser1" styleClass="labelBold "/>
                                        <ui:staticText binding="#{EnviarCorrecao.staticText1}" escape="false" id="staticText1" text="   "/>
                                        <ui:hyperlink action="#{EnviarCorrecao.lnkAnalisesAcidente_action}" binding="#{EnviarCorrecao.lnkAnalisesAcidente}"
                                            id="lnkAnalisesAcidente" text="analisar acidentes"/>
                                        <ui:staticText binding="#{EnviarCorrecao.staticText4}" escape="false" id="staticText4" text=" | "/>
                                        <ui:hyperlink action="#{EnviarCorrecao.lnkNewUser_action}" binding="#{EnviarCorrecao.lnkNewUser1}" disabled="true"
                                            id="lnkNewUser1" style="" text="gerir utilizadores"/>
                                        <ui:staticText binding="#{EnviarCorrecao.staticText3}" escape="false" id="staticText3" text=" | "/>
                                        <ui:hyperlink action="#{EnviarCorrecao.lnkEditUser_action}" binding="#{EnviarCorrecao.lnkEditUser1}" id="lnkEditUser1" text="alterar dados utilizador"/>
                                        <ui:staticText binding="#{EnviarCorrecao.staticText2}" escape="false" id="staticText2" text=" | "/>
                                        <ui:hyperlink action="#{EnviarCorrecao.lnkAjuda_action}" binding="#{EnviarCorrecao.lnkAjuda1}" id="lnkAjuda1"
                                            onClick="showPdf();" style="" text="ajuda "/>
                                        <ui:staticText binding="#{EnviarCorrecao.staticText7}" id="staticText7" style="height: 22px; width: 0px" text="|"/>
                                        <ui:hyperlink action="#{EnviarCorrecao.lnkLogout_action}" binding="#{EnviarCorrecao.lnkLogout1}" id="lnkLogout1" text="sair&gt;&gt;"/>
                                    </ui:panelGroup>
                                </h:panelGrid>
                                <h:panelGrid binding="#{EnviarCorrecao.gridLayoutTop1}" columns="1" id="gridLayoutTop1"
                                    style="height: 15px; position: relative; vertical-align: top; width: 100%" styleClass="centerBlock">
                                    <h:panelGrid binding="#{EnviarCorrecao.gridMain1}" columnClasses="gridColLeft" columns="1" id="gridMain1"
                                        style="height: 24px" styleClass="centerBlock" width="504">
                                        <h:panelGrid binding="#{EnviarCorrecao.gridPanel3}" columnClasses="gridColCenter" columns="1" id="gridPanel3"
                                            style="height: 24px; width: 100%" width="504">
                                            <ui:staticText binding="#{EnviarCorrecao.txtMsg}" escape="false" id="txtMsg" style="color: rgb(204, 0, 0); font-weight: bold; height: 24px"/>
                                        </h:panelGrid>
                                        <ui:staticText binding="#{EnviarCorrecao.staticText5}" escape="false" id="staticText5" style="height: 24px; width: 96px"
                                            styleClass="labelBold" text="Observa&amp;ccedil;&amp;otilde;es"/>
                                        <ui:textArea binding="#{EnviarCorrecao.txtObservacoes}" id="txtObservacoes" style="height: 48px; width: 100%"/>
                                        <ui:table augmentTitle="false" binding="#{EnviarCorrecao.table1}" id="table1" style="height: 24px" width="100%">
                                            <ui:tableRowGroup binding="#{EnviarCorrecao.tableRowGroup1}" id="tableRowGroup1"
                                                sourceData="#{SessionBean1.estadosCorrecaoDataProvider}" sourceVar="currentRow">
                                                <ui:tableColumn binding="#{EnviarCorrecao.tableColumn1}" headerText="Enviar para estado" id="tableColumn1" width="200">
                                                    <ui:hyperlink action="#{EnviarCorrecao.lnkEstadoCorr_action}" binding="#{EnviarCorrecao.lnkEstadoCorr}"
                                                        id="lnkEstadoCorr" style="height: 24px; width: 72px" text="#{currentRow.value['descricao']}"/>
                                                </ui:tableColumn>
                                            </ui:tableRowGroup>
                                        </ui:table>
                                        <ui:staticText binding="#{EnviarCorrecao.staticText6}" escape="false" id="staticText6" style="height: 24px; width: 48px" text="&amp;nbsp;"/>
                                        <h:panelGrid binding="#{EnviarCorrecao.gridPanel2}" columnClasses="gridColLeft, gridColRight" columns="2"
                                            id="gridPanel2" style="height: 24px; width: 100%" width="288">
                                            <ui:button action="#{EnviarCorrecao.butCancelar_action}" binding="#{EnviarCorrecao.butCancelar}" id="butCancelar"
                                                style="height: 24px; width: 120px" text="Cancelar"/>
                                            <ui:button action="#{EnviarCorrecao.butConfirmar_action}" binding="#{EnviarCorrecao.butConfirmar}" id="butConfirmar"
                                                style="height: 24px; width: 120px" text="Confirmar"/>
                                        </h:panelGrid>
                                    </h:panelGrid>
                                </h:panelGrid>
                                <h:panelGrid binding="#{EnviarCorrecao.gridPanel9}" columnClasses="gridColCenter" columns="1" id="gridPanel9" style="height: 24px; width: 100%">
                                    <ui:panelGroup binding="#{EnviarCorrecao.groupPanel8}" id="groupPanel8" style="border-bottom: solid #ffffff 1px; height: 21px; width: 200px">
                                        <ui:staticText binding="#{EnviarCorrecao.staticText10}" id="staticText10" text="Software desenvolvido por "/>
                                        <ui:image binding="#{EnviarCorrecao.image3}" height="21" id="image3" url="/resources/images/logo_evolute_small.png" width="100"/>
                                        <ui:staticText binding="#{EnviarCorrecao.staticText11}" escape="false" id="staticText11" text="&amp;nbsp;&amp;copy; 2008 "/>
                                    </ui:panelGroup>
                                </h:panelGrid>
                            </h:panelGrid>
                        </h:panelGrid>
                    </ui:form>
                </ui:body>
            </ui:html>
        </ui:page>
    </f:view>
</jsp:root>
