﻿<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

    <xsl:template match="/">
        <div id="divAdsSelecedAd_{Ads/Ad/lsAdID}_ID" style="margin: 20px;">
            <table cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td>
                        <span class="labelHeader">
                            Ad:&#xa0;<xsl:value-of select ="Ads/Ad/AdName"/>
                        </span>
                        (
                        <span class="label onMouseOver"
                              onmouseover="this.style.textDecoration='underline';"
                              onmouseout="this.style.textDecoration='none';"
                              onClick="return ad_Edit('{normalize-space(Ads/Ad/lsAdID)}', 'divAd_Operation');">
                            edit ad
                        </span>
                        )
                    </td>
                </tr>
                <tr>
                    <td>
                        <div style="text-align: center;">
                            <xsl:value-of select ="Ads/Ad/AdHTML" disable-output-escaping ="yes"/>
                        </div>
                    </td>
                </tr>
            </table>

        </div>
    </xsl:template>

</xsl:stylesheet>
