
var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) {  // if we've detected an acceptable version

    // Retrieve the value of the SkipMovie query string param 
	// from the URL if present
	var SkipMovie=getQueryVariable("SkipMovie");

    var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
    + 'width="100%" height="100%"'
    + 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
    + '<param name="movie" value="./swf/Intro.swf" /><param name="loop" value="false" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />'
    + '<param name=FlashVars VALUE="SkipMovie=' + SkipMovie +'" />'
    + '<embed src="./swf/Intro.swf" FlashVars="SkipMovie=' + SkipMovie +' loop="false" quality="high" bgcolor="#ffffff" '
    + 'width="100%" height="100%" name="Intro" align="middle"'
    + 'play="true"'
    + 'loop="false"'
    + 'quality="high"'
    + 'allowScriptAccess="sameDomain"'
    + 'type="application/x-shockwave-flash"'
    + 'pluginspage="http://www.macromedia.com/go/getflashplayer">'
    + '<\/embed>'
    + '<\/object>';
    document.write(oeTags);   // embed the flash movie
  } else {  // flash is too old or we can't detect the plugin
    var alternateContent = '<CENTER><BR><BR><BR><TABLE border="0" align="center" width="600">' +
  '<TR>' +
    '<TD colspan="2">' +
	  '<IMG SRC="./_uimages/Oops.gif" /><BR><FONT SIZE="+1">It looks like you don\'t have Flash enabled on your browser.</FONT> <BR><BR><B>What\'s Flash?</B><BR>It\'s a simple, safe plug-in from Adobe systems that allows you to experience all the fun animations, and games on Steve\'s web site.&nbsp;' +
	'</TD>' +
  '</TR>' +
  '<TR>' +
	'<TD align="right">' +
	  '<IMG SRC="./_uimages/SteveFlashDetect.gif">' +
	'</TD>' +
	'<TD align="left">' +
	  '<table align="left" border="0">' +
	    '<tr>' +
		  '<td colspan="2" align="LEFT">' +
		    '<FONT size="+2">You can do one of the following...</FONT>' +
		  '</td>' +
		'</tr>' +
	    '<tr>' +
		  '<td align="LEFT">' +
		    '<FONT size="+3">1.&nbsp;&nbsp;</FONT>' +
		  '</td>' +
		  '<td align="LEFT">' +
		    '<BR><a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&promoid=BIOW" target="_blank"><img src="./_uimages/get_flash_player.gif" border="0" /> CLICK HERE</a> to get the latest version of Flash from Adobe.<BR><BR>' +
		  '</td>' +
		'</tr>' +
	    '<tr>' +
		  '<td align="LEFT">' +
		    '<FONT size="+3">2.&nbsp;&nbsp;</FONT>' +
		  '</td>' +
		  '<td align="LEFT">' +
		    '<a href="./index_noflash.php">CLICK HERE</a> to go the non-flash version of Steve\'s web site.<br /><i>You won\'t be able to access all of the animations and games though</i>' +
		  '</td>' +
		'</tr>' +
	  '</table>' +
	'</TD>' +
  '</TR>' +
'</TABLE></CENTER>';
    document.write(alternateContent);  // insert non-flash content
  }

