// Fix to override idiotic Internet Explorer activation
function docuWrite(tx)
{
	document.write(tx);
}

// inserts swf
function insertSwf(swfFile, width, height, bgcolor, quality, flashvars) 
{	
	
	if (quality == null) quality = "high";
	
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
	document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"');	
	document.write('width="'+ width +'" height="'+ height +'">\n');
	document.write(' <param name="movie" value="' + swfFile + '">\n');
	document.write(' <PARAM NAME="bgcolor" VALUE=" + bgcolor + ">\n');
	document.write(' <param name="quality" value="'+ quality +'">\n');
	document.write(' <param name="FlashVars" value="' + flashvars + '">\n');
	document.write('<embed src="' + swfFile + '" BGCOLOR="' + bgcolor + '" FlashVars="' + flashvars + '" quality="' + quality + '" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+width+'" height="'+height+'"></embed></object>	\n'); 
}