if (parent.location.href == self.location.href){ window.location.href = 'Frame_Sets/patients.asp?Page=' + location.pathname }