//See "Activating ActiveX Controls" on MSDN for more info on why this is needed
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.#version=5,0,30,0" height="' + swfheight + '" width="' + swfwidth + '"><param name="movie" value="' + swffile + '"><param name="quality" value="best"><param name="play" value="true"><embed height="' + swfheight + '" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" src="' + swffile + '" type="application/x-shockwave-flash" width="' + swfwidth + '" quality="best" play="true"></object>')