I can use window.location.search to retrieve a variable from a normal page.
I'm going for the effect of when a user clicks on a link, it opens a frame window with my navigation bar on the top and the new page on bottom.
The problem is that I want to specify which page loads in the bottom in the link to the frame page.
<a href="/framesetpage.html?link=http://mysite.com">View this site</a>
<a href="/framesetpage.html?link=http://yoursite.com">View your site</a>
Then it loads a frame page with the nav page at the top, and whatever page was clicked on below...