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="180" id="banner" align="middle">' +
'<param name="allowScriptAccess" value="always" />' +
'<param name="movie" value="banner.swf" />' +
'<param name="quality" value="high" />' +
'<embed src="banner.swf" quality="high" bgcolor="none" width="760" height="180" 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="372,83,444,123" href="http://www.hautechoklet.com" />' +
'<area shape="rect" coords="451,57,551,100" href="http://www.hautechoklet.com/cart/" />' +
'<area shape="rect" coords="620,114,715,157" href="http://hautechoklet.net/cart/index.php?main_page=contact_us" /><area shape="rect" coords="570,36,670,89" href="http://www.hautechoklet.com/shipping.html" />' +
'<area shape="rect" coords="672,64,746,109" href="http://www.hautechoklet.com/blog/" />' +
'</map><img width="900" height="180" border="0" usemap="#FPMap0" src="images/banner.png" alt="Haute Chklet Navigation Banner" />';

// 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
}
