$(window).load(function(){var timeOut=null;$('#slideshow .arrow').click(function(e,simulated){if(!simulated){clearTimeout(timeOut)}});(function autoAdvance(){$('#slideshow .next2').trigger('click',[true]);timeOut=setTimeout(autoAdvance,9000)})()});