JQuery with Image Map Areas

I am trying to match a passed parameter on a url to an area on an image map.

So far I can find the correct area using


          $('#mediummap area').each(function(i){
href = $(this).attr('href');
if (href == id) {
    alert('Found ID ' + id);
    }
 });
 }
});

But next I need to retrieve the co-ordinates for the Area

I have tried


    coords = $('this').attr('coords');

and


    coords = $('this').coords();

but must be missing something silly as I can not seem to get the value back, just an undefined return.

What I want to do is to find the point on the image map and then centre that point with in the viewport for the image (large image, small viewport).


//"id" is from?
$('#mediummap area').each(function(i){
	var href	= $(this).attr('href'),
		coords	= $(this).attr('coords');
	if (href == id) {
		alert('Found ID ' + id);
		alert('Coords is '+ coords);
	}
});