function checkit() {
      if (parent != self) {
	     parent.location.href='login.php';
	  }
}
