Update jquery.fancybox-thumbs.js to remove inline javascript on thumbnail click

Removal of the inline javascript to change thumbnail and added click event on load.  Trying to use this plugin inside a chrome extension it won't work with the inline javascript on the thumbnail.