I guess this one is a mystery then...
A fix would be much appreciated, but if its the exact same code in the exact same include file, I can't for the life of me figure out why it works in some pages, but not others.....
Might be an open tag somewhere else on the page that bombs out the script....
Thanks - I had a look but couldn't spot anything.
Playing around with it,it seems to work if I do this :
1. Copy the include code back into the main source code.
2. Delete the swap image behaviours.
3. Add the swap image behaviours again.
4. Copy the new code from the source code back to the include code.
Beats me why, but it does. Each time the same code is working for each page that has had the swap image behaviour created manually in the main source code of that page.
One of those things I guess.