function doTrack(doIt, group, custom1, custom2, custom3, custom4) 
{    
	//alert(doIt);
	if (doIt != 'true')
	{
		return;
	}
	//screen
/*	
	alert(
	"width:" + screen.width + "\n" + 
	"height:" + screen.height + "\n" +     
	"colorDepth:" + screen.colorDepth + "\n" +
	"pixelDepth:" + screen.pixelDepth + "\n" +
	"availWidth:" + screen.availWidth + "\n" +
	"availHeight:" + screen.availHeight);
 */
     
     //history
     //alert(history.back());

/*
alert(
"appCodeName:" + navigator.appCodeName + "\n" + 
"appName:" + navigator.appName + "\n" + 
"appVersion:" + navigator.appVersion + "\n" + 
"cookieEnabled:" + navigator.cookieEnabled + "\n" + 
"language:" + navigator.language + "\n" + 
"platform:" + navigator.platform + "\n" + 
"nuserAgent:" + navigator.userAgent + "\n" + 
"javaEnabled():" + navigator.javaEnabled());
//"referrer:" + document.referrer 
*/
//plugins
var plgStr = "";

//alert(navigator.plugins.length);
/*
for (var i = 0; i < navigator.plugins.length; i++) 
{
	plgStr +=  navigator.plugins[i].name + " - " + navigator.plugins[i].description + " - " + navigator.plugins[i].filename + "\n";
}
alert(plgStr);
*/


url = "dotrack.qsys?width=" + screen.width + 
	"&height=" + screen.height + 
	"&group=" + group +
	"&custom1=" + custom1 +
	"&custom2=" + custom2 +
	"&custom3=" + custom3 + 
	"&custom4=" + custom4 + 
	"&cookieEnabled=" + navigator.cookieEnabled +
	"&javaEnabled=" + (navigator.javaEnabled()); //&& isJavaEnabled()
makeNoResponseAjaxCall(url); 
}


function makeNoResponseAjaxCall(url)
{
	//alert(url);
    if (window.XMLHttpRequest) { // Non-IE browsers
        req = new XMLHttpRequest();
        req.onreadystatechange = dummyProcessStateChange;
        try {
            req.open("GET", url, true); //was get
        }
        catch (e) {
            alert("Problem Communicating with Server\n" + e);
        }
        req.send(null);
    } else {
        if (window.ActiveXObject) { // IE
            req = new ActiveXObject("Microsoft.XMLHTTP");
            if (req) {
                req.onreadystatechange = dummyProcessStateChange;
                req.open("GET", url, true);
                req.send();
            }
        }       
    }   
}

function dummyProcessStateChange() 
{
}

