/**
 * Oeffnet das Fenster des Nebenmenues
 */
 
/* ChangeLog: */
/* 2007-11-24 - Roland Brunner - Breite um 120px erweitert */

function openWin(uri) {
	
	var size = {
		w:760, 
		h:580
	};
	
	var position = {
		x: 180, // (screen.width-size.w)/2,
		y: (screen.height-size.h)/2
	};
	
	var options = [
		"width=" + size.w,
		"height=" + size.h,
		"left=" + position.x,
		"top=" + position.y,
		"location=no",
		"menubar=no",
		"resizable=yes",
		"scrollbars=yes",
		"status=no",
		"toolbar=no"
	];

	var popupWindow = window.open(uri, "_nebenmenu", options.join(","));
	popupWindow.focus();
}
