
 
 
 var ie = document.all ? true : false;
 var ns = document.layers ? true : false;
 if(parseInt(navigator.appVersion) >= 5 && navigator.appName == "Netscape") { var ns6 = true; }
 
 function show(l)
 {
   if (ns6) document.getElementById(l).style.visibility =  'visible';
   else if (ie) document.all[l].style.visibility = 'visible';
   else if (ns) document[l].visibility = 'show';
 }
 function hide(l)
 {
   if (ns6) document.getElementById(l).style.visibility =  'hidden';
   else if (ie) document.all[l].style.visibility = 'hidden';
   else if (ns) document[l].visibility = 'hide';
 }
 function move(l,x,y)
 {
   if (ns6) { if(x) document.getElementById(l).style.pageX=x; if(y) document.getElementById(l).style.pageY=y; }
   else if (ie) { if(x) document.all[l].style.posLeft=x; if(y) document.all[l].style.posTop=y; }
   else if (ns) { if(x) document[l].pageX=x; if(y) document[l].pageY=y; }
 }
 
 function showHideLayers() {
 	var i;
 	var layerArray = new Array();
 if (ns6){
 	if (arguments[1]){
 	 	layerArray = arguments[1].split("|");
       for (i in layerArray){
 	   	hide(layerArray[i]);
 	   }
     }  
    if (arguments[2]=='show'){
       show(arguments[0]);
    }else if (arguments[2]=='hidden'){
 	  hide(arguments[0]);
 	 }
   }else{
     var v,obj,obj2;
     var args=showHideLayers.arguments;
 	 if (args[1]){
 	 	layerArray = args[1].split("|");
       for (i in layerArray){
 	  		showHideLayers(layerArray[i], '', 'hidden');
 	   }
     }   
   		if ((obj=findObj(args[0]))!=null){
 			v=args[2];
     		if (obj.style){
     	   	obj=obj.style; 
         	v=(v=='show')?'visible':(v='hide')?'hidden':v;
      	}
     		obj.visibility=v;
    	}
   }
 }
 
 function findObj(n, d) { //v3.0
   var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
     d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
   if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
   for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=findObj(n,d.layers[i].document); return x;
 }
 
 function zufall() {
 	zufi = Math.random();	
 	var m=1;
 	var n=7;
 	zufall2 = Math.round(zufi * n) + m;
 	return zufall2;
 }
 
 
 /* Verlinkung von PopUp */
 function eval_jump(num) {
 			top.opener.top.location.href = eval("ziel_" + num); 
 			top.self.close();
 }
 /* Verlinkung von PopUp */
 function do_jump(target) {
 			top.opener.top.location.href = target; 
 			top.self.close();
 }
 /* PopUp */
 function Fenster(WinWidth,WinHeight,Link,WindowName) {    
 	window.open(Link,WindowName,'toolbar=0,width='+WinWidth+',height='+WinHeight+',location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,copyhistory=0');
 }
 /* newWindow */
 function Fensterneu(WinWidth,WinHeight,Link,WindowName) {    
 	window.open(Link,WindowName,'toolbar=1,width='+WinWidth+',height='+WinHeight+',location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1,copyhistory=1');
 }
 
 
 