function execlink(site) {
	if (site != "") {
		window.open(site);
	}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
	  fenster = window.open(theURL,winName,features);
	  fenster.focus();
 	  var l = (screen.availWidth - breite) / 2;
	  var t = (screen.availHeight - hoehe) / 2;
	  var newwindow = window.open(theURL,winName,features+",left="+l+",top="+t);
	  newwindow.focus();
}

function standalone() {
	 return (self == top);
}

function ersetzen(adresse) {
	  top.location.replace(adresse);   // überschreibt History-Eintrag
}

if (!standalone()) ersetzen(self.location.href);

function noSpam() {
    var a = document.getElementsByTagName("a");
    for (var i = a.length-1; i >= 0; i--) {
      if (a[i].className.search(/\bemail\b/) != -1) {
        var email = a[i].firstChild.data + "@" + a[i].lastChild.data;
        a[i].innerHTML = email;
        a[i].href = "mailto:" + email;
      }
    }
}

function navi(mouseover, id) {
	if(navigator.userAgent.search(/MSIE 6/) != -1 || navigator.userAgent.search(/MSIE 5/) != -1) {
		if(mouseover) {
			$(id).style.display='block';
		}
		else {
			$(id).style.display='none';
		}
	}
}
