var interval; //... elWrap.mouseout(function() { interval = setInterval(autoCange, phase); }).mouseout();