function writeVignetteFlash(flashroot, id, path, imagesroot) {
	// Check to see if the version meets the requirements for playback
	if (DetectFlashVer(6,0,0)) {
		// if we've detected an acceptable version
		var flashVignetteContent = '<object ';
		flashVignetteContent += 'classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ';
		flashVignetteContent += 'codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" ';
		flashVignetteContent += 'width="141" ';
		flashVignetteContent += 'height="114" ';
		flashVignetteContent += 'id="vignette" ';
		flashVignetteContent += 'align="right">';
		flashVignetteContent += '<param name="allowScriptAccess" value="sameDomain" />';
		flashVignetteContent += '<param name="movie" value="'+flashroot+'vignette.swf?id='+id+'&path='+path+'" />';
		flashVignetteContent += '<param name="quality" value="high" />';
		flashVignetteContent += '<param name="bgcolor" value="#FFFFFF" />';
		flashVignetteContent += '<param name="wmode" value="transparent" />';
		flashVignetteContent += '<embed src="'+flashroot+'vignette.swf?id='+id+'&path='+path+'" quality="high" wmode="transparent" bgcolor="#FFFFFF" width="141" height="114" name="vignette" align="right" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />';
		flashVignetteContent += '</object>';
		// embed the Flash Content SWF when all tests are passed
		window.document.write(flashVignetteContent);
	}
	else {
		// flash is too old or too new that we can't detect the plugin
		var alternateVignetteContent = '<img src="'+imagesroot+'pic_tomato.gif" width="125" height="114" alt="Tomato" border="0" align="right" />';
		// insert non-flash content
		document.write(alternateVignetteContent);
	}
}
