if (top.frames.length > 0)
{
  top.location=self.location;
}
