function EmbedFlash(strIDName, strMovie, strWidth, strHeight, strAlign, strQuality, strBGColor, strAllowScriptAccess, strWMode)
{

	var strWModeEmbed = '';

	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="' + strWidth + '" height="' + strHeight + '" id="' + strIDName + '" align="' + strAlign + '" VIEWASTEXT>\n');
	document.write('<param name="allowScriptAccess" value="' + strAllowScriptAccess + '" />\n');
	document.write('<param name="movie" value="' + strMovie + '" />\n');
	document.write('<param name="quality" value="' + strQuality + '" />\n');
	document.write('<param name="bgcolor" value="' + strBGColor + '" />\n');
	if (strWMode != null)
	{
		document.write('<param name="wmode" value="' + strWMode + '" />\n');
		strWModeEmbed = ' wmode="' + strWMode + '"'
	}
	document.write('<embed src="' + strMovie + '" quality="' + strQuality + '"' + strWModeEmbed + ' bgcolor="' + strBGColor + '" width="' + strWidth + '" height="' + strHeight + '" name="' + strIDName + '" align="' + strAlign + '" allowScriptAccess="' + strAllowScriptAccess + '" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\n');
	document.write('</object>\n');
}


function RunFooFlash1()
{
	EmbedFlash('showcase', 'images/flash/showcase.swf', '91', '91', 'middle', 'high', '#ffffff', 'sameDomain', null);
}

function RunFooFlash2()
{
	EmbedFlash('video', 'images/flash/video.swf', '91', '91', 'middle', 'high', '#ffffff', 'sameDomain', null);
}

function RunFooFlash3()
{
	EmbedFlash('analyst', 'images/flash/analyst.swf', '91', '91', 'middle', 'high', '#ffffff', 'sameDomain', null);
}

function RunFooFlash4()
{
	EmbedFlash('pres', 'images/flash/pres.swf', '91', '91', 'middle', 'high', '#ffffff', 'sameDomain', null);
}

function RunFooHome()
{
	EmbedFlash('home', 'images/home.swf', '920', '283', 'middle', 'high', '#181818', 'sameDomain', null);
}
