function external_url() {
    if (!document.getElementsByTagName) return;
    var links = document.getElementsByTagName("a");
    for (var i=0; i<links.length; i++) {
        var thisLink = links[i];
        if (thisLink .getAttribute("href") && thisLink .getAttribute("class") == "external-link")
            thisLink .target = "_blank";
    }
    if(document.getElementById('selector')) {
        document.getElementById('selector').style.display='';
    }
}


// Aufklappmenue fuer IE
function navi() {
  if (document.all&&document.getElementById) {
    navRoot = document.getElementById('mainmenu');
    for (i=0; i<navRoot.childNodes.length; i++) {
      node = navRoot.childNodes[i];
      if (node.nodeName=="LI") {
        node.onmouseover=function() {
          this.className+=" over";
        }
        node.onmouseout=function() {
          this.className=this.className.replace(" over", "");
        }
      }
    }
  }
  
  if (document.all&&document.getElementById) {
    navRoot = document.getElementById('locationmenu');
    for (i=0; i<navRoot.childNodes.length; i++) {
      node = navRoot.childNodes[i];
      if (node.nodeName=="LI") {
        node.onmouseover=function() {
          this.className+=" over";
        }
        node.onmouseout=function() {
          this.className=this.className.replace(" over", "");
        }
      }
    }
  }
  
}

function allFunx() {
	fontinit();
	navi();
}
function allFunxJump() {
	window.location.hash='#jump';
	fontinit();
	navi();
}