// JavaScript Document
function ieQFlash(movie, width, height, wmode, version, flashvars)
{
	var version_correctly = version.replace("#", ",");
	
	document.write('<object ');
	document.write(' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
	document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=' + version_correctly + '"');
	document.write(' width="' + width + '"');
	document.write(' height="' + height + '">\n');

	document.write('<param name="movie" value="' + movie + '">\n');
	document.write('<param name="wmode"  value="' + wmode + '">\n');
	document.write('<param name="FlashVars" value="' + flashvars + '">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<param name="menu" value="false">\n');
	
	document.write('<embed src="' + movie + '"');
	document.write(' quality="high"');
	document.write(' pluginspage="http://www.macromedia.com/go/getflashplayer"');
	document.write(' type="application/x-shockwave-flash"');
	document.write(' width="' + width + '"');
	document.write(' height="' + height + '"');
	document.write(' wmode="' + wmode + '"');
	document.write(' flashvars="' + flashvars + '"');
	document.write(' menu="false"></embed>\n');
	
	document.write('</object>\n');
}
