function printActiveX (w, h, id, embId, fileName)
{
	try
	{
		document.write ('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
		document.write (' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"');
 		document.write (' WIDTH="'+w+'" HEIGHT="'+h+'" id="'+id+'" name="'+id+'">');
		document.write ('<PARAM NAME=movie VALUE="'+fileName+'">');
		document.write ('<PARAM NAME=quality VALUE=high>');
		document.write ('<PARAM NAME=bgcolor VALUE=white>');
		document.write ('<PARAM NAME=allowScriptAccess VALUE=always />');
		document.write ('<EMBED src="'+fileName+'" quality=high ');
		document.write ('TYPE="application/x-shockwave-flash" id="'+embId+'"');
		document.write (' PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"');
		document.write (' allowScriptAccess="always" WIDTH="'+w+'" HEIGHT="'+h+'"></EMBED>');
		document.write ('</OBJECT>');
	}
	catch (ex)
	{
	}
}

function printActiveX2 (w, h, id, embId, fileName)
{
        try
        {
                document.write ('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
                document.write ('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"');
                document.write (' WIDTH="'+w+'" HEIGHT="'+h+'" id="'+id+'" ALIGN="">');
                document.write ('<PARAM NAME=movie VALUE="'+fileName+'" />');
                document.write ('<PARAM NAME=quality VALUE=high />');
                document.write ('<PARAM NAME=bgcolor VALUE=transparent />');
		document.write ('<PARAM NAME=wmode value="transparent" />');
		document.write ('<PARAM NAME=allowScriptAccess VALUE=always />');
                document.write ('<EMBED src="'+fileName+'" quality=high ');
                document.write (' TYPE="application/x-shockwave-flash" allowScriptAccess="always"');
                document.write (' PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"');
                document.write (' WIDTH="'+w+'" HEIGHT="'+h+'" color="transparent" wmode="transparent"></EMBED>');
                document.write ('</OBJECT>');
        }
        catch (ex)
        {
        }
}

