How do I redirect a survey end page to the top window instead of the iFrame window?

How do I redirect a survey end page to the top window instead of the iFrame window?

When a survey is embedded on a website in an iFrame, you can view the survey end page in the following ways:
  1. A Thank You page that opens within the iFrame. Or,
  1. A Thank You page that expands on to the whole window, (or the top window). You can get this done by appending "?target=top" at end of the survey URL in the embed iFrame code.