<!--
 
 // "Popup": Oeffnet Popup Fenster

   var win=null;

   function NewWindow(mypage,myname,w,h,scroll,pos) {
	if(pos=="random") {
	   LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;
	   TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;
	}
	if(pos=="center") {
	   LeftPosition=(screen.width)?(screen.width-w)/2:100;
	   TopPosition=(screen.height)?(screen.height-h)/2:100;
	}
	else if((pos!="center" && pos!="random") || pos==null) { LeftPosition=0; TopPosition=20 }
	settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
	win=window.open(mypage,myname,settings);
   }


 // "zu Favoriten" inkl. Fehlermeldung f&uuml;r netscape, zweisprachig.

  function zuFavoriten(FAVOlink,FAVOinfo,sprache) {
    if (sprache == "EN" || sprache == "en") {
    	var msgNS="Sorry, your Browser does not support to add a bookmark automatically.\nPlease press \"Ctrl + D\" to add this page to your bookmarks."; 
    } else {
    	var msgNS="Sorry, das automatische Hinzufügen von Lesezeichen unterstützt Ihr Browser leider nicht.\nBitte drücken Sie \"Strg + D\" um diese Seite zu Ihren Lesezeichen hinzuzufügen."; 
    }
    if (document.all) { 
    	window.external.AddFavorite(FAVOlink,FAVOinfo);
    } else if (document.layers ||(document.getElementById && !document.all)) {
    	alert(msgNS);
    }
  }



// ???

function setVisibility( /* Layer */ objLayer, 
                        /* boolean */ visible ) {

  if(document.layers){
    objLayer.visibility  = 
        (visible == true) ? 'show' : 'hide';
  } else {
    objLayer.style.visibility = 
        (visible == true) ? 'visible' : 'hidden';
  }

}

function getLayerRef ( /* String */ id, 
                       /* optional HTML-Object */ document) {
  if (!document)
    document = window.document;


  if (document.layers) {
    for (var l = 0; l < document.layers.length; l++)
      if (document.layers[l].id == id)
        return document.layers[l];
    for (var l = 0; l < document.layers.length; l++) {
      var result = getLayerRef(id, document.layers[l].document);
      if (result)
        return result;
    }
    return null;
  } else if (document.all) {
    return document.all[id];
  } else if (document.getElementById) {
    return document.getElementById(id);
  }
}



function Drucken()
{
  self.focus();
  self.print();
}




function getPosition(element){
    var elem=element,tagname="",x=0,y=0;
    	while ((typeof(elem)=="object")&&(typeof(elem.tagName)!="undefined")){
	    y+=elem.offsetTop;     		/* Offset des jeweiligen Elements addieren */
    	    x+=elem.offsetLeft;    		/* Offset des jeweiligen Elements addieren */
    	    tagname=elem.tagName.toUpperCase(); /* tag-Name ermitteln, Grossbuchstaben */

    	    if (tagname=="BODY")
      	    elem=0;

    	    if (typeof(elem)=="object")
      	    if (typeof(elem.offsetParent)=="object")
            elem=elem.offsetParent;
  	}

    position=new Object();
    position.x=x;
    position.y=y;
    return position;
}

function einblendenDIV(elementId, division, pos_x, pos_y){
    // elementId => referenzgrafik
    // division => ID der DIV mit Inhalten
    // pos_x, pos_y => Werte um die DIV zu referengrafik verschoben wird
    var a,element;
    element=document.getElementById(elementId);
    a=getPosition(element);
    if (pos_x) { document.getElementById(division).style.left=(a.x + pos_x); } 
    else { document.getElementById(division).style.left=a.x; }   
    if (pos_y) { document.getElementById(division).style.top=(a.y + pos_y); }
    // else { document.getElementById(division).style.top=a.y; }
    show(division);
} 


function roll(img,nb) {
	eval("img.src=a["+nb+"].src");
}
 
 
var ie= ((document.all)&&(!document.layers)) ? true : false;
var ns= ((document.layers)&&(!document.getElementById)) ? true : false;
var moz= ((document.getElementById)&&(!document.all)) ? true : false;

function show(div){
	if(ie) {document.all[div].style.visibility="visible";}
	if(ns) {document.layers[div].visibility="show";}
	if(moz) {document.getElementById(div).style.visibility="visible";}
}

function hide(div){
	if(ie) (document.all[div].style.visibility="hidden")
	if(ns) (document.layers[div].visibility="hide")
	if(moz) (document.getElementById(div).style.visibility="hidden")
}	

var hideMenue = null; 
 
// -->   