function putFlash(fName, Width, Height, Params)
{
	if (!fName || !Width || !Height)
		return
	var Objstr = '';
	Objstr += '\n<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="' + Width + '" height="' + Height + '">';
	Objstr += '\n<param name="movie" value="' + fName + '"/>';
	Objstr += '\n<param name="quality" value="high"/>';
	if(Params)
		for (param in Params)
			Objstr += '\n<param name="' + param + '" value="' + Params[param] + '"/>';
	Objstr += '\n<embed src="' + fName + '" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"';
	Objstr += ' type="application/x-shockwave-flash" width="' + Width + '" height="' + Height + '"';
	if(Params)
		for (param in Params)
			Objstr += ' ' + param + '="' + Params[param] + '"';
	Objstr += '></embed>';
	Objstr += '\n</object>';
	document.write(Objstr);
}

