Jquery tabs in search results

Hi All,

without going into detailed Ajax I'd like to be able to display search results in Jquery tabs which group the results based on the folder they're in. The tabs aren't quite there yet and I'm still looking for a solution on that but first I'd like to be able to navigate from one tab to the other, showing the results for that group by appending the query to the url and bookmark. Does anyone have an idea how that works?

say the page is called result and the tab is tabs-2 I can view the initial content as result/#tabs-2 but how do I append the search query such as ?queries_short_name_query=injustice&x=0&y=0  to that? My search returns the url "result/?queries_short_name_query=injustice&x=0&y=0"

Kind Regards,

Clement