<!--#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"))
	%>
	<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">
		<form action='owListShipments.asp' method='post' name='ShippingTypes' target="owBody">
			<input type='hidden' name='sAction' value='Search'>
			<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%>
					<%If ( sPage = "" ) Then%>
					<span	onmouseover="delshipping.src='../images/delshipping.gif'; window.status = '<%=LANG_DT( "GLOBAL_FUNCTION_DISABLED", "Function Disabled in Demo." )%>'; this.style.background='#F5C058'; this.style.border='1px solid #cccccc';" 
							onmouseout="delshipping.src='../images/delshipping_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=delshipping  border="0" src="../images/delshipping_bw.gif" align="absmiddle">
							<img src="../images/Blank.gif" width=2 height=20 align="absmiddle">&nbsp;<%=LANG_DT( "DELETE", "Delete" )%>&nbsp;
					</span>
					<%ElseIf ( sPage = "ModifyShipping" ) Then%>
					<span	onmouseover="delshipping.src='../images/delshipping.gif'; window.status = '<%=LANG_DT( "GLOBAL_FUNCTION_DISABLED", "Function Disabled in Demo." )%>'; this.style.background='#F5C058'; this.style.border='1px solid #cccccc';" 
							onmouseout="delshipping.src='../images/delshipping_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=delshipping  border="0" src="../images/delshipping_bw.gif" align="absmiddle">
							<img src="../images/Blank.gif" width=2 height=20 align="absmiddle">&nbsp;<%=LANG_DT( "DELETE", "Delete" )%>&nbsp;
					</span>
					<%End If%>
					<%Else%>
					<%If ( sPage = "" ) Then%>
					<span	onmouseover="delshipping.src='../images/delshipping.gif'; window.status = 'Remove selected shipping type(s).'; this.style.background='#F5C058'; this.style.border='1px solid #cccccc';" 
							onmouseout="delshipping.src='../images/delshipping_bw.gif'; window.status = ''; this.style.background='transparent'; this.style.border='1px solid #C3DAF9';" 
							onclick="if (confirm('Are you sure you wish to delete these shipping type(s)?')) {parent.owBody.ShippingTypes.submit();};" 
							style="cursor: hand; border: 1px solid #C3DAF9; padding-right:0px;">
							<img src="../images/Blank.gif" width=2 height=20 align="absmiddle">
							<img name=delshipping  border="0" src="../images/delshipping_bw.gif" align="absmiddle">
							<img src="../images/Blank.gif" width=2 height=20 align="absmiddle">&nbsp;<%=LANG_DT( "DELETE", "Delete" )%>&nbsp;
					</span>
					<%ElseIf ( sPage = "ModifyShipping" ) Then%>
					<span	onmouseover="delshipping.src='../images/delshipping.gif'; window.status = 'Remove this shipping type.'; this.style.background='#F5C058'; this.style.border='1px solid #cccccc';" 
							onmouseout="delshipping.src='../images/delshipping_bw.gif'; window.status = ''; this.style.background='transparent'; this.style.border='1px solid #C3DAF9';" 
							onclick="if (confirm('Are you sure you wish to delete this shipping type?')) {parent.owBody.ShippingTypes.submit();};" 
							style="cursor: hand; border: 1px solid #C3DAF9; padding-right:0px;">
							<img src="../images/Blank.gif" width=2 height=20 align="absmiddle">
							<img name=delshipping  border="0" src="../images/delshipping_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;&nbsp;&nbsp;
	
				</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=' Go '>
				</td>
				<%If ( bOWBackOfficeDemoMode ) Then%>
				<%If ( sPage = "AddShipping" ) Then%>
				<td align="center" background='../images/bev_center.gif' >&nbsp;&nbsp;</td>
				<td align="center" background='../images/bev_center.gif' >
					<span	onmouseover="AddShipping.src='../images/AddShipping.gif'; window.status = '<%=LANG_DT( "GLOBAL_FUNCTION_DISABLED", "Function Disabled in Demo." )%>'; this.style.background='#F5C058'; this.style.border='1px solid #cccccc';" 
							onmouseout="AddShipping.src='../images/AddShipping_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=AddShipping  border=0 src="../images/AddShipping_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 = "ModifyShipping" ) Then%>
				<td align="center" background='../images/bev_center.gif' >&nbsp;&nbsp;</td>
				<td align="center" background='../images/bev_center.gif' >
					<span	onmouseover="ModifyShipping.src='../images/ModifyShipping.gif'; window.status = '<%=LANG_DT( "GLOBAL_FUNCTION_DISABLED", "Function Disabled in Demo." )%>'; this.style.background='#F5C058'; this.style.border='1px solid #cccccc';" 
							onmouseout="ModifyShipping.src='../images/ModifyShipping_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=ModifyShipping  border=0 src="../images/ModifyShipping_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%>
				<%Else%>
				<%If ( sPage = "AddShipping" ) Then%>
				<td align="center" background='../images/bev_center.gif' >&nbsp;&nbsp;</td>
				<td align="center" background='../images/bev_center.gif' >
					<span	onmouseover="AddShipping.src='../images/AddShipping.gif'; window.status = 'Save this new shipping type to the store.'; this.style.background='#F5C058'; this.style.border='1px solid #cccccc';" 
							onmouseout="AddShipping.src='../images/AddShipping_bw.gif'; window.status = ''; this.style.background='transparent'; this.style.border='1px solid #C3DAF9';" 
							onclick="if ( validateForm( parent.owBody.AddShipping, false, false, false, true, 17 ) ) parent.owBody.AddShipping.submit();" 
							style="cursor: hand; border: 1px solid #C3DAF9; padding-right:0px;">
							<img src="../images/Blank.gif" width=2 height=20 align=absmiddle>
							<img name=AddShipping  border=0 src="../images/AddShipping_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 = "ModifyShipping" ) Then%>
				<td align="center" background='../images/bev_center.gif' >&nbsp;&nbsp;</td>
				<td align="center" background='../images/bev_center.gif' >
					<span	onmouseover="ModifyShipping.src='../images/ModifyShipping.gif'; window.status = 'Save the shipping type you have made to this customer.'; this.style.background='#F5C058'; this.style.border='1px solid #cccccc';" 
							onmouseout="ModifyShipping.src='../images/ModifyShipping_bw.gif'; window.status = ''; this.style.background='transparent'; this.style.border='1px solid #C3DAF9';" 
							onclick="if ( validateForm( parent.owBody.ModifyShipping, false, false, false, true, 17 ) ) parent.owBody.ModifyShipping.submit();" 
							style="cursor: hand; border: 1px solid #C3DAF9; padding-right:0px;">
							<img src="../images/Blank.gif" width=2 height=20 align=absmiddle>
							<img name=ModifyShipping  border=0 src="../images/ModifyShipping_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%>
				<%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>
		</form>
		</table>
<!--#include file="../footer.asp"-->