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="420" id="banner" align="middle">' +
'<param name="allowScriptAccess" value="sameDomain" />' +
'<param name="movie" value="banner.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><embed src="banner.swf" quality="high" bgcolor="#000000" width="760" height="420" name="banner" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />' +
'</object>';

var alternateContent = '<map name="FPMap0">' +
'<area href="index.html" coords="60,73,125,105" shape="RECT" />' +
'<area href="/cart" coords="155,76,231,105" shape="RECT" />' +
'<area href="cart/index.php?main_page=contact_us" coords="559,77,681,105" shape="RECT" />' +
'<area href="cart/index.php?main_page=page&amp;id=2&amp;chapter=0" coords="435,76,537,105" shape="RECT" />' +
'<area href="cart/index.php?main_page=page&amp;id=8&amp;chapter=0" coords="254,75,412,105" shape="RECT" /></map>' +
'<img width="760" height="106" border="0" alt="" usemap="#FPMap0" src="images/index_01.jpg" /></td></tr>' +
'<tr><td><img width="760" height="200" alt="" src="images/index_02.jpg" /></td></tr>' +
'<tr><td><img width="760" height="56" alt="" src="images/index_03.jpg" />';

// 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
}
