<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:strip-space elements="*"/>
<xsl:output method="html" indent="yes" encoding="utf-8"/>

<xsl:template match="SB-IMAGE-PROVIDER-BANNER">
<table style="width: 100%; border-collapse: collapse;" cellpadding="0" cellspacing="0">
<tr id="fotoliaPromotionContainer" style="display: none;">
	<td>
		<table style="width: 100%; border-collapse: collapse;" cellpadding="0" cellspacing="0">
			<tr>
				<td style="padding-bottom: 5px;" align="right">
					<a id="fotoliaHidePromotionLink" href="#" class="sb-fotolia-link">
						<xsl:value-of select="/SITEBUILDER-PAGE/LOCALE/FOTOLIA-HIDE-PROMOTION"/>
					</a>
				</td>
			</tr>
			<tr>
				<td style="padding: 0pt; 10px; 10px">
					<table border="0" cellpadding="5" cellspacing="0" class="sb-statusbar-admin-info sb-statusbar-admin" style="width: 100%; margin: 0;">
						<tr>
							<td>
								<table border="0" cellpadding="0" cellspacing="0">
									<tr valign="top">
										<td style="text-valign:middle; padding-left: 5px;">
											<img src="{$skinPath}/icons/fotolia.png" style="border-width:0px;"></img>
										</td>
										<td width="100%" class="sb-statusbar-admin-text" style="padding-left: 10px;" valign="middle">
											<xsl:value-of select="/SITEBUILDER-PAGE/LOCALE/FOTOLIA-PROMOTION"/>
											&#160;<b> <a id="fotoliaSearchLink" href="#">
												<xsl:value-of select="/SITEBUILDER-PAGE/LOCALE/FOTOLIA-TRY-US-FOR-FREE"/>
											</a></b>
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</td>
</tr>

<xsl:if test="FOTOLIA/@IS-NOT-PURCHASED='1'">
<tr>
	<td style="height:5px">
		<div style="height:5px"></div>
	</td>
</tr>
<tr>
<td style="padding: 0pt; 10px; 10px">
	<table border="0" cellpadding="5" cellspacing="0" class="sb-statusbar-admin-warning sb-statusbar-admin" style="width: 100%; margin: 0;">
	<tr>
		<td>
			<table border="0" cellpadding="0" cellspacing="0">
			<tr valign="top">
				<td style="text-valign:middle; padding-left: 5px;">
					<img src="{$skinPath}/icons/warning.png" style="border-width:0px;"></img>
				</td>
				<td width="100%" class="sb-statusbar-admin-text" style="padding-left: 10px;" valign="middle">
					<xsl:value-of select="/SITEBUILDER-PAGE/LOCALE/FOTOLIA-NEED-TO-BUY"/>&#160;
					<b> <a id="fotoliaPurchaseLink" href="#">
						<xsl:value-of select="/SITEBUILDER-PAGE/LOCALE/FOTOLIA-PROCEED-BUY"/>
					</a></b>
				</td>
			</tr>
			</table>
		</td>
	</tr>
	</table>
</td>
</tr>
</xsl:if>

</table>

<script type="text/javascript" language="javascript">
	InitFotoliaBannerManager('<xsl:value-of select="FOTOLIA/@IMAGE-ID"/>');
</script>
</xsl:template>

</xsl:stylesheet>