I'm new to javascript and am having partial success with this. I have three divs containing text that I need to change between with a crossfade when the relevant tab link is clicked. I have moderate success changing between two divs as it's simple a case of fading A to B or B to A, but it gets more complex when there are three or more divs. I can do this in Flash without a problem, but in this instance it would be much better to have this working with text in the page. I have tried modifying BrandSpankingNew's excellent Crossfader 1.3 script but can't get it to work properly. Any suggestions for an existing script to do this or how to modify Crossfader 1.3 or similar would be much appreciated.

Many thanks - Zaphodz