
function pop_up(URI,fenster,breit,hoch) {
	w = window.open(URI,fenster,"scrollbars=yes,status=no,toolbar=no,resizable=no,width="+breit+",height="+hoch+",left=100,top=10");
	w.focus();
}

function hightlight(imgName,dir) {
	document[imgName].src = dir + "img/global/" + imgName + "_hi.gif";
}

function lowlight(imgName,dir) {
	document[imgName].src = dir + "img/global/" + imgName + "_lo.gif";
}

function babelfish(sprache) {
	var babelfished;
	var pfad = self.location.pathname;
	
//	DEUTSCH > ENGLISCH
	if (sprache == "en") {
		babelfished = pfad.replace(/(\/de\/)/, "/en/");
	}
//	ENGLISCH > DEUTSCH
	else if (sprache == "de") {
		babelfished = pfad.replace(/(\/en\/)/, "/de/");
	}
//	TRAUE NIE DER BENUTZEREINGABE
	else {
		babelfished = pfad;
	}
	
	self.location.href = babelfished;
}

function printer() {
	if (typeof(window.print) != "undefined") {
		window.print();
	}
    else {
		var str='Bitte drücken Sie zum Drucken die Tasten: Apfel + P';
		alert (str);
    }
}

