便乗しますが、 function window.onload() { if(self != top){ top.location = self.location; location.replace("index.php"); } } location.replace()も必要かと・・・ 望月