
/*
*	Write a flash component out by passing in the Id, URI (with Querystring if applicable), height, width, and background color
*
*	This method will bypass Microsoft's ActiveX security and automatically active the flash component.
*/
function writeFlashComponent(componentId, flashURI, componentHeight, componentWidth)
{
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="');
	document.write(componentWidth);
	document.write('" height="');
	document.write(componentHeight);
	document.write('" id="');
	document.write(componentId);
	document.write('" align="middle" VIEWASTEXT>');
	document.write('<param name="allowScriptAccess" value="sameDomain" />');
	document.write('<param name="movie" value="');
	document.write(flashURI);
	document.write('" />');
	document.write('<param name="menu" value="false" />');
	document.write('<param name="menu" value="false" />');
	document.write('<param name="quality" value="high" /><param name="wmode" value="transparent" />');
	//document.write('" />');
	document.write('<embed src="');
	document.write(flashURI);
	document.write('" menu="false" quality="high" wmode="transparent" width="');
	document.write(componentWidth);
	document.write('" height="');
	document.write(componentHeight);
	document.write('" name="');
	document.write(componentId);
	document.write('" align="middle" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object>');
}

function writeFlashTags(flashObject)
{
	document.write(flashObject);
}