function displayFlash(path, width, height)
{
	document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0" WIDTH="' + width);
	document.write('" HEIGHT="' + height + '" id="FlashContent">');
	document.write('<PARAM NAME="movie" VALUE="' + path + '"><PARAM NAME="quality" VALUE="high">');
	document.write('<PARAM NAME="AllowScriptAccess" VALUE="never"><EMBED src="' + path + '"');
	document.write(' quality="high" WIDTH="' + width + '" HEIGHT="' + height + '" NAME="FlashContent"');
	document.write(' AllowScriptAccess="never" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');
	document.write('</EMBED></OBJECT>');
}

function displayDirector(path, width, height) {
	document.write('<OBJECT classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000"');
	document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=10,1,0,11"');
	document.write(' ID="DirectorContent" WIDTH="' + width + '" HEIGHT="' + height + '">');
	document.write('<PARAM NAME=src VALUE="' + path + '">');
	document.write('<EMBED SRC="' + path + '"');
	document.write(' WIDTH="' + width + '" HEIGHT="' + height + '"');
	document.write(' TYPE="application/x-director" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveDirector">');
	document.write('</EMBED>');
	document.write('</OBJECT>');
}

function displayCustomEmbed(embed) {
	document.write(embed);
}