1. Copie el codigo al HEAD de tu documento HTML-->
<!-- PASO 1: Pegue este codigo dentro del HEAD de tu documento HTML -->
<HEAD>
<style type="text/css">
<!--
#loading {
width: 200px;
height: 100px;
background-color: #c0c0c0;
position: absolute;
left: 50%;
top: 50%;
margin-top: -50px;
margin-left: -100px;
text-align: center;
}
-->
</style>
<script type="text/javascript">
document.write('<div id="loading"><br><br>Porfavor
espere...</div>');
window.onload=function(){
document.getElementById("loading").style.display="none";
}
</script>