Positioning Lightbox

Hi All,

A client has asked for lightbox effect to be used on a little image gallery. No problem, however the client wants the lightbox which is generated to be positioned over the clicked element rather than the center of the browser. Is this possible? Any ideas?