<?xml version="1.0" encoding="ISO-8859-15"?>
<!-- edited with XML Spy v2.5 NT  - http://www.xmlspy.com -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xslc="http://xslcomponents.org/TR/WD-xslc">
	<xsl:import href="../../xslc.xsl"/>
	<xsl:import href="../../Common.xsl"/>
	<xsl:template match="/">
		<xsl:apply-templates select="document"/>
	</xsl:template>
	<xsl:template match="document">
		<xsl:call-template name="xslc:Page">
			<xsl:with-param name="Title">ReportGetFile</xsl:with-param>
			<xsl:with-param name="BodyAttributes">
				<Attributes onload="StartReport();"/>
			</xsl:with-param>
			<xsl:with-param name="Head">
				<META HTTP-EQUIV="Cache-Control" CONTENT="must-revalidate, post-check=0, pre-check=0"/>
				<META HTTP-EQUIV="imagetoolbar" CONTENT="no"/>
				<script language="javascript">
					<![CDATA[function StartReport() 
{  
]]>
					<xsl:if test="/document/InfoTimer!='5000' and /document/InfoTimer!='250'">setTimeout("GetReport()",<xsl:value-of select="/document/InfoTimer"/>);</xsl:if>
					<xsl:if test="/document/InfoTimer='250'">setTimeout("ShowReport()",<xsl:value-of select="/document/InfoTimer"/>);</xsl:if>} <![CDATA[function GetReport() 
{  
window.location.href =']]>
					<xsl:value-of select="/document/Aliases/bdVODLL"/>ReportGetFile?Format=<xsl:value-of select="/document/Params/Format"/>&amp;NReport=<xsl:value-of select="/document/Params/NReport"/>&amp;NamePDF=<xsl:value-of select="/document/Params/NamePDF"/>&amp;NameCMD=<xsl:value-of select="/document/Params/NameCMD"/>';
} <![CDATA[function ShowReport() 
{  
window.location.href ='/]]>
					<xsl:value-of select="/document/XMLC_Params/XMLC_Portal"/>/PDF/<xsl:value-of select="/document/Params/NamePDF"/>';
} </script>
			</xsl:with-param>
			<xsl:with-param name="PageTitle">
				<img align="absmiddle" src="{$XMLC_PictosPath}ico_service.gif"/>
			</xsl:with-param>
			<xsl:with-param name="ToolbarButtonsLeft">
				<ToolbarButton>
					<xsl:call-template name="ToolButtonRefresh"/>
				</ToolbarButton>
				<ToolbarButton>
					<img border="0" src="{$XMLC_SkinPath}toolbar_separator.gif"/>
				</ToolbarButton>
				<xsl:call-template name="CommonToolbarButtonsLeft"/>
			</xsl:with-param>
			<xsl:with-param name="ActivePageName">
				<xsl:value-of select="/document/InfoStatus"/>
			</xsl:with-param>
			<xsl:with-param name="Body">
				<xsl:call-template name="xslc:ApplicationMessages"/>
				<xsl:value-of select="/document/InfoStatus"/>
				<br/>
				<xsl:value-of select="/document/Params/rptname"/>
				<xsl:if test="/document/InfoTimer='5000'">
					<br/>
					<xsl:value-of select="/document/Params/NReport"/>
					<br/>
					<xsl:value-of select="/document/Params/Format"/>
					<br/>
					<xsl:value-of select="XMLC_Params/XMLC_Date"/>
					<br/>Afin de tenter un chargement manuel... <xsl:value-of select="/document/Params/NamePDF"/>
					<a href="{/document/Aliases/bdVODLL}ReportGetFile?Format={/document/Params/Format}&amp;NReport={/document/Params/NReport}&amp;NamePDF={/document/Params/NamePDF}&amp;NameCMD={/document/Params/NameCMD}">
						<img alt="Visualisation du document" border="0" src="{$XMLC_PictosPath}ico_run.gif"/>
					</a>
				</xsl:if>
				<xsl:call-template name="xslc:PoweredBy"/>
			</xsl:with-param>
		</xsl:call-template>
	</xsl:template>
</xsl:stylesheet>
