function checkFrameset() {
  if(!parent.left)
   location.href="../index.php?" + location.pathname;
}