function immervorn()
  {
    self.focus();
    window.setTimeout("immervorn()",100);
  };
  
function bild(was, breite, hoehe, links, oben)
  {
    par="width=".concat(breite);
    par=par.concat(",height=");
    par=par.concat(hoehe);
    par=par.concat(",left=");
    par=par.concat(links);
    par=par.concat(",top=");
    par=par.concat(oben);
    par=par.concat(",toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no");
    window.open(was,"neu",par);
  };

function legende() {
    window.open("http://www.bischofswerda.de/legende.htm","legende","width=270,height=270,left=20,top=20,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no");
  }

function MM_showHideLayers() { //v9.0
                               // Aufruf-Beispiel:
                               // <span class="schliessen" onClick="MM_showHideLayers('werbung','','hide')">schliessen X</span></div>
                               // zugehöriger Layer: <div id="werbung">...</div>
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
