function writeHomeFlash() {
	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 homeFlashTags = '<div id="flash"><embed src="layouts/home.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="750" height="263"></embed></div>';
		// embed the Flash Content SWF when all tests are passed
		document.write(homeFlashTags);
	}
	else {
		// flash is too old or too new that we can't detect the plugin
		var homeAlternateContent = '<div id="noflash"><img src="images/home_animation.gif" width="750" height="263" alt="" border="0" /></div>';
		// insert non-flash content
		document.write(homeAlternateContent);
	}
}

