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

        // goes up in the tree, increasing link counts by one
        // from the new node
        var fatherid = new_node.getFatherId();
        while (true)
        {
                if (new_node.getNumberOfLinks() != null) new_node.setNumberOfLinks (new_node.getNumberOfLinks() + 1);
                if (fatherid == new_id) break;

                new_id   = fatherid;
                new_node = parent.tree.lookup (new_id);
                fatherid = new_node.getFatherId();
        }

        // redisplays this info
        parent.draw_tree();
        parent.frames[parent.LEFT_FRAME_ID].navigate("#<%new%>");
}
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 copied to <%New_Name%>.</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>
