<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:output method="xml" omit-xml-declaration="yes" indent="yes" />

	<xsl:template match="/ROOT/MEDIA">

		<table border="0" cellpadding="2" cellspacing="0" width="100%">
			<xsl:apply-templates select="Row" />
		</table>

	</xsl:template>

	<xsl:template match="Row">
		<tr>
			<td colspan="2" align="left">
				<strong>
					<xsl:value-of  select="SupplierDisplayName"/>
				</strong>
				<br/>
			</td>
		</tr>
		<tr>
			<td valign="top" align="left" class="bdrBtm">
				<xsl:value-of  select="DirectoryNotes"/>
			</td>
			<td class="bdrBtm" valign="top" align="center" width="1%" >
				<a>
					<xsl:attribute name="href">
						<xsl:value-of  select="ApplyURL"/>
					</xsl:attribute>
					<xsl:attribute name="target">_blank</xsl:attribute>
					<img src="{ImageURL}" align="middle" alt="logo" border="0"/>
				</a>
			</td>
		</tr>
		<tr>
			<td align="center" colspan="2" class="bdrBtm">
				<a>
					<xsl:attribute name="href">
						<xsl:value-of  select="ApplyURL"/>
					</xsl:attribute>
					<xsl:attribute name="target">_blank</xsl:attribute>
					Click here to apply&#160;
						<img align="bottom" src="/images/go.gif" alt="apply now" />
				</a>
			</td>
		</tr>
	</xsl:template>

</xsl:stylesheet>
