	if (document.layers) {
		window.captureEvents(Event.MOUSEMOVE);
		
		function xMoveHandler(evnt) {
			Xpos = evnt.pageX;
			Ypos = evnt.pageY;
		}
		window.onMouseMove = xMoveHandler;
	}
		function setVisible(schicht, moveX, moveY) {
		  if (document.all) {
			document.all[schicht].style.left = document.body.scrollLeft + event.x + moveX; 
			document.all[schicht].style.top = document.body.scrollTop + event.y + moveY;
			document.all[schicht].style.visibility = 'visible';
		  }
		  if (document.layers) {
			document.layers[schicht].left = 0 + Xpos + moveX;
			document.layers[schicht].top = 0 + Ypos + moveY;
			document.layers[schicht].visibility = 'visible';
		  }
		}
		
		function setInvisible(schicht) {
		  if (document.all) {
			document.all[schicht].style.visibility = 'hidden';
		  }
		  if (document.layers) {
			document.layers[schicht].visibility = 'hidden';
		  }
		}
		function PopWinStart(SectionList,w,h) 
			{
			var popupx = (screen.width/2)-(w/2);
			var popupy = (screen.height/2)-(h/2);	
			var popwin = window.open(SectionList, 'PopWin','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,width='+w+',height='+h+',left='+popupx+',top='+popupy+'');
			if (window.focus) popwin.focus();
			}
			
		function PopWin(SectionList,WinName,scroller,w,h) 
			{
			var popupx = (screen.width/2)-(w/2);
			var popupy = (screen.height/2)-(h/2);	
			var popwin = window.open(SectionList, WinName,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars='+scroller+',resizable=no,width='+w+',height='+h+',left='+popupx+',top='+popupy+'');
			if (window.focus) popwin.focus();
		}
		 function surfto(form) {
		        var myindex=form.elements[0].selectedIndex;
		        if (form.elements[0].options[myindex].value != "0") {
		        	location=form.elements[0].options[myindex].value;
				}
		}
		function loadFrames(frame1,page1) {
			eval("parent."+frame1+".location='"+page1+"'");
		}			

