function ieFix(filePath, theHeight, theWidth, varName, cookieVar, bgColor)
{
  document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="' + theWidth + '" height="' + theHeight + '" id="' + filePath + '" align="middle">\n');
	document.write('<param name="allowScriptAccess" value="sameDomain">\n');
	document.write('<PARAM NAME=movie VALUE="' + filePath + '.swf">\n');
  document.write('<PARAM NAME=quality VALUE=high>\n');
  document.write('<param name="flashvars" value="' + varName + '=' + cookieVar + '">\n');
	document.write('<PARAM NAME=scale VALUE=noborder>\n');
	document.write('<PARAM NAME=menu VALUE=false>\n');
	document.write('<param name="wmode" value="transparent" />\n');
	document.write('<PARAM NAME=bgcolor VALUE=#' + bgColor + '>\n');
	document.write('<embed src="' + filePath + '.swf" wmode="transparent" quality="high" flashvars="' + varName + '=' + cookieVar + '" bgcolor="#' + bgColor + '" width="' + theWidth + '" height="' + theHeight + '" name="' + filePath + '" align="center" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer">\n');
	document.write('</object>\n');
}