I want to make sure that a page is loaded inside its frameset. This is easy enough if you don't mind just reloading the frameset just using:

if (window == top) top.location.href = "frames.html";

However what I want is the page i am loading to be loaded in the content frame (where it should be). Anyone with any suggestions?