// Fensternamen auf "content" festlegen, damit alte Frameset-Links mit target="content" auch funktionieren
// needs /site/dhtml.js
try {
	if (top.window.name!='foo' && top.window.name!='main_n' && top.window.name!='content') window.name='content';
} catch(e) {}

function hideHeader() {
	if (objHeader = getElement('id', 'header', 0)) objHeader.style.display = 'none';
}

function popUp(href, name, width, height, scrollbars, resizable, status) {
	if (!href)	return;
	if (!name)		name = 'info';
	if (!width) 	width = 480;
	if (!height) 	height = 480;
	scrollbars =	(scrollbars == false || scrollbars == 'no') ? 'no' : 'yes';				// default: yes
	resizable =		(!resizable || resizable == false || resizable == 'no') ? 'no' : 'yes';	// default: yes
	status =		(status == true || status == 'yes') ? 'yes' : 'no';						// default: no
	window.open(href+'&POP=1', name, 'width='+width+',height='+height+',scrollbars='+scrollbars+',resizable='+resizable+',status='+status);
}