//	verlag.js// (c) 2001 Winfried Huslik, winfried@huslik.de	// version 2001-11-29function init() {	for (var i in navMenu)   /* i is the loop counter. */		for (j = 0; j < 3; j++) 			gi(navMenu[i] + j);     /* name extended by 0, 1, 2 */	gi(navMenu[0] + "3");  /* first item is special! */	ldm = true;	if (window.focus)		if (document.forms)			if (document.forms[0])				if (document.forms[0].elements[0])					document.forms[0].elements[0].focus();	}	function gofield(form, field) {	field = 'fo[' + field + ']' ;	if (window.focus)		if (document.forms)			if (document.forms[form])				if (document.forms[form].elements[field])					document.forms[form].elements[field].focus();	}function gi(h) {   /* 'tabindex0', "tabueberw0", etc. */	if (!io[h]) {		io[h] = new Image;		io[h].src = "resources/" + h + ".gif";		}	}function mo(n) {si(n.name,1)}	// mouseoverfunction mt(n) {si(n.name,0)}	// mouseoutfunction si(n0,h) {	if (ldm)		document.images[n0].src = io[n0.substr(0, n0.length - 1) + (1 * n0.substr(n0.length - 1) + h)].src;	}function pof() {	if (timerID == null) 		timerID = setTimeout("hide()",3000);	}function hide() {	resetTimer();	if (document.getElementById) {		document.getElementById('popDiv').style.visibility = "hidden";	} else if (document.all) {		document.all["popDiv"].style.visibility = "hidden";	} else if (document.layers) {		document.popDiv.visibility = "hide";	}	}function resetTimer() {	clearTimeout(timerID);	timerID = null;	}function pup(cap,tx) {	resetTimer();	sw = 500;	if (window.innerWidth)  sw = window.innerWidth;	else if (self.innerWidth) sw = self.innerWidth; 	else if (document.body) sw = document.body.clientWidth;	w = 250;	w = Math.min(w,sw-5);	x = Math.max(5,Math.min(x-w/2,sw-w-5));	y+=16;	htm = '<a href="javaScript:;" onmouseover="resetTimer()" onmouseout="pof()">' +		'<table class=popCp width=' + w +		'<tr class=popCp><td class=popCp>'+ cap +'</td></tr>' +		'<tr class=popTx><td class=popTx>'+ tx +'</td></tr>' +		'</table></a>\r\n';	if (document.getElementById) {		px = document.all ? 'px' : '';		document.getElementById('popDiv').innerHTML = htm;		document.getElementById('popDiv').style.left = x + px;		document.getElementById('popDiv').style.top = y + px;		document.getElementById('popDiv').style.visibility = "visible";	} else if (document.all) {		document.all["popDiv"].innerHTML = htm; 		document.all["popDiv"].style.left = x + 'px';		document.all["popDiv"].style.top  = y + 'px';		document.all["popDiv"].style.visibility = "visible";	} else if (document.layers) { 		document.popDiv.document.write(htm);		document.popDiv.document.close();		document.popDiv.left = x;		document.popDiv.top  = y;		document.popDiv.visibility = "show";	}	}function doSound(snd) {	resetTimer();	if (document.layers) { // see JavaScript Client Guide pages 273 ff		document.sndDiv.document.writeln(			'<embed src="wav/'+snd+'.wav" hidden=true>');		document.sndDiv.document.close();	} else if (document.all) {		document.all.sndDiv.innerHTML = 			'<embed src="wav/'+snd+'.wav" hidden=true>\n';	} else if (document.getElementById) {		document.getElementById('sndDiv').innerHTML = 			'<object data="wav/'+snd+'.wav" type="audio/x-wav" width=0 height=0></object>\n';	}	}function mm(e) {	if (document.layers) {	// only NS4		x = e.layerX;		y = e.layerY;	} else if (window.Event) {	// NS6=ok, not NS4		x = e.pageX ;		y = e.pageY;	} else if (document.getElementById) {	// IE=ok, Opera=ok, not NS4, not iCAP		x = event.x + document.body.scrollLeft;		y = event.y + document.body.scrollTop;	} else if (document.all) {	// IE=ok, Opera=funny, not iCAB, not NS4		x = event.x;		y = event.y;	}	}if (document.layers) document.captureEvents(Event.MOUSEMOVE);document.onmousemove = mm;document.onkeypress=function k(evt){ /* submit on enter (c)Huslik */	var k=document.all?window.event.keyCode:evt.which;	if(k==3 /*||k==13*/){	// not on return		document.forms[0].submit();		return false;	}	}var x=160;var y=20;var timerID = null;var io = new Object;var ldm = false;var navMenu = new Array ();//if (top != self) top.location = location;//if (top.frames.length) top.location.href = self.location;// end of verlag.js