jQuery click on image div

I was recently working with jQuery and Image slideshow (for which I used Awkward Showcase plugin). I needed to click on the image but my click function was not working which I found very strange. So, finally I arrived at the following solution on "How to respond to user click…