function setMenu(type) {
  images = new Array("fileadmin/landesverband/static.img/hover/empty.gif", 
                     "fileadmin/landesverband/static.img/hover/forst.gif",
                     "fileadmin/landesverband/static.img/hover/bibi.gif",
                     "fileadmin/landesverband/static.img/hover/museum.gif",
                     "fileadmin/landesverband/static.img/hover/natur.gif",
                     "fileadmin/landesverband/static.img/hover/hermann.gif",
                     "fileadmin/landesverband/static.img/hover/zentrale.gif");
  var obj = document.getElementById('hoverImg');
  var lay = document.getElementById('hover');
  lay.style.display = 'block';
  obj.src = images[type];
}

function fixFooter() {
  var sHeight, dHeight;
  if (document.getElementById == null)
    return;

  if (self.innerHeight) {
    sHeight = self.innerHeight;
  } else {
    if (document.documentElement) {
      sHeight = document.documentElement.clientHeight;
    } else {
      sHeight = document.body.clientHeight;
    }
  }

  var left = document.getElementById('menu');
  var foot = document.getElementById('footer');
  var body = document.getElementsByTagName('body')[0];
  var fHeight = body.offsetHeight;
 
  //alert(fHeight);
  //alert(sHeight);
  if (fHeight < sHeight) {
    foot.style.margin = (sHeight - (left.offsetHeight) - 92) + 'px 0px 0px 0px';
  } else {
    margin = ((fHeight - left.offsetHeight));
    if (margin > 0) {
      foot.style.margin = margin + 'px 0px 0px 0px';
    } else {
      foot.style.margin = '10px 0px 0px 0px';
    }
  }
  s = "fixFooter()";
  //setTimeout(s, 50);
}
