__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
If you have to use javascript, give the img a ID and then Response.Write("<script>document.getElementByID('I D').src = '" + rs("imgSrc") + "';</script>"); but that's really not an elegant solution. On that note, you might as well just swap out the image itself from the record set, rather than trying to do the same in a roundabout way through javascript.
Why not use an image server control, and set its Source property when you consume your data?