function gehezu() {
	para=document.Paragraph.nr.value
	leer=para.split(" ")
	para=""
	for (y in leer) para+=leer[y]
	if (para != "") location.href=para+".html"
}

function box() {
	document.write("<DIV ALIGN=\"right\"><FORM Class=\"o\"><table><tr><td align=\"right\">Verweise in neuem Fenster öffnen</td><td valign=\"top\"><input type=checkbox Checked></td></tr></table></FORM></DIV>")
}

function v(para) {
	if (window.name == "Zweit" || document.forms[0].elements[0].checked==false) {
		self.location=para+".html"
	}
	else {
		var attrib="width="+(screen.width*0.33)+",height="+(screen.height*0.70-75)+",left="+screen.width*0.22+",top="+(screen.height*0.30+40)+",scrollbars"
		if (!top.window.Zweit || top.window.Zweit.closed)
			top.Zweit = open(para+".html","Zweit",attrib)
		else
			top.Zweit.location=para+".html"
		window.setTimeout("top.Zweit.focus()",200)
	}
}

function b() {
	if (window.name == "Zweit")
		document.write("&nbsp;<BR>")
	else
		document.write("<DIV ALIGN=\"right\"><FORM><table><tr><td align=\"right\">Verweise in neuem<BR>Fenster öffnen</td><td valign=\"top\"><input type=checkbox Checked></td></tr></table></FORM></DIV>")
}

function Maus(Ereignis) {
	klick=1
	if ((ie4 && window.event.clientX<42 && window.event.clientY<198) || (ns4 && Ereignis.screenX<42 && Ereignis.screenY<198)) location.href="../index.html"
	return true
}

//----- Die folgende Tooltip-Lösung basiert auf dem Konzept "overLIB" von Erik Bosrup (http://www.bosrup.com/web/overlib/). Sie wurde in Hinsicht auf bessere Positionierung u.ä. für dejure.org und Juralink verbessert

function nd() {
	if (dyn) {
		snow=0
		if (ns4) over.visibility = "hide"
		else over.visibility = "hidden"
		moveTo(over,1,1)
	}
	klick=0
	self.status=self.defaultStatus
}

function vr(temp) {
	if (!dyn) {
		self.status=">> "+p[temp]
	}
	else if (!klick) {
		layerWrite(tt(temp))
		dir=1
		disp()
	}
	return true
}

function vr2(t1,t2,t3,temp) {
	temp=glp(t1,t2,"")
	if (!dyn) {
		if (t3) self.status=">>"+t3+" >> "+temp
		else self.status=">> "+temp
	}
	else {
		if (t3) temp="!"+t3+" > "+temp
		layerWrite(tt2(temp))
		dir=1
		if (ie4) {
			rechts=document.all.tags("body")[0].offsetWidth
			unten=document.all.tags("body")[0].offsetHeight
			links=event.x
			oben=event.y
			abstandy=unten-oben-document.all.overDiv.offsetHeight-25
			if (abstandy>=0) abstandy=20
			else abstandy=-15-document.all.overDiv.offsetHeight
		}
		else {
			rechts=window.innerWidth
			unten=window.innerHeight
			links=mx
			oben=my-window.pageYOffset
			abstandy=unten-oben-document.layers.overDiv.document.height-25
			if (abstandy>=0) abstandy=20
			else abstandy=-15-document.layers.overDiv.document.height
		}
		abstandx=rechts-links-210
		if (abstandx>=0) abstandx=0
		else abstandx-=20
		disp()
	}
	return true
}

function tt2(temp,z) {
	if (tt[temp]) return tt[temp]
	else {
		tt[temp]="<TABLE Class=\"t\"WIDTH=200 BORDER=0 CELLPADDING=1 CELLSPACING=0 BGCOLOR=\"black\"><TR><TD>"
		as=temp.split(" > ")
		z=0
		for (x in as) {
			if (as[x].substr(0,1)=="!") {
				tt[temp]+="<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR=blue><TR><TD ALIGN=Center class=\"ttg\">"+as[x].substr(1)+"</TD></TR></TABLE>" //statt sandybrown
				z++
			}
			else if (as[x].substr(0,1)=="*") tt[temp]+="<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR=gainsboro><TR><TD ALIGN=Center class=\"tt\"><HR size=1 noshade><FONT COLOR='black'>"+as[x].substr(1)+"</FONT></TD></TR></TABLE>"
			else tt[temp]+="<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR="+Farbe[x-z]+"><TR><TD ALIGN=Center class=\"tt\">"+as[x]+"</TD></TR></TABLE>"
		}
		tt[temp]+="</TABLE>"
		return tt[temp]
	}
}

function tt(temp) {
	if (tt[temp]) return tt[temp]
	else {
		tt[temp]="<TABLE WIDTH=200 BORDER=0 CELLPADDING=1 CELLSPACING=0 BGCOLOR=\"black\"><TR><TD>"
		as=p[temp].split(" > ")
		for (x in as) {
			if (as[x].substr(0,1)=="!") tt[temp]+="<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR=gainsboro><TR><TD ALIGN=Center class=\"ttg\">"+as[x].substr(1)+"</TD></TR></TABLE>"
			else if (as[x].substr(0,1)=="*") tt[temp]+="<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR=red><TR><TD ALIGN=Center class=\"tt\"><HR size=1 noshade><FONT COLOR='black'>"+as[x].substr(1)+"</FONT></TD></TR></TABLE>"
			else tt[temp]+="<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR="+Farbe[x]+"><TR><TD ALIGN=Center class=\"tt\">"+as[x]+"</TD></TR></TABLE>"
		}
		tt[temp]+="</TABLE>"
		return tt[temp]
	}
}

function glp(t1,t2,t3,z) {
	if (t3 !="") t3="!"+t3+" > "
	if (!isNaN(t1) && gl[t1]!="Alle Vorschriften") t3=t3+gl[t1]
	if (!isNaN(t2) && t2!=0) t3=t3+" > *"+pa[t2]
	return t3
}

function disp() {
	if (dyn && !snow)	{
		moveTo(over,mx+abstandx,my+abstandy)
		window.setTimeout("showObject(over)",5)
		snow = 1
	}
}

function layerWrite(txt) {
	if (ns4) {
		with (over.document) {
			write(txt)
			close()
		}
	}
	else if (ie4) document.all["overDiv"].innerHTML = txt
}

function showObject(obj) {
	if (!snow) return
	if (ns4) obj.visibility = "show"
	else if (ie4) obj.visibility = "visible"
}

function moveTo(obj,xL,yL) {
	obj.left = xL
	obj.top = yL
}

function mouseMove(e) {
	if (ns4) {mx=e.pageX; my=e.pageY;}
	if (ie4) {
		mx=event.x; my=event.y;
	}
	if (ie5) {mx=event.x+document.body.scrollLeft; my=event.y+document.body.scrollTop;}
}

Farbe = new Array("lightskyblue","lightblue","lightskyblue","lightblue","lightblue") //navajowhite
var width = "200"
var offsetx = 0
var offsety = 20

ns4 = (document.layers)? true:false
ie4 = (document.all)? true:false
ie5 = (navigator.userAgent.indexOf('MSIE 5')>0)? true:false
dyn = (ns4||ie4)

var mx = 0;
var my = 0;
var snow = 0;
var sw = 0;
var cnt = 0;
var dir = 1;
var tr = 1;
var klick=0;
zeigeralt=""
if (dyn) {
	if (ns4) over = document.overDiv
	if (ie4) over = overDiv.style
	document.onmousemove = mouseMove
}

if (ns4) {
	document.captureEvents(Event.MOUSEMOVE)
}


//-----


