
/*------------------------------------------------------
writeFlash
Purpose: 	Write the HTML necessary to display a Flash object.
IN:         strFlashName (string): Name of the Flash object without an extension.
            strFlashWidth (string): The width of the Flash object.
            strFlashHeight (string): The height of the Flash object.
OUT:        (string): HTML necessary to display the Flash object.
------------------------------------------------------*/
function writeFlash(strFlashName,strFlashWidth,strFlashHeight) {
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="'+strFlashWidth+'" height="'+strFlashHeight+'" id="'+strFlashName+'">\n');
	document.write('<param name="movie" value="'+strFlashName+'.swf">\n');
	document.write('<param name="menu" value="false">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<param name="bgcolor" value="#000000">\n');
	document.write('<embed src="'+strFlashName+'.swf" menu="false" quality="high" bgcolor="#000000" width="'+strFlashWidth+'" height="'+strFlashHeight+'" name="'+strFlashName+'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>\n');
	document.write('</object>\n');
	return true;
}
