if (self.name != 'text') { self.location.href = '../index.htm?page=' + self.location.pathname; }