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="1024" height="215" id="banner" align="middle">' +
'<param name="allowScriptAccess" value="always" />' +
'<param name="movie" value="banner.swf" />' +
'<param name="quality" value="high" />' +
'<param name="FlashVars" value="filename=' + filename + '" />' +
'<param name="bgcolor" value="#1f69c7" />' +
'<embed src="banner.swf" FlashVars="filename=' + filename + '" quality="high" bgcolor="#1f69c7" width="1024" height="215" name="banner" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />' +
'</object>';

var alternateContent = '<map name="Map">' +
'<area href="index.html" coords="293,153,368,200" shape="rect" />' +
'<area href="board.html" coords="371,152,543,199" shape="rect" />' +
'<area href="/eventcalendar/" coords="549,153,702,198" shape="rect" />' +
'<area href="scholarships.html" coords="706,152,855,201" shape="rect" />' +
'<area href="contactus.html" coords="858,153,963,199" shape="rect" /></map>' +
'<img height="215" alt="" width="1024" usemap="#Map" border="0" src="images/index_01.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
}
