退出时回到到登陆页面

退出时返回到登陆页面script typetext/javascriptif(top!self){if(top.location ! self.location)t

退出时返回到登陆页面
<script type="text/javascript">
     if(top!=self){
          if(top.location != self.location)
               top.location=self.location;
     }
</script>