i think you do it like this
in your parent doc, give the HTML tag an ID attribute
<HTML ID="parentwindow"...
(it may go in the body tag instead, not sure)
then, when you want to redirect, do
parentwindow.location = 'index.htm';
if you are halfway through generating a page in php and want to redirect, output this
<SCRIPT FOR="body" EVENT="onload">
parentwindow.location = 'index.htm';
</SCRIPT>
and the page will redirect when it gets to that point
hope that helps
adam