function openwin_video(video) {
	var width  = 320;
	var height = 280;
	var leftpos = (screen.height - height)/2;
	var toppos  = (screen.width - width)/2;

	videoWin = window.open("","videoWin","width="+width+",height="+height+",left="+leftpos+",top="+toppos);
	videoWin.document.open();
	videoWin.document.write('<html><title>Video</title><head></head><body style="margin:0;">');
		
	videoWin.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" id="tx_flvplayer_pi1" width="320" height="280" align="center">');
	videoWin.document.write('<param name="loop" value="false" />');
	videoWin.document.write('<param name="menu" value="false" />');
	videoWin.document.write('<param name="quality" value="best"/>');
	videoWin.document.write('<param name="scale" value="noscale"/>');
	videoWin.document.write('<param name="bgcolor" value="#FFFFFF"/>');
	videoWin.document.write('<param name="swliveconnect" value="false"/>');
	videoWin.document.write('<param name="FlashVars" value="file=/'+video+'" />');
	videoWin.document.write('<param name="movie" value="/fileadmin/flvplayer.swf" />');
	videoWin.document.write('<embed src="/fileadmin/flvplayer.swf" FlashVars="file=/'+video+'" swliveconnect="false" loop="false" menu="false" quality="best" scale="noscale" bgcolor="#FFFFFF" width="320" height="280" name="tx_flvplayer_pi1" align="top" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
	videoWin.document.write('</object>');

	videoWin.document.write('</body></html>');
	videoWin.document.close();
	videoWin.focus();
}
