if (parent.frames.length == 0)
  location.href = "/index.php?location=" + location.href;
