My page has a popup window that should enable searches:

The problem is that the popup is located at a scrolled down part of the page, and when reloading the page with the search results the popup is “open” but the entire page begins at the top again since it was a new hit. How do I make the page go directly “halfway” scrolled down so that the results view matches the window? Should I use some kind of anchor?
You have two choices here:
A) Use an anchor. Give an ID to the
divthat has your searchbox (let’s suppose it’ssearchdiv), and thenhttp://yoursite.com/page.html#searchdivwould automatically scroll tosearchdiv. Here’s a little demo to elaborate this: little link. (Notice the URL in your browser’s location bar).B) If you want to be a bit more fancy and animate the scroll, use jQuery
A little demo of this method: little link.
I hope that helped!