Select a Link caused by a click event

Select a Link caused by a click event

Hello,

i have build a website with google maps. You can find it here:
http://geeko16.comze.com/hohen/

Within this website you can search for farmers in Baden-Württemberg Germany. So if you try to use it for debugging just search for "Stuttgart" f.e.

My problem is that if i click on a marker displayed in the map the associated pagination tab should be opened.
I tried to select the link matching the pagination tabs within the Google Gevent.addListener event like:
$('a.'+linkid).html('klick mich');

Chaning the html code of the linkid was just for me, so i  understand how jQuery works. But how do i implement the function i need?
Any suggestion?

Best regards and thanks for your help
Geeko