e=document.getElementById("slideshow");img=[];img.forEach(x=>{m=document.createElement("img");m.setAttribute("src", x);d=document.createElement("div");d.appendChild(m);e.appendChild(d);});if(img.length>1){$("#slideshow > div:gt(0)").hide();setInterval(function() {$("#slideshow > div:first").fadeOut().next().fadeIn().end().appendTo("#slideshow");}, 5000);}