Ignore that Previous reply! (Accidentally hit post prematurely...)
It turns out that there is no need to loop; one solution simply seems to be
to change the line
> OTHER_WINDOW.location = [some other function call goes here];
to
OTHER_WINDOW.navigate( [some other function call goes here] );
So, IE seems to treat the navigate call more as an immediate action to
undertake, rather than as a suggestion (which is what seems to happen when
you merely change the location property).
WARNING: the above code will only work in IE and not in NN