I assume you want to do more in the function of the parent page; if not, you can just change the iframe url without calling the parent, of course ...
As for your second question, the iframe behaves like an ebmedded page: you can view everything you want in the iframe without affecting the parent (except, of course, javascript calls like the one you want to use), but view with the parent page and you will also lose the iframe. Hope this was the explanation you were looking for :)
Steven
source share