strEmail = 'l.k' + 'iev' + 'it@' + 'chel' + 'lo.nl';
strLastMod = '';

function email(strText)
	{
	if (strText == '')
		{ strText = strEmail };
		
	return '<' + 'a class="menH" title="send email" hre' + 'f="mai' + 'lto:' + strEmail + '">' + strText +'</a>';
	};
var strColor = 'grey';


function tg(lngIndex)
	{	
		strTargetUrl = '';
		if (lngIndex==0)
			{ strTargetUrl = 'http://www.the-end-of-the.net' };
		if (lngIndex==1)
			{ strTargetUrl = 'http://www.the-end-of-the.net/personal' };
		if (lngIndex==2)
			{ strTargetUrl = 'http://www.the-end-of-the.net/compstuff' };
		if (lngIndex==3)
			{ strTargetUrl = 'http://www.the-end-of-the.net/useless' };
		if (lngIndex==4)
			{ strTargetUrl = 'http://members.ams.chello.nl/l.kievit/spods/index.html' };
		if (lngIndex==5)
			{ strTargetUrl = 'http://www.the-end-of-the.net/genealogy' };
		if (lngIndex==6)
			{ strTargetUrl = 'http://www.the-end-of-the.net/lego' };
			
		window.location.href = strTargetUrl;
		
		return false;
	}
	
function tracer(){
		var strRef = '';
		var strHTML;
		
		if (document.referrer)
			{ strRef = 'r='+	escape(document.referrer)+'&';
			};
		strRef = '?' + strRef +	'u='+escape(document.location.href);
			

	  strHTML = '<img width="8" height="8" class="ftrImg" src="http://www.the-end-of-the.net/pix/inv_' + strColor + '.png' + strRef + '">';
			
		strUrl = '';
		strTitle = '';
		
		if (strColor == 'red')
			{
				strUrl = 'http://www.the-end-of-the.net/lego';
				strTitle = 'Lego @ the end of the net';
		};
		
		if (strColor == 'brown')
			{
				strUrl = 'http://www.the-end-of-the.net/useless';
				strTitle = 'useless pages @ the end of the net';
		};
		
		if (strColor == 'grey')
			{
				strUrl = 'http://www.the-end-of-the.net';
				strTitle = 'what\'s @ the end of the net';
		};
		
		if (strColor == 'green')
			{
				strUrl = 'http://www.the-end-of-the.net/genealogy';
				strTitle = 'genealogy @ the end of the net';
		};
		
		if (strColor == 'orange')
			{
				strUrl = 'http://www.the-end-of-the.net/personal';
				strTitle = 'personal stuff @ the end of the net';
		};
		
		if (strColor == 'teal')
			{
				strUrl = 'http://www.the-end-of-the.net/compstuff';
				strTitle = 'computer stuff @ the end of the net';
		};
		
		if (strColor == 'blue')
			{
				strUrl = 'http://members.ams.chello.nl/l.kievit/spods/index.html';
				strTitle = 'Resort spods @ the end of the net';
		};
		
		
		if (strUrl != '')
			{					
	  		strHTML = '<a href="' + strUrl + '" title="' + strTitle + '">' + strHTML + '</a>';
			};
			
		return strHTML;

	};

	
