function ZeigeBild(Bild, dx, dy) {
	if (typeof(InfoZeigeBild) == "object" && InfoZeigeBild.closed == false)
		InfoZeigeBild.close();
	if (Bild != "") {
		var x = 25;
		var y = 25;
		var Fenstername = "stromagbild";
		var Titel = "Stromag - Bild";
		var Zieladresse = "about:blank";
		var height = dy;
		var scrollbars = "no";
		if (dy > 480) {
			scrollbars = "yes";
			dx = dx + 18;
			dy = 480;
		}
		var Eigenschaften = "scrollbars=" + scrollbars + "," + "width=" + dx + "," + "height=" + dy + "," + "left=" + x + "," + "top=" + y;
		InfoZeigeBild = window.open(Zieladresse, Fenstername, Eigenschaften);
		with(InfoZeigeBild) {
			document.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">\n');
			document.write('<html>\n');
			document.write('<head>\n');
			document.write('<title>' + Titel + '</title>\n');
			document.write('<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">\n');
			document.write('<style type="text/css">\n');
			document.write('<!--\n');
			document.write('body {\n');
			document.write('background-image : url(' + Bild + ');\n');
			document.write('background-repeat : no-repeat;\n');
			document.write('margin : 0;\n');
			document.write('height : ' + height + 'px;\n');
			document.write('}\n');
			document.write('-->\n');
			document.write('</style>\n');
			document.write('</head>\n');
			document.write('<body>\n');
			document.write('<p>&nbsp;</p>\n');
			document.write('</body>\n');
			document.write('</html>\n');
			focus();
		}
	}
}
function ZeigeHTML(Zieladresse, Groesse) {
	if (typeof(InfoZeigeHTML) == "object" && InfoZeigeHTML.closed == false)
		InfoZeigeHTML.close();
	if (Zieladresse != "") {
		var Fenstername = "stromaghtml";
		var dx;
		var dy = 480;
		var x = 25;
		var y = 25;
		switch (Groesse) {
			case 1:
				dx = 592;
				break;
			case 2:
				dx = 700;
				break;
			case 3:
				dx = 618;
				break;
		}
		var Eigenschaften = "scrollbars=yes, width=" + dx + "," + "height=" + dy + "," + "left=" + x + "," + "top=" + y;
		InfoZeigeHTML = window.open(Zieladresse, Fenstername, Eigenschaften);
		InfoZeigeHTML.focus();
	}
}
function checkFramecall() {
  var Anhang = window.location.search;
  if (Anhang)
    frames.basefrm.location.href = Anhang.substring(1, Anhang.length);
}
function ZweiFrames(URI1, F1, URI2, F2) {
  Frame1 = eval("parent." + F1);
  Frame2 = eval("parent." + F2);
  Frame1.location.href = URI1;
  Frame2.location.href = URI2;
}
function fctDName(s) {
	var p = s.lastIndexOf("?");
	if (p != -1)
		s = s.substr(0, p);
	p = s.indexOf("#");
	if (p != -1)
		s = s.substr(0, p);
	p = s.lastIndexOf("\\");
	if (p == -1)
		p = s.lastIndexOf("/");
	return s.substr(p + 1, s.length - p - 1);
}
switch (window.name) {
  case "treeframe":
		switch (fctDName(document.URL)) {
			case "left.php":
				switch (fctDName(parent.basefrm.location.href)) {
					case "treemain.php":
					case "treemain04.htm":
					case "treemain06.htm":
					case "treemain09.htm":
					case "treemain10.htm":
					case "treemain11.htm":
						history.back();
						break;
				}
				break;
			case "tree.php":
				if (fctDName(parent.basefrm.location.href) == "main.php")
					history.back();
				break;
		}
    break;
  case "basefrm":
		switch (fctDName(parent.treeframe.location.href)) {
			case "left.php":
				switch (fctDName(document.URL)) {
					case "treemain.php":
					case "treemain04.htm":
					case "treemain06.htm":
					case "treemain09.htm":
					case "treemain10.htm":
					case "treemain11.htm":
						history.forward();
						break;
				}
				break;
			case "tree.php":
				if (fctDName(document.URL) == "main.php")
					history.forward();
				break;
		}
    break;
  case "topFrame":
  case "lefttopFrame":
  case "leftbottomFrame":
	case "stromagbild":
	case "stromaghtml":
	case "stromagdatei":
	case "intranet":
    break;
  default:
		if (fctDName(document.URL) != "index.html" && fctDName(document.URL) != "") {
			switch (fctDName(document.URL)) {
				case "leftbottom.htm":
			  case "top.htm":
		 	    window.open("index.html", "_self");
		 			location.replace("index.html");
					break;
				case "impressum.php":
				case "left.php":
				case "lefttop.php":
				case "main.php":
				case "suche.php":
				case "tree.php":
				case "treemain.php":
				case "weltweit.php":
		 	    window.open("../index.html", "_self");
		 			location.replace("../index.html");
					break;
			  default:
		 	    location.href = "index.html?" + fctDName(document.URL);
			}
		}
}
function op() {
}
USETEXTLINKS = 1
STARTALLOPEN = 0
ICONPATH = '../treeview/'
HIGHLIGHT = 1
WRAPTEXT = 1
HIGHLIGHT_COLOR = '#FFFFFF'
HIGHLIGHT_BG = '#000080'
