// 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 = '' + ' ' + ' ' + ' ' 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 document.write(alternateContent); // insert non-flash content }