<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:a4j="http://richfaces.org/a4j">
	<rich:modalPanel id="helpPanel" autosized="true" minWidth="800" minHeight="600">
		<f:facet name="header">
		<h:graphicImage value="/img/icons/help.gif"></h:graphicImage>
		How it works?</f:facet>
		<f:facet name="controls">
			<h:panelGroup>
				<h:graphicImage value="/img/modal/close.png" style="cursor:pointer"
					id="hidelink8" />
				<rich:componentControl for="helpPanel" attachTo="hidelink8"
					operation="hide" event="onclick" />
			</h:panelGroup>
		</f:facet>

		<a4j:form id="helpForm">
			<c:if test="#{help.getPage() != null}">
				<ui:include src="#{help.getPage()}"/>
			</c:if>
		</a4j:form>
	</rich:modalPanel>
</ui:composition>