	var ie4 = false;
	var nsc = false;

        if(document.all) {
		ie4 = true;
	}else if(navigator.appName=='Netscape'){
                nsc = true;
        }

	function MW_openBrWindow(theURL,winName,features) { 
                            window.open(theURL,winName,features);
                }

	function getObject(id) {
		if (ie4) {
			return document.all[id];
		} else {
			return document.getElementById(id);
		}
	}

	function toggle(id) {
		var d = getObject(id);
		var d2 = getObject(id+'_img');

		if (d.style.display == 'none') {
			d.style.display = 'block';
			d2.src = 'fileadmin/Dachportal-Relaunch/css/screen_FILES/background_contentnavigationlist_current.gif';

		} else {
			d.style.display = 'none';
			d2.src = 'fileadmin/Dachportal-Relaunch/css/screen_FILES/background_contentnavigationlist_03.gif';
		}
	}

	function toggleNews(id) {
		var d = getObject(id);
		var d2 = getObject(id+'_cell2');
		var bold1 = getObject(id+'_bold1');
		var bold2 = getObject(id+'_bold2');
		var bold3 = getObject(id+'_bold3');

		if (d.style.display == 'none') {
                	if(nsc){
                		d2.style.display = 'table-cell';
				d.style.display = 'table-cell';
                	}else{
				d2.style.display = 'inline';
				d.style.display = 'inline';
			}
			bold1.style.fontWeight = 'bold';
			bold2.style.fontWeight = 'bold';
			bold3.style.fontWeight = 'bold';
		} else {
			d2.style.display = 'none';
			d.style.display = 'none';
			bold1.style.fontWeight = '';
			bold2.style.fontWeight = '';
			bold3.style.fontWeight = '';
		}
	}

	function makeMeBold(id) {
		var bold1 = getObject(id+'_bold1');
		var bold2 = getObject(id+'_bold2');
		var bold3 = getObject(id+'_bold3');

		bold1.style.fontWeight = 'bold';
		bold2.style.fontWeight = 'bold';
		bold3.style.fontWeight = 'bold';
	}

	function closeAllNews(id, count) {
		for(i = 0; i < count; i++) {
			var newId = id + '-' + i;
			var d2 = getObject(newId+'_cell2');
			var d = getObject(newId);
			var bold1 = getObject(newId+'_bold1');
			var bold2 = getObject(newId+'_bold2');
			var bold3 = getObject(newId+'_bold3');

			d2.style.display = 'none';
			d.style.display = 'none';
			bold1.style.fontWeight = '';
			bold2.style.fontWeight = '';
			bold3.style.fontWeight = '';
		}
	}

	function closeAllHoF(id, count) {
		for(i = 0; i < count; i++) {
			var newId = id + '-' + i;
			var d = getObject(newId);
			var d2 = getObject(newId+'_img');

			d.style.display = 'none';
			d2.src = 'fileadmin/Dachportal-Relaunch/css/screen_FILES/background_contentnavigationlist_03.gif';
		}
	}