exibir div enquanto carrega

<script>
  $(window).load(function() {
    $('#loading').hide();
  });
</script>
Malario