Sorry to bring this old thread, but that script did not work for me and I thought someone might know how to get it working.

I got an error on this line:

Swap.src = RolloverArray[img + '_' + state].src;
_________________________
Matt