function freshWindow(fileName) {
	myWindow  = window.open(fileName, "Zweitfenster", "width=700,height=500,screenX=100,screenX=40,scrollbars = yes,dependent = yes,resizable = yes ");
 	myWindow.focus();	
}

function freshWindowAdapts(fileName, width, height, posx, posy) {
	myWindow  = window.open(fileName, "Zweitfenster", "width="+width+",height="+height+",screenX="+posx+",screenY="+posy+",scrollbars = yes,dependent = yes,resizable = yes ");
 	myWindow.focus();
	return false;
}

function freshWindowNotScroll(fileName, width, height, posx, posy) {
	myWindow  = window.open(fileName, "Zweitfenster", "width="+width+",height="+height+",screenX="+posx+",screenY="+posy+",scrollbars = no,dependent = yes,resizable = no");
 	myWindow.focus();
}
/* anzeigehandling von div-fenstern */
function hiddenDiv(param) {
	if(document.all) {
		param.style.visibility="hidden";		
	}  else if(document.layers) {	 
		document.layers[param].visibility="hide";
    } else {
		document.getElementById(param).style.visibility = 'hidden';
	} 
}
function visibleDiv(param) {	
    if(document.all) {
		param.style.visibility="visible";		
	}  else if(document.layers) {	 
		document.layers[param].visibility="show";
    } else {
		document.getElementById(param).style.visibility = 'visible';
	}
	return false;
}
