var flashContent = '' +
'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="760" height="193" id="banner" align="middle">' +
'<param name="allowScriptAccess" value="always" />' +
'<param name="movie" value="banner.swf" />' +
'<param name="quality" value="high" />' +
'<param name="bgcolor" value="#cecfce" />' +
'<embed src="banner.swf" bgcolor="#cecfce" width="760" height="193" name="banner" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />' +
'</object>';

var alternateContent = '<map name="FPMap0">' +
'<area shape="RECT" coords="52,57,92,71" href="index.html">' +
'<area shape="RECT" coords="51,74,154,85" href="history.html">' +
'<area shape="RECT" coords="54,89,150,101" href="https://cp18.heritagewebdesign.com/~centralf/loanapp.html">' +
'<area shape="RECT" coords="55,102,87,115" href="faq.html">' +
'<area shape="RECT" coords="52,119,120,131" href="pact.html">' +
'<area shape="RECT" coords="51,135,89,146" href="links.html">' +
'<area shape="RECT" coords="54,149,118,159" href="contact.html">' +
'</map><img height="193" alt="" src="images/index_01.jpg" width="760" usemap="#FPMap0" 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
}
