// dtcom - Direct to Company S.A.

/*
	-------------------------------------------------------------------------------------------------
	INFO! 
	$ID.................: contador.js
	$VERSÃO.............: 1.0
	$AUTOR..............: Glauco Gomes - glauco@dtcom.com.br
	$DATA CRIAÇÃO.......: 27/05/2004
	$DESCRIÇÃO..........: Contador de acessos.
	-------------------------------------------------------------------------------------------------
	ÚLTIMA ALTERAÇÃO
	$AUTOR..............: nome - email
	$DATA...............: DD/MM/YYYY
	$HORÁRIO............: 99:99
	$MOTIVO.............: [ ] Melhoria     [ ] BUG
	$DESCRIÇÃO..........: 
	-------------------------------------------------------------------------------------------------
	HISTÓRICO DE ALTERAÇÕES
	$autor - email | dd/mm/yyyy | 99:99 | [M] | alteração
	-------------------------------------------------------------------------------------------------
*/

	var file = '/estatisticas/count.asp';
	
	var d = new Date(); 
	var s = d.getSeconds(); 
	var m = d.getMinutes();
	var x = s*m;
	
	f = '' + escape(document.referrer);
	
	if (navigator.appName=='Netscape')
	{
		b='NS';
	} 
	
	if (navigator.appName=='Microsoft Internet Explorer')
	{
		b='MSIE';
	} 
	
	if (navigator.appVersion.indexOf('MSIE 3')>0)
	{
		b='MSIE';
	}
	
	u = '' + escape(document.URL); 
	w = screen.width; 
	h = screen.height; 
	v = navigator.appName; 	
	fs = window.screen.fontSmoothingEnabled;
	
	if (v != 'Netscape')
	{
		c=screen.colorDepth;
	}
	else
	{
		c=screen.pixelDepth;
	}
	
	j = navigator.javaEnabled();
	
	info = 'w=' + w + '&h=' + h + '&c=' + c + '&r=' + f + '&u='+ u + '&fs=' + fs + '&b=' + b + '&x=' + x;
	
	document.write('<img src="' + file + '?'+info+ '" width="585" height="1">');