var durchlauf=0;
function showtext(text) {
	if(durchlauf==0){
		range = document.createRange();
		range.selectNode(document.getElementById("ausgabe"));
		documentFragment = range.createContextualFragment(text);
		var ausgabebereich = document.getElementById("ausgabe");
		ausgabebereich.appendChild(documentFragment);
		document.onmouseover = platz;
		document.getElementById("ausgabe").style.background = "#FFFFFF";
		document.getElementById("ausgabe").style.padding = 2;
		document.getElementById("ausgabe").style.paddingLeft = 5;
		document.getElementById("ausgabe").style.paddingRight = 4;
		durchlauf=1;
	}
}

function platz(ev){
	document.getElementById("ausgabe").style.left = ev.pageX + "px";
    document.getElementById("ausgabe").style.top = (ev.pageY+5) + "px";
}

function hidetext() {
	Knoten = document.getElementById("ausgabe");
	while (Knoten.hasChildNodes()) {
		Knoten.removeChild(Knoten.lastChild);
	}
	durchlauf=0;
	document.getElementById("ausgabe").style.background = "";
}

function loadframeset() {
	if ( top.location.host + top.location.pathname == "www.jakobus-helfe.de/index.html"){
	} else if( top.location.host + top.location.pathname == "www.jakobus-helfe.de/index.php" ){
	} else if( top.location.host + top.location.pathname == "www.jakobus-helfe.de" ){
	} else if( top.location.host + top.location.pathname == "www.jakobus-helfe.de/" ){
	} else {
		top.location.href="http://www.jakobus-helfe.de/index.php?page="+window.location.pathname+"&param="+window.location.search;
	}
}
