Print a list of links using document links object
<SCRIPT LANGUAGE="JavaScript">
<!--
var thelinks = document.links;
document.write("The links of this document are<br>");
for(var i = 1; i < thelinks.length; i++)
{
document.write(thelinks[i] + "<br>");
}
// -->
</SCRIPT>