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 RunFooHome()
{
	EmbedFlash('home', 'images/home.swf', '626', '316', 'middle', 'high', '#ffffff', 'sameDomain', 'transparent');
}

function RunFooRight()
{
	EmbedFlash('right', 'http://www.triaster.co.uk/images/right.swf', '306', '111', 'middle', 'high', '#ffffff', 'sameDomain', null);
}

function RunFooRight2()
{
	EmbedFlash('right', '../images/right.swf', '306', '111', 'middle', 'high', '#ffffff', 'sameDomain', null);
}

function RunFooROI1()
{
	EmbedFlash('roi1', 'images/roi1.swf', '520', '211', 'middle', 'high', '#ffffff', 'sameDomain', 'transparent');
}

function RunFooROI2()
{
	EmbedFlash('roi2', 'images/roi2.swf', '520', '125', 'middle', 'high', '#ffffff', 'sameDomain', 'transparent');
}

function RunFooROI3()
{
	EmbedFlash('roi3', 'images/roi3.swf', '520', '211', 'middle', 'high', '#ffffff', 'sameDomain', 'transparent');
}

function RunFooROI4()
{
	EmbedFlash('roi4', 'images/roi4.swf', '520', '211', 'middle', 'high', '#ffffff', 'sameDomain', 'transparent');
}

function RunFooShowcase1()
{
	EmbedFlash('showcase_part_1', 'images/showcase_part_1.swf', '1024', '768', 'middle', 'high', '#ffffff', 'sameDomain', null);
}

function RunFooShowcase2()
{
	EmbedFlash('showcase_part_2', 'images/showcase_part_2.swf', '1024', '768', 'middle', 'high', '#ffffff', 'sameDomain', null);
}


function RunFooResources1()
{
	EmbedFlash('fugro', 'images/fugro.swf', '512', '330', 'middle', 'high', '#ffffff', 'sameDomain', 'transparent');
}

function RunFooResources2()
{
	EmbedFlash('microsoft', 'images/microsoft.swf', '512', '288', 'middle', 'high', '#ffffff', 'sameDomain', 'transparent');
}

function RunFooResources3()
{
	EmbedFlash('bae', 'images/bae.swf', '720', '445', 'middle', 'high', '#ffffff', 'sameDomain', 'transparent');
}

function RunFooResources4()
{
	EmbedFlash('bbus', 'images/bbus.swf', '720', '445', 'middle', 'high', '#ffffff', 'sameDomain', 'transparent');
}

function RunFooResources5()
{
	EmbedFlash('uol', 'images/uol.swf', '720', '445', 'middle', 'high', '#ffffff', 'sameDomain', 'transparent');
}

function RunFooResources6()
{
	EmbedFlash('microsoft', 'images/microsoft.swf', '720', '445', 'middle', 'high', '#ffffff', 'sameDomain', 'transparent');
}

function RunFooResources7()
{
	EmbedFlash('vox_pops', 'images/vox_pops.swf', '720', '445', 'middle', 'high', '#ffffff', 'sameDomain', 'transparent');
}


function RunFooCyl1()
{
	EmbedFlash('cylinder', 'images/cylinder.swf', '310', '250', 'middle', 'high', '#ffffff', 'sameDomain', 'transparent');
}

function RunFooCyl2()
{
	EmbedFlash('cylinder_capture', 'images/cylinder_capture.swf', '310', '250', 'middle', 'high', '#ffffff', 'sameDomain', 'transparent');
}

function RunFooCyl3()
{
	EmbedFlash('cylinder_share', 'images/cylinder_share.swf', '310', '250', 'middle', 'high', '#ffffff', 'sameDomain', 'transparent');
}

function RunFooCyl4()
{
	EmbedFlash('cylinder_use', 'images/cylinder_use.swf', '310', '250', 'middle', 'high', '#ffffff', 'sameDomain', 'transparent');
}

function RunFooCyl5()
{
	EmbedFlash('cylinder_improve', 'images/cylinder_improve.swf', '310', '250', 'middle', 'high', '#ffffff', 'sameDomain', 'transparent');
}

function RunFooc10()
{
	EmbedFlash('c10_rotator', 'images/c10_rotator.swf', '249', '249', 'middle', 'high', '#ffffff', 'sameDomain', 'transparent');
}
