function verweis() {
	// Frameset nachladen, wenn
	if(parent.parent.frames.length==0) {
		var menueLink = document.createElement("a");
		var menueZiel = document.createAttribute("href");
		menueZiel.nodeValue = "index.htm?" + location.pathname;
		var menueText = document.createTextNode("<< Menü einblenden");
		menueLink.appendChild(menueText);
		menueLink.setAttributeNode(menueZiel);

		// Wenn Aufruf von ausserhalb lade immer das ganze Frameset
		if (document.referrer != "" && document.referrer.search('https?://[^/]*digitalimagecorp.de'))
			top.location.replace("http://" + top.location.hostname + "/" + menueZiel.nodeValue);
		else
			document.getElementsByTagName("body")[0].insertBefore(menueLink, document.getElementsByTagName("body")[0].firstChild);
	}
}

function ladeSeite() {
	if(document.location.search != "") {
		top.Inhalt.location.replace("http://" + top.Inhalt.location.hostname + top.location.search.substr(1));
	}
}

