document.getElementById('next').addEventListener("click", function(){ carousel.showNextPicture() } , false);