
// Melhoria: Script para mostrar mensagem de "carregando..."

var ativo;

// Define se função de carregamento está ativo. 0 - Inativo; 1 - Ativo
ativo = 1;

if (ativo == 1){

	document.write('<div id="loading">');
	document.write('<table width="200" height="50" border="0" cellpadding="5" cellspacing="0" class="loading">');
	document.write('  <tr>');
	document.write('    <td>Carregando...</td>');
	document.write('  </tr>');
	document.write('  <tr>');
	document.write('    <td><img src="images/loadgraphic.gif"></td>');
	document.write('  </tr>');
	document.write('</table>');
	document.write('</div>');

	window.onload=function(){
	
		document.getElementById("loading").style.display="none";
	
	}

}