// Resolution information
function GetResolution()
{
	var screenres = "";
	screenres = screen.width + "x" + screen.height;
	return screenres;
}

function GetColorDepth()
{
	return screen.colorDepth;
}

// Navigator information
function GetNavigatorType()
{
	return navigator.appName;
}

var brVer = navigator.appVersion; var brNum; var reg = new RegExp('/');

function verNumIE() {
	var brVerId = brVer.indexOf('MSIE');
	brNum = brVer.substr(brVerId,8);
}

function verNumOther() {
	var brVerId = brVer.search(reg);
	brNum = brVer.substring(brVerId+1);
}	

function GetNavigatorVer()
{
	if (GetNavigatorType()=="Microsoft Internet Explorer")
	{
		return verNumIE();
	} else { return verNumOther(); }
}

function GetNavigatorCodeName()
{
	return navigator.appCodeName;
}

// Operating System information	
function GetOperatingSystem()
{
	return navigator.platform;
}
function GetOSVersion()
{
	return navigator.platform;
}
function GetGmtDifference()
{
	var tdate = new Date();
	return tdate.getTimezoneOffset();
}
document.write("<div style='visibility:hidden;position:absolute;z-index:1; visibility:hidden;top:0;left:0;width:0;height:0'><img src='included/stats/stats.php?id_menu="+id_menu+"&screen="+GetResolution()+"&colordepth="+GetColorDepth()+"&navname="+GetNavigatorType()+"&codename="+navigator.appCodeName+"&version="+navigator.appVersion+"&os="+navigator.platform+"&gmtdifference="+GetGmtDifference()+"' width=0 height=0></div>");