// Load a transparent 1x1 GIF image

var stat_src   = 'http://stats73.com/cgi-bin/webstats/webstats_tracker.pl?stats=gif&login=' + stat_login;

window.onerror = null;

document.write( "<img width='"+ stat_size +"' height='"+ stat_size +"' src='", stat_src );

var stat_java = '';
if (navigator.javaEnabled() < 1 ) { stat_java = "&java=N"; }
if (navigator.javaEnabled() == 1) { stat_java = "&java=Y"; }

var stat_smooth = '';

if (window.screen.fontSmoothingEnabled == true) { stat_smooth = '&font_smooth=Y'; }
else { stat_smooth = '&font_smooth=N'; }

var stat_date = new Date();
var stat_args = stat_java + stat_smooth +
 "&javascript=Y" +
 "&user_agent=" +      navigator.userAgent  +
 "&browser_name=" +    navigator.appName  +
 "&browser_version=" + navigator.appVersion  +
 "&codename=" +        navigator.appCodeName  +
 "&platform=" +        navigator.platform  +
 "&last_modified=" +   document.lastModified  +
 "&colordepth="    +   window.screen.colorDepth  +
 "&screen_width="  +   window.screen.width  +
 "&screen_height=" +   window.screen.height  +
 "&max_width="   +     window.screen.availWidth  +
 "&max_height="  +     window.screen.availHeight +
 //(GMT +/- in mins.)  
 "&GMT_date=" +        stat_date +   
 "&GMT_timezone=" +    stat_date.getTimezoneOffset()  +
 "&GMT_time=" +        stat_date.toGMTString() +
 "&location="+ location.href  +
 "&referred_from=" +   getCookie( "doc_ref" )   // document.referrer  
 ;

  var stat_args2 = stat_args.replace( /[\s;]/g ,"_");

document.write( stat_args2 );
document.write( "'>" );


// name - name of the desired cookie
// * return string containing value of specified cookie or null if cookie does not exist
function getCookie(name) 
{
  var dc = document.cookie;
  var prefix = name + "=";
  var begin = dc.indexOf("; " + prefix);
  if (begin == -1) {
    begin = dc.indexOf(prefix);
    if (begin != 0) return "";
  } else
    begin += 2;

  var end = document.cookie.indexOf(";", begin);
  if (end == -1)
    end = dc.length;

  var value = unescape(dc.substring(begin + prefix.length, end));

  document.cookie = name + "=; expires=Thu, 01-Jan-70 00:00:01 GMT";
  return value;
}
