<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt" version="1.0">
	<xsl:import href="./cust.xsl"/>
	<xsl:variable name="Rev">
		<!-- Revision van deze cust.xsl -->
		<xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
	</xsl:variable>


	<xsl:template name="pageheader_opdr">
		<xsl:param name="opdr_type"/>
		<xsl:param name="opdr_nummer"/>
		<table border="0" width="100%">
			<tr>
				<td width="50%" bordercolor="#FFFFFF" align="center">
				</td>
				<td width="50%" align="right" valign="bottom" style="text-align:right; font-size:18;">
					<b>
						<xsl:value-of select="$opdr_type"/>
					</b>
				</td>
			</tr>
			<tr>
				<td colspan="2" style="text-align:center;">
					<table border="1" bordercolor="#000000">
						<tr>
							<td>
								<xsl:choose>
									<xsl:when test="$opdr_type='Docket'">Docketnummer: <span class="tekstkop">AR&#xA0;<xsl:value-of select="$opdr_nummer"/></span><b> (Te vermelden op alle documenten m.b.t. deze order!!)</b></xsl:when>
									<xsl:when test="$opdr_type='Informatie verzoek'">Informatie verzoek: <span class="tekstkop">AR&#xA0;<xsl:value-of select="$opdr_nummer"/></span><b> (Te vermelden op alle documenten m.b.t. deze order!!)</b></xsl:when>
									<xsl:when test="$opdr_type='Klacht'">Klachtnummer: <span class="tekstkop">AR&#xA0;<xsl:value-of select="$opdr_nummer"/></span><b> (Te vermelden op alle documenten m.b.t. deze order!!)</b></xsl:when>
									<xsl:when test="$opdr_type='RFQ'">Offerte aanvraag: <span class="tekstkop">AR&#xA0;<xsl:value-of select="$opdr_nummer"/></span><b> (Te vermelden op alle documenten m.b.t. deze offerte!!)</b></xsl:when>
									<xsl:when test="$opdr_type='Contractorder (bijlage)'">Bijlage bij contractorder: <span class="tekstkop">AR&#xA0;<xsl:value-of select="$opdr_nummer"/></span></xsl:when>
									<xsl:otherwise>Ordernummer: <span class="tekstkop">AR&#xA0;<xsl:value-of select="$opdr_nummer"/></span><b> (Te vermelden op alle documenten m.b.t. deze order!!)</b></xsl:otherwise>
								</xsl:choose>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</xsl:template>

</xsl:stylesheet>