var aktiv;

/* Navigation */
function showHide(element) {
	var children = element.getElementsByTagName("DIV");
	if (children.length > 0) {
		var firstList=children[0];
		if (firstList.style.display == 'block') {
			firstList.style.display = 'none'
		} else {
			firstList.style.display = 'block'
		}
	}
	return true;
}

/* Sprache */
function selection_mouseOver(element) {
	element.getElementsByTagName("DIV")[0].style.display = "block";
}
function selection_mouseOut(element) {
	element.getElementsByTagName("DIV")[0].style.display = "none";
}

function maskEmail(name, domain) {
	document.writeln('<a href="mailto:'+name+'@'+domain+'">'+name+'@'+domain+'</a>');
}

function popUp1(wintype) {
  var nwl = (screen.width-1000)/2;
  var nwh = (screen.height-790)/2;
  popUp=window.open(wintype, 'PopUp','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=1000,height=790,left='+nwl+',top='+nwh+''); 
  popUp.window.focus(); 
}

// Popup Chairfinder
function popUp2(wintype) {
  var nwl = (screen.width-1050)/2;
  var nwh = (screen.height-800)/2;
  popUp=window.open(wintype, 'PopUp','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=1050,height=800,left='+nwl+',top='+nwh+''); 
  popUp.window.focus(); 
}



function init() {
}
window.onload = init;

