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="755" height="275" id="banner" align="middle">' +
'<param name="allowScriptAccess" value="always" />' +
'<param name="movie" value="banner.swf" />' +
'<param name="quality" value="high" />' +
'<param name="wmode" value="transparent" />' +
'<param name="FlashVars" value="filename=' + filename + '" />' +
'<param name="bgcolor" value="#ffffff" />' +
'<embed src="banner.swf" FlashVars="filename=' + filename + '" quality="high" wmode="transparent" bgcolor="#ffffff" width="755" height="275" 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 href="index.html" shape="rect" coords="12, 8, 71, 39">' +
'<area href="about.htm" shape="rect" coords="83, 8, 153, 40">' +
'<area href="services.htm" shape="rect" coords="168, 7, 232, 40">' +
'<area href="testimonials.htm" shape="rect" coords="249, 8, 339, 40">' +
'<area href="contact.htm" shape="rect" coords="354, 9, 440, 40">' +
'<area href="blog" shape="rect" coords="452, 9, 495, 40">' +
'</map><img border="0" src="http://zanzibar.heritagewebdesign.com/~owiernc/images/flashbannerplaceholder.jpg" width="755" height="275" usemap="#FPMap0">';

// 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
}
