function addTopLinks() {

	var containerObj = document.getElementById("space");
	var headlines = new Array();
	headlines = headlines.concat(containerObj.getElementsByTagName("h2"));
	//headlines = headlines.concat(containerObj.getElementsByTagName("h3"));
	
	if(!typeof document.getElementById("headlinelink") == 'object') return;
	
	var topTextContent = window.location.href.match(/\/de\//)? 'Nach oben' : 'Top';

	for(var i=0; i<headlines.length; i++) {
		for(var k=0; k<headlines[i].length; k++) {
			var classNameRegexp = /\s?withoutTopLink\s?/;
			if(headlines[i][k].id != '' && !headlines[i][k].className.match(classNameRegexp)) {
				var headlineContainer = document.createElement("DIV");
				headlineContainer.className = "topLink";
				var topLink = document.createElement("A");
				topLink.setAttribute("href", "#headlinelink");
				topLink.className = "top";
				var topText = document.createTextNode(topTextContent);
				var headlineObj = headlines[i][k].cloneNode(true);
				topLink.appendChild(topText);
				headlineContainer.appendChild(topLink);
				headlineContainer.appendChild(headlineObj);
				containerObj.replaceChild(headlineContainer, headlines[i][k]);
			}
		}
	}

}
