<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:rs='urn:schemas-microsoft-com:rowset' xmlns:z='#RowsetSchema'
version="1.0">

<xsl:output method="html" indent="yes" omit-xml-declaration="yes"/>

<xsl:template match="/data">
	<table width="100%"    border="0" style="border-bottom:1px dotted #999999;"  id="table73">
		<xsl:for-each select="row">
			<xsl:if test="position() mod 3 = 1"><xsl:value-of select="string('&lt;tr&gt;')" disable-output-escaping="yes"/></xsl:if>
			<td width="33%;" valign="top" style="border-right:1px solid #cccccc;padding-left:0px;"><xsl:apply-templates select="."/></td>
			<xsl:if test="position() mod 3 = 0"><xsl:value-of select="string('&lt;/tr&gt;')" disable-output-escaping="yes"/></xsl:if>
		</xsl:for-each>
	</table>	
</xsl:template>
<xsl:template match="row">
<xsl:variable name="ImageUrl" select="substring-before(substring-after(PublishingRollupImage,'src=&quot;'),'&quot;')"/>
<table  style=" vertical-align:top; background-position:left top; margin-top:0px;padding-top:0px; width:100%; ">
<tbody>
	<xsl:choose>
			<xsl:when test="PublishingRollupImage=''">
				<tr>
					<tr>
						<td colspan="1" style=" text-align:left;height:12px;">
						<a style="font-size:12pt;font-weight:bold;">
							<xsl:attribute name="href"><xsl:value-of select="FileRef"/></xsl:attribute>
							<xsl:value-of select="Title"/>
						</a>
						</td>
					</tr>
					<tr><td style="border-bottom:dotted 1px #333333; border-top:0px; height:0px;padding:0px; font-size:1pt;" colspan="3">&#160;</td></tr>
					<tr>
						<td align="left" valign="top"  rowspan="2" style="text-align: left; ">
						<p>
						<xsl:value-of select="Comments" disable-output-escaping="yes"/>
						</p>
					</td>
					</tr>
				</tr>
			</xsl:when>
			<xsl:otherwise>
				<tr>
					<tr>
						<td colspan="1" style=" text-align:center;height:22px;">
						<a><xsl:attribute name="href"><xsl:value-of select="FileRef"/></xsl:attribute>
						<img width="200px" style="border:1px solid #7c7c7c; float:left; vertical-align:top;">
						<xsl:attribute name="src"><xsl:value-of select="$ImageUrl"/></xsl:attribute>
						</img>
						</a>
						<a style="font-size:12pt;font-weight:bold;">
							<xsl:attribute name="href"><xsl:value-of select="FileRef"/></xsl:attribute>
							<xsl:value-of select="Title"/>
						</a>
						</td>
					</tr>
					<tr><td style="border-top:dotted 1px #333333; height:3px;padding:0px; font-size:1pt;" colspan="3">&#160;</td></tr>
					<tr>
						<td align="left" valign="top"  rowspan="2" style="text-align: left; ">
						<a style=" font-family: arial; font-style: normal; text-align: left; font-size:10px; color:#333333; text-decoration:none;">
						<xsl:value-of select="Comments" disable-output-escaping="yes"/>
						</a>
					</td>
					</tr>
				</tr>
			</xsl:otherwise>
		</xsl:choose>
</tbody>
</table>
</xsl:template>
</xsl:stylesheet>

