You can reach the document scope of "t1.html" by using the following javascript from your frameset page:
<script>
var documentInFrame = window.frames["f1"].document;
</script>
you could then get all anchor tags like this:
<script>
var documentInFrame = window.frames["f1"].document;
var documentAnchors = documentInFrame.getElementsByTagName("a");
</script>