if(!parent.haupt)
  location.href="index.php?frame=" + location.pathname
