So i'm trying to bodge yet another jQuery script, sorry 
I've found swapimage which is great for simple rollovers, but what I'd really like to do is have the images fade in and out. It seems others have asked for this too, so I found this:
But haven't really got much of a clue where to add it in the script
Can anyone help? Pretty please?

I've found swapimage which is great for simple rollovers, but what I'd really like to do is have the images fade in and out. It seems others have asked for this too, so I found this:
Code:
$.swapImage._swap = function(obj) {
var id = $.data(this);
var data = $.swapImage.data[id];
if (typeof data.src != "undefined") {
var tmp = data.src;
data.src = this.src;
//this.src = tmp;
var o = this;
$(this).fadeTo("slow", 0.0001, function() {
o.src = tmp;
$(o).fadeTo("slow", 1);
});
}
};
But haven't really got much of a clue where to add it in the script

Can anyone help? Pretty please?
