function closeAll()
{
	document.getElementById('unsere-aufgaben').style.visibility='hidden';
	document.getElementById('unsere-aufgaben-bg').style.visibility='hidden';
}

function openNav(navName)
{
	closeAll();
	document.getElementById(navName).style.top=0;
	document.getElementById(navName).style.visibility='visible';
	document.getElementById(navName+'-bg').style.top=0;
	document.getElementById(navName+'-bg').style.visibility='visible';
}

function openWin(width, height, url)
{
	window.open(url,'zoomFenster','width='+width+',height='+height+',scrollbars=1');
}

function deleteKursdatum()
{
	for (var i = 0; i <= document.anmeldeform.Kursdatum.length; i++)
		document.anmeldeform.Kursdatum.options[i] = null;
}

function getLSM()
{
	deleteKursdatum();	
	NeuerEintrag = new Option("08.05.2010");
	document.anmeldeform.Kursdatum.options[0] = NeuerEintrag;
	NeuerEintrag = new Option("03.07.2010");
	document.anmeldeform.Kursdatum.options[1] = NeuerEintrag;
	NeuerEintrag = new Option("04.09.2010");
	document.anmeldeform.Kursdatum.options[2] = NeuerEintrag;
	NeuerEintrag = new Option("30.10.2010");
	document.anmeldeform.Kursdatum.options[3] = NeuerEintrag;
	NeuerEintrag = new Option("04.12.2010");
	document.anmeldeform.Kursdatum.options[4] = NeuerEintrag;
}

function getEH()
{
	deleteKursdatum();
	NeuerEintrag = new Option("12./13.06.2010");
	document.anmeldeform.Kursdatum.options[0] = NeuerEintrag;
	NeuerEintrag = new Option("10./11.07.2010");
	document.anmeldeform.Kursdatum.options[1] = NeuerEintrag;
	NeuerEintrag = new Option("07./08.08.2010");
	document.anmeldeform.Kursdatum.options[2] = NeuerEintrag;
	NeuerEintrag = new Option("18./19.09.2010");
	document.anmeldeform.Kursdatum.options[3] = NeuerEintrag;
	NeuerEintrag = new Option("09./10.10.2010");
	document.anmeldeform.Kursdatum.options[4] = NeuerEintrag;
	NeuerEintrag = new Option("20./21.11.2010");
	document.anmeldeform.Kursdatum.options[5] = NeuerEintrag;
	NeuerEintrag = new Option("18./19.12.2010");
	document.anmeldeform.Kursdatum.options[6] = NeuerEintrag;
}

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