// workaround for the Microsoft security patch which means you would have
// to click on the flash file to activate it before using it if you did not
// have a function in an included script file (you cannot have this sitting in the header)
// it must be in a separate file)
function embed_flash(src, width, height, bgcolor, non_transparent) {
	//alert("embed flash [" + src + "] [" + width + "] [" + height + "]");
      	document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
     	document.write(' codebase="http://active.macromedia.com/flash/cabs/swflash.cab"');
     	document.write(' ID=splash WIDTH="' + width + '" HEIGHT="' + height + '">');
     	document.write('  <PARAM NAME=movie VALUE="' + src + '">');
     	document.write('  <PARAM NAME=quality VALUE=autohigh> ');
		if (non_transparent == 0) {
     		document.write('  <PARAM NAME=wmode VALUE=transparent> ');
		}

	document.write('<EMBED SRC="' + src + '" WIDTH="' + width + '" HEIGHT="' + height + '" QUALITY=autohigh WMODE="transparent" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">');
	document.write('</EMBED>');
	document.write('</OBJECT>');
}
