Jquery clcik event not working as expected

I have a test site http://www.kitsheds.com.au:9100/sidach_jd/ that uses the following
jquery
nyroModal

Basically it grabs the concept of an image rotator and loads file fragments into a span within a div container. One of the fragments contains product images that use nyroModal to display one or more images (in a gallery effect). This works OK however when I close the image popover my links no longer work properly. I see it throws a jquery error 2904 but cannot work out what is happening.
How it should work is when I clcik on a product image it should

  1. show the popover
  2. when this is closed I should be able to select products again and choose another image from a different set

But when I do this it fails miserably

Any help would be appreciated. I am new to jquery (I did your course in Melbourne recently). I am using a .live(‘click’, function() to get this all happening. What am I doing wrong???

Aaaaaaaaahhhhhhhhhh!

Just for completeness I have resolved this issue. The problem was with my programming logic. :slight_smile: