Código HTML:
function carga() { setTimeout("document.getElementById('cargando').style. display = 'none'", 3000); } window.onload = carga; <div id="cargando" style="position: absolute; left: 0; top: 0; width: 1041px; height: 267px; background: white url(cargando.html) no-repeat center center" ></div>