Hyperlink / css issue with javascript

Hello - I created a Javascript slideshow with thumbnails. I applied css to the thumbnail to get rid of the hyperlink blue color since there is no rollover state. Everything is working great but I notice that in IE7 that the css does not take to the thumbs and that blue color comes back. I looked online and someone said that there has been issues with css on hyperlinks containing javascript.

Does anyone have any suggestions for a work around or a fix?

Thanks:thumb2:

AM