Hallo,
else if(x == "end") top.location.href = parent.frames[0].location;
...
Weiß da vielleicht jemand von Euch weiter?
Ich weiss zwar nicht genau, was Du da vor hast, aber vielleicht hilft das trotzdem:
if (x == "end" && parent.frames[0]) top.location.href = parent.frames[0].location;
Damit wird auch getestet, obs Dein frames[0] ueberhaupt gibt.
Tschuess,
Dirk