         var available_h      = document.body.clientHeight - parseInt(obj.offsetHeight);
                var half_available_h = Math.round((available_h)/2);
                half_available_h = 10;
                obj.style.left = half_available_w + 'px';
                obj.style.top  = half_available_h + 'px';
        }

        function hideLayer() {
                obj=document.getElementById("bframe");
                obj.style.visibility="hidden";
        }
        //window.setTimeout( "hideLayer()", (40*1000) );
        showLayer();
</script>
</div>
<script language="javascript">
  setTimeout("centerLayer()",100);
</script>
</body>
</html>

