anzahl_bilder=4; NeuStart=false; caser=window.setInterval('if(a>anzahl_bilder)a=1; chase("i"+a,"my_inhalt","doc"+a);a++', 4000); case_lod_elem=document.getElementById('overview'); $('#overview').on('mouseover',function(){clearInterval(caser);}); $('#overview').on('mouseout',function(){if(NeuStart==true)a=1; caser=window.setInterval('if(a>anzahl_bilder)a=1; chase("i"+a,"my_inhalt","doc"+a);a++', 4000);});