  if (self.parent.frames.length == 0)
    self.parent.location="http://" + document.domain;