function embedFlash(){
	// Version check based upon the values entered above in "Globals"
	var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
	// Check to see if the version meets the requirements for playback
	if (hasReqestedVersion) {  // if we've detected an acceptable version
		var oeTags = '<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="650" id="tile" align="middle">'
		+ '<param name="allowScriptAccess" value="sameDomain" />'
		+ '<param name="movie" value="VistaVue.swf" />'
		+ '<param name="quality" value="best" />'
		+ '<param name="scale" value="noborder" />'
		+ '<param name="salign" value="C" />'
		+ '<param name="bgcolor" value="#FFFFFF" />'	
		+ '<embed src="VistaVue.swf" bgcolor="#FFFFFF" '
		+ 'scale="noscale" salign="C" width="1024" height="650" name="tile" align="middle" '
		+ 'play="true"'
		+ 'loop="false"'
		+ 'quality="best"'
		+ 'allowScriptAccess="sameDomain"'
		+ 'type="application/x-shockwave-flash"'
		+ 'pluginspage="http://www.macromedia.com/go/getflashplayer">'
		+ '<\/embed>'
		+ '<\/object>';
		document.write(oeTags);   // embed the Flash Content SWF when all tests are passed
	  } else {  // flash is too old or we can't detect the plugin
		var alternateContent = '<table width="696"  border="0" align="center" cellpadding="0" cellspacing="0">'
		+ '<tr><td width="696">'
		+ '<a href="http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player.exe" target="_blank">'
		+ '<img src="images/no_flash.jpg" width="696" height="382" alt="" border="0">'
		+ '</a><br></td></tr></table>';
		 document.write(alternateContent);  // insert non-flash content
	  }
}