function loadMultiimageFlash(pagetype)
{
	loadMultiimageFlashBase("dynamicimagesandtext", pagetype, "#A8A089" ,620, 420);
}
function loadMultiimageFlashSmall(pagetype)
{
	loadMultiimageFlashBase("dynamicimagesandtext.small", pagetype, "#A8A089", 620, 210);
}
function loadMultiimageFlashBase(flashName, pagetype, bgcolor, width, height)
{
	var oeTags, container, flashContent;

	try
	{
		if (FlashDetector.getVersion() > 7)
		{
			// using FlashTag
			flashContent = new FlashTag();
			flashContent.id = flashName;
			flashContent.version = 8;
			flashContent.src = '/central/flash/'+flashName+'.swf?page_id='+pagetype+'&width='+width+'&height='+height;
			flashContent.width = width;
			flashContent.height = height;
			flashContent.wmode = 'transparent';
			flashContent.bgcolor = bgcolor;
			
			flashContent.writeToElement('contentimg');
		}
		else
		{
			// turn image display on
			showSingleImage();
		}
	}
	catch (e)
	{
		// turn image display on
		showSingleImage();
	}
}

// In situations where there's only one image, need to turn on visibility
function showSingleImage()
{
	var staticImage;
	staticImage = document.getElementById('staticimage');
	if (staticImage)
	{ staticImage.style.visibility = 'visible'; }
}