﻿<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  <xsl:output method="html" omit-xml-declaration="yes"/>
  
	<xsl:param name="Title" />
	<xsl:param name="Description" />
	<xsl:param name="FontTheme" />
	<xsl:param name="ColorTheme" />
	<xsl:param name="LogoUrl" />
	<xsl:param name="LogoSize" />
	<xsl:output method="html"/>
	<xsl:template match="/">

    <TABLE cellSpacing="0" cellPadding="0" width="780" border="0" class="MSC_SiteWidth">
    <TR>
	 		<TD width="147" class="BG_Light">
	 			<img src="/_layouts/wh/images/themes/Accounting/1b_MemorialDay_t11.jpg">
	 			</img>
	 		</TD>
			<td class="BG_Light" valign="middle" align="left" width="65%" style="padding:0 0 0 20" >
        <xsl:if test="string-length($LogoUrl) != 0">
          <img >
            <xsl:attribute name="src">
              <xsl:value-of select="$LogoUrl"/>
            </xsl:attribute>
            <xsl:if test="string-length($LogoSize) != 0 ">
              <xsl:attribute name="height">
                <xsl:value-of select="$LogoSize"/>
              </xsl:attribute>
            </xsl:if>
          </img>
        </xsl:if>
        <table cellpadding="0" cellspacing="0" border="0">
          <tr>
            <td align="left">
              <h1 id="IWS_WH_Elem_SiteTitle" class="MSC_HeaderText F_Dark" style="padding:0px;margin:0px"><xsl:value-of select="$Title" /></h1>
						</td>
					</tr>
					<tr>
						<td align="left" >
							<h4 id="IWS_WH_Elem_SiteDescription" class="MSC_HeaderDescription F_Dark"><xsl:value-of select="$Description" /></h4>
						</td>
					</tr>
				</table>
			</td>
			<TD width="35%" class="BG_Light" align="left" background="/_layouts/wh/images/themes/Accounting/2_MemorialDay_t11.jpg">
	 		</TD>
	 	</TR>
	 </TABLE>
  </xsl:template>
</xsl:stylesheet>
