// write flash dynamically to hack the IE security settings - function:

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=6,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');
}

// write flash dynamically to hack the IE security settings - variables:

function RunFoo()
{
	EmbedFlash('plan', 'images/plan.swf', '743', '600', 'middle', 'high', '#ffffff', 'sameDomain', null);
}

function RunFoo2()
{
	EmbedFlash('plan2', 'images/plan2.swf', '743', '600', 'middle', 'high', '#ffffff', 'sameDomain', null);
}

function RunFoo3()
{
	EmbedFlash('gallery', 'images/gallery.swf', '743', '330', 'middle', 'high', '#ffffff', 'sameDomain', null);
}

function RunFoo4()
{
	EmbedFlash('gallery2', 'images/gallery2.swf', '743', '330', 'middle', 'high', '#ffffff', 'sameDomain', null);
}

function RunFoo5()
{
	EmbedFlash('gallery3', 'images/gallery3.swf', '743', '330', 'middle', 'high', '#ffffff', 'sameDomain', null);
}

function RunFoo6()
{
	EmbedFlash('rotator_conference', 'images/rotator_conference.swf', '286', '200', 'middle', 'high', '#ffffff', 'sameDomain', null);
}

function RunFoo7()
{
	EmbedFlash('rotator_christmas', 'images/rotator_christmas.swf', '286', '200', 'middle', 'high', '#ffffff', 'sameDomain', null);
}

function RunFoo8()
{
	EmbedFlash('rotator_corporate', 'images/rotator_corporate.swf', '286', '200', 'middle', 'high', '#ffffff', 'sameDomain', null);
}

function RunFoo9()
{
	EmbedFlash('rotator_private', 'images/rotator_private.swf', '286', '200', 'middle', 'high', '#ffffff', 'sameDomain', null);
}
















