var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) {  // if we've detected an acceptable version
	if (AC_FL_RunContent == 0) {
		alert("This page requires AC_RunActiveContent.js. In Flash, run \"Apply Active Content Update\" in the Commands menu to copy AC_RunActiveContent.js to the HTML output folder.");
	} else {
		// embed the flash movie
		var oeTags = '<img src="RMMloadPage_enter_siteA.JPG" width="372" height="38">'
		            +'<a href="index2.html"><img src="RMMloadPage_enter_siteB.JPG" width="128" height="38" border="0" /></a>';
					document.write(oeTags);
		AC_FL_RunContent(			
			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
			'width', '500',
			'height', '250',
			'src', 'Redmoon_Intro_Anim',
			'quality', 'high',
			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
			'align', 'middle',
			'play', 'true',
			'loop', 'true',
			'scale', 'showall',
			'wmode', 'window',
			'devicefont', 'false',
			'id', 'Redmoon_Intro_Anim',
			'bgcolor', '#ffffff',
			'name', 'Redmoon_Intro_Anim',
			'menu', 'false',
			'allowScriptAccess','sameDomain',
			'movie', 'Redmoon_Intro_Anim',
			'salign', ''
			); //end AC code
	}
  } else {  // flash is too old or we can't detect the plugin
    var alternateContent = '<table width="500" border="0" align="center" cellpadding="0" cellspacing="0">'
	+'<tr>'
    +'<td><img src="RMMloadPage_refreshA.JPG" width="370" height="38" border="0"</td>'
	+'<a href="index.html"><img src="RMMloadPage_refreshB.JPG" width="130" height="38" border="0" /></a>'
    +'</tr>'
	+'<tr>'
	+'<td><img src="RMMloadPage_noFlash.JPG" width="500" height="250" border="0" usemap="#Map"></td>'
	+'</tr>'	
	+'<map name="Map" id="Map"><area shape="rect" coords="63,99,160,139" href="http://www.macromedia.com/go/getflash/"'
    +'target="_blank" />'
    +'</map>'
	+'</table>';
  	//+ 'This content requires the Macromedia Flash Player.'
   	//+ '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';
    document.write(alternateContent);  // insert non-flash content
  }
