This question starts here:
But since it lead to a question not asked there I'm posting a new.
When using the code in the previous question the link to "B" opens in a new window. Is there any way I can get it to work as a normal anchor and link to a place in the same document. Can I "prerun" the query or something like that?