if (top.frames.length==0) 
  top.location="index.html";

