function writeHomeFlash(webroot, imagesroot) {
	var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
	// Check to see if the version meets the requirements for playback
	if (hasReqestedVersion) {
		// if we've detected an acceptable version
		var homeFlashContent = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab##version=6,0,29,0" width="379" height="239"><param name="movie" value="'+webroot+'/includes/flash.swf" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><embed src="'+webroot+'/includes/flash.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="379" height="239"></embed></object>';
		document.write(homeFlashContent);
	}
	else {
		// flash is too old or too new that we can't detect the plugin
		var homeAlternateContent = '<img src="'+imagesroot+'/non_flash.jpg" width="379" height="239" border="0" alt="" />';
		document.write(homeAlternateContent);
	}
}
