function RunFlash(path, id, width, height,bg)
	{
	document.write('<object type="application/x-shockwave-flash" id="'+id+'" width="'+width+'" height="'+height+'" data="assets/Flash/'+path+'">\n');
	document.write('<param name="movie" value="assets/Flash/'+path+'" />\n');
	document.write('<param name="quality" value="high" />\n');
	if (bg == 'transparent' || bg == '') {
		document.write('<param name="wmode" value="transparent" />\n');
	} else {
		document.write('<param name="bgcolor" value="#'+bg+'" />\n');
	}
	document.write('<p>To view this image you need the flash player plugin installed. <a href="http://www.macromedia.com/go/getflash/">Download flash player for free here.</a></p>\n');
	document.write('</object>\n');
}
