So the following code alerts false twice:
window.onload = function(){ alert(window.myframe.myarray instanceof Array);
The two windows each create their own global script environment.
The Array constructor of one is not the same object as the other.
var win2=window.myframe; alert(win2.myarray instanceof win2.Array); returns true