if(top==self) {
     var parentURL = "../../index.htm"
     var childURL = window.location.href
     var reframeURL = parentURL + "?" + childURL
     location.href = reframeURL
}
okay=false;
if (self.parent.frames.length > 0)
      {
      if ((parent.left.location.href.indexOf('profile') > 0) && (window.location.href.indexOf('profile') > 0))             okay=true
      if ((parent.left.location.href.indexOf('patients') > 0) && (window.location.href.indexOf('patients') > 0))           okay=true
      if ((parent.left.location.href.indexOf('physicians') > 0) && (window.location.href.indexOf('physicians') > 0))       okay=true
      if ((parent.left.location.href.indexOf('careers') > 0) && (window.location.href.indexOf('careers') > 0))             okay=true
      if ((parent.left.location.href.indexOf('contact') > 0) && (window.location.href.indexOf('contact') > 0))             okay=true
      if ((parent.left.location.href.indexOf('news') > 0) && (window.location.href.indexOf('news') > 0))                   okay=true
      if ((parent.left.location.href.indexOf('productlaunch') > 0) && (window.location.href.indexOf('productlaunch') > 0)) okay=true
      }
if (okay == false)
      {
      var parentURL = "../../index.htm"
      var childURL = window.location.href
      var reframeURL = parentURL + "?" + childURL
      parent.location.href = reframeURL
      }