﻿<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template name="LifeSpaceLogo_Obsolete">
        <xsl:param name="HostName" select="'N/A'"></xsl:param>
        <xsl:param name="Origin" select="'N/A'"></xsl:param>
        <xsl:param name="Version" select="'N/A'"></xsl:param>
         <xsl:param name="ItemType" select="'N/A'"></xsl:param>

        <div id="divLogo" class="onMouseOver" style="width: 200px;">
            <xsl:choose>
                <xsl:when test ="$Origin = 'brand' or $ItemType = 'Portal'">
                    <xsl:choose>
                        <xsl:when test="$HostName = 'localhost/Website'">
                            <a id="lsHomeLogo" href="http://{$HostName}" style="display:block;">
                                <img id="imgLifeSpaceLogo" alt="LifeSpaceLogo" align="left" border="0"
                                     src="{normalize-space(AjaxRequest/TemplateURL)}Web/Images/LifeSpaceBrandLogo.png"/>
                            </a>
                        </xsl:when>
                        <xsl:otherwise>
                            <a id="lsHomeLogo" href="https://www.coachsimple.net" style="display:block;">
                                <img id="imgLifeSpaceLogo" alt="LifeSpaceLogo" align="left" border="0"
                                     src="{normalize-space(AjaxRequest/TemplateURL)}Web/Images/LifeSpaceBrandLogo.png"/>
                            </a>
                        </xsl:otherwise>
                    </xsl:choose>
                </xsl:when>
                <xsl:when test ="$Origin = 'promoter_registration'">
                </xsl:when>
                <xsl:otherwise>
                    <!--<xsl:choose>-->
                        <!--<xsl:when test="$Version = 1.2">
                            <a id="lsHomeLogo" onClick="lifeSpace_LoadNavigationBar('divLeftContent', '0', '1.2');
                                                        lifeSpace_LoadDashboardRightContent('divRightContent', '0', '1.2');" 
                                                                style="display:block;">
                                <img id="imgLifeSpaceLogo" alt="LifeSpaceLogo"
                                     src="{normalize-space(AjaxRequest/TemplateURL)}Web/Images/LifeSpaceLogo.jpg"
                                     class="logoStyle" />
                            </a>
                        </xsl:when>
                        <xsl:otherwise>-->
                            <a id="lsHomeLogo" href="http://{normalize-space($HostName)}" style="display:block;">
                                <img id="imgLifeSpaceLogo" alt="LifeSpaceLogo"
                                     src="{normalize-space(AjaxRequest/TemplateURL)}Web/Images/LifeSpaceLogo.jpg"
                                     class="logoStyle" />
                            </a>
                        <!--</xsl:otherwise>-->
                    <!--</xsl:choose>-->
                </xsl:otherwise>
            </xsl:choose>
        </div>
        <div id="loginDiv" style="position: absolute; width: 206px; height: 10px; z-index: 1000;
                                display: none;">
            <iframe id="iframeLoginPopup" width="100%" title="article title" name="content" frameborder="0"
                height="100%" scrolling="no"></iframe>
        </div>
    </xsl:template>
</xsl:stylesheet>
