  function CenterWindow(win) {
	// Zentriert das Fenster "win"
		var sbreite, shoehe;
		
		var ns6 = (!document.all && document.getElementById);
		var ie4 = (document.all);
		var ns4 = (document.layers);
		
		if(ns6||ns4) {
  		sbreite = innerWidth;
		  shoehe = innerHeight;
		}
		else if(ie4) {
  		sbreite = document.body.clientWidth;
		  shoehe = document.body.clientHeight;
		}
		
    win.moveTo((screen.width-sbreite)/2, (screen.height-shoehe)/2)
	}

	function openPopup(file, x, y) {
	// Film-Popup öffnen
    stream = window.open(file+'&x='+x+'&y='+y,'stream','width='+(parseInt(x)+50)+',height='+(parseInt(y)+70)+',location=no,menubar=no,resizable=yes,scrollbars=no,status=no,toolbar=no');
		stream.focus();
	}