<html>
<head>
<script language="Javascript">
<!--
/**
 * This template is called when a link is added into a category,
 * thus the javascript tree should be updated.
 */
 if (parent.CAN_UPDATE) {
	var nodeid = <%id%>;
	var node   = parent.tree.lookup (nodeid);

	var fatherid = node.getFatherId();

	while (true)
	{
		if (node.getNumberOfLinks() != null) node.setNumberOfLinks (node.getNumberOfLinks() - 1);
		if (fatherid == nodeid) break;

		nodeid   = fatherid;
		node     = parent.tree.lookup (nodeid);
		fatherid = node.getFatherId();
	}

	parent.draw_tree();
}
parent.CAN_UPDATE = 0;
// -->
</script>
</head>

<body bgcolor="#FFFFFF">

<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">
Browse: <%Name%>
		</font></b></td>
	  </tr>
	  <tr>
		<td>
		  <p align="center"><b><font color="#000000" size="2" face="Tahoma,Arial,Helvetica">
Browse: <%Name%><br>
<font color="green">Link successfully deleted.</font>
		  </font></b></p>
		  <p><font size="2" face="Tahoma,Arial,Helvetica">
<%navbar%>
		  </font></p>
          </td>
	  </tr>
	</table>
	</td></tr>
</table>

<br>

<%if toolbar%>
	<p><font size="2" face="Tahoma,Arial,Helvetica">Pages: <%toolbar%></font></p>
<%endif%>
<%if links%>
	<table border=1 cellpadding=3 cellspacing=0>
		<tr><td colspan=6><font size="2" face="Tahoma,Arial,Helvetica">There are <b><%count%></b> links.</font></td></tr>
		<%links%>
	</table>
<%endif%>
<%if toolbar%>
	<p><font size="2" face="Tahoma,Arial,Helvetica">Pages: <%toolbar%></font></p>
<%endif%>
</body>
</html>
