Well, I'm using this function to get me the X Y coordinates
<input type="image" src="image.jpeg" name="foo" ondblclick="dclick()"  onclick="lclick()" style="cursor:crosshair"  value=""/>
$(document).ready(function() {
  $('image').click(function(e) {
    var offset = $(this).offset();
    alert(e.clientX - offset.left);
    alert(e.clientY - offset.top);
  });
});
My problem is that this (obviously) only work with the left mouse click... how can I adapt it to the right click?
 
     
    