<html>
<head>
<script language="Javascript">
<!-- 
// Do not alter
related_to = <%category_id%>
// -->
</script>
</head>

<body bgcolor="#ffffff" onUnload="related_to=0;">

<table border="1" cellpadding="0" cellspacing="0"><tr><td>
	<table bgColor="#ffffff" border="0" cellPadding="3" cellSpacing="3" width="500" valign="top">
	  <tr>
		<td align="left" bgColor="navy"><b><font color="#ffffff" size="2" face="Tahoma,Arial,Helvetica">
Set Related Categories for: <%Name%>
		</font></b></td>
	  </tr>
	  <tr>
		<td>
		  <p align="center"><b><font color="#000000" size="2" face="Tahoma,Arial,Helvetica">
Set Related Categories for: <%Name%>
		  </font></b></p>
		  <p><font size="2" face="Tahoma,Arial,Helvetica">
<%navbar%>
		  </font></p>
          </td>
	  </tr>
	</table>
	</td></tr>
</table>

<form <%enctype%>action="<%if is_admin%>admin.cgi<%else%><%db_cgi_url%>/browser.cgi<%endif%>" method="POST" name="related_form">
	<input type="hidden" name="action" value="category_related_form">
	<input type="hidden" name="category_id" value="<%id%>">
	<input type="hidden" name="related_to" value="">

<%if related%>
	<p><font face="Tahoma,Arial,Helvetica" size="2">The following categories are already related: <input type="submit" value="Delete Checked"><br><br>
<%related%>
<%endif%>
<p><font face="Tahoma,Arial,Helvetica" size="2">To create a related category, enter in the name you would like to appear (or leave blank
for the default), and then click on the category you want to <%Name%> to be related to.
<p><font face="Tahoma,Arial,Helvetica" size="2">Relation Name: <input type="text" size="20" name="related_name">

<p><font face="Tahoma,Arial,Helvetica" size="2"><a href="<%if is_admin%>admin.cgi<%else%><%db_cgi_url%>/browser.cgi<%endif%>?action=category_click&category_id=<%id%>">Click here when finished</a>.
</form>

</body>
</html>
