adventure1.png var loader = document.GetElementById("preloader"); window.addeventlistener ("load", function (){ loader.style.display = "none"; })