<xsl:template match="p">
	<fo:block font-size="9pt" 
	  font-family="Times" 
	  line-height="9pt"
	  color="black"
	  text-align="left"
	  padding-top="0pt"
	  start-indent="0pt"
	  text-indent="0pt"
	  white-space-collapse="false"
	  hyphenate="true"
	  language="en">
		<xsl:choose>
			<xsl:when test="@class">
				<xsl:choose>

					<xsl:when test="@class = 'texthangL1'">
						<xsl:attribute name="start-indent">11pt</xsl:attribute>
						<xsl:attribute name="text-indent">-11pt</xsl:attribute>
					</xsl:when>

					<xsl:when test="@class = 'texthangL2'">
						<xsl:attribute name="start-indent">22pt</xsl:attribute>
						<xsl:attribute name="text-indent">-11pt</xsl:attribute>
					</xsl:when>

					<xsl:when test="@class = 'head1'">
						<xsl:attribute name="font-size">11pt</xsl:attribute>
						<xsl:attribute name="line-height">11pt</xsl:attribute>
						<xsl:attribute name="space-before.optimum">4pt</xsl:attribute>
						<xsl:attribute name="space-after.optimum">2pt</xsl:attribute>
						<xsl:attribute name="font-weight">bold</xsl:attribute>
						<xsl:attribute name="keep-with-next.within-page">always</xsl:attribute>
						<xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
						<xsl:attribute name="keep-with-next">always</xsl:attribute>
					</xsl:when>

					<xsl:when test="@class = 'head2'">
						<xsl:attribute name="font-size">10pt</xsl:attribute>
						<xsl:attribute name="line-height">10pt</xsl:attribute>
						<xsl:attribute name="space-before.optimum">3pt</xsl:attribute>
						<xsl:attribute name="space-after.optimum">1pt</xsl:attribute>
						<xsl:attribute name="font-weight">bold</xsl:attribute>
						<xsl:attribute name="font-style">italic</xsl:attribute>
						<xsl:attribute name="keep-with-next.within-page">always</xsl:attribute>
						<xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
						<xsl:attribute name="keep-with-next">always</xsl:attribute>
					</xsl:when>

				</xsl:choose>
			</xsl:when>
		</xsl:choose>
		<xsl:choose>
			<xsl:when test="@style">
				<xsl:choose>
					<xsl:when test="@style = substring-before(substring-after(@style, 'margin-left:'), ';')">
						<xsl:attribute name="start-indent"><xsl:value-of select="substring-before(substring-after(@style, 'margin-left:'), ';')"/></xsl:attribute>
					</xsl:when>
				</xsl:choose>
			</xsl:when>
		</xsl:choose>
		<xsl:apply-templates/>
	</fo:block>
</xsl:template>
