<!--#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/											*
	'*																					*
	'************************************************************************************
	%>

	<script language = "javascript">

		parent.owBodyTopNav.location="owBodyTopNav.asp?sPage=AddOptions"
		parent.owBodyFooter.location="owBodyFooter.asp?sAction=Null"
		
	</script>

	<body onLoad = 'toForm()' style="font-family: Arial; font-size: 11px;" topmargin="0" leftmargin="0" bgcolor=C3DAF9>
	<form method="post" name="AddOptions" action='owListCurrentGroupAssignments.asp'>
		<input type='hidden' name='sAction' value='AddOptions'>
		<input type='hidden' name='sSort' value='<%=sSort%>'>
		<input type='hidden' name='sSearchText' value='<%=sSearchText%>'>
		<input type='hidden' name='sSearch' value='<%=sSearch%>'>
		<table border="0" cellpadding="0" cellspacing="0" width="100%" style="padding:5px; FONT-WEIGHT: bold; FONT-SIZE: 11px; COLOR: #808080" bgcolor="#ffffff"><tr><td>
		<table border="0" cellpadding="0" cellspacing="0" width="100%" style="FONT-WEIGHT: bold; FONT-SIZE: 11px; COLOR: #808080" bgcolor="#ffffff">
			<tr>
				<td style='padding-top: 5px;'>
					<%=LANG_DT( "OPTION_SELECTNAME", "Please select an Option Group Name to assign Options to:" )%>
				</td>
			</tr>
			<tr>
				<td valign=top>
					<%
					sSQLText = "SELECT * FROM optionsGroups WHERE idOptionGroup > 1"
					Call DB_getFromDatabase(sSQLText, rsStoreData, "") 
					If  rsStoreData.eof then
						Response.Write LANG_DT( "OPTION_NONEINDB", "No options in database" )
					Else
						%>
						<select name="idOptionGroup" onChange="AddOptions.submit();">
							<option value=''><%=LANG_DT( "PLEASESELECT", "Please Select" )%></option>
							<%
							do until rsStoreData.eof 
								%><option value='<%=rsStoreData("idOptionGroup")%>'><%="# "& rsStoreData("idOptionGroup") &" "& rsStoreData("optionGroupDesc")%></option><%
								rsStoreData.movenext
							loop
							%>
						</select>
						<%
					End If
					Call DB_closeRecordset(rsStoreData)
					%>
				</td>
			</tr>
		</td></tr></table>
		</table>
<!--#include file="../footer.asp"-->
