toggle=0




/* Content-Funktionen */

function CHeader (text)
{
	t=
	'<table width=560 border=0 cellspacing=0 cellpadding=0>'+
	'<tr><td class=Cheader>' +text+ '</td></tr>'+
	'<script>Tspace(7)</script>'+
	'</table>'
	
	document.writeln(t)
}

function CBoxStart (text)
{
	t = '<table width=560 border=0 cellspacing=0 cellpadding=2>'
	t+= (text) ? '<tr><td class=Theader>' +text+ '</th></tr>' : ''
	t+= '<tr><td class=Tblock>'
	
	document.writeln(t)
}

function CBoxEnd (i)
{
	t=
	'</td></tr>'+
	'<script>Tspace(' +( (i>0) ? i : 15 )+ ')</script>'+
	'</table>'

	document.writeln(t)
}






/* div. Hilfs-Funktionen */
function openPopup(pop,target,ww,wh) {
	windowprops = "width=" + ww + ",height=" + wh + ",location=no,menubar=no,personalbar=no,locationbar=no,directories=no,statusbar=no,toolbar=no";
	popshow = window.open(pop, target, windowprops);
}

function input_data(script,bereich,action,id,input,frage) {
	var r = input;
	r = prompt(frage, r);
		
	if (r == null || r == '') { return; }
		
	location.replace(
		script + "?bereich=" + bereich + "&" + action + "=1&id=" + id + "&p=" + r
	);
}

function svenMail (n)
{
	return n + '@' + 'sven-morlok' + '.de'
}

function printMail (n)
{
	document.writeln('<a href="mailto:' +svenMail(n)+ '">' +svenMail(n)+ '</a>')
}


function FDPMail (n)
{
	return n + '@' + 'fdp-leipzig' + '.de'
}

function printFDPMail (n)
{
	document.writeln('<a href="mailto:' +FDPMail(n)+ '">' +FDPMail(n)+ '</a>')
}


function Tspace (i)
{
	t='<tr><td><img src="/img/1.gif" height=' +i+ '></td></tr>'
	document.writeln(t)
}
