﻿function InjectFlash(strPath, strSWF, strWidth, strHeight) {
   document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+strWidth+'" height="'+strHeight+'" id="homepage" align="">\n');
   document.write('<param name="movie" value="'+strPath+strSWF+'">\n');
   document.write('<param name="quality" value="high">\n');
   document.write('<param name="wmode" value="transparent">\n');
   document.write('<param name="bgcolor" value="Transparent">\n');
   document.write('<param name="flashvars" value="txtPath='+strPath+'">\n');
   document.write('<embed src="'+strPath+strSWF+'" flashvars="txtPath='+strPath+'" quality="high" wmode="transparent" bgcolor="Transparent"  width="'+strWidth+'" height="'+strHeight+'" name="homepage" align="Left" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\n');
   document.write('</embed>\n');
   document.write('</object>\n');
}

