I'm generating and following a link dynamically. When I manually click the link, the Shadowbox appears as expected. When I automatically click the link with JavaScript (document.getElementById("empLink").click();), the link is followed as usual without the Shadowbox.