// JavaScript Document
function genFlash(filename, width, height, bgcolor, wmode)
{
	var fGhead = new Flash ();
	fGhead.setSWF ('/flash/'+filename, width, height);
	if (bgcolor)
	{
		fGhead.setParam ('bgcolor', bgcolor);
	}
	if (wmode)
	{
		fGhead.setParam ('wmode', wmode);
	}
	fGhead.display ();
}