for solution for dynamic image reload
clean up the code
created a new query pollingThumb plugin
moved thumb reload java script code into query plugnin 'pollingThumb'
moved pollingThumb plugin into a separate file.
renamed file
finished plugin integration of pollingThumb jquery plugin integration