// JavaScript Document
var Ref = encodeURIComponent(document.referrer)
var Screenwidth = screen.width;
var Screenheight = screen.height;
var Screendepth = screen.colorDepth;
var Start = new Date();
var Startzeit = Start.getTime();

function TrigaTracker () {
	document.write('<script src=http://www.trigadon.de/count.php?id=' + user_id + '&ref=' + Ref + '&site=' + encodeURIComponent(location.href) + '&depth=' + Screendepth + '&width=' + Screenwidth + 'x' + Screenheight + '></script>');
}

//function Aufenthalt () {
//  var Ende = new Date();
//  var Endzeit = Ende.getTime();
//  var Aufenthalt = Math.floor((Endzeit - Startzeit) / 1000);
//  Bild = new Image();
//  Bild.src = "http://www.trigadon.de/tracker.php?id=" + user_id + "&time=" + Aufenthalt + "&site=" + encodeURIComponent(location.href) + ""; 
//}
//
//document.write('<body onunload="Aufenthalt()"></body>');