var z_i_slide;
  function clickSlide(t){
    clearInterval(z_i_slide);
    var id = $(t).attr("id").substr(1);
    var ind = $("#nieuws #"+id+" ").index();
    $("#bullets li a img").attr("src","/images/dot.gif");
    $("#nieuws").prepend($("#nieuws #"+id));
    $(t).children("img").attr("src","/images/dot_full.gif");
    z_i_slide = setInterval("slide()",5000);
  }
  function slide(){
    clearInterval(z_i_slide);
    $("#nieuws li:nth-child(1)").animate({"margin-top":"-24px"},1000,function(){
      $(this).css({"margin-top":"0px"})
      $("#nieuws").append($(this));
      
      //$("#bullets #b"+$(this).attr("id")+" img").attr("src","/images/dot.gif");
      
      //$("#bullets #b"+$("#nieuws li:nth-child(1)").attr("id")+" img").attr("src","/images/dot_full.gif");
      
      
      z_i_slide = setInterval("slide()",5000);
      
    });
  }
  z_i_slide = setInterval("slide()",5000);
