function langredir(t,e,l)
{
	var p = window.location.pathname;
	if (('/' == p.charAt(p.length-1)) || ("/#top" == p.substr(p.length-5)))
	{
		return true;
	}
	var dp = p.lastIndexOf('.');
	var c = p.substr(dp-2,2) ;
	if ((c == 'en') || (c == 'de'))
	{
		p = p.substr(0, dp-2) + l + p.substr(dp);
	}
	else if (c != l)
	{
		p = p.substr(0, dp) + l + p.substr(dp);
	}

	
	var pp = "";
	if ((window.location.port != "80") && (window.location.port != ""))
	{
		pp = ":" + window.location.port;
	}
	
	
	window.location = window.location.protocol + "//" + window.location.hostname + pp + p;
	e.returnValue = false;
	try {
		e.cancelDefault();
	}
	catch(r)
	{
	}
	return false;
}