mouse on, mouse off

mouse on, mouse off

hi, when i mouseon an image, how can i make it so, the image i'm mousingon and a second image both fade into alternate images, and then fade back out to the original images when i mouseoff? here is an example- http://www.javascript-fx.com/development/ifctest/ifctest.html . any help would be most appreciated.