Niko, here is a sample code for you. You can modify it as you see fit.
<html>
<head>
<script language="javascript">
function hideLayer(layerName){
if (navigator.appName == "Netscape"){ document.layers["myLayer"].visibility="hidden";
}else{ document.all["myLayer"].style.visibility="hidden"; }
}
</script>
</head>
<body onLoad="hideLayer();">
<div id="myLayer" style="position:absolute; z-index:500; visibility:visible; width:500; height:450;">
<font size="+2">Page is loading<p>Please wait...</font>
</div>
Insert your PHP code here....
</body>
</html>
Richie.