/* Version check based upon the values entered above in "Globals" */ var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision); /* Check to see if the version meets the requirements for playback */ if(hasRightVersion){ /* if we've detected an acceptable version, embed the SWF */ var oeTags = ''+ ''+ ''+ ''+ ''+ ''+ ''+ '<\/object>'; document.write(oeTags); }else{ /* flash is too old or we can't detect the plugin */ var alternateContent = '
'; document.write(alternateContent); }