This behavior will look to see if this document is contained in another frameset, and if so it will replace that site's frameset with this document (but do not place this code in the frameset page, or you will get an infinite loop!). It also replaces that "wrapper" site in the browser history.