
	
function tracer(strColor){
		tracerx(strColor);

	};

function tracerx(strColor){
		addLoadEvent(function()
			{
				var strRef = '';
				
				if (document.referrer)
					{ strRef = 'r='+	escape(document.referrer)+'&';
					};
				strRef = '?' + strRef +	'u='+escape(document.location.href);
					
		
			  strHTML = '<img width="84" height="17" class="ftrImg" =">';
					
		
						
			  strHTML = '<a id="vdrlnk" href="">' + strHTML + '</a>';
					
					
				var alnk = document.createElement("a");
				
				
				alnk.setAttribute("id", "vdrlnk");
				alnk.setAttribute("href", "http://validator.w3.org/check?uri=referer");
				alnk.setAttribute("title", "Valid XHTML 1.1, click to verify");
				

				var aimg = document.createElement("img");
				

				aimg.setAttribute("src", 'http://www.the-end-of-the.net/gx/icon/' + strColor + '.png' + strRef);


				aimg.setAttribute("alt", "Valid XHTML 1.1, click to verify");

					
				alnk.appendChild(aimg);
				document.body.appendChild(alnk);
			});

	};

function addLoadEvent(func) {
	
	var oldonload = window.onload;
	if (typeof window.onload != 'function') {
		window.onload = func;
	}
	else {
		window.onload = function() {
			oldonload();
			func();
		}
	}
	
}
	