<!--#include file="INC_Template.asp"-->
<%
	sCategoryID = Trim(Request("idCategory"))	' specify Querystring and Session because there is one of each var w/ the same name
	If ( sCategoryID = "" ) Then
		sCategoryID = 1
	End If
	
	Dim metaTitle, metaDescription, metaKeywords, metaExpires, metaCharset, metaLanguage, metaObjecttype, metaRating
	Dim metaRobotsText, metaRevisit, metaPragma, metaCache, metaAuthor, metaOwner, metaCopyright, metaQuote

	if instr(lCase(Request.ServerVariables("URL")),"owlistproduct.asp") and Request("idCategory") <> "" then
		owTemplateTitle = "<TITLE>" & sOWCompany & "</TITLE>"
	else
		if instr(lCase(Request.ServerVariables("URL")),"owlistproduct.asp")   then
			owTemplateTitle = "<title>" & "" & LANG_DT( "TEMPLATE_SEARCHRESULTS", "Your Search Results" ) & "</title>"
		else
			if instr(lCase(Request.ServerVariables("URL")),"productdetail.asp") then
				owTemplateTitle = "<TITLE>" & sDescription & " - " & sOWCompany & "</TITLE>"
			else
				if instr(lCase(Request.ServerVariables("URL")),"name of page.asp") then
					owTemplateTitle = "<TITLE>" & sOWCompany & "</TITLE>"
				else
					owTemplateTitle = "<TITLE>" & sOWCompany & "</TITLE>"
				End If
			End If
		End If
	End If
%>
<html>
<head>
	<link rel="stylesheet" type="text/css" href="<%=sPath%>../owTemplates/TemplateStyles.css">
	
	<meta name="DESCRIPTION" content="<%= sOWCompany %><%=chr(32)%><%= metaDescription %>">
	<meta name="keywords" content="<%= metaKeywords %>">
	<META NAME="Author" CONTENT="<%=metaAuthor%>">
	<META NAME="Generator" CONTENT="<%=metaOwner%>">
	<META NAME="Copyright" CONTENT="<%=metaCopyright%>">
	<META HTTP-EQUIV="Expires" CONTENT="<%=metaExpires%>"> 
	<META HTTP-EQUIV="Pragma" CONTENT="<%=metaPragma%>"> 
	<META HTTP-EQUIV="Cache-Control" CONTENT="<%=metaCache%>"> 
	<META HTTP-EQUIV="CONTENT-LANGUAGE" CONTENT="<%=metaLanguage%>">
	<META NAME="robots" CONTENT="<%=metaRobotsText%>">
	<META name="RATING" content="<%=metaRating%>">
	<META name="Language-Parse" content="&#8734;&#43;&#916;">
	<META name="REVISIT-AFTER" content="<%=metaRevisit%>">
	<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=<%=metaCharset%>">
	<META NAME="ObjectType" CONTENT="<%=metaObjecttype%>">
	<!-- <%=metaDescription%> -->
	<!-- <%=metaQuote%> -->
	<%=owTemplateTitle%>
</head>

<BODY BGCOLOR=#FFFFFF>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
	<tr>
		<td valign=bottom rowspan=2 height=40 width=10>
			<a href="<%=sOWStoreUrlNonSSL%>"><img src='<%=sPath%>../owTemplates/images/logo.gif' border=0></a>
		</td>
		<td valign=bottom rowspan=2 height=40 width=10>
			<a href="<%=sOWStoreUrlNonSSL%>owBasket/owShowCart.asp"><img src='<%=sPath%>../owTemplates/images/TopCart.gif' border=0></a>
		</td>
		<td valign=bottom height=22 align=right>
			<table border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td><a href="<%=sOWStoreUrlNonSSL%>default.asp" class='LeftNavLinks'><%=LANG_DT( "TEMPLATE_HOME", "Home" )%></a></tD>
					<td><span class='LeftNavText'>&nbsp;&nbsp;:&nbsp;&nbsp;</span></td>
					<td><a href="<%=sOWStoreUrlNonSSL%>owListProduct.asp?bSpecials=T" class='LeftNavLinks'><%=LANG_DT( "TEMPLATE_SPECIALS", "Specials" )%></a></tD>
					<td><span class='LeftNavText'>&nbsp;&nbsp;:&nbsp;&nbsp;</span></td>
					<td><a href="<%=sOWStoreUrlNonSSL%>owContactUs.asp" class='LeftNavLinks'><%=LANG_DT( "TEMPLATE_CONTACT", "Contact Us" )%></a></tD>
					<td><span class='LeftNavText'>&nbsp;&nbsp;&nbsp;</span></td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<tD background='<%=sPath%>../owTemplates/images/HeaderLine.gif' height=18 valign=bottom align=right>
			<table border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td><a href="<%=sOWStoreUrlNonSSL%>owBasket/owCustomerAuthenticate.asp"><%=LANG_DT( "TEMPLATE_MYACCOUNT", "My Account" )%></a></tD>
					<td>&nbsp;&nbsp;:&nbsp;&nbsp;</td>
					<td><a href="<%=sOWStoreUrlNonSSL%>owBasket/owCheckOut.asp" class='LeftNavLinks'><%=LANG_DT( "TEMPLATE_CHECKOUT", "Checkout" )%></a></tD>
					<td>&nbsp;&nbsp;:&nbsp;&nbsp;</td>
					<td><a href="<%=sOWStoreUrlNonSSL%>owBasket/owShowCart.asp" class='LeftNavLinks'><%=LANG_DT( "TEMPLATE_CART", "Cart" )%></a></tD>
					<td><img src='<%=sPath%>../owTemplates/images/ClearDot.gif' width=10></td>
				</tr>
			</table>
		</td>
	</tr>
	<tr><td><img src='<%=sPath%>../owTemplates/images/ClearDot.gif' width=5></td></tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%" height=100%>
	<tr>
		<td valign=top width="100%">
			<table border="0" cellspacing="0" cellpadding="0" width="100%" height=100%>
				<tr height=9>
					<td><img src='<%=sPath%>../owTemplates/images/BodyTopLeft.gif'></td>
					<td background='<%=sPath%>../owTemplates/images/BodyTopBG.gif'><img src='<%=sPath%>../owTemplates/images/ClearDot.gif' height=9></td>
					<td><img src='<%=sPath%>../owTemplates/images/BodyTopRight.gif'></td>
				</tr>
				<tr>
					<td background='<%=sPath%>../owTemplates/images/BodyMiddleLeft.gif'><img src='<%=sPath%>../owTemplates/images/ClearDot.gif' width=10></td>
					<td width=100% valign=top>
						<%
						Call ActionSubroutine()
						%>
					</td>
					<td background='<%=sPath%>../owTemplates/images/BodyMiddleRight.gif'><img src='<%=sPath%>../owTemplates/images/ClearDot.gif' width=10></td>
				</tr>
			</table>
		</tD>
	</tr>
</table>

<table border="0" cellspacing="0" cellpadding="0" width="100%">
	<tr><tD colspan=2 background='<%=sPath%>../owTemplates/images/HeaderLine.gif' height=5><img src='<%=sPath%>../owTemplates/images/ClearDot.gif' width=5></td></tr>
	<tr>
		<td valign=top height=5>
			<table border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td><a href="<%=sOWStoreUrlNonSSL%>default.asp" class='LeftNavLinks'><%=LANG_DT( "TEMPLATE_HOME", "Home" )%></a></tD>
					<td><span class='LeftNavText'>&nbsp;&nbsp;:&nbsp;&nbsp;</span></td>
					<td><a href="<%=sOWStoreUrlNonSSL%>owListProduct.asp?bSpecials=T" class='LeftNavLinks'><%=LANG_DT( "TEMPLATE_SPECIALS", "Specials" )%></a></tD>
					<td><span class='LeftNavText'>&nbsp;&nbsp;:&nbsp;&nbsp;</span></td>
					<td><a href="<%=sOWStoreUrlNonSSL%>owContactUs.asp" class='LeftNavLinks'><%=LANG_DT( "TEMPLATE_CONTACT", "Contact Us" )%></a></tD>
					<td><span class='LeftNavText'>&nbsp;&nbsp;&nbsp;</span></td>
				</tr>
			</table>
		</td>
		<td align=right>
			<%
			'************************************************************************************
			'*																					*
			'*	Removal of these two lines constitutes a breach of the license agreement.		*
			'*	Both the "Copyright" and "Powered by" lines must remain at all times.			*
			'*																					*
			'************************************************************************************
			%>
			Copyright &copy;<%=DatePart("yyyy",now)%>&nbsp;<%=sOWCompany%><br>
			Powered by <a href="http://www.oneworldstore.com" target="_blank">OneWorldStore&#153;</a>
		</td>
	</tr>
</table>

</body>
</html>