function writeFlashTag(movie, width, height, bgcolor, paramstring) {
	document.writeln('<OBJECT classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" WIDTH="' + width + '" HEIGHT="' + height + '">');
	source = movie
	if ((paramstring != null) && (paramstring != "")) {
		source = source + "?" + paramstring;
	}
	document.writeln('  <PARAM NAME=movie VALUE="' + source + '">');
	document.writeln('  <PARAM NAME=quality VALUE=high>'); 
	document.writeln('  <PARAM NAME=menu VALUE=false>');
	document.writeln('  <PARAM NAME=allowScriptAccess VALUE=always>');
	document.writeln('  <PARAM NAME=bgcolor VALUE="#' + bgcolor + '">');
	document.writeln('  <EMBED src="' + source + '" quality=high bgcolor="#' + bgcolor + '" WIDTH="' + width + '" HEIGHT="' + height + '" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></EMBED>');
	document.writeln('</OBJECT>');
}


function writeFlashTagForSingleParam(objectParamStr)
{
	document.writeln(objectParamStr);
}