function NaviLink(myLink) {
	if(document.getElementById){
		window.open(document.getElementById(myLink).href,'_top');
	}
}
function NaviLink2(myLink) {
	if(document.getElementById){
		window.open(document.getElementById(myLink).href,'_newWindow');
	}
}
function setNaviActive(myTdID,color,level) {
	if(document.getElementById){
	
		if (color=='schwarz') 	{myImage='url(/img/navipfeil_schwarz.gif)'}
		else 					{myImage='url(/img/navipfeil_weiss.gif)'}
		document.getElementById(myTdID).style.background= myImage ;
	
		if (level=='1') 		{myColor='#951915'}
		else 					{myColor='#DFBDBD'}
		document.getElementById(myTdID).style.backgroundColor= myColor ;
	}
	
}
function openPrintPopup(winUrl) {
		if (window.printBox) {
			if (! window.printBox.closed) window.printBox.close();
		}
	printBox = window.open('/print.asp?page='+winUrl,'printBox','toolbar=yes,location=no,directories=no,menubar=no,status=no,scrollbars=yes,resizable=yes,width=600,height=450') 
	window.printBox.focus();
}
function openPopup(winUrl,breite,hoehe) {
		if (window.popupBox) {
			if (! window.popupBox.closed) window.popupBox.close();
		}
	popupBox = window.open(winUrl,'popupBox','toolbar=no,location=no,directories=no,menubar=no,status=no,scrollbars=yes,resizable=yes,width='+breite+',height='+hoehe) 
	window.popupBox.focus();
}
function openBildPopup(bildURL,titel,breite,hoehe) {
		if (window.popupBox) {
			if (! window.popupBox.closed) window.popupBox.close();
		}
	popupBox = window.open('/bild.asp?bild='+bildURL+'&titel='+titel,'popupBox','toolbar=no,location=no,directories=no,menubar=no,status=no,scrollbars=yes,resizable=yes,width='+breite+',height='+hoehe) 
	window.popupBox.focus();
}
function mailTo(name,domain) {
	window.location.href= "mailto:"+name+"@"+domain;
}

function doPrint() {
		if (window.print) {
				window.print(); }
}