function addflash(ID1,lwidth,lheight,bgcolor1) {
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0" id="'+ID1+'" width="'+lwidth+'" height="'+lheight+'">');
document.write('<param name="movie" value="'+ID1+'">');
document.write('<param name="bgcolor" value=#"'+bgcolor1+'">');
document.write('<param name="quality" value="high">');
document.write('<param name="menu" value="false">');
document.write('<param name="swLiveConnect" value="true">');
document.write('<param name="scale" value="ExactFit">');
document.write('<param name="border" value="0">');
document.write('<param name="wmode" value="transparent">');
//wmode prevents my rollover menu from being hidden
//but I have to remember to add a background shape
//in my movie since the movie background is now transparent
//or I can change the menu location or make a different
//menu (for example using Flash!)
//link: http://www.codingforums.com/archive/index.php?t-95439.html
//a simpler solution - I just made the table around the movie black background
//now I should put THAT code into an inc file/function
document.write('<param name="allowscriptaccess" value="samedomain">');
document.write('<embed type="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer" width="'+lwidth+'" height="'+lheight+'" name="'+ID1+'" src="'+ID1+'" quality="High" allowScriptAccess="samedomain" wmode="transparent" scale="ExactFit" menu="false">');
document.write('</object>');
}
