$('#largeImage').fadeOut("slow",function(){$('#largeImage').attr('src',$(this).attr('src').replace('small','big'))});