<!--

var id = readCookie('go4user');

if(id=="") {
	id = hexValue(new Date().valueOf()) + getBrowser() + hexValue(Math.round(Math.random() * 255))

	setCookie('go4user', id , '99999','/','');
}

if (document.images != 'undefined'){
	document.images[document.images.length-1].src += ("?url=" + document.location.pathname + "&id=" + id);
}

function getBrowser() {
	if (navigator.appName == "Netscape") return "X"
	if (navigator.appName == "Microsoft Internet Explorer") return "Y";
	return "Z"
}

function hexValue(i) {
	a2 = ''
	ihex = hexQuot(i);
	idiff = eval(i + '-(' + ihex + '*16)')
	a2 = itohex(idiff) + a2;
	while( ihex > 16) {
		itmp = hexQuot(ihex);
		idiff = eval(ihex + '-(' + itmp + '*16)');
		a2 = itohex(idiff) + a2;
		ihex = itmp;
	} 
	a1 = itohex(ihex);
	return a1 + a2 ;
}
   
function hexQuot(i) {
	return Math.floor(eval(i +'/16'));
}

function itohex(i) {
  if(i==0) {aa='0'}
  else if(i==1) {aa='1'}
  else if(i==2) {aa='2'}
  else if(i==3) {aa='3'}
  else if(i==4) {aa='4'}
  else if(i==5) {aa='5'}
  else if(i==6) {aa='6'}
  else if(i==7) {aa='7'}
  else if(i==8) {aa='8'}
  else if(i==9) {aa='9'}
  else if(i==10) {aa='A'}
  else if(i==11) {aa='B'}
  else if(i==12) {aa='C'}
  else if(i==13) {aa='D'}
  else if(i==14) {aa='E'}
  else if(i==15) {aa='F'}
  return aa
}

function readCookie(name) {

  if (document.cookie != '') {

     var cval = document.cookie;
    var first = cval.indexOf(name);
    if(first != -1) {
         first += name.length + 1;
         var last = cval.indexOf(';', first);
         if(last == -1) last = cval.length;
         return cval.substring(first, last);
    } 
  }
  return "";

}

function setCookie (name, value, hours, path, domain) {
    document.cookie = name + '=' + value + ((hours)?(';expires=' + ((new Date((new Date()).getTime() + parseInt(hours)*3600000)).toGMTString())):'') + ((path)?';path=' + path:'') + ((domain)?';domain=' + domain:'');
}
//-->