﻿<?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 name="LifespaceTourWizard">
		<xsl:param name="HostName" select="'N/A'"></xsl:param>
		<xsl:param name="SelectedLink" select="'N/A'"></xsl:param>

		<table class="tableMaster" id="tabWizard" cellpadding="0" cellspacing="0">
			<tr class="capitalFont LSTourWizard">
				<xsl:choose>
					<xsl:when test="$SelectedLink = 'start a goal'">
						<td width="25%" class="verticallyMiddle textCenter">
							<a style="display:block;" class="decorationNone padding20" href="http://{$HostName}/StartAGoal.aspx">
								<span id="span_startGoal" class="selectedWizardMenu">
									start a goal
								</span>
							</a>
						</td>
					</xsl:when>
					<xsl:otherwise>
						<td width="25%" class="verticallyMiddle textCenter unSelectedWizardMenu"
							onmouseover="document.getElementById('span_startGoal').style.color='#288597';"
							onmouseout="document.getElementById('span_startGoal').style.color='#FFFFFF';">
							<a style="display:block;" class="decorationNone loginWizardTabs padding20" href="http://{$HostName}/StartAGoal.aspx">
								<span id="span_startGoal" class="LSTourWizard">
									start a goal
								</span>
							</a>
						</td>						
					</xsl:otherwise>
				</xsl:choose>
				<xsl:choose>
					<xsl:when test="$SelectedLink = 'your superpage'">
						<td width="25%" class="verticallyMiddle textCenter">
							<a style="display:block;" class="decorationNone padding20" href="http://{$HostName}/YourSuperpage.aspx">
								<span id="span_yourSuperpage" class="selectedWizardMenu">
									your superpage
								</span>
							</a>
						</td>
					</xsl:when>
					<xsl:otherwise>
						<td width="25%" class="verticallyMiddle textCenter unSelectedWizardMenu"
							onmouseover="document.getElementById('span_yourSuperpage').style.color='#288597';"
							onmouseout="document.getElementById('span_yourSuperpage').style.color='#FFFFFF';">
							<a style="display:block;" class="loginWizardTabs decorationNone padding20" href="http://{$HostName}/YourSuperpage.aspx">
								<span id="span_yourSuperpage" class="LSTourWizard">
									your superpage
								</span>
							</a>
						</td>
					</xsl:otherwise>
				</xsl:choose>
				<xsl:choose>
					<xsl:when test="$SelectedLink = 'get connected'">
						<td width="25%" class="verticallyMiddle textCenter">
							<a style="display:block;" class="decorationNone padding20" href="http://{$HostName}/GetConnected.aspx">
								<span id="span_getConnected" class="selectedWizardMenu">
									get connected
								</span>
							</a>
						</td>
					</xsl:when>
					<xsl:otherwise>
						<td width="25%" class="verticallyMiddle textCenter unSelectedWizardMenu"
							onmouseover="document.getElementById('span_getConnected').style.color='#288597';"
							onmouseout="document.getElementById('span_getConnected').style.color='#FFFFFF';">
							<a style="display:block;" class="loginWizardTabs decorationNone padding20" href="http://{$HostName}/GetConnected.aspx">
								<span id="span_getConnected" class="LSTourWizard">
									get connected
								</span>
							</a>
						</td>
					</xsl:otherwise>
				</xsl:choose>
				<xsl:choose>
					<xsl:when test="$SelectedLink = 'get yours'">
						<td width="25%" class="verticallyMiddle textCenter">
							<a style="display:block;" class="decorationNone padding20" href="http://{$HostName}/GetYours.aspx">
								<span id="span_getYours" class="selectedWizardMenu">
									get yours
								</span>
							</a>
						</td>
					</xsl:when>
					<xsl:otherwise>
						<td width="25%" class="verticallyMiddle textCenter unSelectedWizardMenu"
							onmouseover="document.getElementById('span_getYours').style.color='#288597';"
							onmouseout="document.getElementById('span_getYours').style.color='#FFFFFF';">
							<a style="display:block;" class="loginWizardTabs decorationNone padding20" href="http://{$HostName}/GetYours.aspx">
								<span id="span_getYours" class="LSTourWizard">
									get yours
								</span>
							</a>
						</td>
					</xsl:otherwise>
				</xsl:choose>
			</tr>
		</table>
	</xsl:template>
</xsl:stylesheet>
