$('document').ready(function(){
  var timer,
  count = 0,
  cycle = function(el){
    var s = el.attr('src'),
     root = s.substring( 0, s.lastIndexOf('/') + 1 );
    count = (count+1)%3;
    el.attr('src', root + ((count==0) ? '3' : count) + '.jpg');
 };

$('.ytth img').hover(function(){
   var $this = $(this);
   cycle($this);
   timer = setInterval(function(){ cycle($this); }, 600);
 }, function(){
   clearInterval(timer);
 });

 $("#inaktiv p").css("color", "#AAAAAA");
})



