var flashContent = '' +
'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 0odebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="900" height="200" id="Header" align="middle">' +
'<param name="allowScriptAccess" value="always" />' +
'<param name="movie" value="Header.swf" />' +
'<param name="quality" value="high" />' +
'<param name="wmode" value="transparent" />' +
'<param name="FlashVars" value="filename=' + filename + '" />' +
'<param name="bgcolor" value="#ffffff" />' +
'<embed src="Header.swf" FlashVars="filename=' + filename + '" quality="high" wmode="transparent" bgcolor="#ffffff" width="900" height="200" name="Header" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://get.adobe.com/flashplayer/" />' +
'</object>';

var alternateContent = '<img src="images/head.jpg" alt="" width="900" height="200" border="0" usemap="#Map" />' +
'<map name="Map" id="Map">' +
'<area shape="rect" coords="13,168,90,195" href="index.html" target="_self" alt="Home" />' +
'<area shape="rect" coords="395,172,546,193" href="2.html" target="_self" alt="Sherrys Bio" />' +
'<area shape="rect" coords="584,168,825,193" href="3.html" target="_self" alt="Classes and Events" />' +
'<area shape="rect" coords="124,171,362,195" href="1.html" target="_self" alt="Namaras Messages" />' +
'</map>';

// 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
}
