// used to avoid the user action of clicking embedded or "active" content before he interacts with it.

function RunActiveContent(swfPathName, swfWidth, swfHeight)
{

	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="'+ swfWidth +'" height="'+ swfHeight +'">\n');
	document.write('<param name="movie" value="'+ swfPathName +'">\n'); 
	document.write('<param name="quality" value="high">\n');
	document.write('<param name="wmode" value="transparent">\n');
	document.write('<embed src="'+ swfPathName +'" quality="high" pluginspage="https://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+ swfWidth +'" height="'+ swfHeight +'" wmode="transparent"></embed>\n');
	document.write('</object>\n');
}
