var flashContent = '' +
'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="760" height="172" id="roofbanner" align="middle">' +
'<param name="allowScriptAccess" value="always" /><param name="movie" value="roofBanner.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" />' +
'<embed src="roofBanner.swf" quality="high" bgcolor="#000000" width="760" height="172" name="roofbanner" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />' +
'</object>';

var alternateContent = '<map name="FPMap1">' +
'<area coords="44, 11, 367, 164" shape="rect" href="index.html"></map>' +
'<img src="images/index_01.jpg" width="760" height="172" alt="" usemap="#FPMap1" border="0">';

// Version check based upon the values entered in "Globals"
var hasRequestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
			
// Check to see if the version meets the requirements for playback
if (hasRequestedVersion) {
	// if we've detected an acceptable version
	// embed the Flash Content SWF when all tests are passed
				
	document.write(flashContent);
				
} else {  // flash is too old or we can't detect the plugin
	
	document.write(alternateContent);  // insert non-flash content
}

