var out = ''
var out1 = ''
var visit = 0

function vcnt(hit)
{

var sw = screen.width;
var sh = screen.height;
var cw = document.documentElement.clientWidth;
var ch = document.documentElement.clientHeight;
var cd = screen.colordepth;
var bwsr = navigator.appName;
var ver = navigator.appVersion;
var plat = navigator.platform;
//var ref = escape(document.referrer);
var ref = document.referrer;
var ht = hit;
var page = new String(window.location);

var site = page.substring(7, page.length);

var site0 = (site.substring(0,3) != "www")? "www." + site: site;

var s = site0.indexOf("/");
var s1 = s + 1;
var loc0 = site0.substring(s1, site0.length);
var loc = (loc0.length == 0)? "index.html": loc0;
var st = site0.substring(0, s);
st = 'www.thedirtydrummer.com'

out = 'http://www.automationresearchaz.com/cgi/vcnt.php?sw=' + sw + '&sh=' + sh + '&cw=' + cw + '&ch=' + ch + '&cd=' + cd
out += '&loc=' + loc + '&bwsr=' + bwsr
out += '&ver=' + ver + '&plat=' + plat + '&ht=' + ht + '&st=' + st + '&ref=' + ref

out1 = 'http://www.automationresearchaz.com/cgi/vcount.php?st=' + st

//window.status='&ref=' + ref;
}

function recordvisit() {

    window.focus();

    bug = new Image();   

    bug.src = out;
}

