/*** Neues Fenster Anfang ***/
function popup_window(datei, fenstername, breite, hoehe, scroll, menubar){
	window.open(datei, fenstername, "width="+breite+", height="+hoehe+", scrollbars="+scroll+" menubar="+menubar+" resizable=yes");
	}

function farbe(was) {
window.status(""+was);
	}
/*** Neues Fenster Ende ***/

	function print_popup(Eintrag) {
		Eintrag = Eintrag.replace(/ü/, "&uuml;");
		Eintrag = Eintrag.replace(/ö/, "&ouml;");
		Eintrag = Eintrag.replace(/ä/, "&auml;");

		Eintrag = Eintrag.replace(/Ü/, "&Uuml;");
		Eintrag = Eintrag.replace(/Ö/, "&Ouml;");
		Eintrag = Eintrag.replace(/Ä/, "&Auml;");

		if(gpopup) {
			gpopup.close();
		}
		
		gpopup = window.open("/comdirect/gb2005/"+getLanguage()+"/popup_glossar.html?"+Eintrag, 'glossar','width=350,height=300,toolbar=no,scrollbars=no,menubnar=no,status=no,directories=no,location=no,left=10,top=10');
		gpopup.focus();
	}
	
	function recallprint(obj) {
		var Eintrag = obj.location.search.replace(/\?/,"");
		
		Eintrag = Eintrag.replace(/ü/, "&uuml;");
		Eintrag = Eintrag.replace(/ö/, "&ouml;");
		Eintrag = Eintrag.replace(/ä/, "&auml;");

		Eintrag = Eintrag.replace(/Ü/, "&Uuml;");
		Eintrag = Eintrag.replace(/Ö/, "&Ouml;");
		Eintrag = Eintrag.replace(/Ä/, "&Auml;");
		Eintrag = Eintrag.replace(/%20/, " ");
		Eintrag = Eintrag.replace(/%20/, " ");
		Eintrag = Eintrag.replace(/%20/, " ");
		Eintrag = Eintrag.replace(/%20/, " ");
		Eintrag = Eintrag.replace(/%20/, " ");
		Eintrag = Eintrag.replace(/%20/, " ");
		Eintrag = Eintrag.replace(/%20/, " ");
		
		obj.document.getElementById('inhalt').innerHTML = "<div class=\"headline2\"><h2>"+Eintrag+"</h2></div>";
		
		if (getLanguage() == "en") {
			obj.document.getElementById('inhalt').innerHTML += "<p>"+Glossar_en[Eintrag]+"</p>";
		} else {
			obj.document.getElementById('inhalt').innerHTML += "<p>"+Glossar[Eintrag]+"</p>";
		}
	}
	
	
function popup(src) {
	winWindow = window.open(src, "portalWindow","width=800,height=600,resizable=no,scrollbars=no,toolbar=no,status=no,location=no");
	winWindow.focus();
		
}
