<script> window.addEventListener('load', fg_load) function fg_load() { document.getElementById('loading').style.display = 'none' } </script>