function openPopup(url, width, height)	
{
	// Dieses Fenster wird unabhängig von der Auflösung unten rechts platziert.
	if (navigator.userAgent.indexOf("MSIE") == -1) {
		var oben = "screenY=" + (screen.availHeight-height-42) + ",";
		var links = "screenX=" + (screen.availWidth-width-5) ;
		var scroll = "scrollbars=1";		
	} else {
		var oben = "top=" + (screen.availHeight-height-30) + ",";
		var links = "left=" + (screen.availWidth-width-20);
		var client = "msie";	
		if (navigator.userAgent.indexOf("Mac") == -1) {
			var scroll = "scrollbars=yes";
		} else {
			var scroll = "scrollbars=auto";
		}	
	}
	if(client == "msie"){
		width += 10;
	}
	var parstr = '';
	parstr += 'width=' + width + ',';	
	parstr += 'height=' + height + ',';
	parstr += oben;
	parstr += links;
	parstr += ',status=0';
	parstr += ',menuebar=0,';
	parstr += scroll;
	parstr += ',resizeable=0';
	parstr += ',toolbar=0';
	parstr += ',location=0';
	parstr += ',directories=0';
	
	Large = open(url,'win_large',parstr);
	return false;
}

/*
function openPopup(url, width, height)	
{
	// Dieses Fenster wird unabhängig von der Auflösung in der Mitte des Bildschirms platziert.
	if (navigator.userAgent.indexOf("MSIE") == -1) {
		var oben = "screenY=" + (screen.availHeight/2-height/2) + ",";
		var links = "screenX=" + (screen.availWidth/2-width/2) ;
		var scroll = "scrollbars=1";		
	} else {
		var oben = "top=" + (screen.availHeight/2-height/2-10) + ",";
		var links = "left=" + (screen.availWidth/2-width/2+5);
		var client = "msie";	
		if (navigator.userAgent.indexOf("Mac") == -1) {
			var scroll = "scrollbars=yes";
		} else {
			var scroll = "scrollbars=auto";
		}	
	}
	if(client == "msie"){
		width += 10;
	}
	var parstr = '';
	parstr += 'width=' + width + ',';	
	parstr += 'height=' + height + ',';
	parstr += oben;
	parstr += links;
	parstr += ',status=0';
	parstr += ',menuebar=0,';
	parstr += scroll;
	parstr += ',resizeable=0';
	parstr += ',toolbar=0';
	parstr += ',location=0';
	parstr += ',directories=0';
	
	Large = open(url,'win_large',parstr);
	return false;
}

*/