
function kleinesFenster(url,breite,hoehe) {
	var miniWin = this.open(
						url,
						"miniWin",
						"status=yes," +
						"menubar=yes," +
						"scrollbars=yes," +
						"directories=no," +
						"toolbar=no," +
						"resizable=yes," +
						"screenX=" + ((screen.availWidth - breite) / 2) + "," +
						"screenY=" + ((screen.availHeight - hoehe) / 2) + "," +
						"innerwidth=" + breite + "," +
						"innerheight=" + hoehe + "," +
						"width=" + breite + "," +
						"height=" + hoehe
						);
	miniWin.focus();
} // kleinesFenster()

function spielFenster(url,breite,hoehe) {
	var gameWin = this.open(
						url,
						"gameWin",
						"dependent=yes," +
						"directories=no," +
						"height=" + hoehe + "," +
//						"innerHeight=" + hoehe + "," +
//						"innerWidth=" + breite + "," +
						"left=" + ((screen.availWidth - breite) / 2) + "," +
						"location=no," +
						"menubar=no," +
						"personalbar=no," +
						"resizable=no," +
						"scrollbars=no," +
						"status=no," +
						"toolbar=no," +
						"top=" + ((screen.availHeight - hoehe) / 2) + "," +
						"width=" + breite
						);
	gameWin.focus();
} // spielFenster()


function newsWindow(addr) {
  var w = window.open(addr, "news");
  w.focus();
}


