sS=0;b=document;w=window;wl=w.location;sx=screen;na=navigator;
if(rc('_CTS')){
	cook=rc('_CTS');
	ck1=cook.split('-');
	if(ck1.length>0){
		ck2=parseInt(ck1[1])+1;
		cook=ck1[0]+'-'+ck2;
	}
}else{
	cook=Math.floor(Math.random()*10000000);
	cook=cook+'-0';
	sS=1;
}
cc('_CTS',cook,30);
if(rc('_CTP')){
	nn=rc('_CTP');
}else{
	nn=Math.floor(Math.random()*10000000);
	cc('_CTP',nn,1440);
}
h=wl.href.split('?');
s=wl.search.replace('?','').replace('&','|');
r=b.referrer.replace('?','').replace('&','|');
if(navigator.javaEnabled()){j='Y'};
d='<img style="display:hidden;width:0px;height:0px;" src="http://tracking.clevertech.tv/s.php?s='+siteId;
d+='&r='+r+'&u='+h[0]+'&g='+s+'&z='+cook+'&x='+sS+'&j='+j+'&c='+w.sx.colorDepth;
d+='&l='+gl();
d+='&f='+fc();
d+='&v='+nn;
d+='&w='+sx.width.toString(16)+'x'+sx.height.toString(16)+'"/>';
b.write(d);	


function cc(name,value,mins) {
	if (mins) {
		var date = new Date();
		date.setTime(date.getTime()+(mins*60000));
		var expires = "; expires="+date.toGMTString();
	}
	else var expires = "";
	document.cookie = name+"="+value+expires+"; path=/";
}
function rc(n) {
	ne = n + "=";ca = b.cookie.split(';');
	for(i=0;i < ca.length;i++) {
		c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(ne) == 0) return c.substring(ne.length,c.length);
	}return null;
}

function gl(){
	if (na.appName == 'Netscape') {
		l = na.language;
	}
	else {
		l = na.browserLanguage;
	}
	return l;
}

function fc(){
	if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) {
		return 'Y'
	}else{
		return 'N';
	}
}
