Trying to override/intercept a PhotoMosaic gallery link in WordPress using jQuery

Figured it out. I disabled links in the PhotoMosaic shortcode, then used $(window).load to detect clicks on the images and redirect accordingly. I then used CSS to change the cursor and add an opacity change on mouseover to imitate a link so the users know that they can click on the images.