function showhide(geschaeftsfuehrung) {
    obj = document.getElementById(geschaeftsfuehrung);
    obj.style.display = obj.style.display == 'none' ? 'block' : 'none';
}	

	
/* SternMouseOver */
	function star() { // This sets the opacity of the thumbs to fade down to 60% when the page loads
		$("#startext").fadeTo("slow", 0.0);

		$("#star").hover(function(){
			$("#startext").fadeTo("slow", 1.0); // This sets the opacity to 100% on hover
		},function(){
   		$("#startext").fadeTo("slow", 0.0); // This sets the opacity back to 60% on mouseout
		});
	}
	
	
function chkFormular() {
  if (document.contactForm.vorname.value == "") {
	alert("Bitte Ihren Namen eingeben!");
	document.contactForm.vorname.focus();
	return false;
  }
  if (document.contactForm.telephone.value == "") {
	alert("Bitte Ihre Telefonnummer eingeben!");
	document.contactForm.telephone.focus();
	return false;
  }
  if (document.contactForm.address.value == "") {
	alert("Bitte Ihre E-Mail-Adresse eingeben!");
	document.contactForm.address.focus();
	return false;
  }
  if (document.contactForm.address.value.indexOf("@") == -1) {
	alert("Keine E-Mail-Adresse!");
	document.contactForm.address.focus();
	return false;
  }
 }
 


function hideAll()
{
var allDivs = document.getElementsByTagName("div");

/* Alle divs auf der Seite durchlaufen */
for(var i = 0; i != allDivs.length; i++)
{
if(allDivs[i].id.substr(0, 3) == "ad_") {
allDivs[i].style.display = "none";
}
}
var alla = document.getElementsByTagName("a");

/* Alle divs auf der Seite durchlaufen */	
for(var i = 0; i != alla.length; i++)
{
if(alla[i].id.substr(0, 3) == "ad_") {
alla[i].style.color= "#000";
}
}
}

wmtt = null;
document.onmousemove = updateWMTT;
function updateWMTT(e) {
  if (wmtt != null && wmtt.style.display == 'block') {
    x = (e.pageX ? e.pageX : window.event.x) + wmtt.offsetParent.scrollLeft - wmtt.offsetParent.offsetLeft;
    y = (e.pageY ? e.pageY : window.event.y) + wmtt.offsetParent.scrollTop - wmtt.offsetParent.offsetTop;
    wmtt.style.left = (x + 20) + "px";
    wmtt.style.top   = (y + 20) + "px";
  }
}
function showWMTT(id) {
  wmtt = document.getElementById(id);
  wmtt.style.display = "block";
}
function hideWMTT() {
  wmtt.style.display = "none";
}

