function insertFlash(flashURL, flashXmlConfig, imageURL, imageAlt, areaWidth, areaHeight) {
	if	(Flash)	{
		document.write("<object type	=	'application/x-shockwave-flash'");
		document.write("	classid =	'clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'");
		document.write("	codebase =	'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0'");
		document.write("	width =	'" + areaWidth + "'");
		document.write("	height =	'" + areaHeight + "'>");
		document.write("	<param name	=	'movie'");
		document.write("			value	=	'" + flashURL + "'>");
		document.write("	<param name	=	'FlashVars'");
		document.write("			value	=	'myURL=" + flashXmlConfig + "'>");
		document.write("	<param name	=	'quality'");
		document.write("			value	=	'high'>");
		document.write("	<param name	=	'wmode'");
		document.write("			value	=	'transparent'>");
		document.write("	<embed type =	'application/x-shockwave-flash'");
		document.write("			pluginspage	=	'http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'");
		document.write("			width =	'" + areaWidth + "'");
		document.write("			height =	'" + areaHeight + "'");
		document.write("			src =	'" + flashURL + "'");
		document.write("			FlashVars =	'myURL=" + flashXmlConfig + "'");
		document.write("			quality =	'high'");
		document.write("			wmode =	'transparent'>");
		document.write("	</embed>");
		document.write("</object>");
	} else	{
		document.write("<img src=\"" + imageURL + "\" height=\"" + areaHeight + "\" width=\"" + areaWidth + "\"alt=\"" + imageAlt + "\" title=\"" + imageAlt + "\" />");
	}
}