function GrafikAnzeigen(GrafikURL, Breite, Hoehe) {
	FensterOptionen="toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,left=0,top=0";
	
	GrafikFenster=window.open("", "", FensterOptionen + ',width=' + Breite + ',height=' + Hoehe);	
	GrafikFenster.focus();
	GrafikFenster.document.open();	
	with(GrafikFenster) {
		document.write("<html><head>");
		document.write("<title>Grafikanzeige</title>");
		document.write("</head>");
		document.write("<body leftmargin=\"0\" marginheight=\"0\" marginwidth=\"0\" topmargin=\"0\">");
		
		document.write("<img border=\"0\" onclick=\"window.close();\" src=\""+ GrafikURL +"\" title=\"Zum Schliessen auf das Bild klicken\">");
		document.write("</body></html>");
	}
}

function ShowPopup(ListeURL, ListeTITEL, Breite, Hoehe) {
	FensterOptionen="toolbar=0,scrollbars=true,location=0,statusbar=0,menubar=0,resizable=true,left=40,top=0";
	
	ListeFenster=window.open("", "", FensterOptionen + ',width=' + Breite + ',height=' + Hoehe);	
	ListeFenster.focus();
	ListeFenster.document.open();
	with(ListeFenster) {
		document.write("<html><head>");
		document.write("<title>" + ListeTITEL + "</title>");
		document.write("</head>");
		document.write("<body leftmargin=\"0\" marginheight=\"0\" marginwidth=\"0\" topmargin=\"0\">");
		
		document.write("<iframe src=\"" + ListeURL + "\" width=\"" + (Breite-'40') + "\" height=\"" + (Hoehe-'30') + "\" frameborder=\"0\" scrolling=\"yes\" style=\"margin-top:10px; margin-left:20px;\"></iframe>");
		document.write("</body></html>");
  }	
}

function QLinks(targ,selObj,restore) {
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

var takenAction = false;
document.onkeydown = IEGeckoKeyPress;
function IEGeckoKeyPress(oEvent) {
	if (!oEvent) var oEvent = window.event;
	if (oEvent.keyCode) myKeyCode = oEvent.keyCode;
	else if (oEvent.which) myKeyCode = oEvent.which;
	if (oEvent.repeat || takenAction) {	return;	}
	if (myKeyCode >= 16 && myKeyCode <= 18) { return; }
	if (oEvent.shiftKey) { myKeyCode += 1000; }
	if (oEvent.ctrlKey)  { myKeyCode += 2000; }
	if (oEvent.altKey)   { myKeyCode += 4000; }
	myKeyPress(myKeyCode);
}
function myKeyPress(myKeyCode) {
  switch (myKeyCode) {
		case 36:
			takenAction = true;
			alert("Diese WebSite wurde von Benjamin Gölles\nim Auftrag des SAXONIA Verlages erstellt.");
			break;
		default:
			break;
		}
}
