  function Swap(name, pfad) {
    document.images[name].src = pfad;
  }

  function ShowHide(layer, leer, action) {
    if(action == 'hide'){
      document.getElementById(layer).style.visibility='hidden';
    }
    if(action == 'show'){
      document.getElementById(layer).style.visibility='visible';
    }

    document.getElementById("Layer1").style.left=Rand1;
    document.getElementById("Layer2").style.left=Rand2;
    document.getElementById("Layer3").style.left=Rand3;
    document.getElementById("Layer31").style.left=Rand31;
    document.getElementById("Layer4").style.left=Rand4;
    document.getElementById("Layer5").style.left=Rand5;

  }

  function init() {
    var leer = "";
  }

  function Fensterweite () {
    if (window.innerWidth) {
      return window.innerWidth;
    } else if (document.body && document.body.offsetWidth) {
      return document.body.offsetWidth;
    } else {
      return 0;
    }
  }

  function neuAufbau () {
    if (Weite != Fensterweite())
    location.href = location.href;
  }

/* Überwachung von Netscape initialisieren */
  if (!window.Weite && window.innerWidth) {
    window.onresize = neuAufbau;
    Weite = Fensterweite();
  }
  
  function callback(url){
  cback = window.open(url, "Callback", "width=560,height=420,left=100,top=200, scrollbars=yes, resizable=yes");
  cback.focus();
  }
  
  function karte(url){
  cart = window.open(url, "Karte", "width=610,height=600,left=100,top=200, scrollbars=yes, resizable=yes");
  cart.focus();
  }
  
  function info(url){
  infos = window.open(url, "Informationen", "width=610,height=300,left=100,top=200, scrollbars=yes, resizable=yes");
  infos.focus();
  }
  
  function galerie(url){
   Name = window.open(url,"Info","width=650,height=650,scrollbars=yes,resizable=yes");
  }