I need a script that does two things.
1. Change the image
2. Change the source in another frame

I have two frames, lets name them 1 and 2 to make it simple. In frame one there are two images, products.gif and brands.gif. I also have two more images which are productsActive.gif and brandsActive.gif. What I need help with is when I cklick the products image I want frame 2 to change address to products.html simultaneously as products.gif changes to productsActive.gif and the brandsActive.gif changes to brands.gif in frame 1.

Just shout if you don't understand, but take it easy on me, I suck at javascripts.
//Robert