function writeFlash() {	var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);if(hasRightVersion) {  // if we've detected an acceptable version    var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'    + 'width="738" height="220"'    + 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'    + '<param name="movie" value="swfs/homepage.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#FFFFFF" />'    + '<embed src="swfs/homepage.swf" quality="high" bgcolor="#FFFFFF" '    + 'width="738" height="220" name="Fingals_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 = '<img src="swfs/homepage_noflash.jpg" alt="HEATH Picture" width="738" height="220" />';    document.write(alternateContent);  // insert non-flash content  }}function wasFlash() {	var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);if(hasRightVersion) {  // if we've detected an acceptable version    var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'    + 'width="279" height="210"'    + 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'    + '<param name="movie" value="swfs/was.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#FFFFFF" />'    + '<embed src="swfs/was.swf" quality="high" bgcolor="#FFFFFF" '    + 'width="279" height="210" name="Fingals_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 = '<img src="swfs/was_noflash.jpg" alt="HEATH Picture" width="279" height="210" />';    document.write(alternateContent);  // insert non-flash content  }}