parametr="resizable=no, menubar=no, status=no, toolbar=no, location=no, scrollbars=no";
function OpenFlash(fName, fVersion, fWidth, fHeight, fColor, fFlshwars) {
	WinFlash=window.open('', fName,  parametr+', width='+fWidth+',height='+fHeight+',top='+(screen.height-fHeight)/2+',left='+(screen.width-fWidth)/2);
	WinFlash.document.write('<table cellpadding="0" cellspacing="0" width="100%" height="100%"><tr><td align="center" valign="middle">');
	WinFlash.document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+fVersion+',0,0,0" WIDTH="'+fWidth+'" HEIGHT="'+fHeight+'" id="'+fName+'">\n');
	WinFlash.document.write('<PARAM NAME=movie VALUE="'+fName+'.swf">\n');
	WinFlash.document.write('<PARAM NAME=quality VALUE=high>\n');
	WinFlash.document.write('<PARAM NAME=wmode VALUE=transparent>\n');
	WinFlash.document.write('<PARAM NAME=bgcolor VALUE='+fFlshwars+'>\n');
	WinFlash.document.write('<PARAM NAME=flashwars VALUE='+fColor+'>\n');
	WinFlash.document.write('<EMBED src="'+fName+'.swf" quality=high bgcolor='+fColor+' WIDTH="'+fWidth+'" HEIGHT="'+fHeight+'" NAME="'+fName+'" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>\n');
	WinFlash.document.write('</OBJECT>\n');
	WinFlash.document.write('</td></tr></table>');
}