﻿<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl">
	<xsl:output method="xml" indent="yes"/>

	<xsl:template match="/">
		<xsl:variable name="HostName" select="normalize-space(AjaxRequest/HostName)"></xsl:variable>
		<xsl:variable name="TemplateURL" select="normalize-space(AjaxRequest/TemplateURL)"></xsl:variable>
		<xsl:variable name="IsAuthenticated" select="normalize-space(AjaxRequest/Authenticated)"></xsl:variable>
		
			<xsl:choose>
					<xsl:when test="$IsAuthenticated = 'False'">
                        <a class="onMouseOver" href="https://itunes.apple.com/in/app/party-pong-club/id692829032?mt=8" >
                            <img id="Image1" src="{$TemplateURL}Web/Images/ver_2_0/Club/IphoneStore.png" alt=""/>
                        </a>              
                            <img id="Image2" src="{$TemplateURL}Web/Images/ver_2_0/Club/FreeDownload.png" alt=""/>
                        
                        <a class="onMouseOver" href="https://play.google.com/store/apps/details?id=com.partypong.club" >
                            <img id="Image3" src="{$TemplateURL}Web/Images/ver_2_0/Club/GoogleStore.png" alt=""/>
                        </a>
						
					</xsl:when>
					<xsl:otherwise>
                        <a class="onMouseOver" href="https://itunes.apple.com/in/app/party-pong-club/id692829032?mt=8" >
                            <img id="Image1" src="{$TemplateURL}Web/Images/ver_2_0/Club/IphoneStore.png" alt=""/>
                        </a>                       
                            <img id="Image2" src="{$TemplateURL}Web/Images/ver_2_0/Club/FreeDownload.png" alt=""/>
                        
                        <a class="onMouseOver" href="https://play.google.com/store/apps/details?id=com.partypong.club" >
                            <img id="Image3" src="{$TemplateURL}Web/Images/ver_2_0/Club/GoogleStore.png" alt=""/>
                        </a>		
					</xsl:otherwise>
				</xsl:choose>
	</xsl:template>
</xsl:stylesheet>
