<!--#include file="../../owFunctions/I_GeneralFunctions.asp"-->
<%
	sPath = "../"	' this is used within the template
	If ( NOT bHasAccount ) Then
		Response.Redirect "../owCustomerAuthenticate.asp"
	End If

	'************************************************************************************
	'*																					*
	'*	MODIFICATION TO THIS SCRIPT OR ANY FILES INCLUDED WITH 							*
	'*		ONEWORLDSTORE IS DONE AT YOUR OWN RISK!										*
	'*	Product  : OneWorldStore														*
	'*	Version  : 9.0000																*
	'*	Modified : June 2004															*
	'*	Copyright:	Copyright (C) 2004 OneWorldStore.Com								*
	'*				Registration Number: 1024507										*
	'*				http://strategis.ic.gc.ca/											*
	'*																					*
	'************************************************************************************
	%><!--#include file="../../owTemplates/Template_AllLeft.asp"--><%

	
	'************************************************************************************
	'*																					*
	'*																					*
	'*																					*
	'************************************************************************************
	Sub ActionSubroutine()

		pCustomerName = CONVERSION_SQLEncode2(Request("name"),30)
		%>
		<table width=<%=sOWStoreTableWidth%> border=0 style='border: 1px solid #000000;' cellspacing=0 cellpadding=5>
			<tr bgcolor="#eeeeee">
				<td style='border-bottom: 1px solid #000000;'>
					<b><%=LANG_DT( "MYACCOUNTMAIN_HEAD", "Customer Utilities" )%></b>
				</td>
				<td align=right style='border-bottom: 1px solid #000000;'>
					<%If ACCNT_InGroup(iLoginAccountUnq, C_GROUP_WHOLESALE) Then%>
					(<i>- <%=LANG_DT( "MYACCOUNTMAIN_WHOLESALE", "WholeSale customer" )%> -</i>)
					<%ElseIf ACCNT_InGroup(iLoginAccountUnq, C_GROUP_RETAIL) Then%>
					(<i>- <%=LANG_DT( "MYACCOUNTMAIN_RETAIL", "Retail customer" )%> -</i>)
					<%End If%>
				</td>
			</tr>
			<tr>
				<td colspan=2>
					<%if pCustomerName <> "" then%>
					<%=LANG_DT( "MYACCOUNTMAIN_WELCOME", "Welcome back" )%> <%=pCustomerName & " " & Request("lastName")%><br>
					<%End If%>
					- <a href="owCustomerAdminListOrders.asp"><%=LANG_DT( "MYACCOUNTMAIN_TRACK", "Track an Order" )%></a>
					<br>- <a href="owCustomerAdminCancelOrder.asp"><%=LANG_DT( "MYACCOUNTMAIN_CANCEL", "Cancel an Order" )%></a>
					<br>- <a href="owCustomerEditProfile.asp"><%=LANG_DT( "MYACCOUNTMAIN_MODIFY", "Modify Your Information" )%></a>
					<br>- <a href="../../owContactUs.asp"><%=LANG_DT( "MYACCOUNTMAIN_CONTACT", "Contact a Store Representative" )%></a>
					<br><br>- <a href="owLogout.asp"><%=LANG_DT( "LOGOUT", "Logout" )%></a>
				</td>
			</td>
		</table>
		<%
		
	End Sub
	'************************************************************************************
	%>