this is what displays now.
In Dreamweaver, the code is not coloring properly, like a " is missing or something. thumb_1 looks good, thumb_2 is color coded wrong, thumb_3 is good, thumb_4 is wrong etc.
I am new to php so your code is confusing me a little, making it hard to track down.
thanks for your help