function MachFlashPop(wFlash, wBreite, wHoehe){
	x=screen.width/2;
	x=x-wBreite/2;
	y=screen.height/2;
	y=y-wHoehe/2;
	s = 0;
	r = 0;


	var agt=navigator.userAgent.toLowerCase();
	var is_major = parseInt(navigator.appVersion);
	var is_minor = parseFloat(navigator.appVersion);
	var is_gecko = (agt.indexOf('gecko') != -1 && agt.indexOf('netscape') == -1);
	if (is_gecko){
		FensterBreite = wBreite + 5;
		FensterHoehe = wHoehe + 4;
	}
	else {
		FensterBreite = wBreite;
		FensterHoehe = wHoehe;
	}

	FlashPop = window.open("", "FlashFenster",'width='+ FensterBreite +',height='+ FensterHoehe +',left=' + x +',top='+ y +',directories=0,status=0,scrollbars='+s +',resizable='+ r + ',menubar=0,locationbar=1');
  
	FlashPop.document.write("<html><head><title>Flash Popup</title></head><body leftmargin='0' topmargin='0' marginwidth='0' marginheight='0' scroll='no'>");
	FlashPop.document.write("<table width='100%' height='100%' border=0 cellpadding=0 cellspacing=0><tr><td align=center valign=top bgcolor=#D4D0C8>");

	// jetzt den Flash einbinden:
	FlashPop.document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="' + wBreite + '" HEIGHT="' + wHoehe + '" id="derFlash" ALIGN="">');
	FlashPop.document.write(' <PARAM NAME=movie VALUE="' + wFlash + '"> <PARAM NAME=quality VALUE=high> ');
	FlashPop.document.write('<EMBED src="' + wFlash + '" quality=high  WIDTH="' + wBreite + '" HEIGHT="' + wHoehe + '" NAME="derFlash" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
	FlashPop.document.write('</OBJECT>');

	FlashPop.document.write('</td></tr></table></body></html>');
	FlashPop.document.close();
}