<!--#include file="../../owFunctions/I_GeneralFunctions.asp"-->
<!--#include file="../header.asp"-->
<%
	'************************************************************************************
	'*																					*
	'*	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/											*
	'*																					*
	'************************************************************************************
	Dim sMessage, sPage
	sMessage	= Trim(Request("sMessage"))
	sPage		= Trim(Request("sPage"))
	sURL		= "owListCountries.asp?sAction=Search&sSearch=FirstChar&"
	%>
	<script type="text/javascript" src="../Script/fValConfig.js"></script>
	<script type="text/javascript" src="../Script/fValidate.js"></script>
	
	<body style="font-family: Arial; font-size: 11px" topmargin="0" leftmargin="0" bgcolor=C3DAF9>
		<div id="tablediv" style="position: absolute; top: 0px; height: 100%; width:100%">
		<table border="0" cellpadding="0" cellspacing="0" style="font-size: 11px">
			<tr>
				<td width=9 height="25"><img src='../images/bev_left.gif'></td>
				<td height="25" style="BORDER-RIGHT: #aaaaaa 0px solid; BORDER-LEFT: #ffffff 0px solid; " bgcolor="#C3DAF9" background='../images/bev_center.gif'>
					<%If ( bOWBackOfficeDemoMode ) Then%>
					<span	onmouseover="delcountries.src='../images/delcountries.gif'; window.status = '<%=LANG_DT( "GLOBAL_FUNCTION_DISABLED", "Function Disabled in Demo." )%>'; this.style.background='#F5C058'; this.style.border='1px solid #cccccc';" 
							onmouseout="delcountries.src='../images/delcountries_bw.gif'; window.status = ''; this.style.background='transparent'; this.style.border='1px solid #C3DAF9';" 
							onclick="alert('<%=LANG_DT( "GLOBAL_FUNCTION_DISABLED", "Function Disabled in Demo." )%>')" 
							style="cursor: hand; border: 1px solid #C3DAF9; padding-right:0px;">
							<img src="../images/Blank.gif" width=2 height=20 align="absmiddle">
							<img name=delcountries  border="0" src="../images/delcountries_bw.gif" align="absmiddle">
							<img src="../images/Blank.gif" width=2 height=20 align="absmiddle">&nbsp;<%=LANG_DT( "DELETE", "Delete" )%>&nbsp;
					</span>
					<%Else%>
					<%If ( sPage = "" ) Then%>
					<span	onmouseover="delcountries.src='../images/delcountries.gif'; window.status = 'Remove selected countries.'; this.style.background='#F5C058'; this.style.border='1px solid #cccccc';" 
							onmouseout="delcountries.src='../images/delcountries_bw.gif'; window.status = ''; this.style.background='transparent'; this.style.border='1px solid #C3DAF9';" 
							onclick="if (confirm('<%=LANG_DT( "COUNTRIES_CONFIRM", "Are you sure?" )%>')) {parent.owBody.Countries.sAction.value='Delete'; parent.owBody.Countries.submit();};" 
							style="cursor: hand; border: 1px solid #C3DAF9; padding-right:0px;">
							<img src="../images/Blank.gif" width=2 height=20 align="absmiddle">
							<img name=delcountries  border="0" src="../images/delcountries_bw.gif" align="absmiddle">
							<img src="../images/Blank.gif" width=2 height=20 align="absmiddle">&nbsp;<%=LANG_DT( "DELETE", "Delete" )%>&nbsp;
					</span>
					<%End If%>
					<%End If%>
					&nbsp;
					
					<a href="<%=sURL%>" class='BoxedLinks' target='owBody'>&nbsp;<%=LANG_DT( "ALL", "All" )%>&nbsp;&nbsp;</a>	
					<a href="<%=sURL%>sSearchText=a" class='BoxedLinks' target='owBody'>&nbsp;A&nbsp;</a>	
					<a href="<%=sURL%>sSearchText=b" class='BoxedLinks' target='owBody'>&nbsp;B&nbsp;</a>	
					<a href="<%=sURL%>sSearchText=c" class='BoxedLinks' target='owBody'>&nbsp;C&nbsp;</a>	
					<a href="<%=sURL%>sSearchText=d" class='BoxedLinks' target='owBody'>&nbsp;D&nbsp;</a>	
					<a href="<%=sURL%>sSearchText=e" class='BoxedLinks' target='owBody'>&nbsp;E&nbsp;</a>	
					<a href="<%=sURL%>sSearchText=f" class='BoxedLinks' target='owBody'>&nbsp;F&nbsp;</a>	
					<a href="<%=sURL%>sSearchText=g" class='BoxedLinks' target='owBody'>&nbsp;G&nbsp;</a>	
					<a href="<%=sURL%>sSearchText=h" class='BoxedLinks' target='owBody'>&nbsp;H&nbsp;</a>	
					<a href="<%=sURL%>sSearchText=i" class='BoxedLinks' target='owBody'>&nbsp;I&nbsp;</a>	
					<a href="<%=sURL%>sSearchText=j" class='BoxedLinks' target='owBody'>&nbsp;J&nbsp;</a>	
					<a href="<%=sURL%>sSearchText=k" class='BoxedLinks' target='owBody'>&nbsp;K&nbsp;</a>	
					<a href="<%=sURL%>sSearchText=l" class='BoxedLinks' target='owBody'>&nbsp;L&nbsp;</a>	
					<a href="<%=sURL%>sSearchText=m" class='BoxedLinks' target='owBody'>&nbsp;M&nbsp;</a>	
					<a href="<%=sURL%>sSearchText=n" class='BoxedLinks' target='owBody'>&nbsp;N&nbsp;</a>	
					<a href="<%=sURL%>sSearchText=o" class='BoxedLinks' target='owBody'>&nbsp;O&nbsp;</a>	
					<a href="<%=sURL%>sSearchText=p" class='BoxedLinks' target='owBody'>&nbsp;P&nbsp;</a>	
					<a href="<%=sURL%>sSearchText=q" class='BoxedLinks' target='owBody'>&nbsp;Q&nbsp;</a>	
					<a href="<%=sURL%>sSearchText=r" class='BoxedLinks' target='owBody'>&nbsp;R&nbsp;</a>	
					<a href="<%=sURL%>sSearchText=s" class='BoxedLinks' target='owBody'>&nbsp;S&nbsp;</a>	
					<a href="<%=sURL%>sSearchText=t" class='BoxedLinks' target='owBody'>&nbsp;T&nbsp;</a>	
					<a href="<%=sURL%>sSearchText=u" class='BoxedLinks' target='owBody'>&nbsp;U&nbsp;</a>	
					<a href="<%=sURL%>sSearchText=v" class='BoxedLinks' target='owBody'>&nbsp;V&nbsp;</a>	
					<a href="<%=sURL%>sSearchText=w" class='BoxedLinks' target='owBody'>&nbsp;W&nbsp;</a>	
					<a href="<%=sURL%>sSearchText=x" class='BoxedLinks' target='owBody'>&nbsp;X&nbsp;</a>	
					<a href="<%=sURL%>sSearchText=y" class='BoxedLinks' target='owBody'>&nbsp;Y&nbsp;</a>	
					<a href="<%=sURL%>sSearchText=z" class='BoxedLinks' target='owBody'>&nbsp;Z&nbsp;</a>
				</td>
				<td width=9 height="25"><img src='../images/bev_right.gif' height="25"></td>
			</tr>
		</table>
				
		<table width=100% border="0" cellpadding="0" cellspacing="0" style="font-size: 11px">
		<form action='owListCountries.asp' method='post' name='Countries' target="owBody">
			<input type='hidden' name='sAction' value='Search'>
			<tr bgcolor="#C3DAF9">
				<td>
					<table border="0" cellpadding="0" cellspacing="0" style="font-size: 11px">
						<tr bgcolor="#C3DAF9">
							<td width=9 height="25"><img src='../images/bev_left.gif' height="25"></td>
							<td align="center" style="padding-left: 6px;" background='../images/bev_center.gif'>
								<img src='../images/icons/owSearch.gif' width=16>
							</td>
							<td align="center" background='../images/bev_center.gif' >&nbsp;&nbsp;</td>
							<td align="center" background='../images/bev_center.gif' >
								<input type="text" name="sSearchText" size="20" style="font-size: 11px; border: 1 solid #cccccc;">
							</td>
							<td align="center" background='../images/bev_center.gif' >&nbsp;&nbsp;</td>
							<td align="center" background='../images/bev_center.gif' >
								<input type='submit' name='Search' value=' <%=LANG_DT( "GO", "Go" )%> '>
							</td>
							<%If ( bOWBackOfficeDemoMode ) Then%>
							<td align="center" background='../images/bev_center.gif' >&nbsp;&nbsp;</td>
							<td align="center" background='../images/bev_center.gif' >
								<span	onmouseover="AddCountries.src='../images/AddCountries.gif'; window.status = '<%=LANG_DT( "GLOBAL_FUNCTION_DISABLED", "Function Disabled in Demo." )%>'; this.style.background='#F5C058'; this.style.border='1px solid #cccccc';" 
										onmouseout="AddCountries.src='../images/AddCountries_bw.gif'; window.status = ''; this.style.background='transparent'; this.style.border='1px solid #C3DAF9';" 
										onclick="alert('<%=LANG_DT( "GLOBAL_FUNCTION_DISABLED", "Function Disabled in Demo." )%>')" 
										style="cursor: hand; border: 1px solid #C3DAF9; padding-right:0px;">
										<img src="../images/Blank.gif" width=2 height=20 align=absmiddle>
										<img name=AddCountries  border=0 src="../images/AddCountries_bw.gif" align=absmiddle>
										<img src="../images/Blank.gif" width=2 height=20 align=absmiddle>&nbsp;<%=LANG_DT( "SAVE", "Save" )%>&nbsp;
								</span>
							</td>
							<%Else%>
							<%If ( sPage = "" ) Then%>
							<td align="center" background='../images/bev_center.gif' >&nbsp;&nbsp;</td>
							<td align="center" background='../images/bev_center.gif' >
								<span	onmouseover="ModifyCountries.src='../images/ModifyCountries.gif'; window.status = '<%=LANG_DT( "COUNTRIES_SAVENOTE", "Save the changes you have made." )%>'; this.style.background='#F5C058'; this.style.border='1px solid #cccccc';" 
										onmouseout="ModifyCountries.src='../images/ModifyCountries_bw.gif'; window.status = ''; this.style.background='transparent'; this.style.border='1px solid #C3DAF9';" 
										onclick="parent.owBody.Countries.sAction.value='Update'; parent.owBody.Countries.submit();"
										style="cursor: hand; border: 1px solid #C3DAF9; padding-right:0px;">
										<img src="../images/Blank.gif" width=2 height=20 align=absmiddle>
										<img name=ModifyCountries  border=0 src="../images/ModifyCountries_bw.gif" align=absmiddle>
										<img src="../images/Blank.gif" width=2 height=20 align=absmiddle>&nbsp;<%=LANG_DT( "SAVE", "Save" )%>&nbsp;
								</span>
							</td>
							<%End If%>
							<%If ( sPage = "AddCountries" ) Then%>
							<td align="center" background='../images/bev_center.gif' >&nbsp;&nbsp;</td>
							<td align="center" background='../images/bev_center.gif' >
								<span	onmouseover="AddCountries.src='../images/AddCountries.gif'; window.status = '<%=LANG_DT( "COUNTRIES_SAVECOUNTRYNOTE", "Save this new country to the store." )%>'; this.style.background='#F5C058'; this.style.border='1px solid #cccccc';" 
										onmouseout="AddCountries.src='../images/AddCountries_bw.gif'; window.status = ''; this.style.background='transparent'; this.style.border='1px solid #C3DAF9';" 
										onclick="if ( validateForm( parent.owBody.AddCountries, false, false, false, true, 17 ) ) parent.owBody.AddCountries.submit();" 
										style="cursor: hand; border: 1px solid #C3DAF9; padding-right:0px;">
										<img src="../images/Blank.gif" width=2 height=20 align=absmiddle>
										<img name=AddCountries  border=0 src="../images/AddCountries_bw.gif" align=absmiddle>
										<img src="../images/Blank.gif" width=2 height=20 align=absmiddle>&nbsp;<%=LANG_DT( "SAVE", "Save" )%>&nbsp;
								</span>
							</td>
							<%End If%>
							<%If ( sPage = "ModifyCountries" ) Then%>
							<td align="center" background='../images/bev_center.gif' >&nbsp;&nbsp;</td>
							<td align="center" background='../images/bev_center.gif' >
								<span	onmouseover="ModifyCountries.src='../images/ModifyCountries.gif'; window.status = '<%=LANG_DT( "COUNTRY_SAVECHANGESNOTE", "Save the changes you have made to this country." )%>'; this.style.background='#F5C058'; this.style.border='1px solid #cccccc';" 
										onmouseout="ModifyCountries.src='../images/ModifyCountries_bw.gif'; window.status = ''; this.style.background='transparent'; this.style.border='1px solid #C3DAF9';" 
										onclick="if ( validateForm( parent.owBody.ModifyCountries, false, false, false, true, 17 ) ) {parent.owBody.ModifyCountries.sAction.value='Update'; parent.owBody.ModifyCountries.submit();}" 
										style="cursor: hand; border: 1px solid #C3DAF9; padding-right:0px;">
										<img src="../images/Blank.gif" width=2 height=20 align=absmiddle>
										<img name=ModifyCountries  border=0 src="../images/ModifyCountries_bw.gif" align=absmiddle>
										<img src="../images/Blank.gif" width=2 height=20 align=absmiddle>&nbsp;<%=LANG_DT( "SAVE", "Save" )%>&nbsp;
								</span>
							</td>
							<td align="center" background='../images/bev_center.gif' >&nbsp;&nbsp;</td>
							<td align="center" background='../images/bev_center.gif' >
								<span	onmouseover="delcountries.src='../images/delcountries.gif'; window.status = 'Remove selected states and/or taxes.'; this.style.background='#F5C058'; this.style.border='1px solid #cccccc';" 
										onmouseout="delcountries.src='../images/delcountries_bw.gif'; window.status = ''; this.style.background='transparent'; this.style.border='1px solid #C3DAF9';" 
										onclick="if (confirm('<%=LANG_DT( "COUNTRIES_CONFIRM2", "Are you sure you want to remove the selected states and/or taxes?" )%>')) {parent.owBody.ModifyCountries.sAction.value='Update'; parent.owBody.ModifyCountries.submit();};" 
										style="cursor: hand; border: 1px solid #C3DAF9; padding-right:0px;">
										<img src="../images/Blank.gif" width=2 height=20 align="absmiddle">
										<img name=delcountries  border="0" src="../images/delcountries_bw.gif" align="absmiddle">
										<img src="../images/Blank.gif" width=2 height=20 align="absmiddle">&nbsp;<%=Replace(LANG_DT( "COUNTRIES_DELETE", "Delete 1:/Tax" ), "1:", STRUCTURE_TerritoryLabel(Request("sCountryCode")))%>&nbsp;
								</span>
							</td>
							<%End If%>
							<%End If%>
							<%If ( sMessage <> "" ) Then%>
							<td align="center" background='../images/bev_center.gif' >&nbsp;&nbsp;</td>
							<td align="center" background='../images/bev_center.gif' >
								<b><%=sMessage%></b>
							</td>
							<%End If%>
							<td width=9 height="25"><img src='../images/bev_right.gif' height="25"></td>
						</tr>
					</table>
				</td>
			</tr>
		</form>
		</table>
	<!--#include file="../footer.asp"-->