if ( top.location.href == self.location.href )
{
top.location.href = "index.php";
}