</div>
<?php if(isset($imprimir_carregamento) && $imprimir_carregamento === true):?>
<script type="text/javascript">
    window.onload = function() { window.print(); }
</script>
<?php endif;?>
</body>
</html>