Capior: auf ein bestimmtes Ereignis warten ?

Beitrag lesen

function Animation()
      {
   if(i > 13) i = 0;
   if (i == 13) alert("hoho");
   document.images[0].src = b[i].src;
    i = i + 1;

window.setTimeout("Animation()",4500);
      }