<script>
var eff = parent.foo;
// The 'this' object implicitly provided to 'foo' should be the parent window's global object.
eff(this);
</script>
<script>
var eff = parent.foo;
// The 'this' object implicitly provided to 'foo' should be the parent window's global object.
eff(this);
</script>