// Style-Weiche mit und ohne Transparenz - added by RS
	var NS4=(document.layers) ? true : false;
	var NS6=(document.getElementById)?true:false;
	var IE4=(document.all)?true:false;
	var ver4 = (NS4 || IE4 || NS6) ? true : false;
	var Zeile;
	var Zeile2;
	var Zeile3;
	var Zeile4;
	var CSSFile ="stand_other.css";
	var CSSFile2="style_cm.css";
	var CSSFile3="stand_iegecko.css";

if(NS4) {
//	alert("NS4 - trans = " + trans);
	CSSFile="stand_nn4.css";
	CSSFile3=null;
	} else if (IE4) {
//		alert("IE4 - trans = " + trans);
		if (trans) {CSSFile="stand_other2.css";}
		else {CSSFile="stand_other.css";}
	} else if (NS6) {
//		alert("NS6 - trans = " + trans);
	CSSFile="stand_gecko.css";
//	CSSFile="stand_other2.css";
	}

//	alert(" Aktuelles Stylesheet ist " + CSSFile + " bv ist " + bv);
Zeile="<LINK REL=\"STYLESHEET\" HREF=\""+CSSFile+"\" TYPE=\"text/css\">";
document.write(Zeile);
Zeile2="<LINK REL=\"STYLESHEET\" HREF=\""+CSSFile2+"\" TYPE=\"text/css\">";
document.write(Zeile2);

if (NS4) 
	{
//	alert("NS4");
	} 
else
	{
	Zeile3="<LINK REL=\"STYLESHEET\" HREF=\""+CSSFile3+"\" TYPE=\"text/css\">";
	document.write(Zeile3);
	Zeile4="<LINK REL=\"STYLESHEET\" HREF=\"style_"+bv+".css\" TYPE=\"text/css\">";
	document.write(Zeile4);
	}

function dummy()
{
	alert("Diese Funktion ist nicht belegt.")
	window.open("leistungen.htm#anwalt", "_self");
}
function topp()
{
//	alert("Diese Funktion ist nicht belegt.")
	trans=false;
	window.open("#topp", "_self");
//	alert("Diese Funktion ist topp.")
}
function midd()
{
//	alert("Diese Funktion ist nicht belegt.")
	trans=false;
	window.open("#midd", "_self");
//	alert("Diese Funktion ist midd.")
}
function bott()
{
//	alert("Diese Funktion ist nicht belegt.")
	trans=false;
	window.open("#bott", "_self");
//	alert("Diese Funktion ist bott.")
}

function oeffneZiel(url, ziel)
{
//	alert(" ZielFenster oeffnen ");
	wnd = open(url, ziel, 
	"width=200,innerWidth=200,height=400,innerHeight=400"
	+ "dependent,resizable=1,location=0,directories=0,status=0," 
	+ "menubar=0,scrollbars=1,toolbar=0,personalbar=0" );
   wnd.focus();
}
function schliesseZiel(ziel)
{
   window.close();
}


/*
mymenu.js 2002-03-04 - strangmeier

Contributor(s): Netscape Communications, Copyright 1997-2002
                Mark Filanowicz, Amdahl IT Services, Copyright 2002

Netscape grants you a royalty free license to use, modify or 
distribute this software provided that this copyright notice 
appears on all copies.  This software is provided "AS IS," 
without a warranty of any kind.

*/

// added following array by Mark Filanowicz on 2-22-2002 
var xbcl_MenuList = new Array();		// array of Menu List strs

function colorize(id) 
{
	var i;
	
	if (this.visible) 
	{
//		if (this.bgColor != "#F0F0F0") 
		if (this.bgColor != null) 
		{
//			this.bgColor = "#F0F0F0";
			this.bgColor = null;
			this.needsUpdate = true;
		}

		for (i = 0; i < document.lists.length; i++) 
		{
			document.lists[i].touch = true;
			if (i != id) 
			{
				if (document.lists[i].bgColor != "#FFFFFF") 
				{
					document.lists[i].bgColor = "#FFFFFF";
					document.lists[i].needsUpdate = true;
				}
			}
		}
	}
	
	var p = this;
	while (p != null) 
	{
		p.touch = false;
		p = p.parentList; 
	}
	
	for (i = 0; i < document.lists.length; i++)
		if (document.lists[i].touch && document.lists[i].visible)
      xbcl_expand(document.lists[i].id);
}

// function added by Mark Filanowicz 02-22-2002
function ExpandMenu(str) 
{
// finds the list index pointer based on the menu text

  var i;
  var parents = new Array();		//  list of parents, to be built when we want to expand a submenu

  for ( i = 0; i < xbcl_MenuList.length; i++ )
  {
		if ( xbcl_MenuList[i] == str )
		{
			while (i > 0)
			{
				parents[parents.length] = i;	// push parent onto stack
				i = document.lists[i].parentList.id;	// get next higher parent
			}
			// expand the highest parent menu first, then the requested submenu
			while (parents.length > 0)
			{
				i = parents[parents.length-1];
				if (!document.lists[i].visible)
				{
					xbcl_expand(i);	// expand the highest parent menu left in stack
				}
				parents.length--;		// remove this parent from stack
			}
			return;
		}
  }
}

// init
function init(str) 
{
	var width = 200;
	var height = 22;
	var bgColor = "#F0F0F0";
//	var bgColor = null;

	var l = new List(true, width, height, bgColor);
	xbcl_MenuList[xbcl_MenuList.length]="Main Menu";	// placeholder, not used
	
	l.setFont("<FONT FACE='Arial,Helvetica' SIZE='-2'><B>","</B></FONT>");
	
//	var m = new List(false, width, height, bgColor);
//	xbcl_MenuList[xbcl_MenuList.length]="sv1";	// must be in same order as new Lists defined
//	m.setFont("<FONT FACE='Arial,Helvetica' SIZE='-2'>","<\/FONT>");
//	m.onexpand = colorize;

//	2011 ausgeblendet
//	var eil = new List(false, width, height, bgColor);
//	xbcl_MenuList[xbcl_MenuList.length]="sv11";	// must be in same order as new Lists defined
	
//	eil.setFont("<FONT FACE='Arial,Helvetica' SIZE='-2'>","<\/FONT>");
//	eil.onexpand = colorize;
//	eil.addItem("<a title=' Eilnachrichten ' class='nv'  href='eilnachrichten.htm'>&nbsp;Eilnachrichten&nbsp;&nbsp;</a> ");

//	l.addList(eil, "<a title=' Web aktuell '  class='nv' href='aktuell.htm'>&nbsp;Web Aktuell&nbsp;&nbsp;</a> ");
//	2011 ENDE

//	var o = new List(false, width, height, bgColor);
//	xbcl_MenuList[xbcl_MenuList.length]="sv2";
//	o.onexpand = colorize;
//	o.setFont("<FONT FACE='Arial,Helvetica' SIZE='-2'>","<\/FONT>");
//	o.addItem(" <a title=' Vorstellung  ' href='schulz-voss.htm'>&nbsp;RAuN Schulz-Vo&szlig;&nbsp;&nbsp;</a> ");
//	l.addList(o, " <a title=' Wir stellen uns vor ' href='schulz-voss.htm'>&nbsp;Wer wir sind&nbsp;&nbsp;</a> ");

	var d = new List(false, width, height, bgColor);
	xbcl_MenuList[xbcl_MenuList.length]="sv3";	// must be in same order
	d.onexpand = colorize;
	d.setFont("<FONT FACE='Arial,Helvetica' SIZE='-2'>","<\/FONT>");
//	d.addItem(" <a title=' Anfahrtskizze Druckversion ' href='anfahrt-print.htm'>&nbsp;Anfahrt Druckversion&nbsp;&nbsp;</a> ");
//	d.addItem("32 test ");

//	var techNote = new List(false, width, height, bgColor);
//	xbcl_MenuList[xbcl_MenuList.length]="technotes";	// must be in same order
//	techNote.onexpand = colorize;
//	techNote.setFont("<FONT FACE='Arial,Helvetica' SIZE='-2'>","<\/FONT>");
//	techNote.addItem("341 test ");
//	techNote.addItem("342 test ");
//	d.addList(techNote, " <a href='34test.htm'> 34 test </a>");
//	d.addItem("35 test ");
	d.addItem(" <a title=' Wer und wo ist Hagen? ' class='nv'  href='hagen.htm'>&nbsp;Hagen&nbsp;&nbsp;</a> ");
	d.addItem(" <a title=' Was und wo ist Ottendorf? ' class='nv'  href='ottendorf.htm'>&nbsp;Ottendorf&nbsp;&nbsp;</a> ");
	l.addList(d, " <a title=' Lokationen ' class='nv'  href='hagen.htm'>&nbsp;Lokationen&nbsp;&nbsp;</a> ");

	var t = new List(false, width, height, bgColor);
	xbcl_MenuList[xbcl_MenuList.length]="sv4";	// must be in same order 
	t.onexpand = colorize;
	t.setFont("<FONT FACE='Arial,Helvetica' SIZE='-2'>","<\/FONT>");
	t.addItem(" <a title=' Pflichtangaben nach dem Teledienstgesetz '  class='nv' href='pflichtangaben.htm'>&nbsp;Pflichtangaben nach TDG&nbsp;&nbsp;</a> ");
	l.addList(t, " <a title=' Informationen ' class='nv'  href='informationen.htm'>&nbsp;Informationen &nbsp;</a> ");


	var s = new List(false, width, height, bgColor);
	xbcl_MenuList[xbcl_MenuList.length]="sv5";	// must be in same order
	s.onexpand = colorize;
	s.setFont("<FONT FACE='Arial,Helvetica' SIZE='-2'>","<\/FONT>");

// Subliste
//	var s1 = new List(false, width, height, bgColor);
//	xbcl_MenuList[xbcl_MenuList.length]="sv51";	// must be in same order
//	s1.onexpand = colorize;
//	s1.setFont("<FONT FACE='Arial,Helvetica' SIZE='-2'>","<\/FONT>");
//	s1.addItem(" <a title=' xxx ' href='index.htm#anwaelte'>&nbsp;xxx&nbsp;&nbsp;</a> ");
//	s1.addItem(" <a title=' yyy ' href='index.htm#aerzte'>&nbsp;xxx&nbsp;&nbsp;&nbsp;</a> ");
	s.addItem(" <a title=' Wissenschaft '  class='nv' href= 'index.htm#wissenschaft'>&nbsp;Wissenschaft&nbsp;&nbsp;</a> ");
	s.addItem(" <a title=' Rechtsanw&auml;lte und Notare ' class='nv'  href='index.htm#anwaelte'>&nbsp;Rechtsanw&auml;lte &amp; Notare&nbsp;&nbsp;</a> ");
	s.addItem(" <a title=' &Auml;rzte '  class='nv' href= 'index.htm#aerzte'>&nbsp;&Auml;rzte&nbsp;&nbsp;</a> ");
	s.addItem(" <a title=' Kunst und Kultur '  class='nv' href= 'index.htm#kunstundkultur'>&nbsp;Kunst und Kultur&nbsp;&nbsp;</a> ");
	l.addList(s, " <a title=' Internet-Referenzen ' class='nv'  href='index.htm'>&nbsp;Internet-Referenzen&nbsp;&nbsp;</a> ");


	var kst = new List(false, width, height, bgColor);
	xbcl_MenuList[xbcl_MenuList.length]="sv6";	// must be in same order 
	
	kst.setFont("<FONT FACE='Arial,Helvetica' SIZE='-2'>","<\/FONT>");
	kst.onexpand = colorize;

	var k1 = new List(false, width, height, bgColor);
	xbcl_MenuList[xbcl_MenuList.length]="sv61";	// must be in same order
	k1.onexpand = colorize;
	k1.setFont("<FONT FACE='Arial,Helvetica' SIZE='-2'>","<\/FONT>");
	k1.addItem(" <a title=' Personalia '  class='nv' href='person.htm'>&nbsp;Reinhard Strangmeier&nbsp;&nbsp;</a> ");
	k1.addItem(" <a title=' Publikationen ' class='nv'  href='publikationen.htm'>&nbsp;Publikationen&nbsp;&nbsp;</a> ");

	l.addList(k1, "<a title=' Personalia '  class='nv' href='person.htm'>&nbsp;Personalia&nbsp;&nbsp;</a> ");

	var akt = new List(false, width, height, bgColor);
	xbcl_MenuList[xbcl_MenuList.length]="sv7";	// must be in same order 
	
	akt.setFont("<FONT FACE='Arial,Helvetica' SIZE='-2'>","<\/FONT>");
	akt.onexpand = colorize;

	var akt1 = new List(false, width, height, bgColor);
	xbcl_MenuList[xbcl_MenuList.length]="sv71";	// must be in same order
	akt1.setFont("<FONT FACE='Arial,Helvetica' SIZE='-2'>","<\/FONT>");
	akt1.onexpand = colorize;
	akt1.addItem("<a title=' FernUniversit&auml;t in Hagen ' class='nv'  href='http://www.fernuni-hagen.de/' target='_blank'>&nbsp;FernUniversit&auml;t in Hagen&nbsp;&nbsp;</a> ");
	akt1.addItem("<a title=' Wirtschaftsinformatik ' class='nv'  href='http://www.fernuni-hagen.de/WINF/' target='_blank'>&nbsp;Wirtschaftsinformatik&nbsp;&nbsp;</a> ");
	akt1.addItem("<a title=' Links ' class='nv'  href='http://www.ante.de/internetservice/links.htm' target='_blank'>&nbsp;Weitere Links&nbsp;&nbsp;</a> ");
	
	l.addList(akt1, "<a title=' Links ' class='nv'  href='links.htm' >&nbsp;Links&nbsp;&nbsp;</a> ");


	var imp = new List(false, width, height, bgColor);
	xbcl_MenuList[xbcl_MenuList.length]="imp";	// must be in same order 
	
	imp.setFont("<FONT FACE='Arial,Helvetica' SIZE='-2'>","<\/FONT>");
	imp.onexpand = colorize;
	l.addList(imp, "<a title=' Impressum '  class='nv' href='impressum.htm'>&nbsp;Impressum&nbsp;&nbsp;</a> ");
//	l.setFont("<FONT COLOR='black' SIZE=-3>","</FONT>");

	var x=0;
	var y=300;
	var NS4=(document.layers) ? true : false;
	var NS6=(document.getElementById)?true:false;
	var IE4=(document.all)?true:false;
	var ver4 = (NS4 || IE4 || NS6) ? true : false;
	
	if(NS4) {
//	  alert("NS4");
	  x = document.anchors.leftmenu.x;
	  y = document.anchors.leftmenu.y;
	} else if (IE4) {
//	  alert("IE4");
	  var myEl = document.getElementById('leftmenu');
	  var oBndRct=myEl.getBoundingClientRect();
    // modification from Mark 3/11/02 to add Scroll positions
    x = oBndRct.left + xbGetPageScrollX(); // leave room if we've scrolled right
    y = oBndRct.top  + xbGetPageScrollY(); // leave room if we've scrolled down
	  if (x>10) x=x-2;	  // a little extra room if we can
	} else if (NS6) {
//	  alert("NS6");
	  var myEl = document.getElementById('leftmenu');
	  x = myEl.offsetLeft;
	  y = myEl.offsetTop;
	  if (x>15) x=x-8;	  // a little extra room if we can
	}
	
	l.build(x, y);
	if (str) {
	ExpandMenu(str);		
	}

}

function redo()
{	
  document.location.reload();
}

 function hist0(postload){
//	alert(" history.go0 ");
//	alert(postload);

//	if (postload)	{
//	window.history.go(0);
//	}
}

// -->

