/* $Revision: 1.1 $
	The code below contains functions that run active content. The functions
	assemble an OBJECT/EMBED tag string, and then perform a document.write of 
	this string in the calling html document.
	 AC_RunFlContent() - build tags to display Flash content.
	 AC_RunFlContentX() - build XHTML formatted tags to display Flash content.
	 AC_RunSWContent() - build tags to display Shockwave content.
	 AC_RunSWContentX()  - build XHTML formatted tags to display Shockwave content.
	
	To call one of these functions, pass all the attributes and values that you would 
	otherwise specify for the object, param, and embed tags in the following form:
	 AC_RunFlContent(
		 "attrName1", "attrValue1"
		 "attrName2", "attrValue2"
		 ...
		 "attrNamen", "attrValuen"
	 )
	
	When passing in the src or movie attributes, do not include the file extension.
	Note, these functions use default values for several standard tag attributes, 
	including classid, codebase, pluginsPage, and mimeType, depending on the function
	you call. So, you should not pass in values for these attributes. If you require
	alternate values for these attributes, you'll need to modify the default values 
	used in the 'Run' function implementations below.
	
	You must include AC_RunActiveContent.js for these functions to work.
*/
function AC_RunFlContent()
{
AC_AddExtension(arguments, "movie", ".swf");
AC_AddExtension(arguments, "src", ".swf");
AC_GenerateObj
(  "AC_RunFlContent()", false, "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
, "http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"
, "http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
, "application/x-shockwave-flash", arguments
);
}
function AC_RunFlContentX()
{
//AC_AddExtension(arguments, "movie", ".swf");
//AC_AddExtension(arguments, "src", ".swf");
AC_GenerateObj
(  "AC_RunFlContentX()", true, "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
, "http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"
, "http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
, "application/x-shockwave-flash", arguments
);	
}
function AC_RunSWContent()
{
AC_AddExtension(arguments, "src", ".dcr");
AC_GenerateObj
(  "AC_RunSWContent()", false, "clsid:166B1BCA-3F9C-11CF-8075-444553540000"
, "http://fpdownload.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=10,1,3,018"
, "http://www.macromedia.com/shockwave/download/", null, arguments
);
}
function AC_RunSWContentX()
{
AC_AddExtension(arguments, "src", ".dcr");
AC_GenerateObj
(  "AC_RunSWContentX()", true, "clsid:166B1BCA-3F9C-11CF-8075-444553540000"
, "http://fpdownload.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=10,1,3,018"
, "http://www.macromedia.com/shockwave/download/", null, arguments
);
}
